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…
Rewrite a vague request into a precise prompt — goal, context, scope, constraints, what done looks like, output format. Use when the user asks to improve, rewrite, sharpen or check a prompt.
$ npx -y skills add egorfedorov/claude-context-optimizer --skill sharpen-prompt --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sharpen-promptContext preview
The summary Claude sees to decide when to auto-load this skill.
Rewrite a vague request into a precise prompt — goal, context, scope, constraints, what done looks like, output format. Use when the user asks to improve, rewrite, sharpen or check a prompt.
name: sharpen-prompt description: Rewrite a vague request into a precise prompt — goal, context, scope, constraints, what done looks like, output format. Use when the user asks to improve, rewrite, sharpen or check a prompt. license: MIT
A precise prompt saves the back-and-forth, and the tokens, that a vague one costs. Rewrite the user's prompt so another assistant could do the task right on the first try.
1. **Goal**: what should exist or be true at the end. 2. **Context**: who it's for, what it builds on, what was tried. 3. **Scope**: exactly which files, sections, data or part of the problem. Name them. 4. **Constraints**: must keep, must avoid, length, tone, tools, deadline. 5. **Done looks like**: how to tell it worked: tests pass, a sample output, a checklist. 6. **Output format**: a list, a table, a diff, a file, a one-paragraph answer.
a code block in the user's language. Keep it as short as the task allows, and list in one line what you added and why.
guessing. Never ask more than one.
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…
Continue in a new chat without losing anything — writes a compact handoff to paste into a fresh conversation. Use whenever the…
Turn background the user keeps re-explaining or re-pasting into reusable instructions, so new chats start with it for free. Use…
Estimate how many tokens a pasted text, an attached file or the conversation so far takes, what it means for the context window…