Clogmeter
Open Clogmeter and weigh your instruction files → Free, browser-only. Token counts, duplicates, conflicts, trimmed export — nothing uploaded.

Home · Guides · Wednesday 4 Nov 2026

SKILL.md token cost: what loads at startup and what loads on demand

Skill files (SKILL.md) are often described as free context because they are only loaded when needed. That is partly true, and the part that is not true is where the tokens go. Here is what each tool loads and when, so you can budget a library of skills without guessing.

Skills: metadata first, body on demand

Anthropic's skill documentation describes progressive disclosure. At startup, only the name and description from each skill's frontmatter are loaded into the system prompt. The agent reads the SKILL.md body only when a skill becomes relevant, and reads any extra files it links only as needed. Scripts can be run without loading their contents, so only their output costs tokens.

Part of a skillWhen it costs tokens
name + descriptionEvery session, for every installed skill
SKILL.md bodyOnly when the skill is triggered, then for the rest of that conversation
Linked reference filesOnly when the agent reads them
ScriptsOutput only, not the script text, if the agent runs rather than reads them

What that means for your budget

Cursor rules: the type decides the cost

Cursor project rules work differently. Its rules documentation lists four rule types, and when each one is included decides whether you pay for it on every request:

Rule typeFrontmatterToken cost
Always ApplyalwaysApply: trueEvery chat session
Apply to Specific Filesglobs setWhen a matching file is in context
Apply Intelligentlydescription onlyWhen the agent decides it is relevant
Apply Manuallynone of the threeOnly when you @-mention it

Cursor also recommends keeping each rule under 500 lines and referencing files instead of pasting their contents. A referenced file such as @service-template.ts is not inlined into the prompt, because the agent reads it with its tools when it needs it.

A simple way to budget

  1. Separate always-on from on-demand. Always-on means your AGENTS.md or CLAUDE.md, rules with alwaysApply: true, and every skill description.
  2. Weigh the always-on part first. Paste those files into Clogmeter to see token counts and the share of a 32k, 128k or 200k window.
  3. Weigh each skill body separately. A 3,000-token body that triggers often is a bigger problem than a 6,000-token one that triggers once a month.
  4. Move rarely used guidance down a level. From AGENTS.md into a skill, from a skill body into a linked file, from an always-on rule into a glob or description rule.

Exact loading behaviour differs between tools and versions. The tables above follow Anthropic's Agent Skills best-practices page and Cursor's rules documentation, so check the current docs for your tool before relying on a detail.

Quick check

Count a skill or rules file with the Cursor rules token counter or the AGENTS.md / CLAUDE.md token counter, and check Cursor frontmatter with the .mdc validator. The full inspector also flags duplicate and conflicting rules.

Open Clogmeter and weigh your instruction files → Free, browser-only. Token counts, duplicates, conflicts, trimmed export — nothing uploaded.

No spam. Unsubscribe anytime. We never share your email.