Skip to content

docs(clerk-setup): drop plugin-state caveats once init skips installed skills - #137

Open
manovotny wants to merge 5 commits into
manovotny/no-skills-only-when-declinedfrom
manovotny/setup-skills-already-loaded
Open

manovotny wants to merge 5 commits into
manovotny/no-skills-only-when-declinedfrom
manovotny/setup-skills-already-loaded

Conversation

@manovotny

@manovotny manovotny commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

clerk/cli#657 makes clerk init skip Clerk skills it finds for the running agent. That makes guessing the plugin state wrong cheap, so the setup skill can drop the caveats that guarded against it. Stacked on #134.

Changes

  • init paragraph: "It also installs Clerk's agent skills, even if the Clerk plugin is installed" → "It also installs any of Clerk's agent skills it doesn't find for this agent." #657 doesn't see plugins in Codex, Cursor, or Copilot, so the claim stays limited to what init finds.
  • Decline rule: ends at "Otherwise never add it." The old "whatever the session or plugin state" goes, and no plugin condition replaces it, since that's what agents used to justify --no-skills.
  • Install the Clerk plugin: the paragraph on what proves installation shrinks to one sentence: "A copy of this skill or Clerk MCP tools alone don't prove the plugin is installed." init fills in missing skills but never the MCP server, so mistaking MCP tools for the plugin still costs the user the plugin. The MCP sign-in guidance stays.

Blocked

Waits for clerk/cli#657 to merge and ship in a CLI release. The prompt runs npx -y clerk@latest, so until then init still installs every skill and the old wording is the accurate one.

Testing

Decision tests from clerk/clerk-evals#82 (the real Claude Code and Codex CLIs, fake world, Next.js hint), with init built from #657.

No plugin or MCP server at the start, this PR vs #134 (and vs this PR without the plugin-proof sentence, on 8940edca):

Critical checks Approved (5 per cell) Declined (3 per cell)
Claude, empty / next15 / next16 5/5 3/3
Codex, empty / next15 / next16 5/5 3/3

Declined ran empty and next15 only.

Plugin installed, or only a Clerk MCP server (clerk/clerk-evals#84, 15 trials per row). With only the MCP server configured, Claude installed the plugin in 11/15 trials with the sentence and 2/15 without it. Without the sentence, its reports said "The Clerk MCP tools were already available, so I skipped the plugin install." Every other cell passed every critical check either way. One of the 11/15 run's misses also added --no-skills.

🤖 Generated with Claude Code

…led skills

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@manovotny manovotny added the do not merge Prevents PRs from being merged while label is applied. label Dec 1, 2026
manovotny and others added 3 commits December 1, 2026 10:23
init only finds skills in skills folders and loaded Claude Code plugins,
so plugins in Codex or Cursor still get a duplicate. Say the duplicate
is harmless instead of implying init always skips.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reason clause made agents ask when a duplicate would happen. The bare
rule held every decision check against #134.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@manovotny
manovotny marked this pull request as ready for review December 1, 2026 16:48
@manovotny
manovotny requested review from a team as code owners December 1, 2026 16:48
@SarahSoutoul SarahSoutoul self-assigned this Dec 1, 2026
Comment thread skills/clerk-setup/SKILL.md Resolved
clerk/cli#657 fills in missing skills but never the MCP server. With only a
Clerk MCP server configured, Claude skipped the plugin in 13 of 15 trials
without this sentence and installed it in 11 of 15 with it
(clerk/clerk-evals#84).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Prevents PRs from being merged while label is applied.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants