New to Claude Skills? Learn how to install them →

Cjuliusbrussee on GitHub

Cavecrew

Free

Efficiently delegate tasks to subagents with compressed outputs.

Get this skill

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 source

1. Install with the skills CLI

npx skills add juliusbrussee/caveman/cavecrew --agent claude-code

2. 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 juliusbrussee

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

TaskUse
"Where is X defined / what calls Y / list uses of Z"cavecrew-investigator
Same but you also want suggestions/architecture commentaryExplore (vanilla)
Surgical edit, ≤2 files, scope obviouscavecrew-builder
New feature / 3+ files / cross-cutting refactorMain thread or feature-dev:code-architect
Review diff, branch, or file for bugscavecrew-reviewer
Deep code review with rationale + alternativesCode Reviewer (vanilla)
One-line answer you already knowMain 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.

Frequently asked questions about Cavecrew

Similar skills