
Cavecrew
Choose which cavecrew subagent to spawn so investigations, tiny edits, and diff reviews stay off the main thread with ~60% smaller tool results.
Overview
Cavecrew is an agent skill most often used in Build (also Ship for review) that guides when to spawn investigator, builder, or reviewer subagents instead of inline or vanilla Explore work.
Install
npx skills add https://github.com/juliusbrussee/caveman --skill cavecrewWhat is this skill?
- Decision table: investigator for locate/trace tasks, builder for ≤2-file surgical edits, reviewer for diff/branch review
- Caveman-compressed subagent output shrinks injected tool results versus vanilla Explore and Code Reviewer
- Explicit swaps: use Explore when you want architecture commentary; main thread or feature-dev for 3+ file refactors
- Rule of thumb: spawn when you would still want the answer compressed into main context in one pass
- ~60% smaller tool-result payload versus uncompressed subagent output
Adoption & trust: 90.7k installs on skills.sh; 70k GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
You keep doing repo searches and tiny edits in the main thread and your session context collapses before the feature is done.
Who is it for?
Solo builders running long Claude Code sessions who repeatedly delegate locate-one-file-edit-or-review work and want a fixed roster instead of guessing between Explore and inline edits.
Skip if: Greenfield features touching three or more files, cross-cutting refactors, or answers you already know without a subagent.
When should I use this skill?
User says delegate to subagent, use cavecrew, spawn investigator/builder/reviewer, save context, or compressed agent output.
What do I get? / Deliverables
You spawn the right compressed subagent for locate, surgical edit, or diff review so main context lasts longer across long Claude Code sessions.
- Chosen subagent role and spawn rationale
- Compressed tool result returned to main thread
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Delegation presets sit where solo builders orchestrate Claude Code agents during implementation. Maps investigator, builder, and reviewer roles to concrete spawn decisions instead of default Explore or inline work.
Where it fits
Spawn cavecrew-investigator to list all call sites of a helper before you touch behavior.
Spawn cavecrew-builder for a two-file config and handler tweak when scope is obvious.
Spawn cavecrew-reviewer on a feature branch diff when you want bugs flagged without a verbose review essay in main context.
Delegate a targeted trace of a production-only code path while you keep the main thread on the incident write-up.
How it compares
Use for caveman-compressed delegation presets instead of always defaulting to vanilla Explore and full-length reviewer prose in main context.
Common Questions / FAQ
Who is cavecrew for?
Cavecrew is for solo and indie developers using caveman-style Claude Code subagents who want a clear rule set for investigator, builder, and reviewer spawns without re-deciding on every turn.
When should I use cavecrew?
Use it during Build when you need to find where X is defined or change one or two files, and during Ship when you want a compressed diff review; skip it for multi-file features that belong on the main thread or a code-architect flow.
Is cavecrew safe to install?
Review the Security Audits panel on this Prism page for pass/fail detail; spawning subagents still grants them the permissions your agent runtime allows, so scope each delegation like any automated edit or read.
SKILL.md
READMESKILL.md - Cavecrew
Cavecrew = three subagent presets that emit caveman output. 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` | | Review diff, branch, or file for bugs | `cavecrew-reviewer` | | Deep code review with rationale + alternatives | `Code Reviewer` (vanilla) | | 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` returns ~700 tokens. 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. - 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. # cavecrew Decision guide. When to delegate to caveman subagents instead of doing the work in