Chuyển đến nội dung
Skillpedia
Agent117k · #739

cavecrew

Skill này làm gì

Skill này giúp agent AI chọn giữa việc tự làm và ba agent phụ gọn nhẹ để tìm code, chỉnh sửa nhỏ và xem xét diff. Skill dành cho người chạy các phiên lập trình dài và muốn giữ chỗ trống trong cuộc trò chuyện chính.

Khi nào nên dùng

  • ✓Khi bạn muốn tìm nơi code được định nghĩa hoặc được dùng, mà không để câu trả lời dài làm đầy cuộc trò chuyện chính.
  • ✓Khi một chỉnh sửa nhỏ, rõ phạm vi chạm vào một hoặc hai file.
  • ✓Khi bạn muốn một diff hoặc nhánh được xem xét với câu trả lời ngắn gọn, đã nén.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/JuliusBrussee/caveman/blob/main/plugins/caveman/skills/cavecrew/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tìm mọi chỗ hàm này được gọi, và giữ câu trả lời ngắn để phiên chính của tôi không bị phình to.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill liệt kê khi nào dùng từng agent phụ, chẳng hạn investigator để tìm code, builder cho các chỉnh sửa một hoặc hai file, và reviewer cho diff. Câu trả lời của chúng được nén nên ít context chính bị dùng hơn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

Câu hỏi thường gặp

Ba agent phụ là gì?

Một investigator để tìm code, một builder cho chỉnh sửa một hoặc hai file, và một reviewer cho diff.

Khi nào nên dùng explorer thông thường thay thế?

Khi bạn muốn văn xuôi, gợi ý hoặc nhận xét về kiến trúc thay vì một câu trả lời ngắn.

Vì sao phải nén câu trả lời?

Để phiên chính có thể chạy lâu hơn trước khi context đầy.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
117k
Vị trí xếp hạng
#739
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự