Caveman setup guide
Make your coding agent say less and read less, without losing the code.

- What it does
- How to install Caveman, a free skill and local proxy for coding agents, which parts save tokens, the daily commands, and the privacy settings to check.
- Who it is for
- Claude Code, Codex and Gemini CLI users who want shorter answers and smaller bills.
What it is
Caveman (Apache-2.0) is a skill plus a local proxy for coding agents: Claude Code, Codex, Gemini CLI, OpenCode and 30+ more. Version 4 has six parts, all on after install, each with its own switch.
| Part | What it does |
|---|---|
| Say less | Short answers. Code, commands, paths and errors stay character for character |
| Read less | Logs, JSON, CSV and test output shrink before the model reads them |
| Auto | Picks the model and effort per ask (needs a Caveman account) |
| Blocks | Code mode: the agent keeps scripts it wrote and runs them again |
| Waste fixes | Finds where tokens go; keeps the prompt cache warm while you pause |
| Browse | Web pages come back compressed |
Get the files
Everything on this page, ready to keep.
Install (pick one)
Everything, for every agent it finds (needs Node.js 22.13+; it shows what it will change, press Enter):
npx @caveman-ai/cli@latest
Only the short-answer voice:
npx skills add JuliusBrussee/caveman -g
As a Claude Code plugin:
claude plugin marketplace add JuliusBrussee/caveman && claude plugin install caveman@caveman
Had caveman before 4.0? Keep the @latest, or the old copy on your machine wins.
Daily commands
caveman status # what is on
caveman setup # open the setup screen again
caveman off browse # one part off (also output, input, waste-fixes, routing, scripts)
caveman on browse # and back on
In the chat: /caveman to start (in Codex, call the caveman skill), stop caveman to go back to normal. /ultracave is terser. To uninstall, the README's "Other ways in" section has the one-line command.
Tips
- Start with plain
/caveman. Try/ultracaveonly while answers stay clear to you. - Read less and Blocks save the most: the README measures 33.2% fewer input tokens per session on large tool output, and one test run going from 397 to 76 tokens with Blocks.
- Turn off the per-prompt reminder if you want:
CAVEMAN_REINFORCE=0(new in 4.1.0). - Safety wording is kept: security warnings and irreversible actions still get full sentences.
Gotchas
- Telemetry is on by default. Usage counts (commands, token totals, install type, your IP) go to Caveman; never prompts or code, per SECURITY.md. Turn it off with
caveman telemetry offorDO_NOT_TRACK=1. - The proxy sees your agent's traffic. It runs on your machine and rewrites tool output before your provider gets it. Auto (signed in) sends each new ask to Caveman Cloud to pick a model; a model you pick yourself sends nothing for routing. Skip Auto for private repos if that matters to you.
- Savings are honest, not magic. The voice alone is only about 3% shorter than telling the model "Answer concisely." (35% with
/ultracave), and the rules cost about 1,160 input tokens. If you pay per request (GitHub Copilot), shorter answers save nothing. See docs/HONEST-NUMBERS.md in the repo. - caveman-compress refuses files that hold credentials (4.1.0), because compression sends the file to your model provider. Keep keys out of files you compress.
- Very terse answers can confuse; stop caveman when you are learning something new.