cco
In Claude Code: what this session costs and where the tokens go, plus the tools to cut it — /cco for the board, /cco audit, /cco…
Continue 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
$ npx -y skills add egorfedorov/claude-context-optimizer --skill fresh-start --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/fresh-startContext preview
The summary Claude sees to decide when to auto-load this skill.
Continue 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
name: fresh-start description: Continue 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. license: MIT
Every message re-sends the whole conversation, so a long one uses up limits fast and recalls its early details worse. A new conversation that starts from a short handoff costs a fraction and stays sharp.
forgetful.
documents. Offer it once, in one sentence, at a natural break. Don't interrupt a short conversation or a task that is nearly done.
Write it in the user's language, under 300 words, inside one code block so it copies cleanly:
1. **Goal** — one line. 2. **Decisions so far** — bullets, each with its reason in a few words. 3. **Current state** — what exists now: files, drafts, versions, results. Quote only short snippets that the next step needs; name everything else. 4. **Next step** — the very next thing to do, then any open questions. 5. **Must not be lost** — names, numbers, constraints, preferences, things that were tried and failed.
Then give the saving in one line, as an estimate: "This conversation is about 60K tokens; the handoff is about 500, so each message in the new chat re-sends under 1% of what it does here." Then tell the user: open a new conversation, paste the block, and continue.
project's files stay available, so the handoff can just name them.
For a clean break, `/clear` and paste the handoff. `/cco task patch` keeps structured task state across `/compact` automatically.
Never paste whole files, logs or the transcript into the handoff.
See what Claude costs you, and spend less of it. Every message re-sends the whole conversation, so long chats and long coding sessions use up limits fast and recall early details worse.
In Claude Code: what this session costs and where the tokens go, plus the tools to cut it — /cco for the board, /cco audit, /cco…
Turn a long document, PDF, transcript, spreadsheet or log into a compact working digest the conversation can continue from. Use…
Turn background the user keeps re-explaining or re-pasting into reusable instructions, so new chats start with it for free. Use…
Rewrite a vague request into a precise prompt — goal, context, scope, constraints, what done looks like, output format. Use when…
Estimate how many tokens a pasted text, an attached file or the conversation so far takes, what it means for the context window…