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

  1. Install – add the plugin to Claude Code or clone the repository with git clone.
  2. Run a prompt – tokentrim records the tool’s output in token ranges.
  3. Trim and spool – long output is trimmed and spooled to disk, keeping only the needed tokens.
  4. View results – open the dashboard to see the step reduction and replay the session.

What you get for free

Everything runs on your machine; nothing is sent elsewhere unless you enable the hosted dashboard.

Pro upgrade (optional)

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