Sledbot token savers: rtk, short replies, minimal code and OmniRoute
Cut the tokens your agents use with four opt-in savers: compressed command output (rtk), short replies (caveman), minimal code (ponytail) and the OmniRoute gateway.
Updated 4 min read
On this page
This page explains the four token savers in Settings ▸ Token savers: what each one does, which agents it works with, and how much it saves. All four are off until you turn them on.
What the savers do
| Saver | What it does | Built on | Typical saving |
|---|---|---|---|
| Compress command output | Shortens what git, tests and builds print before the agent reads it. Failures and errors stay in full. | rtk, which you install | 60–90% less command output |
| Short replies | The agent answers first and skips the filler. Code, commands, paths and errors stay exact. | caveman | A few percent (Caveman) to about 35% (Ultra) fewer output tokens than "answer concisely" |
| Minimal code | The agent reuses what the project has and writes only what the task needs. Validation, security and a small test stay. | ponytail | About half the code and 45% fewer tokens in ponytail's benchmark |
| OmniRoute gateway | One address for many providers, with fallback combos and caching. | OmniRoute, which you install | Saves money more than tokens: cheaper models first, fallbacks, cached answers |
The numbers come from each project's own tests. Your savings depend on your work. Command output is only part of what an agent reads, so a 90% cut in output is not a 90% cut in the bill.
Savers apply to agents you start after you change them, on this Mac.
Turn on compressed command output (rtk)
- Open Settings (⌘, Command-Comma) and choose Token savers.
- Under Command output, click Install with Homebrew… if rtk isn't found. Sledbot shows the command (
brew install rtk) and runs it in a terminal pane after you click Run. - Turn on Compress command output.
How each agent gets it:
- Claude Code: Sledbot adds rtk's hook to that session's settings only. Your own
~/.claude/settings.jsonisn't changed. - Sledbot's own agent: its shell commands run through
rtk rewrite. - Other agents: they get rtk's short instruction to put
rtkin front of commands. For a real hook in Codex or Gemini CLI, click Codex… or Gemini CLI… under Hooks for every session. These run rtk's own setup (rtk init -g --codexor--gemini), which changes that agent's config for all sessions, also outside Sledbot.
Saved so far shows the totals from rtk gain. rtk counts tokens as bytes divided by 4, so the percentage is reliable and the totals are estimates.
If the status says rtk "doesn't answer rtk gain", another program called rtk is on your PATH. Remove it and install rtk-ai's rtk with Homebrew.
Short replies and minimal code
- Short replies: pick Caveman or Ultra. Ultra cuts more. Warnings, risky steps and questions to you stay in full sentences.
- Minimal code: turn on Write the least code.
Both are instruction texts that Sledbot adds to each session. Your global agent files are never changed:
| Agent | How it gets the instructions |
|---|---|
| Claude Code | Added to the system prompt for that session |
| Codex | Developer instructions for that session. If your Codex config already sets developer_instructions, yours are kept and the saver is skipped. |
| OpenCode, Aider | A file in Sledbot's own launch folder |
| Sledbot's own agent | Added to its system prompt |
| Gemini CLI, Qwen Code, Cursor, Copilot and others | A GEMINI.md, QWEN.md or AGENTS.md file in Sledbot's worktree for the task. It's hidden from git, so it never shows up as a change. |
For agents in the last row, Sledbot only writes the file in a Sledbot worktree, never in your own checkout, and never over a file the project already has. When it skips an agent, sled get <terminal> --json shows why under the label sled.tokenSavers.skipped.
Pick which agents a saver applies to
Each saver has an Agents menu. All agents is the default. Untick an agent to leave it out, for example to keep Short replies off for Claude Code.
Route models through OmniRoute
- Under Gateway, click Install… (
npm install -g omniroute, needs Node.js), then Start…. OmniRoute runs in a terminal pane. - Click Open dashboard. Connect your providers and create an API key under Endpoints. To set a fallback chain, make a combo under Combos.
- Click Set up in Providers, open OmniRoute, paste the key and turn it on.
- Pick an OmniRoute model or combo for Sledbot's own agent, OpenCode, Crush, Goose or Aider.
The default address is http://localhost:20128/v1. Change it under Address if you run OmniRoute elsewhere.
Use OmniRoute with API keys and local models only. Sledbot sends it only the OmniRoute key you saved. It never sends Claude or ChatGPT subscription logins through OmniRoute or any other proxy, and doesn't store them. Claude Code and Codex keep using their own logins directly.
Licences
The caveman (Apache-2.0) and ponytail (MIT) instruction texts ship with Sledbot, with their licence notices. rtk and OmniRoute are separate programs that you install. Sledbot doesn't bundle them.