Answer: To allow only specific skills, pass their names in the `skills` list, using exact skill names only. For plugin skills use `plugin:skill`, and for name clashes in `additionalDirectories` or `add_dirs`, list the prefixed name. Status: Confirmed Entry: tool/claude-code/agents-and-automation/allow-specific-skills Revision: 3 Digest: sha256:e91bdc6481d76bf9 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:02:59Z Last changed: 2026-11-20T12:17:17Z (name rule: — → exact skill names only) Last verified: 2026-11-20T12:17:17Z Next check: 2026-11-21T12:17:17Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of method | pass their names in the `skills` list | [1] | 2026-11-20 own skill naming | the skill's directory name | [1] | 2026-11-20 plugin skill naming | plugin:skill | [1] | 2026-11-20 name clash example | verify | [1] | 2026-11-20 minimum version | v2.1.309 | [1] | 2026-11-20 name rule | exact skill names only | [1] | 2026-11-20 all skills option | skills: "all" | [1] | 2026-11-20 Sources: [1] Anthropic. "Extend agents with skills". https://code.claude.com/docs/en/agent-sdk/skills.md Role: primary. Accessed: 2026-11-20T12:17:17Z Quote: "To let Claude invoke only specific skills, pass their names in the `skills` list:" (Supports: method) Quote: "**Your own skills**: the skill's directory name" (Supports: own skill naming) Quote: "**Plugin skills**: `plugin:skill`" (Supports: plugin skill naming) Quote: "list them as `verify` and `web:verify`" (Supports: name clash example) Quote: "Requires Claude Code v2.1.309 or later" (Supports: minimum version) Quote: "The list takes exact skill names only." (Supports: name rule) Quote: "To let Claude invoke every discovered skill, pass `skills: "all"` rather than a wildcard." (Supports: all skills option) Published: 2026-11-20T03:26:04Z Snapshot SHA-256: 2f354b9ef0092b59ee87feb47048d185030bfbc566e323d84643dc68dc061cbe (captured 2026-11-20T12:17:17Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:17:17Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:17:17Z Last attempt: 2026-11-20T12:17:17Z Notes and limitations: Extracted automatically from a single official source (section "Allow only specific skills"). Related: https://latestn.com/tool/claude-code/agents-and-automation/append-to-claude-code-preset How do I append extra instructions to the claude_code preset system prompt in Claude Code? https://latestn.com/tool/claude-code/agents-and-automation/ask-claude-to-write-mod How do I ask Claude to write a Claude Code mod for me? https://latestn.com/tool/claude-code/agents-and-automation/auto-format-after-edits How do I make Claude Code auto-format code after it edits files using hooks? https://latestn.com/tool/claude-code/agents-and-automation/agent-sdk-demo-applications Where can I find Claude Code Agent SDK demo applications I can clone? https://latestn.com/tool/claude-code/agents-and-automation/agent-sdk-vs-cli-client-sdk What is the difference between the Claude Code Agent SDK, the CLI, and the Client SDK? https://latestn.com/tool/claude-code/agents-and-automation/agent-teams-limitations What are the limitations of Claude Code agent teams? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:17:17Z | changed | name rule: — → exact skill names only | [1] 2026-11-20T12:17:17Z | changed | list constraint: exact skill names only → — | [1] 2026-11-17T12:21:28Z | changed | all skills option: — → skills: "all" | [1] 2026-11-17T12:21:28Z | changed | list constraint: — → exact skill names only | [1] 2026-11-17T12:21:28Z | changed | plugin skill naming: — → plugin:skill | [1] 2026-11-17T12:21:28Z | changed | own skill naming: — → the skill's directory name | [1] 2026-11-17T12:21:28Z | changed | unlisted skills behavior: The model doesn't see unlisted skills → — | [1] 2026-11-17T12:21:28Z | changed | plugin skills naming: plugin:skill → — | [1] 2026-11-17T12:21:28Z | changed | own skills naming: the skill's directory name → — | [1] 2026-11-13T03:02:59Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/agents-and-automation/allow-specific-skills/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/agents-and-automation/allow-specific-skills POST: https://latestn.com/dispute/tool/claude-code/agents-and-automation/allow-specific-skills with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/agents-and-automation/allow-specific-skills?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I allow only specific skills in a Claude Agent SDK session? Revision 3, last verified 2026-11-20T12:17:17Z. https://latestn.com/tool/claude-code/agents-and-automation/allow-specific-skills (accessed 2026-11-21T10:02:54Z). @misc{LatestN_tool_claude_code_agents_and_automation_allow_specific_skills_r3, title = {How do I allow only specific skills in a Claude Agent SDK session?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/agents-and-automation/allow-specific-skills}}, note = {Revision 3; digest sha256:e91bdc6481d76bf9; last verified 2026-11-20T12:17:17Z; accessed 2026-11-21T10:02:54Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/agents-and-automation/allow-specific-skills