Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Agent Skills guide

Claude Code skills: folders, invocation and plugins

Where Claude Code skills live, which copy wins when names clash, how /skill-name works, Claude Code's extra frontmatter fields and how plugin skills are named.

By Intermediate · Updated 20 November 20266 min read
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark
On this page

Claude Code skills live in ~/.claude/skills/<name>/SKILL.md for you and .claude/skills/<name>/SKILL.md for a project. Claude loads one when your request matches its description, or you run it yourself with /skill-name. Plugins add namespaced skills such as /plugin:skill. Claude Code does not read .agents/skills/.

Claude Code was the first agent to load Agent Skills, and it still supports more of the format than anyone else. That is useful and a trap: a skill that uses Claude Code’s extra fields behaves differently, or fails to upload, elsewhere. This guide covers where Claude Code finds skills, how it resolves clashes, how you and the model invoke them, and how plugins change their names. Everything was checked against Anthropic’s skills documentation on 20 November 2026. For the format itself, see what Agent Skills are; to find skills worth installing, browse the best Claude Code skills in our directory.

Where Claude Code looks for skills

Location Path Who gets it
Enterprise .claude/skills/<name>/SKILL.md inside the managed settings directory Everyone on managed machines
Personal ~/.claude/skills/<name>/SKILL.md You, in every project
Project .claude/skills/<name>/SKILL.md Everyone who clones the repository
Nested <subdir>/.claude/skills/<name>/SKILL.md Sessions working in or below that folder
Extra directory .claude/skills/ inside a folder passed with --add-dir That session
Plugin <plugin>/skills/<name>/SKILL.md Wherever the plugin is enabled

Claude Code reads project skills from the folder you start in and every parent up to the repository root. Nested skill folders below the start folder load the first time Claude reads or edits a file there, so a monorepo can keep apps/web/.claude/skills/deploy/ next to the code it deploys.

One thing to know if you also use other agents: Claude Code’s documentation lists only .claude/skills/ locations. A skill installed only to .agents/skills/, the folder Codex, Cursor, Copilot and Antigravity share, is not picked up. Install to both, or use a tool that does it for you, such as npx skills add ... -a claude-code.

When two skills share a name

Precedence runs enterprise, then personal, then project: your personal review skill beats the repository’s review skill. A skill also beats an old-style command in .claude/commands/ with the same name. Plugin skills never clash, because they carry the plugin’s name as a prefix (see below). A nested skill whose folder name clashes with a root skill keeps both: the nested one is invoked by its path, such as /apps/web:deploy.

Invoking a skill in Claude Code

There are two ways in:

  • The model decides. At the start of a session Claude sees each skill’s name and description. When a request matches, it loads the full SKILL.md. The listing truncates description plus when_to_use at 1,536 characters, so put the main use case first. Our skill description best practices cover how to get this right.
  • You type /skill-name at the start of a message. Anything after the name becomes the arguments. Typing the name in the middle of a sentence (“go ahead and /deploy to staging”) does not run it directly; it gives Claude permission to use it while it answers.

Custom slash commands and skills are now the same thing. .claude/commands/deploy.md and .claude/skills/deploy/SKILL.md both give you /deploy. Convert a command to a skill folder when it needs supporting files such as scripts or templates; migrating rules and slash commands to skills covers the move.

Claude Code’s extra frontmatter fields

The open spec defines six fields: name, description, license, compatibility, metadata and allowed-tools. Claude Code accepts all of those and adds its own. The ones you will use most:

Field What it does
when_to_use Extra trigger guidance, appended to the description in the listing
argument-hint Shown in the / menu, for example "<issue number>"
disable-model-invocation: true Only you can run it. The description is not even loaded into context. Use it for anything with side effects, like deploys
user-invocable: false Hidden from the / menu; only the model uses it. Good for background knowledge
allowed-tools Pre-approves tools for the turn that invokes the skill. It does not restrict other tools
disallowed-tools Removes tools while the skill is active
context: fork Runs the skill in a subagent that does not see your conversation. Pair with agent to pick the subagent type
paths Glob patterns that limit when the skill activates automatically
model, effort Override the model or effort level for the skill
hooks Hooks that run only while the skill is active

