Catalog
JuliusBrussee/cavecrew

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.

NewUpdated Sep 9, 2026

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.

Files2
2 files · 4.2 KB

Select a file to preview

Overall Score

79/100

Grade

B

Good

Grades are signals, not a certification. Always review a skill yourself before use.

Safety

92

Quality

78

Clarity

82

Completeness

68

Summary

Cavecrew is a decision guide that advises when to delegate to three "caveman-style" subagents (investigator, builder, reviewer) to reduce token consumption via compressed output formats. It defines output contracts, chaining patterns, and trade-offs between delegated agents and vanilla alternatives, with no executable operations.

Detected Capabilities

decision guidanceworkflow documentationagent delegation patternsenvironment variable configuration

Trigger Keywords

Phrases that agents use to match this skill to user intent.

delegate subagentsave context tokenscode locationsurgical editdiff reviewcompressed outputcavecrew workflowcaveman agent

Use Cases

  • Deciding whether to delegate code location queries to cavecrew-investigator vs vanilla Explore
  • Planning surgical 1-2 file edits with cavecrew-builder when scope is known
  • Auditing diffs or files efficiently with cavecrew-reviewer's structured findings
  • Chaining investigator→builder→reviewer workflows to minimize context token usage across multiple delegations
  • Configuring model overrides for individual cavecrew agents via environment variables

Quality Notes

  • Clear decision matrix comparing cavecrew agents to vanilla alternatives (Explore, Code Reviewer)
  • Well-defined output contracts with concrete format examples (path:line, emoji severity, counts)
  • Practical chaining patterns documented (locate→fix→verify, parallel scout, single-shot edit)
  • Concise 'what NOT to do' section prevents common misuses (skipping investigator, over-scoping builder, misusing reviewer)
  • Environment variable override system clearly explained with examples
  • Rule of thumb ('if output fits in 1/3 tokens, pick cavecrew') provides heuristic for delegation decisions
  • Supporting files referenced but not present in file manifest (agents/cavecrew-*.md, README.md hierarchy) — assumes these exist elsewhere in repo
  • Output contracts are terse by design, which matches the skill's purpose but makes the guide less self-contained
Model: claude-haiku-4-5-20251001Analyzed: Sep 9, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Version History

  1. v2.0

    Contract changed: description

    ✦ AIClarified trigger conditions for delegation to cavecrew subagents; simplified compression rationale in description.

    triggering2026-09-09

    LATEST
  2. v1.0

    2026-08-17

    View This VersionInitial version

Use JuliusBrussee/cavecrew in your dev environment

Command Palette

Search for a command to run...