Guide
Reduce skill token usage
Every skill costs context in two ways: a small amount all the time, and a larger amount each time it triggers. This page shows where the tokens go, measures real skills, and trims a bloated one.
How a skill loads
| Stage | What loads | When | Size to aim for |
|---|---|---|---|
| 1. Listing | name and description | Start of every session, for every skill | About 100 tokens or less |
| 2. Body | The SKILL.md text | Each time the skill triggers | Under 5,000 tokens, 500 lines |
| 3. Files | Reference files, scripts, assets | Only when the body points to them and the agent opens them | As small as the job allows |
Claude Code's docs add three details. The description text in the skill listing is cut at 1,536 characters. A skill set to disable-model-invocation keeps its description out of context. And once a skill has loaded, its content stays in context for the session; after automatic compaction, re-attached skills share a 25,000-token budget, with the first 5,000 tokens of each.
Estimate your own
Paste a SKILL.md and see its always-loaded and on-trigger cost against the recommended limits. It uses the scanner's estimator and runs in your browser.
What real skills cost
The free ProSkills skills, measured on the files they ship with. Always-loaded is the name and description. On trigger is the SKILL.md body. On demand is every other text file in the folder.
| Skill | Always loaded | On trigger | On demand | Scan |
|---|---|---|---|---|
| Analytics SQL | 139 tokens | 1,812 tokens | 1,922 tokens | 100/100 |
| Dockerfile Doctor | 159 tokens | 1,737 tokens | 1,501 tokens | 100/100 |
| AGENTS.md Architect | 134 tokens | 1,702 tokens | 897 tokens | 100/100 |
| PR Describer | 110 tokens | 1,207 tokens | 37 tokens | 100/100 |
| Character Bible | 107 tokens | 1,189 tokens | 36 tokens | 100/100 |
| Grill Me | 91 tokens | 1,075 tokens | 33 tokens | 100/100 |
| Hyperframes Starter | 94 tokens | 1,055 tokens | 34 tokens | 100/100 |
| CRUD Scaffold | 94 tokens | 1,038 tokens | 31 tokens | 100/100 |
| Humanizer | 104 tokens | 1,024 tokens | 33 tokens | 100/100 |
| Hook Lab | 87 tokens | 971 tokens | 36 tokens | 100/100 |
| Prospect Brief | 87 tokens | 952 tokens | 32 tokens | 100/100 |
| Taste Core | 83 tokens | 951 tokens | 33 tokens | 100/100 |
| Wardrobe & Sets | 99 tokens | 945 tokens | 36 tokens | 100/100 |
Before and after
Same skill, same information. On the left the 120-row error table sits inside SKILL.md. On the right it moved to error-codes.md, and the body points to it in one line. Both are made up for this page. The numbers are the scanner's.
The table loads every time the skill triggers.
Spec 25 · Efficiency 18 · Clarity 25 · Security 25 (each out of 25)
Always loaded 79 tokens · on trigger 6,494 · on demand 0
eff/body-tokenswarn~6494 tokens load every time this triggers. Aim for under 5,000; split into reference files read on demand.
The body is a workflow and a pointer. The table loads only when it is needed.
Spec 25 · Efficiency 25 · Clarity 25 · Security 25 (each out of 25)
Always loaded 79 tokens · on trigger 173 · on demand 6,329
No findings.
The trigger cost fell from 6,494 to 173 tokens. The reference file still costs 6,329 when it is read, and that happens only for tasks that need a code.
Six ways to cut
- Make the description exact. Cut anything that is not a trigger phrase or what the skill produces.
- Move tables, catalogues and long examples into reference files, one level below SKILL.md.
- Delete advice a capable agent already follows. A rule it would obey without being told is pure cost.
- Say each thing once. Repeated reminders at the top and the bottom double the cost.
- Keep one worked example, not five. Put extras in an examples file.
- Turn off auto-invocation for skills you only run by name, where your tool supports it.
For a whole-setup audit that finds token waste across instructions files, skills and tools, see Context Diet ($9). To compare where each kind of instruction loads, read skills vs CLAUDE.md vs MCP.
Sources
Questions
- How many tokens does a skill use?
- Two amounts. The name and description sit in context all session, usually around 100 tokens or less per skill. The SKILL.md body loads only when the skill triggers, and the spec recommends under 5,000 tokens. Reference files cost nothing until they are read.
- Does an unused skill cost tokens?
- Yes, a little. Its name and description are listed so the agent can decide when to use it. That is why a short, exact description matters more than a long one, and why many installed skills add up.
- How are tokens counted here?
- The estimator divides characters by four and rounds up. That is the same method the scanner uses. It is within about 10 percent of real tokenizers for English and code, so use it to compare drafts, not to bill anything.
- What is the fastest way to cut a skill down?
- Move any table, catalogue or long example into a reference file, and name that file in SKILL.md with a line on when to open it. The content stays, but it stops loading on every trigger.
Keep reading
- Skill ScannerScore any skill in your browser. Nothing is uploaded.
- SKILL.md format referenceEvery field, its limit, the folder layout and the errors people hit.
- Progressive disclosure for skillsThree levels of loading and how to split a skill across them.
- Skills vs CLAUDE.md vs MCPWhen each loads, what it costs in context, and which to reach for.
- All guidesEvery guide, grouped by what you are trying to do.
Paste a SKILL.md or drop a folder. It is scored in your browser and nothing is uploaded.
Want a skill that already passes? Start with a free one.
AGENTS.md ArchitectFreeScan 100/100A short instructions file from your real repo. From the Agent Ops collection.