Token导航 LogoToken导航

Agent Skill · 研究检索

caid-multi-agent(caid 多 Agent)

caid-multi-agent 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

caid-multi-agent 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 29,423。

总安装 3,058周安装 130GitHub Stars 公开资料未说明下载 1,071核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.2.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:caid-multi-agent(caid 多 Agent)
来源仓库:https://github.com/simoncatbot/caid-multi-agent
安装命令:
openclaw skills install caid-multi-agent
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install caid-multi-agent

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

caid-multi-agent 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。基于 CAID 框架协调多个子代理协同完成长期软件工程任务。适用于复杂系统开发中的任务分解与异步协作管理。

安装命令为 openclaw skills install caid-multi-agent,需确认通信协议与资源分配机制。使用时可能涉及高并发调度,应评估其对宿主性能的影响。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install caid-multi-agent;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

caid-multi-agent 怎么安装?

在终端执行 openclaw skills install caid-multi-agent。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

caid-multi-agent 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

caid-multi-agent 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

caid-multi-agent 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

caid-multi-agent 用的人多吗?

公开数据是累计安装 3,058 次,近一周安装 130 次,下载 1,071 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

caid-multi-agent 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
caid-multi-agent

caid 多 Agent · 本页

3,058—只读MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
caid-multi-agent
description
Coordinate multiple sub-agents to collaboratively complete long-horizon software engineering tasks using the CAID (Centralized Asynchronous Isolated Delegation) paradigm. Use when tasks require complex multi-file edits, interdependent subtasks, parallelizable work, or when a single agent would take too long. This skill implements branch-and-merge coordination with git worktree isolation, dependency-aware task delegation, and structured integration. CRITICAL: Never use CAID as a fallback after single-agent failure; use from the outset. Max 2-4 engineers (8 absolute max). Physical git worktree isolation is mandatory; soft isolation degrades performance.

CAID Multi-Agent Coordination

This skill implements the Centralized Asynchronous Isolated Delegation (CAID) paradigm for coordinating multiple agents working on shared artifacts.

⚠️ CRITICAL WARNINGS FROM PAPER: - Use CAID from the outset — Don't run single-agent first as fallback. Sequential strategy costs nearly 2x with minimal gain. - Physical worktree isolation is mandatory — Soft isolation (instruction-only) degrades performance on complex tasks. - Engineer limits are strict — 2 for PaperBench-style, 4 for Commit0-style, never exceed 8. - Higher cost/runtime trade-off — CAID improves accuracy, not speed. Integration is sequential/test-gated.

Core Principles

  1. Centralized Task Delegation — A manager agent decomposes tasks into dependency-aware units
  2. Asynchronous Execution — Multiple engineer agents work concurrently
  3. Isolated Workspaces — Each agent works in its own isolated branch/worktree
  4. Structured Integration — Progress is merged via git commit/merge with test verification

When to Use This Skill

Use CAID from the outset for:

  • Long-horizon tasks with multiple interdependent files
  • Clear dependency structure (imports, test mappings)
  • Parallelizable work exists
  • Integration can be verified by executable tests

Don't use as fallback: Running single-agent first then CAID is inefficient (cost/runtime nearly additive, minimal performance gain).

Use single-agent for:

  • Isolated, single-file changes
  • No clear parallelization opportunities
  • Exploratory/research-oriented tasks

Coordination Workflow

0. Manager Pre-Setup (CRITICAL)

Before ANY delegation, the manager must:

  1. Prepare runtime environment

- Ensure dependencies installed - Set up virtual environment

  1. Organize entry points

- Create main entry files - Ensure import paths work

  1. Add minimal function stubs

- Empty function definitions so imports don't fail - Type signatures if available

  1. Commit to main branch

- All engineer branches created from consistent base - Without this, engineers start from divergent states

# Pre-setup commit
git add .
git commit -m "setup: initial stubs and entry points"
git push origin main

1. Task Analysis & Dependency Graph Creation

Manager's role: Before delegating, analyze the task structure:

  • Identify atomic units of work (files, functions, modules)
  • Build a dependency graph: G=(V,E) where edges indicate dependencies
  • Define Ready(v) ⇔ all dependencies of v are completed
  • Only delegate tasks that are Ready (all dependencies satisfied)

Commit0-style tasks (clear file structure):

  1. Check import statements to identify file-level dependencies
  2. Collect executable test cases from repository
  3. Examine which files tests exercise
  4. Identify components to implement earlier (upstream dependencies)
  5. Delegate at file level first — only split to function level if file has many unimplemented functions

