Token Saver
Lets coding agents read a one-page summary of builds, tests, and searches instead of thousands of lines.
In one test, 13,893 bytes of command output became a 496-byte summary.
For Vibe coders and developers using coding agents
ToolSingle test result
- Public-safe
- Preview sample
- Paid-only file
What you get
- Two shell scripts and one rule line
- Where to put the rule for each major agent tool
- Install, verify, and uninstall steps
Free preview
This is the opening of the real file, shown in full so you can judge it before you pay. The rest is after checkout.
The problem
Coding agents read everything a command prints. A test run, a build log or a wide grep can dump thousands of lines into the conversation, and in a long session that text is re-read on every turn. You pay for it, the agent gets slower, and the one line that mattered (the error) is buried.
When we audited our own recent sessions across several agent CLIs, shell output and wide file searches were the two largest sources of tool output by count. Long sessions re-reading cached context were the largest cost overall.
What it does
ts-run '<command>'runs any command, saves the full output to a log file and prints a one-page summary: exit code, line and byte count, error and warning lines, the most repeated lines, the first 20 and last 20 lines. The exit code passes through unchanged, so scripts and agents still see failures.ts-find <query> [folder]searches a large folder and prints a grouped summary: match count, top folders, file types, the 20 most recently changed matches and the first hit lines from 10 files. Uses Spotlight on macOS and ripgrep or grep elsewhere.- One rule line tells your agent to use them for noisy commands and wide searches, and to search the saved log instead of printing it again.
Example from our own test: seq 1 3000 prints about 13,900 bytes. Through ts-run the agent reads a 496-byte summary.
Contents
- What it changes and what it never does
- Install (5 minutes)
- Source: ts-run
- Source: ts-find
- Add the rule to your agents
- Verify
- Other habits that cut more than this tool does
- Uninstall