跳到正文
Skillpedia
智能体117k · #739

cavecrew

它能做什么

这个技能帮助 AI 智能体在自己处理的工作与三个紧凑的辅助智能体之间做出选择。这三个辅助智能体分别负责查找代码、小范围修改和审查差异。适合进行长时间编码会话、希望为主对话节省空间的人。

适用场景

  • ✓当你想查找代码的定义或调用位置,又不希望长篇回答占满主对话的时候。
  • ✓当一项范围明确的小改动只涉及一两个文件的时候。
  • ✓当你希望用简短、压缩的回复来审查差异或分支的时候。

技能链接

https://github.com/JuliusBrussee/caveman/blob/main/plugins/caveman/skills/cavecrew/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/JuliusBrussee/caveman/blob/main/plugins/caveman/skills/cavecrew/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我找出这个函数在所有地方被调用的位置,回答保持简短,这样我的主会话不会太大。”

每周 5 个新技能,1 分钟读完。

工作原理

该技能说明何时使用每个辅助智能体,例如用调查员查找代码、用构建者处理一两个文件的修改、用审查员审查差异。它们的回复经过压缩,因此占用的主上下文更少。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Cavecrew = three subagent presets that answer in ultracave voice (tool runs: one status line in, one out; nothing between routine calls). 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 if installed
Review diff, branch, or file for bugs cavecrew-reviewer
Deep code review with rationale + alternatives Code Reviewer (vanilla) if installed, else main thread
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 comes back as a compressed path:line table instead. 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 when installed.
  • 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.

常见问题

这三个辅助智能体是什么?

一个负责查找代码的调查员、一个负责一两个文件修改的构建者,以及一个负责审查差异的审查员。

什么时候应该改用普通的探索智能体?

当你需要的是文字说明、建议或架构评论,而不是简短答案的时候。

为什么要压缩回复?

这样主会话在上下文被填满之前可以运行更长时间。

详情

作者的原始描述

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.

repo: JuliusBrussee/caveman

热度

GitHub 星标
117k
排名
#739
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能