cavecrew — Claude Code skill: what it does, how to install
cavecrew delegates code searches, small edits, and diff reviews to three subagents. Use it when keeping the main agent's context lean matters.
npx skills add JuliusBrussee/caveman --skill cavecrew -a claude-codeWhat cavecrew does
cavecrew provides three subagent presets. cavecrew-investigator locates definitions, callers, and symbol uses; cavecrew-builder handles a surgical edit across 1–2 files; cavecrew-reviewer checks a diff, branch, or file for bugs. Their responses are compressed and use structured path-and-line formats.
The skill includes delegation rules, output contracts, and chaining patterns for locate → fix → verify. Keep larger feature work, three-file refactors, and architecture discussion in the main thread or use the platform's standard agents. Short answers you already know do not need a subagent.
Install cavecrew when a session involves many delegations and context usage matters. Its terse output is useful for machine handoffs; paraphrase it when a person needs a fuller explanation.
What it helps with
- locate definitions, callers, and symbol uses
- apply a surgical edit to 1–2 files
- review a diff for bugs
- chain code discovery, editing, and verification
Example prompts for the agent
- Find every caller of `parseConfig` and return file paths with line numbers.
- Apply this surgical change only to `src/config.ts` and `src/types.ts`.
- Review the current diff for bugs and list findings by file and line.
How to install cavecrew
1Skills CLI (Vercel)
npx skills add JuliusBrussee/caveman --skill cavecrew -a claude-code2Manually: put the files in place
~/.claude/skills/cavecrew/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/cavecrew/
1Skills CLI (Vercel)
npx skills add JuliusBrussee/caveman --skill cavecrew -a codex2Manually: put the files in place
.agents/skills/cavecrew/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add JuliusBrussee/caveman --skill cavecrew -a cursor2Manually: put the files in place
.cursor/skills/cavecrew/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install JuliusBrussee/caveman cavecrew2Manually: put the files in place
.github/skills/cavecrew/SKILL.md1Skills CLI (Vercel)
npx skills add JuliusBrussee/caveman --skill cavecrew -a gemini-cli2Platform CLI
gemini skills install https://github.com/JuliusBrussee/caveman --path skills/cavecrewManually: put the files in place
.devin/skills/cavecrew/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add JuliusBrussee/caveman --skill cavecrew -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set22
The whole set →Similar
Questions about cavecrew
How do I install cavecrew in Claude Code?
Run npx skills add JuliusBrussee/caveman --skill cavecrew -a claude-code. The skill file is placed at ~/.claude/skills/cavecrew/SKILL.md.
What does cavecrew do?
It delegates code discovery, small edits, and reviews to three specialized subagents. Their compressed responses use less of the main context.
When should I avoid cavecrew-builder?
Use it for an obvious edit in 1–2 files. New features, three-file changes, and cross-cutting refactors belong in the main thread or with another agent.
Source text
SKILL.md · Apache-2.0
--- name: cavecrew description: > When to delegate to `cavecrew-investigator` (locate code), `cavecrew-builder` (1-2 file edit) or `cavecrew-reviewer` (diff review) instead of working inline or using `Explore`. Their output is compressed, so main context lasts longer. --- Cavecrew = three subagent presets that answer in ultracave voice (tool runs: one status line in, one out; nothing between routine calls). Same job as Anthropic defaults (`Explore`, edit-style agents, reviewer); difference is the tool-result they return is compressed, so main context shrinks per delegation. ## When to use cavecrew vs alternatives | Task | Use | |---|---| | "Where is X defined / what calls Y / list uses of Z" | `cavecrew-investigator` | | Same but you also want suggestions/architecture commentary | `Explore` (vanilla) | | Surgical edit, ≤2 files, scope obvious | `cavecrew-builder` | | New feature / 3+ files / cross-cutting refactor | Main thread, or `feature-dev:code-architect` if installed | | Review diff, branch, or file for bugs | `cavecrew-reviewer` | | Deep code review with rationale + alternatives | `Code Reviewer` (vanilla) if installed, else main thread | | One-line answer you already know | Main thread, no subagent | Rule of thumb: **if you'd want the subagent's output in 1/3 the tokens, pick cavecrew. If you'd want prose, pick vanilla.** ## Why this exists (the real win) Subagent tool results get injected into main context verbatim. A vanilla `Explore` that returns 2k tokens of prose costs 2k tokens of main-context budget every time. The same finding from `cavecrew-investigator` comes back as a compressed `path:line` table instead. Across 20 delegations in one session that's the difference between context exhaustion and finishing the task. ## Output contracts What main thread can rely on per agent: **`cavecrew-investigator`** ``` <Header>: - path:line — `symbol` — short note totals: <counts>. ``` Or `No match.` Always file-path-first, line-number-attached, backticked symbols. Safe to grep with `path:\d+`. **`cavecrew-builder`** ``` <path:line-range> — <change ≤10 words>. verified: <re-read OK | mismatch @ path:line>. ``` Or one of: `too-big.` / `needs-confirm.` / `ambiguous.` / `regressed.` (terminal first token). **`cavecrew-reviewer`** ``` path:line: <emoji> <severity>: <problem>. <fix>. totals: N🔴 N🟡 N🔵 N❓ ``` Or `No issues.` Findings sorted file → line ascending. ## Chaining patterns **Locate → fix → verify** (most common): 1. `cavecrew-investigator` returns site list. 2. Main thread picks 1-2 sites, hands paths to `cavecrew-builder`. 3. `cavecrew-reviewer` audits the diff. **Parallel scout** (when investigation is broad): Spawn 2-3 `cavecrew-investigator` calls in one message (different angles: defs vs callers vs tests). Aggregate in main thread. **Single-shot edit** (when site is already known): Skip investigator. Hand exact path:line to `cavecrew-builder` directly. ## What NOT to do - Don't use `cavecrew-builder` when you don't already know the file. Spawn investigator first or main thread will eat tokens passing context. - Don't chain `cavecrew-investigator → cavecrew-builder` for a 5-file refactor. Builder will return `too-big.` and you'll have wasted a turn. - Don't ask `cavecrew-reviewer` for "general feedback" — it returns findings only, no architecture opinions. Use `Code Reviewer` for that when installed. - Don't expect prose. Cavecrew output is structured, sometimes terse to the point of cryptic. If a human will read it directly, paraphrase. ## Auto-clarity (inherited) Subagents drop caveman → normal English for security warnings, irreversible-action confirmations, and any output where fragment ambiguity could be misread. Resume caveman after.
© JuliusBrussee · Apache-2.0 · JuliusBrussee/caveman