PaperBench-style tasks (inferred structure):

  1. Read paper to identify main contribution
  2. Infer implementation order from contribution
  3. Use max 2 engineers — manager task is harder, more agents destabilize

Dependency graph construction:

Ready_t(v_j) ⇔ ∀(v_i, v_j) ∈ E, v_i ∈ Completed_t

Only delegate tasks from {v ∈ V | Ready_t(v)}

2. Workspace Isolation Setup

Create PHYSICALLY isolated worktrees (not soft isolation):

# Main branch is the single source of truth
git worktree add ../workspace-engineer-1 <branch-name-1>
git worktree add ../workspace-engineer-2 <branch-name-2>
# etc.
⚠️ WARNING: Soft isolation (same workspace, instruction-level constraints) degrades performance to below single-agent on PaperBench. Physical git worktree isolation is mandatory.

Key isolation principles:

  • Each engineer operates in its own git worktree (physical filesystem isolation)
  • All worktrees are derived from the main branch
  • Engineers modify files only within their assigned workspace
  • Restricted files (shared across engineers): __init__.py, config files, global constants — engineers must NOT commit changes to these

3. Dependency-Aware Task Delegation

STRICT Engineer Limits:

Task TypeMax EngineersWhy
PaperBench-style2Inferred dependencies; more destabilizes
Commit0-style4Clear file structure; test-guided
General SWE2-4Balance parallelism vs integration overhead
Absolute max8Beyond this, coordination tax exceeds gains
⚠️ Critical: Increasing engineers beyond optimal degrades performance due to integration overhead and conflict resolution costs.

Task prioritization heuristics: Manager should prioritize tasks that:

  1. Enable earlier test execution (expose evaluation signals sooner)
  2. Lie closer to upstream of dependency chain
  3. Are simpler functions before complex ones

Round definition:

One round = complete cycle of delegation → implementation → dependency update

Recommended iteration limits (from paper experiments):

RoleMax Iterations
Manager50
Each Engineer80
Total Rounds~22 (varies by task)

Delegation algorithm:

At round t:
1. Ready_Set = {v ∈ V | Ready_t(v)}  // all dependencies satisfied
2. Select up to N tasks from Ready_Set (N = max parallel engineers above)
3. Apply prioritization heuristics
4. Delegate to available engineers
5. Wait for completion signals
6. Update dependency state after each successful integration

Task assignment JSON format (structured communication — NO free-form dialog):

{
  "task_id": "string",
  "task_description": "string",
  "target_files": ["path/to/file.py"],
  "target_functions": ["function_name"],
  "dependencies": ["task_id_1", "task_id_2"],
  "expected_outcome": "description of success criteria",
  "verification_command": "pytest tests/test_file.py -v",
  "restricted_files": ["src/__init__.py", "src/config.py"],
  "priority": "high|medium|low"
}
Key: All communication uses structured JSON, not free-form dialog. This prevents inter-agent misalignment (primary failure mode in multi-agent systems).

4. Asynchronous Execution Loop

Event loop pattern:

  1. Delegate → Manager assigns tasks to available engineers
  2. Execute → Engineers work concurrently in isolated worktrees
  3. Self-Verify → Engineer runs tests, fixes failures
  4. Complete → Engineer submits commit when ALL tests pass
  5. Integrate → Manager attempts merge to main
  6. Conflict Resolution (if needed) → Responsible engineer resolves
  7. Update → Manager updates dependency graph
  8. Repeat → Continue until all tasks complete or limits reached

Engineer self-verification (MANDATORY before submission):

  • Run relevant tests that import/reference modified files
  • If no explicit mapping, run repository's default test command
  • Any failed test or runtime exception MUST be resolved
  • Use concrete error logs and tracebacks for iterative refinement
  • Only submit commit after ALL tests pass

5. Integration via Merge

Merge workflow:

# Manager attempts merge
git checkout main
git merge <engineer-branch>

# If conflict:
# 1. Engineer who produced conflicting commit is RESPONSIBLE for resolution
# 2. Engineer pulls latest main: git pull origin main
# 3. Resolves conflicts locally
# 4. Re-runs tests to ensure resolution didn't break anything
# 5. Resubmits commit
# 6. Manager retries merge

Main branch is single source of truth throughout execution.

6. Context Management for Manager

To prevent context explosion, manager uses LLMSummarizingCondenser pattern:

Periodically:
1. Summarize prior interaction rounds
2. Preserve structured artifacts:
   - Dependency graph (current state)
   - Completed tasks (with commit hashes)
   - Unresolved errors (with traceback summaries)
3. Discard detailed conversation history
4. Maintain execution traceability without bloat

Compressed execution history format:

