How to Install Caveman and Cut Your AI Coding Costs
A skill and proxy for coding agents that cuts token use by compressing messages to the shortest form that still carries the meaning. This guide shows how to install it as a plugin or with npx.
What is Caveman?
Caveman is a skill and proxy for coding agents that cuts token use by making the conversation extremely terse. The project says it saves about 65 percent of the tokens on each request to the AI, by compressing messages down to the shortest form that still carries the meaning. Shorter messages mean lower API bills, since you pay per token.
Token costs add up fast when an agent reads large files and exchanges long messages. Caveman attacks that cost directly: it strips the conversation to the bone, so the model gets what it needs and nothing more, and its answers come back short and to the point as well.
What can you do with it?
- Cut roughly 65 percent of the tokens on each AI request, according to the project
- Get shorter, cheaper answers from your coding agent
- Use it as a skill inside your agent or as a proxy in front of it
How to install Caveman
For Claude Code, install it as a plugin. Open Claude Code, paste this line into the chat box — not the terminal — and press Enter:
/plugin marketplace add JuliusBrussee/cavemanThen paste this second line into the same chat and press Enter:
/plugin install caveman@cavemanFor other editors such as Cursor, Windsurf or Codex, run this in a terminal instead:
npx @caveman-ai/cli@latestOn Windows, run it in CMD rather than PowerShell, because PowerShell blocks npx scripts through its execution policy. On macOS or Linux, use a normal terminal.
First steps after installing
Start an agent through Caveman with a command like this, which opens a Claude agent routed through it:
caveman claudeGive it a normal coding task and compare the reply with what you would get without Caveman: the answer should be noticeably shorter. Check that nothing important was lost in the compression — terse is good only when the meaning survives. If the savings hold up on your real work, keep using it for routine tasks and switch it off for jobs where full detail matters.
Frequently asked questions
Is Caveman free? The skill itself is free and open source. To use it you need an AI coding assistant, which may require a subscription or API access depending on the one you use.
Is it hard to install? No. Two pasted lines in Claude Code, or one npx command elsewhere.
How do I uninstall it? The project README does not list uninstall steps, so check the README on the project's GitHub page for the exact removal instructions.
Comments (0)