/context-optimizer:token-checkfrom context-optimizer
Estimates token counts for text, files, or conversation history, explains context window limits, and suggests the cheapest ways to reduce token usage.
Ships in context-optimizer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Give a quick, honest estimate and the cheapest way to get the same result. These are estimates; say so. Exact counts come from the API's token counter.
Give a range (for example "about 18–24K tokens"), and compare it with the context window: 1M tokens on current Opus, Sonnet and Haiku 5.5 models, 200K on older Haiku.
In a conversation, everything already in it is re-sent with every new message. A 20K-token document pasted early is paid for again on each of the next 30 messages, about 600K tokens in total. That, not the first send, is what uses up limits.
fresh-start
skill).context-optimizer
scout subagent do wide exploration on Haiku, and run /cco audit to see
where a session's tokens actually went.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
token-count, context-window, usage-limits, cost-optimization
npx claudepluginhub egorfedorov/claude-context-optimizer --plugin context-optimizer6 skills in this plugin
/ccoIn Claude Code: what this session costs and where the tokens go, plus the tools to cut it — /cco for the board, /cco audit, /cco task, /cco pack and more. Use when the user asks about session cost, context size, savings, or wants a task tracked across /compact./doc-digestTurn a long document, PDF, transcript, spreadsheet or log into a compact working digest the conversation can continue from. Use when the user shares or pastes something long (several pages or more) and wants to discuss, analyze, compare or use it over more than one message, or asks to summarize a document so they can keep working with it./fresh-startContinue in a new chat without losing anything — writes a compact handoff to paste into a fresh conversation. Use whenever the user wants to move to a new chat or conversation, hits usage limits, says replies got slow or Claude forgets earlier details, or the conversation has grown long.Other plugins' skills for the same job