My Claude Code config costs 9,857 tokens before I type anything
I installed 107 skills, 38 agents and 15 commands into Claude Code over a few months. Standard stuff — you see a skill recommended somewhere, it looks useful, you drop it in. Nobody ever tells you to take one out. Last week I finally measured what that pile costs. The answer is 9,857 tokens, and I pay it on every single session before I type a character. Here is how to check yours. Skills have…
Claude Code's configuration costs 9,857 tokens before any input is provided. This cost accumulates for each session, regardless of whether the user types a single character or not. To understand how to check this cost, it's essential to know that skills within Claude Code have two types of expenses. The first expense is the actual code associated with the skill, which is loaded when the skill is triggered.
This cost is visible and considered fair, as it is only paid when the skill is actually used. However, the second expense is the description of each installed skill, agent, and command. This description is included in the model's context window throughout the entire session, even if the skill never gets triggered. This "rent" must be paid continuously, as it allows the model to determine which skills, agents, and commands are available.
The script provided scans the user's Claude Code configuration, counting the number of characters in the description of each skill, agent, and command. It then calculates the total cost in tokens, which is the accumulated expense for each session.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.
This story
This is one outlet's version. Read the fullest account.
- We said a Claude Code subagent costs 436k tokens. A cleaner measurement says 54k — here is what fooled us dev.to
- Anthropic will "permanently" raise weekly Claude Code limits by 25% on Sept. 14 for most plans, which will work out a 17% reduction, given the current 50% boost (@claudedevs) x.com
- I gave Claude Code my own spinner verbs, and now my terminal sounds like me xda-developers.com