跳转到主要内容

Caveman

技能 已验证 活跃

用于委托给 caveman 风格子代理的决策指南。指示主线程何时应调用 `cavecrew-investigator`(定位代码)、`cavecrew-builder`(1-2 个文件编辑)或 `cavecrew-reviewer`(diff 审查),而不是直接在主线程中处理或使用标准的 `Explore`。子代理的输出经过 caveman 压缩,因此注入回主上下文的工具结果大约减小了 60%,从而使主上下文在长时间会话中持续更久。触发词:“delegate to subagent”、“use cavecrew”、“spawn investigator/builder/reviewer”、“save context”、“compressed agent output”。

目的

通过智能地委托给专用子代理并减少令牌消耗,使代理能够更有效地执行复杂的代码相关任务,从而延长代理在更长会话中的上下文和能力。

功能

  • 委托给专用子代理以进行代码调查、构建和审查。
  • 压缩子代理输出,将主上下文令牌使用量减少约 75%。
  • 为子代理结果提供结构化的输出合同。
  • 提供关于何时使用 cavecrew 子代理而非标准 Explore 或主线程操作的决策指导。

使用场景

  • 当需要在整个项目中查找特定的代码定义或用法时。
  • 当执行对一个或两个文件的少量、限定范围的编辑时。
  • 当审查代码更改以查找错误或问题时。
  • 在长时间编码会话中管理 LLM 上下文窗口限制。

非目标

  • 提供通用的基于文本的代码分析或架构意见。
  • 执行需要主观反馈的深度代码审查。
  • 通过 builder 代理处理大型重构或超过两个文件的更改。
  • 在上下文不是限制因素时,取代主代理的核心功能。

工作流

  1. 主线程根据任务复杂性和上下文确定是否需要委托。
  2. 根据任务选择适当的 cavecrew 子代理(`investigator`、`builder` 或 `reviewer`)。
  3. 子代理执行,生成压缩的、结构化的输出。
  4. 主线程将压缩输出注入回上下文,保持会话时长。

安装

npx skills add juliusbrussee/caveman

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

已验证
99 /100
1 day ago 分析

信任信号

最近提交2 days ago
星标59.5k
许可证MIT
状态
查看源代码

类似扩展

Lean Ctx

100

AI 代理的上下文运行时 — 包含 59 个 MCP 工具、10 种读取模式、95+ 种 shell 模式、支持 18 种语言的 tree-sitter AST。将 LLM 上下文压缩高达 99%。用于读取文件、运行 shell 命令、搜索代码或探索目录。如果不存在,则自动安装。

技能
yvgude

Ctx Doctor

100

运行 context-mode 诊断。检查运行时、钩子、FTS5、 插件注册、npm 和 marketplace 版本。 触发器:/context-mode:ctx-doctor

技能
mksglu

Metal

100

Extract the conceptual essence of a repository as skills, agents, and teams — the project's roles, procedures, and coordination patterns expressed as agentskills.io-standard definitions. Reads an arbitrary codebase and produces generalized definitions that capture WHAT the project does and WHO operates it, without replicating HOW it does it. Use when onboarding to a new codebase and wanting to understand its conceptual architecture, when bootstrapping an agentic system from an existing project, when studying a project's organizational DNA for cross-pollination, or when creating a skill/agent/team library inspired by a reference implementation.

技能
pjt222

Pathfinder

100

将代码库映射为按功能分组的流程图,识别不同功能之间的重复关注点,并提出统一的架构。在被要求“寻找理想路径”、统一重复系统或在重构前审计架构时使用。输出一个建议的统一流程图以及针对每个系统的“制定计划”提示。

技能
thedotmack

Codacy Audit

100

Codacy Cloud workflow for this repository -- run Codacy's analyzers locally before `git push` (mirrors what Codacy CI runs), and fetch/cluster Codacy issues for any PR via the v3 API. Use when the user mentions Codacy, "codacy analysis", `codacy-analysis-cli`, "codacy issues on PR", "fix codacy CI", "codacy markdownlint findings", or any Codacy gate failing on a netdata-org PR. Ships scripts analyze-local.sh (docker/binary runner for codacy-analysis-cli) and pr-issues.sh (paginated v3 issue fetch + group-by tool/pattern/severity/file). Token-safe -- CODACY_TOKEN never reaches assistant-visible stdout. Read-only by design in the current SOW; write actions (mark FP, mark fixed) are deferred.

技能
netdata

Domain Extract

100

Extract domain knowledge from existing project sources and generate domain rules. Also handles vault sync and domain listing.

技能
luiseiman