Months of token-efficiency benchmarking: ripgrep plus project maps double your tokens for free
EagleApprehensive · reddit · 2026-10-02
After months of deep-diving into token-saving techniques — benchmarking and auditing nearly every solution posted on Reddit/X — the author built tools that beat them all on their own benchmarks, released as intentic.dev.
Approach: assume you can't control the model, only everything around it: environment (OS, packages, filesystem, memory, ports, CPU/GPU), the human (workflow, cold-cache prevention, resuming, scheduling, context passing across accounts/models), inner harness (Claude Code/Codex natives are already good; changing them was mostly net negative), and outer harness (pre-tool hooks, system prompt).
Key finding: each DIY mechanism takes at least a day to get right for under 1% token savings. Only two easy wins are worth it for everyone:
- ripgrep, with a few words in AGENTS.md instructing its use
- project maps appended to the system prompt
Everything else isn't worth the effort. The full set ships as a Docker sandbox you can verify yourself.
More from coding & agent
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29
- 'End user programming!': a three-word verdict on what LLM coding really unlocks — round · 2026-11-29