tokensaver: a Claude Code plugin that saved 15,000 tool roundtrips in 5 weeks
brusegan · reddit · 2026-11-18
After months of daily Claude Code use on a large production project (PHP API, Expo app, SQLite with thousands of records), the author found the biggest waste wasn't the model but tool roundtrips — every find/read/grep/edit resends full context. His MIT-licensed plugin tokensaver fuses the native file tools into three calls:
- Search: discovery + grep + reading in one call; multiple globs, line ranges, regex, and an AST summary mode returning only signatures
- Edit: batched multi-file edits in a single call with fuzzy matching
- Sql: live schema introspection and queries for Postgres, MySQL, SQLite, DuckDB
Also included: savings tracking, parallel multi-lens code review, and context recovery after compaction; runs fully locally. Across 322 sessions since mid-October the plugin tracked 15,000 roundtrips avoided and 75 hours of waiting saved. Works with Claude Code and Codex CLI; repo at github.com/Brucee/tokensaver.
More from coding & agent
- Daytona launches macOS sandboxes on M4/M5 chips so agents can use a Mac — kieranklaassen · 2026-11-18
- Team builds on-device robot dog in 3 hours with phone-side Gemma, fully offline — DynamicWebPaige · 2026-11-18
- A repo of small vision models built for hacking, not chasing SOTA — mervenoyann · 2026-11-18
- LangChain hosts SF hands-on workshop on Managed Deep Agents with LangSmith — LangChain · 2026-11-18
- Vite+ 1.7.0 adds type-aware linting via tsrs, a Rust port of TypeScript 7 — cnakazawa · 2026-11-18
- Higgsfield's new AI film: 'The hardest part is making it not look like AI' — CurieuxExplorer · 2026-11-18