
Cavecrew
FreeEfficiently delegate tasks to subagents with compressed outputs.
Free · Opens the source repo
What Cavecrew does
Cavecrew is a specialized decision guide designed for developers and designers who need to efficiently delegate tasks to subagents in a coding environment. It provides clear instructions on when to spawn specific subagents—namely cavecrew-investigator, cavecrew-builder, and cavecrew-reviewer—based on the task at hand. Each of these subagents returns outputs that are significantly compressed, reducing the token count and allowing the main context to last longer during extensive coding sessions. This is particularly beneficial when working with large codebases or during lengthy programming tasks.
The primary advantage of using Cavecrew lies in its ability to streamline the delegation process. For instance, if you need to locate code definitions or usages, the cavecrew-investigator can provide concise results that are about 60% smaller than traditional outputs. This not only saves on token usage but also helps maintain context integrity across multiple subagent calls. The cavecrew-builder is ideal for surgical edits within one or two files, while the cavecrew-reviewer focuses on reviewing diffs and identifying potential issues without the overhead of verbose explanations.
Developers who frequently find themselves needing to delegate tasks will find Cavecrew particularly useful. It allows for quick, efficient decision-making on whether to use a subagent or handle tasks inline. Additionally, the structured output format of the subagents ensures that results are easily interpretable and can be directly integrated back into the main context. This is essential for maintaining a smooth workflow, especially in collaborative environments where context can easily be lost.
However, Cavecrew is not a one-size-fits-all solution. It is best used for specific tasks where concise output is preferred, such as quick investigations or minor edits. For broader tasks that require more extensive commentary or architectural insights, developers should consider using vanilla alternatives like Explore or Code Reviewer. By understanding when to leverage Cavecrew, users can optimize their coding sessions and enhance their productivity.
When to use it
Use Cavecrew when you need to delegate specific tasks to subagents while conserving token usage in lengthy coding sessions.
When not to use it
Avoid Cavecrew for tasks requiring extensive prose or when dealing with large refactors that exceed the subagent's capabilities.
What you can build with it
Quick Code Investigation
Use cavecrew-investigator to find where a specific function is defined or called in your codebase.
Surgical Code Edits
Delegate minor edits to cavecrew-builder for changes that are straightforward and limited to one or two files.
Efficient Code Reviews
Utilize cavecrew-reviewer to quickly audit diffs for bugs without needing extensive explanations.
How to install Cavecrew
View source1. Install with the skills CLI
npx skills add juliusbrussee/caveman/cavecrew --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by juliusbrusseeCavecrew = 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):
cavecrew-investigatorreturns site list.- Main thread picks 1-2 sites, hands paths to
cavecrew-builder. cavecrew-revieweraudits 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-builderwhen you don't already know the file. Spawn investigator first or main thread will eat tokens passing context. - Don't chain
cavecrew-investigator → cavecrew-builderfor a 5-file refactor. Builder will returntoo-big.and you'll have wasted a turn. - Don't ask
cavecrew-reviewerfor "general feedback" — it returns findings only, no architecture opinions. UseCode Reviewerfor 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.
Frequently asked questions about Cavecrew
Similar skills
Quality Playbook Generator
Run comprehensive quality audits on any codebase.
PR Draft Summary
Automate PR summary generation for openai-agents-python.
Final Release Review
Streamline your release candidate audits with ease.
Unit Test Vue Pinia
Efficiently write and review unit tests for Vue 3 applications.
Slang Shader Expert
Optimize and integrate Slang shaders with ease.
Telemetry Standards
Ensure consistent event tracking in Supabase Studio.
