Agent Skillsjazzenchen/VibeAround › agent-collaboration

agent-collaboration

GitHub

用于初始化并等待 VibeAround 多智能体并行协作。当用户消息以 subagent= 开头时触发,通过 MCP 工具启动子代理,分配独立任务,等待报告后汇总结果,支持自动 Git 环境处理。

src/skills/codex/agent-collaboration/SKILL.md jazzenchen/VibeAround

Trigger Scenarios

用户消息以 'subagent=' 开头 用户指定 'subagent=parallel' 模式

Install

npx skills add jazzenchen/VibeAround --skill agent-collaboration -g -y
More Options

Non-standard path

npx skills add https://github.com/jazzenchen/VibeAround/tree/main/src/skills/codex/agent-collaboration -g -y

Use without installing

npx skills use jazzenchen/VibeAround@agent-collaboration

指定 Agent (Claude Code)

npx skills add jazzenchen/VibeAround --skill agent-collaboration -a claude-code -g -y

安装 repo 全部 skill

npx skills add jazzenchen/VibeAround --all -g -y

预览 repo 内 skill

npx skills add jazzenchen/VibeAround --list

SKILL.md

Frontmatter
{
    "name": "agent-collaboration",
    "description": "Codex only: initialize and wait for VibeAround Codex subagents in a multi-agent coding turn. Use when the user's message starts with \"subagent=\", especially \"subagent=parallel\"."
}

VibeAround Agent Collaboration

Initialize a VibeAround multi-agent turn from the current host agent, then wait for subagent reports before finalizing.

When to Use

  • The user message starts with subagent=
  • The first supported mode is subagent=parallel

Protocol

All host-to-subagent and subagent-to-host control messages must use va-agent-protocol.

VibeAround intercepts protocol envelopes in the thread. The raw envelope is hidden from the web UI and forwarded internally to the target agent. The protocol envelope must be the final content in the assistant message; do not write prose after it.

Use this envelope for structured messages:

<va-agent-protocol>
{
  "protocol": "va-agent-protocol",
  "kind": "assignment",
  "turn_id": "<multi_agent_turn_id>",
  "to_agent_id": "<subagent_guid>",
  "task": "<clear task for this subagent>",
  "context": "<only the relevant context>"
}
</va-agent-protocol>

Subagents must report back with:

<va-agent-protocol>
{
  "protocol": "va-agent-protocol",
  "kind": "report",
  "turn_id": "<multi_agent_turn_id>",
  "from_agent_id": "<subagent_guid>",
  "status": "completed",
  "summary": "<what changed or what was found>",
  "files_changed": [],
  "tests": [],
  "notes": []
}
</va-agent-protocol>

Initialize Parallel Subagents

Call the VibeAround MCP tool:

Tool: initialize_subagents
Server: vibearound
Arguments:
  thread_id: "<value of $VIBEAROUND_THREAD_ID>"
  cwd: "<current working directory>"
  mode: "parallel"
  agents:
    - name: "<host-chosen display name, e.g. John Planner>"
      agent_kind: "codex"
      task: "<parallel task>"
    - name: "<host-chosen display name, e.g. Maya Reviewer>"
      agent_kind: "codex"
      task: "<parallel task>"

Then wait for the turn to finish:

Tool: wait_for_subagents
Server: vibearound
Arguments:
  thread_id: "<value of $VIBEAROUND_THREAD_ID>"
  turn_id: "<turn id returned by initialize_subagents>"

Rules:

  • Choose concise human names for subagents. Names are display aliases; the MCP tool returns GUID agent IDs.
  • For parallel, default to exactly 2 subagents.
  • Use codex for subagents by default.
  • Only create more than 2 subagents or use another agent_kind when the user explicitly asks.
  • For parallel, split the user's request into independent tasks that can run in separate git worktrees.
  • VibeAround handles missing Git repositories by running git init and creating an empty initial commit when needed. If Git itself is missing, VibeAround attempts a platform install before reporting an error.
  • Do not merge or clean up worktrees automatically. The host agent decides after reviewing results.
  • If VibeAround reports a dirty workspace or worktree creation error, tell the user and stop the multi-agent turn.
  • VibeAround injects subagent role/system guidance at session startup. Keep assignments focused on the task and relevant context.

After initialize_subagents returns, do not produce a final answer yet. Call wait_for_subagents, review the returned reports and any visible subagent messages, then synthesize the host answer.

Continue Delegating

After initialize_subagents returns, the host can continue delegating to an existing subagent by emitting an assignment envelope in the host response. VibeAround intercepts the envelope and sends it to the target subagent:

<va-agent-protocol>
{
  "protocol": "va-agent-protocol",
  "kind": "assignment",
  "turn_id": "<multi_agent_turn_id>",
  "to_agent_id": "<subagent_guid>",
  "task": "<follow-up task>",
  "context": "<only what changed since the previous assignment>"
}
</va-agent-protocol>

Rules:

  • Use exactly the turn_id and to_agent_id returned by initialize_subagents.
  • Include a non-empty task.
  • Put the envelope at the end of the assistant message. Do not write anything after the closing </va-agent-protocol> tag.
  • Do not use MCP for follow-up delegation. The protocol envelope is the control path.

Version History

  • e54feb7 Current 2026-07-05 20:13

Same Skill Collection

src/skills/claude/agent-collaboration/SKILL.md
src/skills/claude/va-md-preview/SKILL.md
src/skills/claude/va-preview/SKILL.md
src/skills/claude/va-session/SKILL.md
src/skills/claude/vibearound/SKILL.md
src/skills/codex/va-md-preview/SKILL.md
src/skills/codex/va-preview/SKILL.md
src/skills/codex/va-session/SKILL.md
src/skills/codex/vibearound/SKILL.md
src/skills/cursor/va-md-preview/SKILL.md
src/skills/cursor/va-preview/SKILL.md
src/skills/cursor/va-session/SKILL.md
src/skills/cursor/vibearound/SKILL.md
src/skills/gemini/va-md-preview/SKILL.md
src/skills/gemini/va-preview/SKILL.md
src/skills/gemini/va-session/SKILL.md
src/skills/gemini/vibearound/SKILL.md
src/skills/kiro/va-md-preview/SKILL.md
src/skills/kiro/va-preview/SKILL.md
src/skills/kiro/va-session/SKILL.md
src/skills/kiro/vibearound/SKILL.md
src/skills/qwen-code/va-md-preview/SKILL.md
src/skills/qwen-code/va-preview/SKILL.md
src/skills/qwen-code/va-session/SKILL.md
src/skills/qwen-code/vibearound/SKILL.md
src/skills/va-md-preview/SKILL.md
src/skills/va-preview/SKILL.md
src/skills/va-session/SKILL.md
src/skills/vibearound/SKILL.md

Metadata

Files
0
Version
e54feb7
Hash
762f8933
Indexed
2026-07-05 20:13

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-09 01:08
浙ICP备14020137号-1 $Гость$