Build more.
Use less.
TokenBuild plugs into Claude Code and stops spending tokens on work plain code can do: reading test logs, going in circles, re-sending long chats, finding its way around your repo. Then it shows you exactly what you saved.
Not ready? Run the free audit first.
$ npx tokenbuild audit TokenBuild Waste Audit — last 30 days sessions, tokens, spend at API price Avoidable waste junk files read lockfiles, builds unchanged re-reads already in context oversized results whole files, greps noisy command logs test, build output Costliest files your top 5, priced in dollars Spend by model opus · sonnet · haiku Fix most of it automatically. One line from your CLI key page: $ curl -fsSL https://app.tokenbuild.ai/install.sh | sh -s -- <key>
What the audit reports. Your numbers come from your own Claude Code logs.
You still use Claude Code. TokenBuild does the rest.
Claude Code is excellent at writing code. TokenBuild handles everything around it with plain code and models trained on your own repo, on your machine: what Claude reads, how the work is planned and shared, and whether the result is right and worth what it cost.
tokenbuild saveToken Saver
Keeps what wouldn't help out of Claude's context, cuts what Claude writes, and counts every token it saves.
Read less · write less · measured 02 ·tokenbuild teamTeam Build
Plans the work, keeps its state outside the chat, and links every Claude on your team so no one repeats anyone's work.
State, planning and Team Relay 03 ·tokenbuild learnML Validation and Economics
Learns from your repo's history to check every change, keep projects on budget, and prove what each feature is worth.
Validation, scope execution, economicstokenbuild save
Token Saver
Fewer tokens in, fewer tokens out, fewer turns. Every saving is counted in your ledger and checked against Claude Code's own usage records.
Claude reads less
- Waste Guard stops lockfiles, build output and huge whole-file reads.
- Output Shrinker shows the errors and summary of noisy commands; the full log stays on disk.
- Context Ledger never sends unchanged lines twice.
- Repo Index and context packs give exact files and lines instead of searches.
- Task Brief and Next-Read start Claude on the right files.
- Exploration Memo, Docs Oracle and Fingerprints reuse answers, installed-version docs and past fixes.
- Local Boost and model routing hand big reads to a local or lighter model.
Claude writes less, wastes fewer turns
- Anchor Edits and Codemod Mode change lines without rewriting old code; one call for forty files.
- Edit Preflight catches a broken edit before it lands.
- Loop Breaker stops the third identical failure.
- Fresh Start and Context GC continue a 150K-token chat from about 2K.
- Cache Keeper avoids re-caching a huge chat after a break.
- Tool Diet, CLAUDE.md Compiler and Permission Learner cut the fixed cost of every turn.
- Auto-format tidies edited files with your own formatter.
Every saving measured
- Savings ledger counts every token kept out of context, tool by tool.
- Real Meter reads exact tokens and cost per task from Claude Code's own records.
- Context Profiler shows what fills the context now, and the dead weight.
- Dashboard and auto-sync keep your savings current, even with no session open.
tokenbuild team
Team Build
The goal, the plan and the decisions live outside the conversation, so a new session, a subagent or a teammate picks up exactly where the work stopped. On Team plans, every Claude on the repo works from one plan.
Never lose the thread
- Task State keeps the goal, plan, verified facts and open questions; parallel agents claim items so they never overlap.
- Project State carries decisions and recent work into every fresh session.
- Handoffs pass a task with its full state, to your next session or a teammate.
Plan the work
- Project Preflight gives every step its files, tests, estimate, dependencies and stage.
- Autopilot budgets split a task's tokens across planning, coding, testing and correction.
- Staged team plans with specs and dependencies, deployed stage by stage;
team plan runworks through your items with Claude Code.
Work as one team
- Team Relay links teammates' live Claude sessions: who's editing what, and who already fixed this error.
- Team Memory lets everyone's Claude learn from the whole team's history. Only paths and counts are shared.
- Coordination insights flag likely collisions, suggest dependencies and assignees, and spot at-risk tasks.
One board for every Claude on your team.
Who is working on what, a staged plan Claude carries out item by item, and the tokens your team saved, measured. Sample data below.
Working now
api/payments.tsOverlap: cart/store.ts edited by Dev and Maya today.
Plan: Checkout v2 3 of 5 done · 3 verified
- Stage 1Payments schema and migrationMaya
- Stage 1Card vault clientDev
- Stage 2Saved cards APIMaya
- Stage 2Checkout form, saved card pickerPriya · in progress
- Stage 3Email receiptsafter Saved cards API
Teammates, last 30 days
| Name | Tokens kept out | Coordination credit | Estimate vs actual |
|---|---|---|---|
| Maya | 1.6M | 210K | 0.9x |
| Dev | 1.2M | 140K | 1.1x |
| Priya | 1.1M | 95K | 2.3x |
| Sam | 0.9M | 60K | 1.0x |
Sample data. The Team dashboard shows names, branches, file paths and counts, never code or prompts.
tokenbuild learn
ML Validation and Economics
Models trained on your own repo's measured tasks check the work, keep projects in scope and on budget, and prove what each feature is worth. Everything is judged by tokens to a verified result, so nothing saves tokens by cutting corners.
Code validation
- Verify Loop runs only the tests an edit can affect, with one line back.
- Predictive test selection runs the riskiest tests first and skips safe ones, and says so.
- Flaky-test detection reruns a failure once, so Claude doesn't fix a test that isn't broken.
- Change risk before a push, learned from what happened after past changes, with the checks to run first.
- Incidents start from the files that fixed the same production error before.
Scope execution
- Learned context decides which help pays off for each kind of task, with logged experiments.
- Budget forecasts with an 80% range, and an early warning at 30% of the budget.
- Replay compares ways of working on your history before you choose one.
- Drift flags parts of the codebase that are getting more expensive to work in.
Economic optimization
- Proof, with a control group: a few sessions hold one feature off, so its effect is measured, not claimed.
- Recipe Compiler turns work you repeat into a skill, and retires one that doesn't save.
- Repo Shape Optimizer shows what to split so your codebase is cheaper to work in.
- Private shared priors: a new repo starts from noised counts pooled across users.
How validation and learning work · Every command, by product
Three steps from waste to savings
See your waste
Prices the avoidable waste in the session logs Claude Code already keeps. No account, nothing uploaded.
npx tokenbuild audit
Turn on the tools
One plugin adds all three products, Token Saver, Team Build, and ML Validation and Economics, to Claude Code in every project. They work through Claude Code's hooks, with nothing new to learn.
Install: on your CLI key page, copy the one line (your key is already in it), paste it into PowerShell or Terminal and press Enter. It installs anything missing, then TokenBuild. Step-by-step guide.
Watch the savings
Your dashboard shows tokens kept out of context, day by day, next to what TokenBuild costs. It updates every 30 minutes while you work, and when a session ends.
Your code stays yours
Everything that touches your code runs on your machine. TokenBuild never asks for your Claude login and never routes your usage through its servers.
- Every tool runs locally, and Local Boost only talks to a model on your own machine
- Dashboard sync sends counts and one-way hashes: never code, file contents or prompts
- On Team plans, teammates see file paths and branches, never code
- You keep using official Claude Code with your own plan or API key
- Card details are handled by Stripe and never touch our servers
Simple pricing. No markup on your Claude usage.
Start with a 30-day trial for $5, credited to your first payment. Cancel any time in one click.
Team
$19/seat/month
Every tool for each developer, shared Repo Memory, one dashboard and one invoice. 2–100 seats.
Start Team trialSee what your Claude Code sessions waste
One command, free, on your machine. Then decide.