Overview
Caveman attacks a specific, boring cost: AI coding agents bill by the token and write like they know it. It ships in two pieces. The "small rock" is a skill — a rule file that makes the agent answer in clipped, caveman-style prose. Code, commands, file paths and exact error messages are never rewritten; only the explanation around them is. The README's ten-prompt comparison against the Claude API puts average output tokens at 294 with the skill versus 1214 without, an average saving of about 65%, ranging from 22% on a task that was mostly code to 87% on one that would have produced an essay.
The "big rock" is a local proxy that sits between the agent and the model provider and shrinks what the agent *reads* before each call — usually the larger half of the bill. Everything the proxy squeezes is backed up on disk so the agent can pull the original back when it needs it. The two stack: most people install the skill first and add the proxy later.
Licensing is split. The skill and the CLI are MIT; the Engine-linked runtime directories (engine, proxy, rewriter, browse, mcp, shrink, the cavemem Go core and shared/platform) are Business Source License 1.1, and new Engine-linked runtime modules default to BSL unless explicitly classified as MIT. The skill installs into 30+ agents — Claude Code, Codex, Gemini CLI, Cursor, Windsurf, Cline, Copilot and more — and the proxy ships wrapper profiles for ten native agents.
What it does
- A rule-file skill that compresses an agent's prose output while leaving code, commands, paths and error text untouched
- A local proxy that compresses what the agent reads before each provider call, with an on-disk backup of everything it squeezes
- Installs into 30+ agents via `npx skills add`, with a Claude Code plugin marketplace entry and a Gemini CLI extension
- Wrapper profiles for ten native agents (claude, codex, gemini, aider, kilo, qwen, opencode, hermes, openclaw, pi)
- A reproducible benchmark in the repo — `uv run python benchmarks/run.py` regenerates the ten-prompt token table
- Full installer wires Claude Code hooks and a statusline badge, is safe to re-run, and skips agents you do not have
Getting started
Start with the skill — it is one command and free forever. Add the proxy when you want the input side compressed too. Node.js 22.13+ is required for the full installer.
Install the skill
This is the whole install. Type `/caveman` if your agent does not pick it up on its own.
npx skills add JuliusBrussee/cavemanAdd the proxy
Install the CLI globally, run setup, then launch your agent through Caveman.
npm install -g @caveman-ai/cli && caveman setup --install
caveman claude # or codex · gemini · aider · kilo · qwen · opencode · hermes · openclaw · piOr install into one specific agent
Claude Code has a plugin marketplace entry; Gemini CLI takes the repo as an extension; skills-compatible agents take a profile flag.
claude plugin marketplace add JuliusBrussee/caveman && claude plugin install caveman@caveman
gemini extensions install https://github.com/JuliusBrussee/caveman
npx skills add JuliusBrussee/caveman --skill '*' -a codex --yesReproduce the numbers
The benchmark table in the README is generated from the repo, so you can re-run it against your own model and prompts.
uv run python benchmarks/run.pyUninstall
One command removes it again.
npx -y github:JuliusBrussee/caveman -- --uninstallCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Cut the output-token bill on a coding agent you run all day, without changing the model or the quality of its diffs
- Compress large tool outputs and file reads on the input side before they reach the provider
- Standardise terse agent output across a team that uses several different CLI agents
- Measure what prose actually costs you by re-running the repo's ten-prompt benchmark on your own workload
How Caveman compares
Caveman alongside other open-source agent skills & plugins tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Superpowers | ★ 284k | A composable skills plugin that installs a spec-first, TDD, subagent-driven development methodology into Claude Code, Codex, Cursor, Gemini CLI and other coding harnesses. |
| Skills for Real Engineers | ★ 258k | Matt Pocock's everyday agent skills for coding agents, covering alignment grilling, planning, code review and research — small, composable and meant to be edited. |
| ECC | ★ 256k | An installable plugin that adds 68 agents, 286 skills, hooks, rules, memory and an agent-config security scanner to Claude Code, Codex and other coding harnesses. |
| Karpathy Coding Guidelines | ★ 212k | A Claude Code plugin and CLAUDE.md rule set built from Andrej Karpathy's observations on LLM coding pitfalls: think before coding, keep it simple, make surgical changes, and work to verifiable success criteria. |
| Caveman | ★ 105k | Why use many token when few token do trick |
| Addy’s Agent Skills | ★ 93.3k | A pack of production engineering skills for AI coding agents, with nine lifecycle slash commands — /spec, /plan, /build, /test, /review, /ship — installable into 70+ agents. |
| Humanizer | ★ 46.3k | An agent skill that rewrites AI-sounding prose against a list of 25 named writing patterns, grouped into five sections and applied without changing the claims in the text. |
| Claude for Financial Services | ★ 34.8k | Anthropic reference agents, skills and MCP connectors for investment banking, equity research, private equity and wealth management, as Cowork plugins or Managed Agents. |