{
  "round": 5,
  "completed": ["task-1", "task-2", "task-3"],
  "ready": ["task-4", "task-5"],
  "blocked": ["task-6: waiting for task-5"],
  "active_engineers": 2,
  "main_branch_commits": ["abc123", "def456"],
  "unresolved_errors": []
}

7. Worktree Synchronization & Cleanup

State synchronization when main advances:

# Engineer syncs to latest integrated state
cd ../workspace-engineer-1
git fetch origin
git reset --hard origin/main  # Sync worktree to latest main

Worktree cleanup (after completion or limit reached):

# Remove worktree when engineer finishes or hits iteration limit
git worktree remove ../workspace-engineer-1
rm -rf ../workspace-engineer-1  # Clean up directory
Worktrees are deleted after all assigned tasks are completed or when the engineer reaches the predefined iteration limit.

8. Termination Conditions

  • Success: All units completed and integrated into main
  • Failure: Maximum rounds/iterations reached with unresolved tasks
  • Incomplete: Task considered incomplete if any units remain unresolved

Manager iteration limits (from paper):

  • Manager: max_iterations=50
  • Each engineer: max_iterations=80
  • Total rounds: ~22 (varies by task)

9. Manager Final Review

After the asynchronous loop completes, the manager does a final review before submitting the final product.

Final review checklist:

  1. Verify all tasks from dependency graph are completed
  2. Run full test suite: pytest tests/ -v
  3. Check integration completeness (all commits merged)
  4. Review any unresolved errors or warnings
  5. Validate final state matches expected outcome
  6. Submit final product only after verification
# Manager final verification
git checkout main
pytest tests/ -v                    # Full test suite
python -m mypackage --version       # Smoke test
# Review any integration gaps

Implementation Guidelines

Using OpenClaw Sub-agents

For OpenClaw, the sessions_spawn tool enables parallel agent execution:

Spawn engineer agents:

// For each task in Ready_Set, spawn an engineer
{
  "runtime": "subagent",
  "task": "<task specification with context>",
  "agentId": "<engineer-agent-id>",
  "mode": "run",
  "runTimeoutSeconds": 300
}

Check progress:

// Poll for completion
{
  "action": "list"
}

Worktree Synchronization

When main advances, update worktrees:

# Engineer pulls latest main before continuing
cd ../workspace-engineer-1
git fetch origin
git reset --hard origin/main  # Or rebase

This ensures engineers work from latest integrated state.

Verification Intensity vs Efficiency Trade-off

From paper analysis (Section 4.4):

StrategyPass RateRuntimeWhen to Use
Round-Manager Review60.2%3689sMaximum correctness required
Engineer Self-Verification55.1%2244sDefault - balanced
Efficiency-Prioritized54.0%1909sTime-critical, acceptable risk

Default: Engineer self-verification without repeated manager review.

Common Pitfalls & Solutions

PitfallSolution
Using CAID as fallback after single-agent failsUse from outset; sequential costs ~2x with minimal gain
Soft isolation (instruction-only)Mandatory git worktree physical isolation
Too many engineers (>4-8)Strict limits: 2 PaperBench, 4 Commit0, 8 absolute max
Skipping manager pre-setupAlways prepare runtime/stubs/entry points first
Skipping manager final reviewAlways do final verification before submission
Merge conflicts from concurrent editsGroup dependent files; engineer resolves own conflicts
Not cleaning up worktreesDelete worktrees after completion/limit reached
Agents develop inconsistent viewsStructured JSON only; no free-form dialog
Silent interference between agentsExplicit merge with test verification
Tasks not clearly definedBuild dependency graph before ANY delegation
Integration failures discovered lateSelf-verification mandatory before commit
Context explosionUse LLMSummarizingCondenser pattern
Missing restricted filesMark __init__.py, configs as restricted

Cost/Runtime Expectations

CAID trade-offs (vs single-agent):

  • Higher API cost — Multiple agents = more LLM calls
  • Similar or longer wall-clock time — Integration is sequential/test-gated
  • Substantially higher accuracy — +26.7% PaperBench, +14.3% Commit0

When worth it: Long-horizon shared-artifact tasks where correctness matters more than speed.

Example Workflows

See references/examples.md for concrete implementation examples including:

  • Commit0-style library implementation
  • PaperBench-style paper reproduction
  • Bug fixing (single-file vs multi-file)
  • Feature addition with API and frontend

References

  • Paper: "Effective Strategies for Asynchronous Software Engineering Agents" (arXiv:2603.21489v1)
  • GitHub: https://github.com/JiayiGeng/async-swe-agents
  • Built on OpenHands agent SDK principles

平台分布

OpenClaw

77.13%
按下载量换算826

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills