The Research Report
Why Use Many Token When Few Token Do Trick: Inside Caveman, the Viral Claude Code Skill That Cut Output Tokens by 75%
A few months ago, a Claude Code skill called Caveman hit GitHub and promptly collected more stars than most production frameworks see in a year. At 61,716 stars (and climbing), it is one of the most popular AI coding plugins of 2026. The premise is almost too simple to take seriously at first glance. Make your AI coding assistant talk like a caveman. Drop the filler. Strip the hedging. Keep the substance. The result is a ~75% reduction in output tokens with zero loss in technical accuracy.
That is not a typo. The benchmarks show the same fix, the same explanation, the same code review — just using far fewer words.
Here is what Caveman actually does, why it works so well, and how to set it up if you use Claude Code.
The Problem: LLMs Are Polite to a Fault
Modern coding assistants are trained to be helpful, which in practice means they are trained to be verbose. Ask Claude Code why your React component is re-rendering and you might get this:
"The reason your React component is re-rendering is likely because you are creating a new object reference on each render cycle. When you pass an inline object as a prop, React's shallow comparison sees it as a different object every time, which triggers a re-render. I would recommend using useMemo to memoize the object."
That is 1180 tokens for a one-sentence answer. The user did not ask for a tutorial on React's shallow comparison algorithm. They asked why their component re-renders.
Caveman Claude says:
"New object ref each render. Inline object prop = new ref = re-render. Wrap in useMemo."
That is 19 tokens. The fix is identical. The code works the same. The only thing lost is throat-clearing.
This is Caveman's entire philosophy. Not dumbing down the technical content. Just cutting the wrapper.
How It Works: A Flag File and a Hook
Caveman ships as a Claude Code plugin. The install is a one-liner:
# macOS / Linux / WSL
curl -fsSL https://raw.githubusercontent.com/JuliusBrussee/caveman/main/install.sh | bash
The installer drops three things into your Claude Code config:
- A SessionStart hook that writes a flag file on every session start
- A UserPromptSubmit hook that checks for slash commands like
/caveman - A statusline script that shows
[CAVEMAN]with a running count of tokens saved
The flag file is just a tiny text file at ~/.claude/.caveman-active. When it exists and contains a mode like full, the hooks inject a compact ruleset into Claude's system context before every prompt. Claude does not need to be told again each turn. The flag persists until you delete it or say "normal mode."
This is smart because it means the skill is opt-in but sticky. You do not need to append "please be concise" to every prompt. The skill activates once and stays active for the whole session. You can switch modes on the fly:
/caveman lite— drops filler words only/caveman full— default caveman prose/caveman ultra— telegraphic, almost stenographic/caveman wenyan— classical Chinese compression (even shorter)
There is also a natural-language trigger. Just say "talk like caveman" or "activate caveman" and the hook catches it.
The Benchmarks: Real Numbers from Real Prompts
The repo includes a proper three-arm evaluation harness: baseline, terse ("Answer concisely"), and the full skill. The honest comparison is skill versus terse, not skill versus verbose default. This matters because "Answer concisely" already cuts a lot of fluff. Caveman cuts more.
| Task | Normal Tokens | Caveman Tokens | Saved |
|---|---|---|---|
| Explain React re-render bug | 1,180 | 159 | 87% |
| Fix auth middleware token expiry | 704 | 121 | 83% |
| Set up PostgreSQL connection pool | 2,347 | 380 | 84% |
| Debug PostgreSQL race condition | 1,200 | 232 | 81% |
| Docker multi-stage build | 1,042 | 290 | 72% |
| Implement React error boundary | 3,454 | 456 | 87% |
| Average | 1,214 | 294 | 65% |
The average across ten real tasks is 65% output reduction. Some tasks hit 87%. The one task that only saved 22% (refactoring callbacks to async/await) is the exception that proves the rule: when the answer is mostly code, there is not much prose to compress.
A March 2026 arXiv paper titled "Brevity Constraints Reverse Performance Hierarchies in Language Models" found that forcing large models into brief responses improved accuracy by 26 points on some benchmarks. Verbose is not always better. Sometimes less word equals more correct.
Caveman does not touch reasoning or thinking tokens. It only compresses what Claude says out loud. Brain still big. Mouth small.
What You Actually Get: The Command Set
Caveman is not just one mode switch. It is a suite of related skills:
/caveman [lite|full|ultra|wenyan]
Compress every reply at the chosen intensity. Sticks until you change it or the session ends.
/caveman-commit
Conventional Commit messages with subjects under 50 characters. Focuses on why, not what.
/caveman-review
One-line PR comments: L42: bug: user null. Add guard.
/caveman-stats
Shows real session token usage, lifetime savings, and an estimated USD value. The --share flag outputs a tweetable line.
/caveman-compress <file>
Rewrites memory files like CLAUDE.md or project notes into caveman-speak. Cuts ~46% of input tokens for every future session. Code blocks, URLs, paths, and commands are byte-preserved.
caveman-shrink
An MCP middleware that wraps any MCP server and compresses tool descriptions before they hit the model.
cavecrew-*
Caveman subagents (investigator, builder, reviewer) that use ~60% fewer tokens than vanilla agents, letting the main context window last longer.
The OpenClaw Angle: Gateway-Wide Compression
One of the most interesting Caveman integrations is with OpenClaw, a self-hostable AI agent gateway. OpenClaw runs multiple agents (Claude Code, Codex, Gemini, and others) inside one box, wired to Slack, Discord, iMessage, Telegram, or whatever channel you prefer.
The Caveman installer for OpenClaw does two things:
- Drops a skill file at
~/.openclaw/workspace/skills/caveman/SKILL.md - Appends a tiny marker-fenced block to
~/.openclaw/workspace/SOUL.md
OpenClaw injects SOUL.md into every turn under "Project Context." This means Caveman activates automatically from message one. No slash command needed. No per-session setup. The agent just talks terse by default.
The marker block is idempotent. Re-running the installer does not duplicate it. Uninstalling strips it cleanly without touching your other workspace files.
The Ecosystem: Five Rocks, One Philosophy
Caveman is the flagship of a growing toolkit from creator Julius Brussee:
| Repo | What It Does |
|---|---|
| caveman | Output compression |
| caveman-code | Full terminal coding agent, caveman top to bottom |
| cavemem | Cross-agent memory |
| cavekit | Spec-driven build loop |
| cavegemma | Gemma 4 31B fine-tuned on caveman pairs |
The vision is clear: compression at every layer. What the agent says. What the agent remembers. What the agent knows before it starts. Even the weights baked into a fine-tuned model.
Caveman-code, the terminal agent, reportedly uses ~2x fewer tokens than Codex on identical tasks. It supports 20+ providers, plan mode, and an autopilot goal loop. If you want the whole agent compressed, not just its output, that is where you go.
The Science Behind the Gimmick
The caveman gimmick works because it is a semantic constraint engine, not just a style filter. The skill rules explicitly tell Claude to:
- Drop filler phrases ("I would recommend," "it is important to note")
- Use sentence fragments
- Keep technical terms intact
- Preserve code blocks, paths, URLs, and commands exactly
- Fall back to normal prose for security warnings, irreversible actions, or when the user seems confused
This last point is important. Caveman is not dogmatic. If a security warning needs full sentences, Caveman drops the constraint. If a multi-step sequence risks ambiguity, it reverts. The skill knows when brevity becomes dangerous.
The "wenyan" mode takes this even further. Classical Chinese grammar is famously compact. A single character can carry what English needs a clause for. For users who read Chinese, wenyan mode reportedly pushes compression past what English caveman can achieve.
Setup for Claude Code Users
If you want to try this, the install is genuinely one command:
curl -fsSL https://raw.githubusercontent.com/JuliusBrussee/caveman/main/install.sh | bash
It takes about 30 seconds. You need Node 18 or later. The installer auto-detects Claude Code, Codex, Gemini, and OpenClaw if they are present. You can skip agents you do not have.
After install, activate it:
/caveman
Or just say:
talk like caveman
Check your savings:
/caveman-stats
Turn it off:
normal mode
For always-on activation in Claude Code, the SessionStart hook handles it automatically after plugin install. For standalone hook installs, it also activates on session start. For other agents (Cursor, Windsurf, Cline, Copilot), the --with-init flag writes per-repo rule files.
If something breaks, the README suggests a neat recovery: open Claude Code and say "Read CLAUDE.md and INSTALL.md, install caveman for me." The agent fixes its own brain.
The Bigger Picture
Caveman went viral because it is funny. The README is full of rock emojis and phrases like "brain still big, mouth small." The GitHub description is literally a reference to Kevin from The Office: "why use many token when few token do trick."
But underneath the joke is a real insight about how we use AI coding assistants. We are paying per token. We are reading per token. Our context windows are finite. Every word Claude outputs that does not move the task forward is a waste of money, time, and attention.
Caveman proves that you can strip 75% of the prose and lose nothing that matters. The same fix. The same explanation. The same code review. Just without the padding.
In a world where everyone is trying to make AI outputs longer, more detailed, and more comprehensive, Caveman goes the other way. It asks a simple question: what if the agent just said what it meant?
Sometimes the smartest thing an AI can do is talk less.
Try it: github.com/JuliusBrussee/caveman
Full install guide: See INSTALL.md in the repo
Benchmarks and evals: See benchmarks/ and evals/ directories