Token导航 LogoToken导航TokenDH.com
待分类只读github未标认证来源可访问许可证需确认审计通过

grove-multi-agent格罗夫多 Agent

Agent Skill

grove-multi-agent 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

210

周安装

9

GitHub Stars

17

下载量

73
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/chrisbanes/grove --skill grove-multi-agent

简介

grove-multi-agent 用于处理 GitHub 仓库、Issue 和 Pull Request 等协作信息。

  • 适用于围绕仓库状态、代码变更或协作事项进行整理的场景。
  • 可结合来源仓库和原始 README 进一步核验具体用法。
  • 安装前需确认权限范围和维护状态,避免触发命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

I'm using the grove-multi-agent skill to orchestrate parallel agents across isolated Grove workspaces.

When to Use This Skill

digraph {
    "Multiple tasks?" [shape=diamond];
    "Independent?" [shape=diamond];
    "grove-multi-agent" [shape=box];
    "Sequential execution" [shape=box];
    "Single grove:using-grove" [shape=box];

    "Multiple tasks?" -> "Single grove:using-grove" [label="1 task"];
    "Multiple tasks?" -> "Independent?" [label="2+ tasks"];
    "Independent?" -> "grove-multi-agent" [label="yes"];
    "Independent?" -> "Sequential execution" [label="no - shared state"];
}

Use grove-multi-agent only when tasks are truly independent: no shared file modifications, no ordering dependencies between them.

Workflow

Step 1: Receive tasks

Accept a list of independent tasks. Tasks may come from a decomposed plan, directly from the user, or from a dispatching agent (e.g., superpowers:dispatching-parallel-agents). Each task must be a self-contained unit of work.

Step 2: Validate independence

Before creating any workspaces, review the task list for overlapping file scope. If two tasks would modify the same file or directory, they are not truly independent.

  • If overlap is detected: warn the user, identify the conflicting tasks, and ask whether to proceed (by serializing those tasks) or restructure the plan.
  • If no overlap: continue.

Step 3: Determine branch prefix

Use the current branch name as the prefix, or ask the user for one. Workspace branches will follow the pattern:

agent/<prefix>/<task-slug>

Example: if the prefix is feature/auth-overhaul and the task is "Add OAuth login", the branch becomes agent/feature-auth-overhaul/add-oauth-login.

Step 4: Create N workspaces

For each task, run:

grove create --branch agent/<prefix>/<task-slug> --json

Collect the path and id from each JSON response:

{
  "id": "abc1",
  "path": "/tmp/grove/myapp/abc1",
  "branch": "agent/<prefix>/<task-slug>",
  "created_at": "2026-02-17T10:20:00Z",
  "golden_copy": "/Users/chris/dev/myapp"
}

Store a mapping of task -> workspace path and workspace ID for later use.

Step 5: Dispatch N subagents

Issue one Task tool call per workspace, all in parallel (not sequentially). Use the subagent prompt template below.

Subagent prompt template:

Task tool (general-purpose):
  description: "Task N: <task-name>"
  prompt: |
    You are working in a Grove workspace at <workspace-path>.

    cd <workspace-path>

    Your task: <full task description>

    Instructions:
    1. Implement the task
    2. Write tests
    3. Verify tests pass
    4. Commit your work
    5. Report back: what you changed, test results, any concerns

Each subagent operates in isolation. It cannot see or affect other workspaces.

Step 6: Collect results

Wait for all subagents to return. Gather each agent's summary: files changed, test results, and any concerns raised.

Step 7: Review for conflicts

Even if tasks were validated as independent in Step 2, verify that agents did not unexpectedly edit overlapping files (e.g., due to generated files, lock file updates, or auto-formatters touching shared files).

Compare the changed file lists across workspaces. If conflicts are found, flag them before proceeding to cleanup.

Step 8: Report results

Present a summary of what each agent accomplished:

  • Task name and workspace branch
  • Files changed
  • Test outcome (pass / fail / skipped)
  • Any concerns the subagent raised

Flag any failures clearly so the user can decide how to handle them.

Step 9: Present cleanup options

Present these options for the set of workspaces as a whole, plus individual handling if needed:

  1. Push all branches and create PRs
  2. Keep all workspaces for manual review
  3. Destroy all workspaces
  4. Handle individually (step through each workspace one at a time using grove:finishing-grove-workspace)

For option 1, derive each PR title from the branch name and body from commit summaries since the golden copy:

git push -u origin <branch>
gh pr create --title "<title>" --body "<body>"
grove destroy <workspace-id>

Quick Reference

CommandPurpose
grove create --branch <name> --jsonCreate a workspace, capture path and ID
grove listList all active workspaces
grove destroy <id>Remove a workspace
gh pr create --title "<t>" --body "<b>"Open a PR from a pushed branch

Common Mistakes

  • Dispatching agents that need to modify shared files — if two tasks touch the same file, they will produce conflicting commits that cannot be cleanly merged. Validate independence first.
  • Not validating task independence before dispatch — skipping Step 2 means conflicts surface after agents have done work, wasting compute and time.
  • Forgetting to collect and review results from all agents before cleanup — destroying workspaces before reviewing agent output means losing work. Always complete Steps 6-8 before any cleanup.
  • Creating workspaces sequentially instead of dispatching agents in parallel — the workspaces must all exist before dispatching; but subagent Task calls should all be issued in one parallel batch, not one at a time.
  • Using this skill for dependent tasks — if Task B needs output from Task A, use sequential execution with grove:using-grove instead.

Red Flags

  • Agents reporting conflicting changes to the same file — the task decomposition was not truly independent. Pause cleanup, review the conflicts manually, and resolve before pushing.
  • Multiple agents failing with similar errors — this may indicate a systemic issue with the golden copy (stale build state, broken tests at baseline). Run grove update on the golden copy and retry.
  • Running out of workspace slots — Grove enforces a max_workspaces limit from .grove/config.json. If the limit is hit, create and dispatch agents in batches, or increase the limit with grove config.
  • Subagent returns without committing — the agent may have encountered test failures or blocking issues. Check the agent's concern report before treating the workspace as complete.

Key Difference from dispatching-parallel-agents

superpowers:dispatching-parallel-agents runs agents in parallel but they share the same working directory. grove-multi-agent gives each agent its own isolated workspace with warm build state — agents can build, modify files, and run tests without interfering with each other. Use this skill when agents need build isolation, not just logical separation.

Integration

  • Uses: grove create and grove destroy CLI commands
  • Requires: Grove initialized in the repo (grove:grove-config) and CLI available (grove:grove-doctor)
  • Complements: superpowers:dispatching-parallel-agents — same parallel dispatch pattern, but with isolated workspaces instead of a shared directory
  • Each subagent should follow: superpowers:test-driven-development
  • Cleanup follows: grove:finishing-grove-workspace for individual workspace resolution

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.62%
按下载量换算25

Claude

28.9%
按下载量换算21

Cursor

18.91%
按下载量换算14

Gemini CLI

8.59%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills