/cco-overhead
Audit the fixed context overhead every session starts with — system prompt, MCP tools, agents, CLAUDE.md, memory — measured from real transcript usage
$ npx -y skills add egorfedorov/claude-context-optimizer --skill cco-overhead --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/cco-overhead
Context preview
The summary Claude sees to decide when to auto-load this skill.
Audit the fixed context overhead every session starts with — system prompt, MCP tools, agents, CLAUDE.md, memory — measured from real transcript usage
SKILL.md
cco-overhead.SKILL.mdname: cco-overhead
description: Audit the fixed context overhead every session starts with — system prompt, MCP tools, agents, CLAUDE.md, memory — measured from real transcript usage
license: MIT
allowed-tools: [Bash, Read]
Session Baseline Overhead Audit
Measure how many tokens every session of this project pays BEFORE any work happens — and where to cut.
Run:
node ${CLAUDE_PLUGIN_ROOT}/src/overhead.jsThe report shows:
1. **Baseline** — exact context size at the first assistant response (from the session transcript's API usage counts), latest and averaged over recent sessions, as a % of the working budget. 2. **Cost per session** — what that baseline costs to write into the prompt cache each session. 3. **Itemization** — the locally measurable parts (project + global CLAUDE.md, memory index, agent definitions) and the unattributed remainder (system prompt, tool schemas, MCP servers). 4. **Recommendations** — what to trim and how (e.g. `/cco-claudemd`, disabling unused MCP servers, pruning agent descriptions).
Then run the MCP usage audit — it turns 30 days of tracked tool calls into per-server verdicts and the EXACT removal command for servers that were never called:
node ${CLAUDE_PLUGIN_ROOT}/src/overhead.js mcpIf it lists unused servers with `claude mcp remove ...` commands, OFFER to run them for the user (each removal repays in every future session; `claude mcp add` restores any time). Only run them after the user agrees.
Present the output to the user as-is (it is already formatted). If the report says no transcripts were found, explain that the audit needs at least one completed exchange in a session for this project.
Key framing for the user: baseline overhead is paid in EVERY session, so a one-time trim repays itself continuously — it is usually the highest-leverage optimization available.
Read more
name: cco-overhead description: Audit the fixed context overhead every session starts with — system prompt, MCP tools, agents, CLAUDE.md, memory — measured from real transcript usage license: MIT allowed-tools: [Bash, Read]
Session Baseline Overhead Audit
Measure how many tokens every session of this project pays BEFORE any work happens — and where to cut.
Run:
node ${CLAUDE_PLUGIN_ROOT}/src/overhead.jsThe report shows:
1. **Baseline** — exact context size at the first assistant response (from the session transcript's API usage counts), latest and averaged over recent sessions, as a % of the working budget. 2. **Cost per session** — what that baseline costs to write into the prompt cache each session. 3. **Itemization** — the locally measurable parts (project + global CLAUDE.md, memory index, agent definitions) and the unattributed remainder (system prompt, tool schemas, MCP servers). 4. **Recommendations** — what to trim and how (e.g. `/cco-claudemd`, disabling unused MCP servers, pruning agent descriptions).
Then run the MCP usage audit — it turns 30 days of tracked tool calls into per-server verdicts and the EXACT removal command for servers that were never called:
node ${CLAUDE_PLUGIN_ROOT}/src/overhead.js mcpIf it lists unused servers with `claude mcp remove ...` commands, OFFER to run them for the user (each removal repays in every future session; `claude mcp add` restores any time). Only run them after the user agrees.
Present the output to the user as-is (it is already formatted). If the report says no transcripts were found, explain that the audit needs at least one completed exchange in a session for this project.
Key framing for the user: baseline overhead is paid in EVERY session, so a one-time trim repays itself continuously — it is usually the highest-leverage optimization available.
Claude Code plugin that tracks token usage, identifies wasted context, and saves 30-50% on API costs. Heatmaps, ROI reports, budget alerts, efficiency scores, git-aware suggestions — all local, zero config.
Repo: egorfedorov/claude-context-optimizer
Other skills on claude-context-optimizer.
- /cco-anatomy
Generate a compact project map so Claude understands the codebase without opening every file
Open skill - /cco-budget
Configure token budget limits, auto-compact settings, and view current budget status (model-aware — Opus 4.8 default, full 1M context at standard price)
Open skill - /cco-claudemd
Analyze CLAUDE.md files for token bloat and suggest optimizations
Open skill - /cco-clean
Clean up old tracking data and reset statistics
Open skill - /cco-coach
Analyze the user's last prompt for clarity, scope and specificity — give a quality score and concrete suggestions to make the next prompt produce better results
Open skill - /cco-digest
Show weekly/daily efficiency digest with score and trends
Open skill

