Illustration: a small creek with soft trees. CTO's platypus sits at a tiny wooden desk on a flat stone, typing on a laptop. Across the water, an empty hammock with a book on it hangs between two trees.
Token coach for Claude Code
Work on what matters.
CTO keeps output quality up and token usage down.
Quiet in the background. One line, with the fix, only when something is worth it.
claude plugin install --marketplace tokencoach/token-coach token-coachPaste in a terminal, then fully quit and reopen Claude Code. If it mentions four optional email settings, skip them: they are only for the weekly email.
git clone https://github.com/tokencoach/token-coach ~/token-coach && codex mcp add cto -- python3 ~/token-coach/scripts/mcp_server.pyThe task check and the pause before irreversible steps. Cursor and other clients
curl -fsSL https://tokencoach.dev/try.py -o /tmp/cto-try.py && python3 /tmp/cto-try.pyOne file, no install. It tells you whether you'd gain anything.
CTO installs from a terminal. Send this to yourself (email, notes, AirDrop) and run it at your desk.
Runs locally14 days free, no cardAbout 500 tokens a session
Works with
- Claude Code
- Claude, web and desktop
- ChatGPT and Codex
- Cursor
- OpenRouter
What CTO does
One coach, five ways to use it.
In Claude Code
Quiet until it matters. Then one line, with the fix.
- Before a task: what is worth doing at this size, and what to skip.
- During it: a filling context, a cooling cache, a step that cannot be undone.
- After it: whether the advice helped, said plainly when it did not.
- install$ claude plugin install --marketplace tokencoach/token-coach token-coach
- small task> rename the variables in utils.py to snake_case
- No CTO line. At this size, nothing is worth doing but the task.
- risky step> drop the users table
- CTO: This task includes a step that can't be undone ("drop the users table"). Which step here is irreversible, and where do you want to approve before it runs?
- long thread> …two hours later
- CTO: This thread has done a lot of work, and the context window is 86% full (172k of 200k). Want me to write the handoff note now? Then
/clearis yours to run.
Free, in your browser
Is your Claude plan worth it?
- Keep, downgrade, or switch from the API.
- Judged on your busiest 5-hour window, where limits bind.
- Nothing you type leaves the page. Save the result as a card.
/token-coach:design
One goal in, a right-sized agent system out.
- Flags posting without a person, unvetted tools, and agents a skill would replace.
- Costs the system before you build it.
- Scaffolds plain Claude Code files you own: agents, skills, evals, a schedule.
Pro, in your other apps
The same checks, wherever you work.
- The task check, prompt check and model cost compare in Claude, ChatGPT, Codex and Cursor.
- Sign in with your Pro licence; no install.
- What you ask is answered, then not stored.
- Claude Code
- Claude, web and desktop
- ChatGPT and Codex
- Cursor
- OpenRouter
mcp.tokencoach.dev/mcp
Beta
Your team’s numbers, without anyone’s code.
- Spend, cache and model mix per seat, every week.
- What CTO’s advice changed, across the team.
- Numbers only: no prompts, code or file names leave anyone’s machine.
Coach and Design show real CTO output, shortened. Plan check and Teams show example numbers.
Sound familiar?
Claude Code is worth it. Some of your habits may not be.
Limit hit mid-task
No telling which habit used it up.
Every turn gets slower
A long thread re-sends everything, every turn.
Your plan may not fit
Limits bind on your busiest five hours, not your average.
Beside /usage and /insights
Claude Code shows what you spent. CTO adds what to do about it.
/usage and /insights
- What you spent
- General tips
Good. Use them.
CTO adds
- FitWhat's worth it for this task, and what to skip
- Pay lessWhen your plan is bigger than your usage
- ProofGrades its own advice against your later sessions
- PauseAsks before a step that can't be undone
Our own numbers
Light to run. Graded on your own sessions.
Every recommendation is checked afterwards against your later sessions, and counted only if the numbers moved.
Each with the task size where it pays, and where it doesn't.
As Claude Code's own claude plugin details measures it.
Against $1,966 of Claude Code usage in the same 30 days.
Privacy
What leaves your machine
- Your transcripts, prompts and code: never.All analysis runs locally.
- Technique and price updatesOnce a day. Sends nothing about you. You can turn it off.
- The weekly emailOnly if you set it up, to your own inbox.
- The outcome reportOff unless you turn it on. Weekly counts, never content. Turning it off deletes what was sent.
- The Pro connectorKeeps your sign-in email and subscription status. What you ask it is answered, then not stored.
Install
One command. No setup.
Needs Claude Code with plugin support and python3. Then fully quit and relaunch Claude Code; CTO is on from your next session.
CTO installs from a terminal. Send this to yourself (email, notes, AirDrop) and run it at your desk.
claude plugin install --marketplace tokencoach/token-coach token-coachOn Claude Code older than 2.1.292? Use two commands.
claude plugin marketplace add tokencoach/token-coachclaude plugin install token-coach@token-coach-marketplaceWant to know first whether you'd gain anything?
One file, no install. It reads your local history, prints a verdict (including "already efficient"), and makes no network calls of its own.
curl -fsSL https://tokencoach.dev/try.py -o /tmp/cto-try.py && python3 /tmp/cto-try.pyUsing Codex or Cursor? The task check, the prompt check and the pause before irreversible steps work there too: how.
Pricing
Try everything for 14 days. Then $19 a month.
No card, no account to start. The pause before an irreversible step stays free for everyone.
Pro Founding price
About $15.83 a month, or $19 monthly. First 200 customers: $12 a month for as long as you stay.
See ProTeam Beta
Pro on every seat, plus a team dashboard. Free while in beta, until checkout opens.
Create a teamEverything is free until checkout opens. Full details and the launch list
FAQ
Questions
What does CTO cost?
Everything is free for 14 days, no card. Then Pro is $19 a month or $190 a year; the first 200 customers pay $12 a month for as long as they stay subscribed. The pause before an irreversible step stays free for everyone.
Does CTO work with Claude Code on OpenRouter?
Yes. CTO reads Claude Code's session logs on your machine whichever provider answers, prices OpenRouter models from OpenRouter's public price list, and knows OpenRouter's caching and credit fee.
How do I reduce Claude Code token usage?
Install CTO. Before a task it says which techniques are worth it at that size and which to skip, it warns when a long thread is re-sending more than it should, and it offers a handoff note so the next part starts clean.
Why do I keep hitting the Claude Code usage limit?
Limits bind on your heaviest five hours, not your monthly average. CTO shows which habits use your window and what to change, so you get more done before the limit.
Which Claude plan should I be on?
Run the plan check. CTO compares what you use, and your busiest five-hour window, with what you pay, and tells you to keep, switch or pay less. Or try the free plan check in your browser.
Does my code or my prompts leave my machine?
No. All analysis is local. CTO downloads technique and price updates once a day and sends nothing about you or your usage.
How is CTO different from Claude Code's /usage and /insights?
Those show what you spent and suggest general improvements. CTO adds four things: which techniques are worth it for the task in front of you, advice to pay less when your plan is bigger than your usage, grading of its own advice against your later sessions, and a pause before irreversible steps.
Will CTO slow Claude Code down or fill my context?
Its always-on cost is about 500 tokens a session, as Claude Code's own claude plugin details measures it. Its hooks cost nothing until they speak, and they speak only when something is worth it.
Does CTO save money?
That's its job. It flags which techniques cut tokens for the task in front of you and which to skip, warns before the context window fills, and tells you when your plan is bigger than your usage. It then grades its own advice against your later sessions, so you can see what worked for you.
Does it work with Codex or Cursor?
Partly. The task check, the prompt check and the pause before irreversible steps work in any MCP client or through an AGENTS.md pack. Spend, plans and proof need Claude Code's own logs.
How do I uninstall it?
Inside Claude Code, run /token-coach:settings uninstall: it shows what CTO added outside its own folder and removes it when you say yes. Then run claude plugin uninstall token-coach@token-coach-marketplace.
Is a person coaching me?
No. CTO is software: a plugin that runs on your machine and checks each task automatically. Nobody reads your sessions, and there are no calls or lessons to book.
Is CTO made by Anthropic?
No. CTO is an independent plugin that works with Claude Code. It is not made by, affiliated with, or endorsed by Anthropic.
How do I update CTO?
Run claude plugin marketplace update token-coach-marketplace, then claude plugin update token-coach@token-coach-marketplace, and fully quit and reopen Claude Code. The short form claude plugin update token-coach does not find it.
Claude Code says four plugin options are not set. Do I need them?
No. They are the optional settings for the weekly email digest. CTO works without them, and you can add them later with /token-coach:settings.
I installed CTO and nothing happened.
Fully quit Claude Code and open it again; a new thread is not enough. The first session after that shows a short welcome from CTO. If it still does not, run claude plugin list and check it says enabled.
What is not built yet?
Published savings receipts from real users, a quality measure (did the advice make results better, not just cheaper), cross-tool usage (Cursor, Copilot) beside Claude Code, better matching of tasks described in your own words, router mode for API-key users (being evaluated), and team dashboards with a Team plan. Listed so nothing is hidden.
Why a platypus?
It hunts with its eyes shut, sensing what it can't see. That's the job: noticing what your usage is doing, so you don't have to watch it.