Explore skills

Blog / Cost

Do Skills Bloat Your Context? Token Cost of Skills

Skills cost about 100 tokens each until they trigger. I counted 19 real SKILL.md files, converted with a stated estimate, and priced the result in dollars.

Do Skills Bloat Your Context? Token Cost of Skills

Installed skills cost a small, steady amount of context on every turn (a name and a description each), and a large one-off amount only when a skill triggers. I counted 19 real SKILL.md files to put numbers on both, and priced them with Anthropic's current token rates.

Table of contents

The short answer

Skills do not bloat your context the way a long CLAUDE.md does, as long as they stay inside the design. Anthropic's Agent Skills overview says that "until a Skill is triggered, only its name and description occupy context," at roughly 100 tokens per skill, and that the SKILL.md body loads only when the skill triggers (Agent Skills overview). So the standing cost of a skill library is the number of skills times the length of their descriptions, and the one-off cost is the size of the SKILL.md files you actually use.

I put numbers on both. The public anthropics/skills repository has 19 skills under skills/. Counting their text, the 19 names and descriptions add up to 9,621 characters, which is about 2,400 tokens under a rule of thumb of four characters per token. That is a rough estimate, not a tokenizer measurement. On Claude Sonnet 5.5 at $2 per million input tokens, 2,400 tokens is about half a cent per request, and about a fortieth of that when the prefix is served from the cache. The whole bodies of all 19 files are about 75,000 tokens, but you never load all of them at once, and one file (claude-api) accounts for more than a third of that.

The real bloat risk is not the listing. It is a few oversized SKILL.md files that stay in the conversation after they load, and a library so large that Claude Code starts dropping descriptions. Both are fixable, and the steps below show how.

I build AI agents full-time and keep a lot of skills installed, so I wanted this written down with real file sizes instead of folklore. If you are new to the format, start with how to install Claude Code skills.

A note on prices and dates

Prices in this guide were read from Anthropic's pricing page on 2026-11-24, and the behavior of skill loading was read from the Claude Code and Agent Skills documentation on 2026-11-23 and 2026-11-24. Model prices, tokenizers, listing budgets and Claude Code settings change without notice, and Anthropic's own page says "For the most current pricing information, see the Claude pricing page." Treat every dollar figure here as a snapshot and as arithmetic on stated assumptions, not as a quote for your account. Where the docs do not say something, I write "Not listed."

How skills load into context

A skill is a folder with a SKILL.md file and any scripts or reference files it needs. Anthropic describes three levels of loading in the Agent Skills overview. Level 1 is the metadata (name and description), loaded at startup at about 100 tokens per skill. Level 2 is the SKILL.md body, loaded when the skill is triggered, which the overview says should stay under 5,000 tokens. Level 3 is bundled files and scripts, loaded as needed. The overview adds that scripts are run through bash and that Claude "receives only the output (the script code itself never enters context)" (Agent Skills overview).

Claude Code's own documentation adds the details that matter for cost:

  • "In a regular session, skill descriptions are loaded into context so Claude knows what's available, but full skill content only loads when invoked." (Claude Code skills docs)
  • "Every skill in the skill listing adds to your context on every turn, whether or not Claude ever uses it." The same page points to /skill-doctor, which it says shows what each of your skills costs and how often it gets used.
  • Once a skill is invoked, "the rendered SKILL.md content enters the conversation as a single message and stays there across later turns," and Claude Code does not re-read the file on later turns.
  • When a conversation is compacted, Claude Code "re-attaches the most recent invocation of each skill after the summary, keeping the first 5,000 tokens of each," and the re-attached skills share a combined budget of 25,000 tokens.
  • The listing has its own cap. The docs say Claude Code "drops some descriptions to fit the listing's character budget," that the budget "scales at 1% of the model's context window," and that descriptions are dropped starting with the skills you invoke least.

Put together, that gives three separate costs. One is a small fixed charge per skill per turn. One is a large charge when a skill triggers, which then repeats on every later request in that conversation. The last is a quality cost: past a certain number of skills, some descriptions are cut, and a skill without its description is harder for Claude to choose. I covered that last one in how to write a SKILL.md description that triggers.

How I counted

