tokentrim 28,854 steps
tokentrim trimmed 28,854 steps from a Claude Code session, showing how much token output can be reduced. You can see that reduction by running the replay command or opening the local dashboard after installation.
How it works
- Install – add the plugin to Claude Code or clone the repository with
git clone. - Run a prompt – tokentrim records the tool’s output in token ranges.
- Trim and spool – long output is trimmed and spooled to disk, keeping only the needed tokens.
- View results – open the dashboard to see the step reduction and replay the session.
What you get for free
- All Claude Code hooks
- Three strength profiles for trimming
- Replay command to show your own numbers
- Local dashboard
- Daily‑budget guard and cold‑cache alert
Everything runs on your machine; nothing is sent elsewhere unless you enable the hosted dashboard.
Pro upgrade (optional)
- Lifetime price $49 for the first 500 buyers or $9 / month
- Hosted dashboard accessible on any device
- Monday digest and weekly budget alerts at 80% usage
- Slack totals and support for up to three machines
The Pro features are added on top of the free toolkit; the core trimming functions remain unchanged.
FAQ
Does tokentrim need an internet connection? No. All processing stays on your local computer by default.
Which operating systems are supported? The toolkit is tested on macOS and Linux and requires Python 3.9 or newer.
How can I see the exact savings for my own sessions? Run the replay command after a session; the dashboard will display the step reduction, such as the 28,854‑step example.
Next step
Download the free toolkit and start trimming Claude Code output on your machine.
Updated 2026-11-04