tokentrim Python 3.9 plugin
tokentrim is a free, open‑source local toolkit that trims Claude Code output and saves tokens. Install it with git clone or as a plugin in Claude Code on macOS or Linux with Python 3.9+.
How to use it in a single session
- Clone the repo or add the plugin to your Claude Code setup.
- Run your prompt normally.
- tokentrim trims tool output and writes long results to disk.
- When earlier context is needed, it summarizes the conversation (the compaction window) and feeds the short version back, cutting the history re‑read by about 75 %.
- Use the
replaycommand to view your own token‑saving numbers.
What you get
- Free tier – all hooks, three strength profiles, replay, local dashboard, daily budget guard, cold‑cache alert. Nothing leaves your machine.
- Pro lifetime – $49 (first 500 buyers). Adds a hosted dashboard on any device, weekly budget alert at 80 %, and support for up to three machines.
- Pro monthly – $9/month, same Pro features.
All features run locally unless you enable the hosted dashboard.
FAQ
Does the plugin need an internet connection? No. All processing stays on your machine. Only the optional hosted dashboard sends data out.
Can I see my savings? Yes. The replay command shows your token‑reduction numbers, and the dashboard visualizes daily usage.
What if I need more than three machines? Pro supports up to three machines. For larger setups, request a paid team audit at support@boltak.com.
Next step
Install the tokentrim Python 3.9 plugin now
Updated 2026-11-03