Command Palette

Search for a command to run...

Назад к скиллам
скилл № 64763

cavecrew

Decision guide for delegating to caveman-style subagents in Pi. Helps the main thread choose investigator, builder, or reviewer style delegation and keep…

БесплатноБез исполняемых скриптов
casualjimот casualjim★ 18 звёзд на GitHub

Установить cavecrew в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Cavecrew = caveman-compressed delegation pattern. Same jobs as locator, surgical editor, reviewer; difference is output contract is terse so main context stays smaller.

This Pi port ships the upstream prompt resources in agents/ as live pi-herdr-agents role definitions, published through the package's role pack.

Pi Subagent Rule

Delegation goes through pi-herdr-agents' subagent tool. Before delegating, call subagents_list (or /subagent list) and use only the roles it reports. The Cavecrew roles are published as a role pack, so they appear with source package:

{ "name": "Locate X", "agent": "cavecrew-investigator", "task": "Locate `X`. Return file:line only." }
{ "name": "Fix X", "agent": "cavecrew-builder", "task": "Edit only `path/to/file.ts`: fix `X`. Return receipt." }
{ "name": "Review diff", "agent": "cavecrew-reviewer", "task": "Review current diff. Findings only." }

If exact Cavecrew agents missing, either:

  • use equivalent available agents with Cavecrew output contract in task prompt, or
  • perform work in main thread when delegation would add ambiguity.

Never auto-spawn Cavecrew from extension hooks. Delegation only after user/main-thread decision.

When to use cavecrew vs alternatives

Task Use
"Where is X defined / what calls Y / list uses of Z" investigator-style subagent
Same but you also want suggestions/architecture commentary normal exploration/main thread
Surgical edit, ≤2 files, scope obvious builder-style subagent
New feature / 3+ files / cross-cutting refactor main thread or implementation workflow
Review diff, branch, or file for bugs reviewer-style subagent
Deep code review with rationale + alternatives normal code review
One-line answer you already know main thread, no subagent

Rule: if you'd want subagent output in 1/3 tokens, pick cavecrew contract. If human-facing prose matters, use normal style.

Output Contracts

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+.

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).

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

  1. Investigator returns site list.
  2. Main thread picks 1-2 sites, hands paths to builder.
  3. Reviewer audits diff.

Parallel scout

Spawn 2-3 investigator tasks in parallel with different angles: defs vs callers vs tests. Aggregate in main thread.

Single-shot edit

Skip investigator when file/line already known. Hand exact path:line to builder directly.

What NOT to do

  • Don't use builder when you don't already know file. Spawn investigator first or main thread eats tokens passing context.
  • Don't chain investigator → builder for 5-file refactor. Builder should return too-big.
  • Don't ask reviewer for "general feedback"; it returns findings only, no architecture opinions.
  • Don't expect prose. Cavecrew output is structured and terse. If human will read it directly, paraphrase.

Bundled Role Definitions

The package's agents/ directory is registered with pi-herdr-agents as a role pack when the pi-caveman extension loads, using the pi-herdr-subagents:roles:discover:v1 event. Nothing is copied into ~/.pi/agent/agents:

  • cavecrew-investigator.md
  • cavecrew-builder.md
  • cavecrew-reviewer.md

The host reads and validates these files in place, so edits land as soon as the file changes. A project or global definition of the same name overrides the role pack.

Auto-clarity

Subagents drop caveman → normal English for security warnings, irreversible-action confirmations, and any output where fragment ambiguity could be misread. Resume caveman after.

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • README.md

FAQ

Что делает скилл cavecrew?

Decision guide for delegating to caveman-style subagents in Pi. Helps the main thread choose investigator, builder, or reviewer style delegation and keep subagent output compressed. Use when user says "delegate to subagent", "use cavecrew", "save context", or "compressed agent output".

Как установить скилл cavecrew?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cavecrew запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cavecrew с