Claude Code skills for a team: five to copy, and how to tell if one works
What a skill is, when to write one instead of adding to CLAUDE.md, five skill files to copy, where to put them so teammates get them, and how to check a skill actually helps.
By Christian Buckner
A Claude Code skill is just a folder with a SKILL.md file in it. The file holds instructions, and Claude reads them when the task fits, or when someone types / and the skill's name. Put the folder in .claude/skills/ in your repository, commit it, and everyone who clones the repo has the skill.
What makes skills cheap is that only each skill's name and description load at the start of a session. The rest of the file loads when the skill is used, so a long procedure costs almost nothing until someone needs it.
I'm going by Claude Code's skills documentation as of November 26, 2026, which moves fast, so check version numbers there.
When a skill is the right place
The rough rule I use: a fact Claude needs in every session goes in CLAUDE.md, and rules for one part of the codebase go in a file under .claude/rules/. A procedure with steps, or a checklist you keep pasting into chat, is a skill. So is long reference material that's only needed now and then, with the detail in a second file inside the skill's folder. And a rule that has to hold every single time isn't a skill at all. It's a hook.
You'll usually notice it's time when you've pasted the same instructions into chat twice, or a section of CLAUDE.md has turned into a numbered list of steps. I wrote about what stays in CLAUDE.md in CLAUDE.md for a team.
Five skills to copy
Each of these is a single file. The folder's name becomes the command, so .claude/skills/pr-description/SKILL.md runs as /pr-description.
A skill that reads the branch before it writes
If you only copy one, I'd make it this. Save it as .claude/skills/pr-description/SKILL.md:
A ! followed by a command in backticks runs before Claude sees the skill, and Claude gets the command's output in its place. These commands never stop to ask permission, so in every permission mode except auto, a command that isn't already allowed makes the skill fail. That's why the allowed-tools lines are there. If a command fails, the whole skill fails and Claude Code shows the error, so in a repository without a main branch, change the branch name.
A skill that takes an argument
Save as .claude/skills/new-endpoint/SKILL.md, with an example handler next to it as template.ts:
Typing /new-endpoint users/export puts users/export where $ARGUMENTS is. The template is a second file in the skill's folder, and Claude only reads it when the skill is used.
A skill only a person can start
Save as .claude/skills/release/SKILL.md:
With disable-model-invocation: true, Claude can't decide to run it on its own. Someone has to type /release 2.4.0. I'd use this for anything that ships, sends or deletes.
A skill only Claude uses
Save as .claude/skills/legacy-billing/SKILL.md:
With user-invocable: false, the skill stays out of the / menu, and Claude loads it when a task matches the description. It's a good home for background knowledge that would otherwise bloat CLAUDE.md.
A skill that works in a separate context
Save as .claude/skills/migration-check/SKILL.md:
context: fork hands the skill to a subagent, so reading the migration and the code around it doesn't fill up your conversation. The subagent doesn't see your conversation, and the Explore agent starts without your CLAUDE.md files, so the skill has to say everything the task needs. That's why the rules are written into the skill itself. It runs in the background and the result arrives when it's done (add background: false if you'd rather wait for it). And it needs an actual task: a skill that only lists conventions gives a subagent nothing to do.
Who can run what
| In the file | You can run it | Claude can run it | Its description is loaded |
|---|---|---|---|
| Nothing extra | Yes | Yes | Yes |
disable-model-invocation: true | Yes | Not on its own | No |
user-invocable: false | No | Yes | Yes |
Where the folder goes decides who gets it
| Where | Who gets it |
|---|---|
.claude/skills/<name>/ in the repository | Everyone who clones it |
~/.claude/skills/<name>/ | Only you, in every project on this machine |
A plugin's skills/ folder | Everyone with the plugin switched on. It runs as /plugin-name:skill-name |
| Your Claude account | You, wherever you sign in to Claude Code with that account. In a terminal this needs version 2.1.273 or later |
| The managed settings directory | Everyone on the machines IT set up |
On a Team or Enterprise plan, the Claude account route also carries skills an owner published for the whole organization.
A few things catch teams out. Your own skill wins over the team's: if you have a deploy skill in ~/.claude/skills/ and the repository has one too, /deploy runs yours. A skill deep in a monorepo, say in apps/web/.claude/skills/, only appears the first time Claude reads or edits a file under apps/web/, unless you started Claude Code there. Old command files in .claude/commands/ still work, but if a skill has the same name, the skill wins. And if a new skill doesn't show up, /reload-skills usually fixes it, since Claude Code watches the folders but can miss a change.
Write the description for Claude
The description decides whether Claude reaches for the skill, and it's the only part loaded up front. Say what the skill does and then when to use it, in the words a teammate would actually type. Claude Code cuts the description at 1,536 characters in its list, so put the main use first.
Keep SKILL.md itself under 500 lines and move detail into other files in the folder, named in SKILL.md. Put the most important instruction at the top, because once a skill has been used its text stays in the conversation, and when a long conversation gets compacted Claude Code keeps only the first 5,000 tokens of each skill.
And don't hoard skills you never use. The list of descriptions gets 1% of the model's context window, and past that Claude Code starts dropping descriptions, beginning with the skills you use least. /skill-doctor (version 2.1.252 or later) shows what each skill costs and which ones were never used.
A skill isn't a guarantee
Claude follows a skill the way it follows CLAUDE.md: usually, not always. If something must hold every time, like "never edit a merged migration", make it a hook, which Claude Code runs itself whether or not Claude is following the skill. Claude Code for a team shows a hook in a team settings file.
How to tell whether a skill works
Seeing a skill run only tells you Claude found it. It doesn't tell you the result got better. The honest test is a before and after: collect three or four prompts a teammate would really type, run each in a fresh session with the skill on, then turn it off (in the /skills menu, highlight it, press Space until it's off, then Esc) and run them again. Compare the two sets.
Anthropic's skill-creator plugin runs that loop for you and keeps the test cases in the skill's folder:
Then ask Claude to "evaluate my pr-description skill with skill-creator".
If a skill never triggers, check its frontmatter first. A file whose frontmatter doesn't parse still runs by name, but Claude can't match its description. This finds the broken ones (version 2.1.233 or later):
Using a skill outside Claude Code
Skills follow an open format, Agent Skills, that other AI tools read too, and Claude Code adds its own fields on top. If you upload a skill to a Claude account so it works in the Claude apps, only six fields are accepted: name, description, license, compatibility, metadata and allowed-tools. Anything else, like argument-hint or context, makes the upload fail, and the ! command lines don't work there either.
That means none of the five skills above would upload as written. Four use a field only Claude Code has, and the first depends on ! commands. If you want one skill in both places, stick to those six fields and plain instructions.
Skills share procedures someone wrote down ahead of time. What a session works out along the way is a different problem, and I covered it at the end of CLAUDE.md for a team.
Sources
Read on November 26, 2026: Extend Claude with skills, Hooks, Plugins, Use skills in Claude, and the skill-creator plugin in Anthropic's plugin catalog.