juliusbrussee/caveman

cavecrewjuliusbrussee/caveman / skills/cavecrew/SKILL.md

按任务规模选择调查、局部编辑或代码评审 Agent

  • SKILL.md 已保存
  • 中文用法已整理
  • 安装与运行未实测
先判断是否解决你的问题

cavecrew 是什么?

cavecrew 是一份委派决策指南,告诉主 Agent 何时用 investigator 查代码位置、builder 修改 1 到 2 个明确文件,或 reviewer 检查 diff。它的价值是回传压缩结果节省上下文;新功能或跨文件改造仍应由主线程规划,不能把委派当作已验证结论。

中文说明由本站依据来源整理;英文原文保留在页面下方。

适合用在

  • 问题定位范围较广,需要 investigator 查定义、调用点或使用位置。
  • 目标文件和修改范围已明确,且局部编辑最多涉及 1 到 2 个文件。
  • 已有 diff 需要按文件和行号检查 bug。

这些情况不适合

  • 3 个以上文件的新功能或横向重构;源文建议留在主线程或使用适合架构任务的代理。
  • 需要详细散文解释、替代方案或深度安全评审,却只期待 cavecrew 的压缩结果。
  • 尚未定位文件却直接让 builder 改代码;源文要求先调查。

同名项目,请核对仓库和目录

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 cavecrew,然后按本页使用示例提供材料。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 cavecrew

请在 Codex 的当前工作环境中安装并检查 cavecrew 这个 Skill。

项目身份:juliusbrussee/caveman / cavecrew
来源:https://github.com/juliusbrussee/caveman/blob/9b243662ff98d392bc0a95b865a554583d71be75/skills/cavecrew/SKILL.md
已定位的源文件:skills/cavecrew/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
准备输入,再按步骤执行

装好以后,具体怎么用?

准备哪些材料

  • 提供待调查的问题或精确路径;builder 只适用于文件已知、范围明显的局部修改。
  • 确认宿主确实支持创建与调用 subagent,并已安装所需的 cavecrew agent 配置;本 Skill 本身只提供选择与输出约定。

会得到什么

  • 按具体 agent 的结构化压缩结果;builder 可能报告 too-big、needs-confirm、ambiguous 或 regressed 等停止状态。

实际使用顺序

  1. 查找符号、调用点或使用位置时选 cavecrew-investigator;若还需要展开架构评论,选择普通 Explore。
  2. 文件未知时先调查,再由主 Agent挑选最多 1 到 2 个明确位置交给 cavecrew-builder;新功能或 3 个以上文件工作由主线程或专门架构代理处理。
  3. 审查现有 diff 时可交给 cavecrew-reviewer;需要长理由、替代方案或安全解释时使用普通 Code Reviewer 或主线程。
  4. 阅读代理输出后,对 No match.、No issues.、‘section missing’ 和 ‘unchanged’ 等否定性结论做一次针对性检查,核对路径和行号存在后再据此行动。
  5. 跨多个独立角度的广泛调查可并行派出 2 到 3 个 investigator;聚合结果时保留每项路径与范围,不把缺少证据写成确定结论。
使用示例

从一个具体任务开始

本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。

安装并识别 Skill 后发送

复制一个具体任务

教学示例:请使用 cavecrew 的决策规则处理这个假设任务:我不知道 `parseInvoice` 在仓库的定义和调用位置。先选择调查 agent 找定义、调用者和相关测试;文件定位后仅汇报,不修改文件。随后自行核对至少一个返回的路径或行号是否真实存在。
预期结果

预期先给调查任务,再验证代理输出的路径/行号;不会在范围未知时直接派 builder,也不会声称实际仓库中已经找到文件。本例未运行。

使用前先看这些限制

使用条件与边界

  • 主线程仍对委派结论负责;源文明确不能盲信 No match、No issues 或 unchanged。
  • builder 的许可范围是已知位置上的最多两个文件小改;大改应停止并重新规划。
  • 该指南不是宿主安装说明;实际可用代理名称与工具协议依赖所在 agent 环境。
针对这个 Skill 的疑问

常见问题

cavecrew 和普通 Explore 的区别是什么?

调查职责相近,但 cavecrew investigator 按约定压缩回传;需要建议或架构评论时,源文建议用普通 Explore。

可以并行派多个 Agent 吗?

广泛调查且问题角度不同可并行 2 到 3 个 investigator;应分别指定调查角度,主线程再合并并做针对性核查。

builder 能做功能开发吗?

源文把 builder 限定为范围清楚、最多 1 到 2 个文件的局部编辑。新功能或 3 个以上文件的改造不适合直接交给它。

需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-17T10:53:18.266Z
中文使用说明
已针对下方源文件版本整理用途、用法和常见问题
安装与任务测试
本站未执行安装或任务测试
来源复核
本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料

skills/cavecrew/SKILL.md · 抓取时间 2026-11-17T10:53:18.266Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

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.

查看源文件章节 / Source sections
  • 原文:When to use cavecrew vs alternatives
  • 原文:Why this exists (the real win)
  • 原文:Output contracts
  • 原文:Chaining patterns
  • 原文:What NOT to do
  • 原文:Auto-clarity (inherited)
原文:正文开头

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 accept or reject a subagent's absence claim (`No match.`, `No issues.`, "section missing", "unchanged") without one targeted check of the relevant file, search scope, or diff. Check cited line numbers are within the file before acting. - 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.

文件 SHA256:7a5acd01a87896d82bc9cb0bfcf1bc1eb7008fb437f0bc60d692b30fd81ac084

仓库许可证记录:未提供;not-established,查看来源。

Skills.sh收录简介 · 2026-07-28

Decision guide for delegating to caveman-style subagents. Tells the main thread WHEN to spawn `cavecrew-investigator` (locate code), `cavecrew-builder` (1-2…

查看历史简介来源

这份历史简介在采集时已截断;完整用途和触发条件需打开来源核对。

历史收录数据

Skill标识cavecrew
来源仓库juliusbrussee/caveman
榜单快照2026-07-28
榜单口径Skills.sh累计安装量
快照名次110
快照累计安装量218279

历史资料说明

  • 所保留的来源简介在采集时已截断;完整触发条件、依赖及排除项须阅读源文件,本站不补写缺失部分。
  • 安装量用于说明当时的收录次序,不是效果、可信度或当前可用性的证明。

此页用于识别项目与来源。安装入口可在该Skill的Skills.sh页面查看;当前目录是否仍存在、附带脚本和账户依赖尚需按具体版本确认。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源