Skip to main content
Caveman makes your AI agent say less and read less. Code stays exact. Brain still big. It is an open-source project with two rocks: a response skill that shortens what the agent says, and a local proxy that shrinks what the agent reads. Both run on your machine, with your keys, and need no hosted account to use locally.

How caveman talks

Caveman is a voice, not broken grammar. Every reply follows the same structure: Every reply runs a check before it sends: opener that announces the plan, deleted; closer that recaps, deleted; every negation, path, and number still there.

The two rocks

The skill (small rock)

Only want shorter answers? This is output compression alone. No proxy.
Works in Claude Code, Codex, Gemini CLI, Cursor, Windsurf, Cline, Copilot, and 30+ more. Type /caveman ($caveman in Codex) if it does not start on its own. Say stop caveman to go back. Pick your club: Token counts: tiktoken o200k.

The proxy (big rock)

The skill shrinks what the agent says. The proxy shrinks what it reads: logs, test output, JSON, diffs, web pages. It runs on your machine, with your keys and your Claude Pro/Max login. Every original stays on your disk, and the agent can pull it back any time.
Your agent reads 33.2% fewer input tokens across whole sessions, same answers. It runs on your machine, with your keys and your Claude Pro/Max login. Needs Node.js 22.13+. After the first run, plain claude stays caveman’d.

Key numbers

Outside labs first, then ours. Nothing rounded up. Two findings shaped caveman. Adobe found that cavemanning your prompt makes answers longer and worse, so caveman never touches your prompt. JetBrains found that agent sessions are mostly code and tool calls, which the skill leaves alone. So caveman grew a second rock that shrinks what the agent reads: the proxy.

Proxy benchmark: 33.2% fewer input tokens

18 of 18 answers right. The file is each benchmark file run through today’s compressor on its own. The session is the whole agent run, which also carries the system prompt, tool definitions, conversation, and caveman’s own rules, so it moves less than the file. HTML has no compressor yet, so caveman paid its overhead and won nothing back. Each file hides one record in 61 to 72 KB of noise; your files will vary. Headroom on the same suite got 15 of 18 right and used 6.7% fewer tokens on those 15.

Everything else

The /caveman rules are about 1,160 tokens of text (tiktoken count). What that adds to your bill depends on caching; not measured yet. If you pay per request instead of per token (GitHub Copilot premium requests), a shorter answer costs the same, so skip it. Every case where caveman loses: see Honest numbers.

What you get

Privacy

The skill runs on your machine and sends nothing. The caveman CLI sends usage stats by default: commands run, token counts, a random install ID, OS, and IP. Never your prompts, code, or file paths. One person maintains this for free, and those stats show what to build next. Turn it off for good with caveman telemetry off or DO_NOT_TRACK=1. The full list, and how to delete what was sent: SECURITY.md.

Next steps

Quickstart

Install Caveman and run your first compressed session in under two minutes.

Skills

Learn how the response skill works and how to use /caveman, /ultracave, and /megacave.

Engine

Understand how the Engine detects payload shapes and applies transforms.

CLI Reference

Browse every caveman command, flag, and environment variable.

Middleware

Add compression to your own agent or app with TypeScript or Python middleware.

Caveman Cloud

Looking for the hosted product? Go to the Caveman Cloud docs.