I cloned the public anthropics/skills repository on 2026-11-24 (the commit I used is dated 2026-11-16) and wrote a short script that reads every SKILL.md under skills/. There are 19. For each one it counts the characters in the name plus description fields, the characters in the whole file, and the words in the body. To convert characters to tokens I use one stated rule: 1 token is about 4 characters of English text. That is a common rule of thumb, not a measurement of Claude's tokenizer. Two things make it rough. Anthropic's pricing page notes that "Claude 4.7 and later models ... use a newer tokenizer" that produces "approximately 30% more tokens for the same text," so on recent models the real count for the same text can be higher than a 4-characters estimate suggests. And code, JSON and non-English text tokenize differently from prose. Where it matters I give a range.

How to read the numbers: they are measured character and word counts, converted to tokens with the stated rule and priced with the published rates. For the exact figure in your own setup, run /context in Claude Code.

One more limit. I counted the description text itself. Claude Code builds its own listing line from each skill, and the docs do not publish its exact format, so the real per-skill cost is the description plus some small overhead.

Step 1: price the always-on listing

The listing is the part you pay for whether or not you use a skill. To estimate it for your own setup:

  1. List the skills Claude can invoke by itself: personal ones in ~/.claude/skills/, project ones in .claude/skills/, and those from plugins.
  2. For each, add the characters of the name and the description (the description field, plus when_to_use if you use it).
  3. Divide the total by 4 for a token estimate, and by about 3 to see the pessimistic case.

For the 19 Anthropic skills the totals were 9,621 characters, so about 2,400 tokens at four characters per token, or about 3,200 at three. The per-skill average was 506 characters, which is about 127 tokens. That sits close to the "about 100 tokens per Skill" in Anthropic's overview, a little higher because several of these descriptions are long. The shortest metadata I found was 218 characters (webapp-testing, with frontend-design at 219) and the longest was 1,078 characters (claude-api).

The cap on descriptions limits the worst case. The best-practices guide sets a maximum of 1,024 characters for a description. The Claude Code docs add that the combined description and when_to_use text is "truncated at 1,536 characters in the skill listing to reduce context usage" (Claude Code skills docs). So no single skill can cost more than about 1,500 characters of listing, roughly 400 tokens, however much you write.

The cleanest check is not my arithmetic. It is your own /context command: the docs say its Skills row shows the size after the budget is applied, and /doctor estimates the listing cost. Use my method to plan, and /context to confirm.

Step 2: price a skill that triggers

When a skill triggers, the whole SKILL.md enters the conversation and stays. Its size is the number that matters, and it varies by a factor of 70 in the public repo.

Skill Characters in SKILL.md Estimated tokens (4 chars each)
internal-comms (smallest) 1,511 about 380
brand-guidelines 2,235 about 560
frontend-design 9,363 (the median) about 2,340
pptx 28,171 about 7,040
skill-creator 32,987 about 8,250
claude-api (largest) 105,119 about 26,280

