# Caveman

Source: https://trendhub.net/skills/juliusbrussee-caveman
Repository: https://github.com/JuliusBrussee/caveman
Author: Julius Brussee (https://github.com/JuliusBrussee)
License: Apache-2.0
GitHub stars: 124,135

Caveman is Julius Brussee's set of token-saving skills built around a terse reply voice that drops filler but keeps code, paths, numbers and negations exact. Alongside the voice it adds one-line commit and review formats, a memory-file compressor, compact subagents and small work-pattern skills. It suits developers who pay per token or read agent output in a terminal.

## What problems it solves

- **Replies full of greetings and recaps**: The caveman voice puts the answer first and cuts ceremony while keeping code, commands and error text unchanged.
- **Large memory files cost every turn**: A compressor rewrites prose in CLAUDE.md or todo files tersely, leaves code blocks untouched and keeps a backup outside the repo.
- **Subagent reports flood the main context**: Three subagent presets return path and line tables instead of prose, so each delegation costs less of the main session.
- **Agents overbuild small tasks**: Short work-pattern skills set a narrow scope and an explicit stop condition for bug fixes, refactors, migrations and checks.

## Install

### All detected agents (Caveman CLI)

Detects your agents and logins, shows the changes and installs the full set including the proxy.

```
npx @caveman-ai/cli@latest
```

### Skills only (npx skills)

Installs just the skills without the proxy; remove them later with npx skills remove.

```
npx skills add JuliusBrussee/caveman -g
```

### Claude Code (plugin)

Run in a terminal; the plugin starts caveman in every interactive session.

```
claude plugin marketplace add JuliusBrussee/caveman && claude plugin install caveman@caveman
```

### Claude Code (inside a session)

The same plugin, typed as slash commands in the Claude Code prompt.

```
/plugin marketplace add JuliusBrussee/caveman
/plugin install caveman@caveman
```

### Gemini CLI

Installs caveman as a Gemini CLI extension.

```
gemini extensions install https://github.com/JuliusBrussee/caveman
```

### Every agent via script (macOS, Linux)

Pinned to v4.1.0; also adds a Claude Code statusline badge and needs Node.js 22.13 or later.

```
curl -fsSL https://raw.githubusercontent.com/JuliusBrussee/caveman/v4.1.0/install.sh | bash
```

### Every agent via script (Windows)

PowerShell 5.1 or later.

```
irm https://raw.githubusercontent.com/JuliusBrussee/caveman/v4.1.0/install.ps1 | iex
```

If you only want shorter answers, install the skills alone with npx skills add; the npx @caveman-ai/cli route also sets up the local proxy, needs Node.js 22.13 or later and turns on usage telemetry by default. The Cloud skills need a Caveman account and the logged-in CLI.

## Skills

Skill names are shown as /name. Depending on the agent, a skill runs when it is relevant or when you call it by name; plugin installs may add a prefix.

- `/cavecrew`: Decides when to hand work to compact investigator, builder or reviewer subagents and what output format each one returns. (https://trendhub.net/skills/juliusbrussee-caveman/cavecrew.markdown)
- `/caveman-commit`: Writes a Conventional Commits message focused on why, with a body only for breaking changes, migrations or security fixes. (https://trendhub.net/skills/juliusbrussee-caveman/caveman-commit.markdown)
- `/caveman-compress`: Rewrites a CLAUDE.md or notes file in terse prose via a Python script, leaving code and links untouched and backing up the original. (https://trendhub.net/skills/juliusbrussee-caveman/caveman-compress.markdown)
- `/caveman-discover`: Finds each LLM job in a repo, proposes workflow labels in a table and adds the label headers after you approve. (https://github.com/JuliusBrussee/caveman/tree/main/skills/caveman-discover)
- `/caveman-evidence-review`: Reviews Caveman Cloud cost, score, workflow and trace data read-only, keeping measured, inferred and verified figures apart. (https://github.com/JuliusBrussee/caveman/tree/main/skills/caveman-evidence-review)
- `/caveman-explore`: Acts as a read-only explorer that searches the repo in parallel and replies with nothing but file and line-range citations. (https://github.com/JuliusBrussee/caveman/tree/main/skills/caveman-explore)
- `/caveman-learn`: Walks through a caveman learn token report and applies cost fixes one approved edit at a time, reverting any that do not cut tokens. (https://github.com/JuliusBrussee/caveman/tree/main/skills/caveman-learn)
- `/caveman-manage`: Reads the state and results of a Caveman Cloud experiment and recommends one action, while refusing to execute lifecycle changes. (https://github.com/JuliusBrussee/caveman/tree/main/skills/caveman-manage)
- `/caveman-optimize`: Turns a Caveman optimization observation you pick into one candidate change tested against a paired baseline evaluation. (https://github.com/JuliusBrussee/caveman/tree/main/skills/caveman-optimize)
- `/caveman-review`: Produces review comments as one line per finding with line number, problem, fix and an optional severity tag. (https://trendhub.net/skills/juliusbrussee-caveman/caveman-review.markdown)
- `/caveman-setup`: Routes an app's LLM calls through the Caveman Cloud gateway in record-only mode and confirms it with one real request. (https://github.com/JuliusBrussee/caveman/tree/main/skills/caveman-setup)
- `/caveman-stats`: Prints the output and cache-read tokens recorded for this Claude Code session, plus which mode produced them, without guessing savings. (https://github.com/JuliusBrussee/caveman/tree/main/skills/caveman-stats)
- `/caveman`: Switches replies to a terse voice: answer first, no ceremony, short sentences, with code, paths, numbers and negations kept exact. (https://trendhub.net/skills/juliusbrussee-caveman/caveman.markdown)
- `/investigate-first`: Gathers evidence and ranks hypotheses before any edit, reporting the cause and proof rather than a fix. (https://github.com/JuliusBrussee/caveman/tree/main/skills/investigate-first)
- `/lean-build`: Builds a feature as the narrowest complete path that meets acceptance, leaving out optional modes, config and polish. (https://github.com/JuliusBrussee/caveman/tree/main/skills/lean-build)
- `/megacave`: Answers in Classical Chinese register while leaving identifiers, commands and error strings in their original script. (https://github.com/JuliusBrussee/caveman/tree/main/skills/megacave)
- `/migration`: Plans schema, data or API migrations with forward and rollback paths, and never runs destructive contraction steps unasked. (https://github.com/JuliusBrussee/caveman/tree/main/skills/migration)
- `/safe-refactor`: Restructures code one ownership boundary at a time, running the same checks before and after to show behaviour is unchanged. (https://github.com/JuliusBrussee/caveman/tree/main/skills/safe-refactor)
- `/surgical-patch`: Fixes a bug at the narrowest layer that owns it, adds only relevant regression proof and avoids nearby cleanup. (https://github.com/JuliusBrussee/caveman/tree/main/skills/surgical-patch)
- `/ultracave`: Pushes the terse voice further into fragments and single-word answers, stating each fact once; only runs when invoked explicitly. (https://github.com/JuliusBrussee/caveman/tree/main/skills/ultracave)
- `/verify-and-stop`: Turns acceptance criteria into the smallest set of checks, runs them and stops without adding fixes or polish. (https://github.com/JuliusBrussee/caveman/tree/main/skills/verify-and-stop)

## Questions

### Does it rewrite my prompts?

No. The README says your own prompts are never rewritten; only the agent's replies, and optionally the files it reads, are shortened.

### Do I need an account?

Not for the skills. Only the Auto model routing and the Caveman Cloud skills need a sign-in, and the README says the account is free.

### Will it make commits, docs and code comments terse too?

No. Anything saved outside the chat, such as code, comments, commits, PRs and docs, is written in normal prose; the commit skill is the deliberate exception for commit messages.

### Which agents does it cover?

The README names Claude Code, Codex, Gemini CLI and OpenCode and says the install matrix covers more than 30 agents.

## Before you install

The voice and work-pattern skills are instructions only, but caveman-compress runs a Python script that sends the chosen file to your model provider and overwrites it after a backup. The Cloud skills run the caveman CLI, edit LLM client code, write a gateway key to your env file and send one billable test request; the CLI sends usage stats unless you turn telemetry off.
