Understanding agent skill token cost: idle cost vs per-use cost
Every installed skill adds tokens to the start of every session whether you use it or not. Here is how idle cost and per-use cost work, and how to trim unused skills without losing them.
Idle cost vs per-use cost
When you open a new coding agent session, the harness injects a catalogue of available skills, subagents and commands into the system context so the model knows what it can invoke. That upfront overhead is your idle cost: you pay it on every session, even if you never touch those skills.
| Resource kind | Idle cost (every session) | Per-use cost (when invoked) |
|---|---|---|
| Skill | Rendered name and description listing | Full SKILL.md body plus any supporting files read |
| Subagent | Rendered name and description listing | Agent instructions when delegated to |
| Command | Rendered name and description listing | Command body when triggered by the user |
| Instruction (CLAUDE.md / AGENTS.md) | The entire rendered file | None extra — already loaded at start |
Notice the asymmetry: writing a verbose 900-character description for a skill you rarely use hurts every single session, whereas putting detailed checklists inside the skill body costs zero tokens until the skill actually loads. Several harnesses (including Claude Code, Codex and Pi) also enforce a 1,024-character description cap.
How Kitling estimates token cost locally
Kitling computes token footprints deterministically on your Mac using a pinned local reference tokenizer (one token per run of up to four UTF-8 word bytes and one per non-space punctuation character). It excludes binary files when measuring full skill bundles.
All token numbers shown in Kitling and in the Kitling Skills Directory are local reference estimates, never provider billing. Exact billed tokens depend on each model provider's tokenizer, prompt caching and conversation history.
Even as an estimate, comparing resources with the same deterministic counter makes outliers obvious: you can see immediately whether your session startup budget is dominated by CLAUDE.md, a bloated skill description, or twenty unused skills from an installed collection.
Finding skills that never actually load
Estimating idle cost is only half the picture; the other half is knowing which skills earn their seat. Kitling inspects local top-level session metadata that supported harnesses already write on disk — such as Claude Code's project JSONL transcripts, Codex rollouts, Cursor transcripts, OpenCode's local SQLite database and Pi session logs — while ignoring subagent transcripts and never uploading conversation contents.
Because Kitling counts every top-level session whether or not it loaded a skill, it knows the real denominator behind 'not used in 140 sessions'. It suggests trimming a skill only once there are enough observed sessions to be confident it is sitting idle.
Auditing and trimming without losing your work
Trimming idle cost does not mean throwing away skills you might need next quarter. Kitling gives you three low-friction controls:
- Turn off: keeps the skill, its version history, evals and tags in your Library, while removing only the copies Kitling delivered so no harness loads it at session start.
- Keep: tells Usage to stop suggesting an occasional skill (such as a quarterly release checklist) for deletion while its content stays unchanged.
- Shorten descriptions: trim wordy frontmatter descriptions down to crisp trigger phrases, moving detailed instructions into the SKILL.md body where they only pay per-use cost.