Yes, for a procedure you repeat when the result has to come out the same each time. Project rules that every session must know, such as your test command, belong in CLAUDE.md, where Claude reads them in every session. A skill earns its place when your team runs the same multi-step procedure again and again. In a regular session, Claude sees the description of each skill it can invoke on its own, and it loads the full instructions only when a task calls for them. A skill with disable-model-invocation set to true keeps its description out of Claude's context. You still invoke it yourself, and then its full instructions load.
Tigerless Labs publishes skills built for this kind of work. design-harness is an agent skill for Claude Code, Codex and other SKILL.md-compatible agents. Drop papers, repos and posts into its folders, and the agent files one graded card per source, anchoring each claim to where it came from. Only a person creates an idea card, and every element links back to its sources, so a design decision stays traceable. Reading how a project like that splits its steps and reference files is a useful model for your own skill.
How do Claude Code skills work?
A skill is a folder with a SKILL.md file at its root. The file opens with a short header, the frontmatter, and then holds the instructions Claude follows when the skill runs. Claude Code loads each skill in stages, and each stage costs a different amount of context.
| Stage | What enters the context | When it happens |
|---|---|---|
| Listing | The skill's description | In a regular session, for skills Claude can invoke on its own. Not for skills with disable-model-invocation set to true. Descriptions can be cut when the listing budget is tight |
| Invocation | The full SKILL.md instructions | When a task matches the description, or you type the skill's command. With disable-model-invocation set to true, only your command loads it |
| Supporting files | Reference files and examples the instructions point to | When a step asks for them |
| Scripts | The script's output, not its code | When a step runs the script |
Here is the header of a reference-style skill from the Claude Code documentation:
---
name: api-conventions
description: API design patterns for this codebase
---For a skill Claude can invoke on its own, Claude decides whether to use it by matching your request against its description. Anthropic's skills overview says the description is the only part Claude sees before it decides to use the skill, so a vague description is a skill Claude may never pick.
Two frontmatter fields change who starts a skill. With disable-model-invocation set to true, the skill's description stays out of Claude's context and Claude does not start it on its own. You start it with its command, and then its full instructions load. With user-invocable set to false, the skill is hidden from the / menu, its description stays in Claude's context, and Claude starts it when a task calls for it.
Do skills cost less context than CLAUDE.md?
Yes, for long material. A skill's body loads only when it is used, while CLAUDE.md content loads in every session. A skill Claude can invoke on its own carries its description in the listing, and that listing sits inside a budget. A skill with disable-model-invocation set to true adds no description. The listing budget scales at 1% of the model's context window. You can raise it with the skillListingBudgetFraction setting, for example 0.02 for 2%.
Each skill's description and when_to_use text together are capped at 1,536 characters in the listing by default. That default is configurable with skillListingMaxDescChars. The 1,024 limit is a different rule: the Agent Skills standard caps the description field alone at 1,024 characters. A description can meet the standard and still lose its tail once when_to_use is added, so put the key use case first. Run /doctor for an estimate of the listing's cost and its biggest contributors. A skill Claude can invoke on its own still takes a description line, even if you never use it.
How long does a skill's content stay active in a conversation?
A skill's instructions stay in the conversation across later turns, and Claude Code does not re-read the file on later turns. When the conversation is compacted, Claude Code re-attaches each invoked skill, keeping the first 5,000 tokens of each. All re-attached skills share a combined budget of 25,000 tokens, filled starting with the most recently invoked skill, so an older skill can drop out entirely when many were invoked. Put the most important instructions near the top of SKILL.md, and move reference material into a separate file that a step names. If a skill stops being followed after a compaction, invoke it again to restore its full content. A rule that must hold on every edit belongs in a hook, which Claude Code runs whether or not Claude follows the skill.
When should I turn instructions into a skill?
Make a skill when you paste the same instructions, checklist or multi-step procedure into chat more than once, or when a section of your CLAUDE.md has grown into a procedure rather than a fact. Anthropic's how-to guide adds the case where the work needs a reference file or a script to come out right, such as a report format your team uses or a review checklist that has to be applied the same way each time.
Consider a weekly sales summary. Pasted into chat each Monday, its steps are the same every time: pull the numbers, group them by channel, flag any channel that fell further than usual, and write three lines for the team. As a skill, those steps are written once, and the Monday request shrinks to one line.
Facts stay in CLAUDE.md. A rule such as the name of your test command belongs there, because every session should read it, and a skill loads only when a task matches its description.
How do I build a skill?
Start with one procedure you already paste into chat, and keep it short and specific. The Claude Code documentation's first example is a skill called summarize-changes, which reads your uncommitted git diff and flags anything risky. The steps below follow the same path for any procedure.
- Create .claude/skills/summarize-changes/SKILL.md inside a repository for a skill to share, or ~/.claude/skills/summarize-changes/SKILL.md for one you want in every project.
- Write the header with a short name and a description that says what the skill does and when to use it.
- Write the steps in plain language, and name any reference file or script in the step that uses it.
- Test it by asking for something the description matches, or type the skill's command to run it directly.
- Run /doctor and check the listing cost before you add the next skill.
Write the description in the words you would use to ask for the task, because Claude matches your request against those words. "Helps with reports" gives Claude nothing to match. "Build the weekly sales summary from the CRM export when someone asks for the week's numbers" gives it a clear trigger.
Should a team share skills, and is it safe to install one?
Share the procedures that belong to the team. A project skill lives at . inside a repository, and the documentation says to commit it so everyone who works there gets it. A personal skill at ~/. loads in every project on your machine, and nobody else gets it. For a whole organization, a plugin or managed settings can distribute skills to everyone at once.
When a procedure changes, change the skill the way you change code: on a branch, reviewed by someone else, merged once it works. Name each skill for the task it does, and give each one an owner who updates its steps when the process changes, because a stale skill still loads and still gets followed.
Before you install a skill someone else wrote, read its SKILL.md and its files. Anthropic's skills overview notes that skills someone shares with you, or that you upload yourself, are not reviewed by Anthropic. Their instructions and any scripts they carry run as part of your conversation, so check which steps the skill asks Claude to take, which outside addresses it calls, and whether a script runs commands on your machine. A skill that changes things outside the conversation, such as sending a message or deploying code, should start only when you start it. Set disable-model-invocation to true for that skill.
Tigerless Labs projects are local tools, plugins and skills installed from GitHub, with no Tigerless account and no sign-up, so the source is there to read before you install anything. auto-gtm, for example, drafts posts and never publishes or replies on its own. If your team also works in Codex, our article on whether a Codex skill runs in Claude Code covers what carries over between the two.
Can a tool turn my Claude Code sessions into skills automatically?
Yes. autoharness is a Claude Code plugin from Tigerless Labs, which we build. It learns skills from your real sessions instead of waiting for you to write them. A capture step records each turn, and a reflection step reads the session and the existing skill index, then proposes whether to add, merge, patch or delete a skill. A promoter lints each proposal before it lands in your skill folder, and only the promoter writes. By default a reflection fires every 50 tool calls, with no daemon and no timer, and the /learn command distills a session on demand. Same-scenario skills are merged into one rather than stacked.
autoharness counts two kinds of change separately. Each time a session loads one of its skills, that is one use. Rewriting the skill's body is a patch, and a load after a patch counts as reuse after an improvement. A session that only reads the skill's folder is recorded as a view, which shows recall but not adherence.
New skills start in probation. For the first 100 requests that reach the project layer (300 for the global layer), a skill is recalled as usual but cannot be archived. At graduation review, it is archived only if it was never loaded and never viewed. After that, the mature pool in the project layer is capped at 50 skills, and when it overflows, the lowest usage rates go first. Archiving moves the skill's folder to .claude/skills/.archive/, so nothing is deleted, and moving the folder back revives it. autoharness touches only the skills it created.
Install it inside Claude Code with /plugin marketplace add tigerless-labs/autoharness, then /plugin install autoharness@autoharness, then /reload-plugins or a restart of Claude Code. It needs Python 3.11 or later as python3 on your PATH, with no third-party packages and no configuration. Run python3 --version first, because Xcode's copy at /usr/bin/python3 is 3.9.6, and an older interpreter earlier on your PATH turns its hooks off for the session. To update, run claude plugin marketplace update autoharness, then claude plugin update autoharness@autoharness, and restart Claude Code.
The project is validated by how often Claude Code follows its skills in use. It has no held-out benchmark, and we do not claim a score for it. It is MIT licensed. Our earlier article on autoharness walks through the idea in more depth.
How do I know a skill is earning its place?
Check three things after a week of use. First, does Claude pick the skill when a task matches it? If you type the command every time and Claude never starts the skill on its own, the description is the likely cause: it is missing the words you actually use. Second, does the output change? Compare the result with what you got from the pasted prompt. If you still paste the steps into chat as well, the skill has replaced nothing. Third, what does the listing cost? Run /doctor and look at the biggest contributors. A skill you run every week earns its line; a skill you ran once does not.
When is a skill the wrong tool?
A skill is the wrong tool when you need a service's live data, because a skill cannot reach a service by itself. It can tell Claude to run a command-line tool or a script you have already authorized on your machine, and read the output. A line such as !git diff HEAD runs its command when the skill loads and puts the output into the instructions. Access stays with that tool, so the skill sees only what that tool's own login allows. For live data from a hosted service, use a connector.
Anthropic's how-to guide lists the other cases where a skill is not the right tool. A one-off task is better described in the conversation, and instructions for every conversation belong in your personal preferences or project instructions, since a skill loads only when a task matches it. A connector gives you a hosted service's live data, and a CLAUDE.md line gives you a rule every session reads without needing a match. Doing nothing can also win: a procedure you run once a year is cheaper to keep as a note than to maintain as a skill, because the description has to stay accurate as your process changes. To pick the tool, ask what the content is: a procedure, a fact, a live lookup, or a one-off request.
If the real problem is that Claude forgets context between sessions, a skill will not fix that. Our article on giving Claude Code memory across sessions covers that problem. Our Cost X-Ray article shows where the tokens in each request go, which is useful when you want to know what a skill really adds.
Conclusion
Skills pay off for procedures you repeat and for checklists your team runs the same way. A skill Claude can invoke on its own shows its description in a regular session, and a long list can cut descriptions. A skill with disable-model-invocation set to true keeps its description out of context and loads its full instructions when you run it. Full instructions load only when they run, and after compaction only the first 5,000 tokens of each invoked skill come back, so long reference material belongs in a supporting file. Use a skill when the same procedure keeps coming back, CLAUDE.md for facts, a connector or an authorized tool for live data, and a plain prompt for work you do once.
Our rule of thumb: keep a skill only while you use it. If a skill has not run in a month, archive it or take it out of the folder, and let the next one earn its listing line. Your next step is small: pick the procedure you paste into chat most often this week, write it as a skill, and run /doctor to see what its listing adds to your context.
FAQ
Do Claude Code skills load in every session?
In a regular session, Claude normally sees descriptions for skills it can invoke automatically. If a skill sets disable-model-invocation: true, its description stays out of the model’s context. You can still invoke it explicitly to load its full instructions. When the listing budget is tight, Claude Code can also omit descriptions for less-used skills.
Where should I save a skill so my team gets it?
Save it in the repository at .claude/skills//SKILL.md, for example .claude/skills/summarize-changes/SKILL.md, and commit it with the code. A skill saved at ~/.claude/skills//SKILL.md loads in every project on your own machine, but nobody else gets it.
Can I stop Claude from starting a skill on its own?
Yes. Set disable-model-invocation to true in the skill's frontmatter. Its description stays out of Claude's context, so Claude does not start it on its own. You start it with its slash command, and its full instructions load then, which suits workflows that send messages or deploy code. If the listing budget is tight, you can set a low-priority skill to name-only in skillOverrides, so it lists without a description.
Does a skill replace CLAUDE.md?
No. CLAUDE.md holds facts that every session should read. A skill holds a procedure that loads when a task matches it, and many projects use both.
Is autoharness a hosted service?
No. autoharness is a Claude Code plugin that runs locally on Python 3.11 or later, with no Tigerless account, no sign-up and no third-party packages. It is MIT licensed. Install it with /plugin marketplace add tigerless-labs/autoharness and /plugin install autoharness@autoharness, then run /reload-plugins or restart Claude Code.