name is optional in Claude Code and defaults to the folder name. Unknown fields are ignored silently, which is why a typo like disable_model_invocation does nothing and gives no warning.

The body can use placeholders: $ARGUMENTS for everything typed after the command, $0, $1 for positional arguments, named arguments declared in arguments, and ${CLAUDE_SKILL_DIR} for the skill’s own folder, which is the reliable way to point at a bundled script.

---
name: fix-issue
description: Fix a GitHub issue by number following our conventions. Use when the user asks to fix or work on an issue.
argument-hint: "<issue number>"
disable-model-invocation: true
allowed-tools: Bash(gh issue view:*)
---

Read issue $ARGUMENTS with `gh issue view $ARGUMENTS`, reproduce it with a failing
test, fix it, and run the test suite before you report back.

Editing and reloading

Edits to skills under ~/.claude/skills/, the project’s .claude/skills/ or an --add-dir folder take effect in the running session without a restart. If you create a top-level skills folder that did not exist when the session started, run /reload-skills once. Plugin changes to agents, hooks and MCP config need /reload-plugins.

Plugins and namespacing

A plugin is a folder with a .claude-plugin/plugin.json manifest that can bundle skills, subagents, hooks, MCP servers and output styles. Its skills live in <plugin>/skills/ and are always namespaced: the review skill in a plugin called acme-tools becomes /acme-tools:review. If the skill’s frontmatter sets a different name, that name replaces the folder name in the last segment.

Plugins come from marketplaces, which are Git repositories with a .claude-plugin/marketplace.json:

/plugin marketplace add anthropics/skills
/plugin install example-skills@anthropic-agent-skills

Anthropic’s official marketplace, claude-plugins-official, is registered automatically in interactive sessions. Third-party marketplaces do not auto-update by default. For running your own, see a private Claude Code plugin marketplace. Anthropic’s skill development skill is written specifically for plugin authors.

What to put where

  • Personal habits and tools you use everywhere: ~/.claude/skills/.
  • Team conventions tied to one repository: .claude/skills/ in that repository, committed and reviewed like code.
  • Anything shared across several repositories or teams: a plugin in a marketplace, so it is versioned and installed by name.
  • Always-on facts about the project (build commands, layout): CLAUDE.md, not a skill. CLAUDE.md improver audits those files.

Before you install anything from someone else, read it. Our security checklist for third-party skills lists what to look for, and how to install Agent Skills gives pinned commands for every agent. To write your own, start with how to create a Claude skill.

Check your understanding

Agent Skills in Claude Code quiz

Where Claude Code finds skills, precedence when names clash, how skills are invoked, Claude Code's extra frontmatter fields, reloading, plugin namespacing and what goes where.

9 questions · pass mark 70%

Question 1 of 90 answered
  1. A teammate installed a skill only into .agents/skills/ so Codex and Cursor can use it. Does Claude Code load it?
  • Claude Code

    Anthropic's agentic coding tool for the terminal, IDEs, desktop and web.

    Tool

  • How to install Agent Skills in Claude, Codex, Cursor, Copilot and more

    Where each agent looks for SKILL.md folders, and the exact commands to install Agent Skills in Claude Code, Claude apps and API, Codex, Cursor and Copilot.

    Skill guideBeginner

  • SKILL.md format reference

    Every SKILL.md frontmatter field in the Agent Skills spec, the extra fields each agent adds, size budgets, folder layout and the mistakes that stop loading.

    Skill guideIntermediate

  • Your first session with Claude Code

    Install it, run it in a real repository, approve its first changes, commit a reviewed edit and learn the commands you will use daily.

    TutorialBeginner30 min

  • Plugin (Claude Code)

    A package that bundles skills, agents, hooks and MCP server configuration so they can be installed together from a marketplace.

    Glossary

Back to top