tokentrim install via git
You can install the full tokentrim toolkit by cloning its repository with Git. After cloning, you’ll have all Claude Code hooks, the local dashboard, and the compaction window that saves the most tokens.
How to install tokentrim with git
- Open a terminal on macOS or Linux.
- Run
``bash git clone https://suncal.github.io/tokentrim/ ``
- Change into the directory:
``bash cd tokentrim ``
- Follow the README to install the Python 3.9+ requirements.
- Activate the plugin or run the toolkit locally.
All steps are on this page, so you stay in one place from download to first run.
What you get and what it costs
- Free features – all hooks, three strength profiles, replay command, local dashboard, daily‑budget guard, and cold‑cache alert.
- Pro upgrade (optional) – $49 lifetime for the first 500 buyers or $9 /month. Adds a hosted dashboard usable on any device, a Monday digest, weekly budget alerts at 80 % usage, Slack totals, and support for up to three machines.
- No data leaves your machine unless you enable the hosted dashboard.
FAQ
Does the git install include the compaction window? Yes. Only the full install (via git) provides the summarising compaction window, which on the author’s 135 real conversations cut history re‑read by 75 % and extended limits by about 4.0 ×.
What Python version do I need? Python 3.9 or newer. The toolkit is tested on macOS and Linux.
Can I see my own token savings? Run the replay command after a session; it reports the exact reduction you achieved.
Next step
Clone the repository now and start trimming your token usage. Clone tokentrim
Updated 2026-11-02