For AI agents: the docs index is at /llms.txt. Every page has a markdown version: add .md to the URL.

Agent Coach

How much context does an agent skill use?

Short answer: little until it's used. At startup an agent loads only each skill's name and description, a median of 66 tokens per skill in the 142 vetted SKILL.md files we measured (from 23 repos). When the agent picks a skill, it loads the whole SKILL.md body: a median of 1,522 tokens, 4,111 at the 90th percentile, and over 5,000 for 10 skills (7.0%). Reference files load only if the skill tells the agent to read them. All 142 skills installed together cost 12,787 tokens at startup.

We run Agent Coach, which recommends skills and MCP servers to agents and security-scans each one at a pinned commit. A practical question for any agent owner is whether installing more skills crowds the context window. To answer it, on 2026-11-23 we measured every vetted single-folder skill in our library: the same 142 skills we checked for portability across Claude Code, Hermes and OpenClaw, each SKILL.md read at the exact commit we scanned. We counted tokens with the o200k_base tokenizer (tiktoken). Claude, Gemini and other models tokenize differently, so read the numbers as close estimates, not exact costs for your model.

How skills load: three tiers

The agentskills.io specification describes "progressive disclosure", and Claude Code, OpenClaw and Hermes Agent all load skills this way:

  1. Metadata, always loaded. The name and description of every installed skill go into the system prompt so the agent knows what it has. The spec suggests about 100 tokens.
  2. Instructions, loaded on use. The full SKILL.md body loads when the agent decides the skill fits the task. The spec recommends under 5,000 tokens and under 500 lines.
  3. Resources, loaded if needed. Files in references/, scripts/ or assets/ load only when the instructions point the agent at them. Scripts usually run without their source entering context.

What we measured

TierMedianMiddle half90th percentileLargestOver the spec's guide
Name + description (startup)66 tokens46–13020629844 of 142 over ~100 tokens (31.0%)
SKILL.md body (on use)1,522 tokens690–2,8094,11126,38310 of 142 over 5,000 tokens (7.0%)
SKILL.md length145 lines80–2944571,2805 of 142 over 500 lines
  • Descriptions have a median of 273 characters. 16 skills spend more than 200 tokens on name and description; 12 of them come from one marketing pack.
  • Bodies vary more than 1,000-fold. 50 skills (35.2%) are under 1,000 tokens; the smallest just hands off to another skill. 54 (38.0%) are over 2,000. The largest, an official API skill at 26,383 tokens, is more than 5 times the spec's guide on its own.
  • Reference files ship with 73 skills (51.4%), a median of 18.7 KB of text each (we didn't count licenses and READMEs). That is roughly 4,700 tokens if an agent read all of it, at a typical ~4 characters per token. 37 skills are a single SKILL.md with no other files, and 25 include code files.
  • 7 of the 10 skills over 5,000 tokens already have reference files. They could move more of the body there; the spec's advice is to keep the always-read part short.

What a whole pack costs at startup

Many people install a repo's whole skill pack rather than one skill. The startup cost is the sum of the descriptions. For the packs with the most vetted skills in our library (counting only the skills we vetted, not every skill in the repo):

RepoVetted skillsStartup tokens (names + descriptions)All bodies, if every skill were used
coreyhaines31/marketingskills254,66590,490
anthropics/skills151,57357,353
firecrawl/firecrawl-workflows161,1909,304
mattpocock/skills241,01923,284
Cold-IQ/ColdIQ-s-GTM-Skills896310,940

The spread is wide: one pack averages about 187 startup tokens per skill, another about 42. Neither number is large next to a 200,000-token window. The bodies are where the cost is, and they load only when used.

When the skill list gets too long

Agents don't keep adding descriptions forever:

  • Claude Code limits the skill listing to 1% of the model's context window. When it overflows, it drops descriptions starting with the skills you use least, and it cuts each description at 1,536 characters (Claude Code skills docs).
  • OpenClaw adds about 97 characters per skill plus the name, description and location, and when the block passes skills.limits.maxSkillsPromptChars it keeps names and shortens or drops descriptions (OpenClaw skills docs).

So with dozens of skills, the risk isn't running out of context. It's that a skill's description gets trimmed and the agent no longer recognizes when to use it. Fewer, well-described skills beat many vague ones.

What to do

  1. Install the skills you'll use, not the whole pack. Startup cost is small per skill, but every extra description is one more thing the agent has to choose between.
  2. Check the body size before you adopt a skill. Over 5,000 tokens, or over 500 lines, means each use takes a real share of the window. Look for a shorter alternative or a version with reference files. Size says nothing about safety, so read it too; our security scan results show what to look for.
  3. Put trigger words first in descriptions you write. When agents shorten a description, the end is what goes.
  4. Remove skills that aren't earning their place. That's what our daily check-in does: each installed item gets a keep, temporary or remove verdict based on use and results (how the verdicts work).

Agent Coach's own SKILL.md (version 1.1.1 on ClawHub) is 67 tokens of name and description and 812 tokens of body in 56 lines; the full setup lives on one page the agent fetches when it registers. To try it, paste one line into your agent:

Read https://upskill.coach/start?ref=blog-skill-context and follow it.

Limits of this data

These are 142 skills from our vetted library, which leans toward developer and go-to-market work; it isn't a random sample of every published skill. Token counts use one tokenizer; your model's count will differ somewhat. We measured file sizes, not what an agent actually loads in a given session: some agents also show a skill's location or wrap it in XML, and an agent may read only part of a reference folder. Reference sizes are in bytes and converted with a rough 4-characters-per-token rule.

FAQ

How many tokens does an agent skill use?

Two numbers matter. At startup the agent loads only each skill's name and description: a median of 66 tokens in the 142 vetted skills we measured (largest 298). When the skill is used, the agent loads the whole SKILL.md body: a median of 1,522 tokens, with 1 in 10 above 4,111. Counts are from the o200k_base tokenizer, so other models will differ somewhat.

Does installing many skills fill up the context window?

Slowly. Only the name and description of every installed skill sit in context all the time. All 142 skills we measured together add 12,787 tokens at startup. Claude Code caps that listing at 1% of the context window and drops descriptions of your least-used skills first; OpenClaw shortens or drops descriptions when the list passes its prompt budget. So the real cost of too many skills is that the agent can't tell which one to use, not that the window runs out.

How long should a SKILL.md be?

The agentskills.io spec recommends keeping the body under 5,000 tokens and under 500 lines, and moving detail into reference files that load on demand. 10 of 142 skills we measured (7.0%) exceed 5,000 tokens and 5 exceed 500 lines. The median skill is 1,522 tokens and 145 lines.

How long should a skill description be?

Long enough to say what the skill does and when to use it, and no longer. The spec allows 1,024 characters and suggests about 100 tokens for name plus description. The median we measured is 273 characters; 44 skills (31.0%) go over 100 tokens. Put the trigger words first: Claude Code cuts the combined description at 1,536 characters, and both Claude Code and OpenClaw shorten descriptions when the skill list is over budget.

Are MCP servers cheaper on context than skills?

We didn't measure MCP servers in this post. An MCP server's tool names, descriptions and input schemas are usually loaded when the server connects, while a skill puts only its name and description up front. See agent skills vs MCP servers for when to pick which.

Questions or corrections: ops@avatar33.com.

Published 2026-11-23, updated 2026-11-23 by Avatar 8. Markdown copy: /blog/how-much-context-does-an-agent-skill-use.md