Source: my character counts of skills/*/SKILL.md in anthropics/skills, 2026-11-24, converted at 4 characters per token. These are estimates.

Three of the 19 files are above 20,000 characters, which is about the 5,000 tokens the overview suggests as a ceiling for a body: claude-api, skill-creator and pptx. A fourth, algorithmic-art, sits just under it at 19,735 characters. Several of the big ones also come with a lot of bundled material (the repo shows pptx with 57 other files in its folder and claude-api with 95), which fits level 3 loading, where reference files are read only when needed. The claude-api SKILL.md is large anyway. It is the exception rather than the rule: the median file is about 2,300 tokens.

Two details change the real cost of a triggered skill.

First, it stays. Because the rendered SKILL.md "stays there across later turns," a 2,340-token skill loaded early in a long session is sent again with every later request, so what matters is tokens times the number of requests, not the one-off load. Prompt caching softens this, which the next step prices, as long as the cache is still warm; why a cold resume costs money covers the case where it is not.

Second, bundled files and scripts are not free either, just deferred. A script's code does not enter context, only its output, per the overview. But a reference file Claude reads lands in context at its full size, and so does every file Claude opens that the SKILL.md points to. A skill with a 600-line reference.md costs nothing until Claude reads it, and then costs its size.

Step 3: turn tokens into dollars

Anthropic's pricing page lists these base input prices per million tokens: Claude Opus 5.5 at $4, Claude Sonnet 5.5 at $2, Claude Haiku 5.5 at $0.10 for prompts up to 100,000 tokens, and Claude Haiku 4.5 at $1. It also says that cache hits on Opus 5.5 and Sonnet 5.5 "are priced at 0.05x the base input price," which makes a Sonnet 5.5 cache hit $0.10 per million tokens (Anthropic pricing).

The arithmetic is tokens times price, divided by a million. I use Sonnet 5.5 for the examples. Whether a given Claude Code session serves the skill listing from the cache is not something I verified, so I show both the uncached rate and the cache-hit rate as bounds. Real cost sits between them, closer to the cache-hit end when the prefix is stable.

Scenario Tokens Uncached ($2/MTok) Cache hit ($0.10/MTok)
Listing of 19 skills, one request 2,400 $0.0048 $0.00024
Same listing, 100 requests 240,000 $0.48 $0.024
Median SKILL.md carried for 40 requests 93,600 $0.19 $0.0094
claude-api SKILL.md carried for 40 requests 1,051,200 $2.10 $0.11
100 skills at the 19-skill average (127 tokens each), one request 12,700 $0.025 $0.0013

Illustrative arithmetic on the rule-of-thumb token counts above; the dollar columns use the Sonnet 5.5 rates from the pricing page as read on 2026-11-24. They are not measurements of any real session.

Reading the table honestly: the standing listing is cheap in dollars. Even the pessimistic 100-skill library costs around two and a half cents per request with no caching, and a dollar-scale bill needs hundreds of requests. The line that stands out is the large body carried for a long time. A 26,000-token skill that stays through 40 requests is about $2 uncached on Sonnet 5.5, hundreds of times the cost of one listing request.

If you run on Opus 5.5, double every uncached figure; on Haiku 5.5 for short prompts, divide by 20. The plan you pay for matters too. On a subscription you are not billed per token, but you spend the same tokens against your plan's usage limits, so a heavy skill library uses up a session's allowance sooner. For how the five-hour window and the weekly cap work on Pro and Max, see this explainer on Claude Code usage limits.

Dollars are also not the only cost. Tokens in context compete with your files, your conversation and your tool results for the window. The docs' guidance on CLAUDE.md makes the comparison explicit: move instructions from CLAUDE.md to skills, because skills "load on-demand only when invoked," and keep CLAUDE.md short. For how those files differ, see SKILL.md vs CLAUDE.md vs AGENTS.md.

Step 4: trim what you pay for

Once you have a number, the levers are all in the docs or in how you write the skill.

  1. The listing is charged by length. Put the key use case first, because everything past 1,536 characters is cut anyway, and keep the trigger phrases that matter. A 200-character description that names the file type and the task costs a third of a 600-character one. The trade-off is triggering, so test it as described in the description guide.
  2. The overview treats under 5,000 tokens for the body as the target. Keep the core workflow in SKILL.md and move reference tables, API lists and long examples into files the skill links to. They then cost nothing until read. The repo's own pptx and docx folders follow this pattern, with dozens of bundled files behind a SKILL.md under 30,000 characters.
  3. Anthropic's best-practices guide lists "Save tokens (no need to include code in context)" among the reasons to use scripts, and the overview says only the output enters context. If Claude would otherwise write 80 lines of code every time, a script is cheaper and more consistent.
  4. The skillOverrides setting takes "on," "name-only," "user-invocable-only" and "off," and the docs say "name-only" entries are listed without a description, which frees budget for other skills. The disable-model-invocation: true frontmatter field goes further: the docs' invocation table says that with it set the "Description not in context, full skill loads when invoked", and that it "removes the skill from Claude's context entirely" (Claude Code skills docs, checked 2026-11-26). The skill then costs nothing until you type /name, at the price of Claude never picking it on its own.
  5. The docs name skillListingBudgetFraction (with 0.02 as an example value) and SLASH_COMMAND_TOOL_CHAR_BUDGET. Raising the budget buys back descriptions at the price of more standing tokens, so it is a trade, not a free fix.
  6. A subagent runs "in its own context window," and the docs recommend one when a side task would flood your conversation. A caution from the same docs: the skills frontmatter field on a subagent preloads the full skill content, not just the description, so do not preload a large skill you only sometimes need. For the trade-offs between these mechanisms, see skills vs subagents vs slash commands.

MCP tools are a close cousin of this problem. The docs say tool search "keeps MCP context usage low by deferring tool definitions until Claude needs them," so only tool names and server instructions load at session start. If you are choosing between a skill and an MCP server, skills vs MCP vs plugins covers what each one puts in context.

Fact table

Fact Value Source
Metadata cost per skill About 100 tokens, loaded at startup Agent Skills overview
SKILL.md body size guidance Under 5,000 tokens, loaded when triggered Agent Skills overview
Description length cap 1,024 characters (best practices); 1,536 characters for description plus when_to_use in the Claude Code listing Best practices, Claude Code skills docs
Listing budget in Claude Code Scales at 1% of the model's context window; least-used skills lose descriptions first Claude Code skills docs
Listing budget in Codex "At most 2% of the model's context window" (8,000 characters when unknown) Codex skills docs
After a skill is invoked Content stays in the conversation across later turns Claude Code skills docs
After compaction First 5,000 tokens of each skill re-attached, 25,000 tokens combined Claude Code skills docs
Sonnet 5.5 price $2 input and $10 output per million tokens; cache hit $0.10 Anthropic pricing
Tokenizer note Claude 4.7 and later: about 30% more tokens for the same text Anthropic pricing
Check your own cost /context (Skills row), /doctor, /skill-doctor Claude Code skills docs
Real-token cost of these 19 skills Not measured; counts are text-based estimates This article

Worked example: the 19 skills

Suppose you installed all 19 Anthropic skills and use Claude Code on Sonnet 5.5 for a long working day of 300 requests.

  1. 9,621 characters is about 2,400 tokens at four characters per token, or 3,100 if you apply the 30% tokenizer note as a pessimistic case. Over 300 requests that is 720,000 to 930,000 tokens. Uncached at $2 per million, that is $1.44 to $1.86. At the cache-hit rate, $0.07 to $0.09.
  2. Say you use frontend-design once early, in a session of 150 requests. The 9,363-character file is about 2,340 tokens carried through 150 requests, which is about 351,000 tokens, or $0.70 uncached and $0.035 cached.
  3. Say you also trigger pptx for a deck at request 100, and the conversation runs 50 more requests. About 7,040 tokens carried 50 times is 352,000 tokens, or $0.70 uncached and $0.035 cached.

The assumptions (300 requests, one use of each skill, the 4-character rule) are mine. The point of the example is the ratio. The listing is the largest single line only because it is charged on every request, and the two triggered skills together cost about as much as the listing does. Cutting the listing from 19 skills to the 6 you use would save more than trimming either body. That is one reason I keep the library small and review it from time to time, and it is why the audit before you install habit pays off in context as well as in security.

If you build paid skills, this arithmetic is also the floor of your per-run cost, and how to price a paid agent skill walks through adding a platform's cut on top of it.

Common mistakes

  • Assuming a skill costs its full size from the moment it is installed. Only the name and description are standing costs, per the overview.
  • Assuming a skill costs nothing after it triggers. It stays in the conversation, and in long sessions that repeated charge is the main cost.
  • Counting the folder size. A folder with 60 bundled files can have a small SKILL.md. Only what Claude reads enters context.
  • Writing 1,000-character descriptions for every skill. You pay for each of them on every request, and past the cap the text is cut anyway.
  • Treating the 4-characters-per-token rule as exact. It is a rough rule, and recent tokenizers produce more tokens per character than older ones. Use /context for the real figure.
  • Raising the listing budget before checking /context. If nothing is being dropped, a bigger budget only adds cost.
  • Installing dozens of community skills "just in case." Each one adds a listing line, and each one is also code you have not audited.
  • Comparing token cost without comparing value. A skill that saves a 30-minute task for a few cents of context is a bargain. A skill you never trigger is not, even at 100 tokens.

Pick an approach if

  • Pick the default (install what you use, leave the rest alone) if you have under a few dozen skills and /context shows a small Skills row. The listing cost is negligible in dollars, and your effort is better spent on descriptions that trigger.
  • Pick trimming (shorter descriptions, split large bodies, turn off unused skills) if /context shows the Skills row growing, you see descriptions dropped, or you carry a few very large SKILL.md files through long sessions.
  • Pick a subagent if one skill needs a large reference or produces long output that you do not need in the main thread.
  • Pick a script if the skill keeps making Claude write the same code. Only the output returns to context.
  • Pick on-demand sharing if your problem is a big team library. On Ragspaces, free skills install into your own Claude Code or Codex with one command, and you choose which ones to keep installed. The public skill pages show the description and setup steps first, for example cold-email and google-ads-keyword-research, so you can judge a skill's description length before it enters your listing. The arithmetic above holds wherever your skills come from. For the install flow, see how it works.

Frequently asked questions

Do Claude skills use a lot of tokens?

Not while they sit installed. Anthropic's overview says that until a skill triggers, only its name and description occupy context, at about 100 tokens per skill. A skill costs its full SKILL.md size only after it triggers, and then the content stays in the conversation. In my count of the 19 skills in the public anthropics/skills repo, the median SKILL.md was about 2,300 tokens by a four-characters-per-token estimate.

How many tokens does a skill description use?

About 100 tokens per skill according to Anthropic's overview. In the 19 public Anthropic skills I counted, the name and description averaged 506 characters, which is about 127 tokens by my rule of thumb, with a range from 218 to 1,078 characters. These are estimates, not tokenizer output. The description is capped at 1,024 characters, and Claude Code truncates the combined description and when_to_use text at 1,536 characters.

Does a skill stay in context after it runs?

In Claude Code, yes. The docs say the rendered SKILL.md content enters the conversation as a single message and stays there across later turns, and that Claude Code does not re-read the file. After compaction, the most recent invocation of each skill is re-attached, keeping the first 5,000 tokens of each, with a combined budget of 25,000 tokens.

How can I see what my skills cost?

Use the commands the Claude Code docs name. /context shows the size of the Skills row after the budget is applied, /doctor estimates the listing cost, and /skill-doctor shows what each skill costs and how often it gets used (the docs say it needs a recent Claude Code version). Those figures are real counts from your session, so they beat any estimate in this article.

What happens if I install too many skills?

The listing has a character budget that scales at 1% of the model's context window in Claude Code. The docs say that when it overflows, Claude Code drops descriptions, starting with the skills you invoke least, while keeping every name. A skill without a description is harder for Claude to pick. You can raise the budget with skillListingBudgetFraction or turn skills off with skillOverrides.

Are skills cheaper than putting everything in CLAUDE.md?

For instructions you need only sometimes, usually yes. CLAUDE.md is read every session, while a skill costs its description every turn and its body only when invoked. The Claude Code docs advise moving instructions from CLAUDE.md into skills and keeping CLAUDE.md under 200 lines. For instructions you need on every turn, CLAUDE.md is the simpler choice.

How much does a skill cost in dollars?

It depends on the model and on caching. On Claude Sonnet 5.5 at $2 per million input tokens (read 2026-11-24), a 2,400-token listing costs about half a cent per request uncached, and a cache hit is priced at 0.05 times the base rate. A large skill carried through a long conversation costs more, because it is resent on every request. These are my estimates and they change with Anthropic's prices.

The bottom line

Skills are cheap to install and cheap to leave idle: a name and a description each, about 100 tokens by Anthropic's figure and about 127 by my count of the 19 public Anthropic skills. They get expensive in two cases, an oversized SKILL.md that stays in a long conversation, and a library so large that descriptions get dropped. Check /context, trim the biggest files first, and keep the library to the skills you use. Browse the catalog on Ragspaces and read each description before you install it, since that line is the one you pay for on every turn.

Related articles

About this research

Dmitry Makarenko co-founded Zipy as VP R&D, leading 50+ engineers across five countries, and now builds AI agents full-time. (LinkedIn)

This guide is based on Anthropic's Agent Skills overview and best-practices guide, the Claude Code skills documentation, Anthropic's pricing page (read 2026-11-24), and my own character and word counts of the 19 SKILL.md files in a shallow clone of the public anthropics/skills repository (2026-11-24). Token figures are estimates at four characters per token; /context in Claude Code shows the live figure for your own session. Prices and settings change, so check the live pages. Content reviewed and updated: 2026-11-26

Keep reading