Token导航 LogoToken导航TokenDH.com
AI 工具只读github未标认证来源可访问clear审计通过

dispatching-parallel-agents调度并行 Agent

Agent Skill

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

总安装

10,527

周安装

353

GitHub Stars

40

下载量

3,808
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:dispatching-parallel-agents(调度并行 Agent)
来源仓库:https://github.com/bobmatnyc/claude-mpm-skills
仓库路径:skills/dispatching-parallel-agents
安装命令:
npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill 'Dispatching Parallel Agents'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill 'Dispatching Parallel Agents'

简介

dispatching-parallel-agents 用于同时处理多个独立故障排查任务。

  • 每个问题域分配一个子代理,实现并发调查以提升效率。
  • 适用于不同测试文件失败、子系统独立故障等情况。
  • 需确保各问题间无共享状态,避免上下文干扰。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Dispatching Parallel Agents

Overview

When multiple unrelated failures occur (different test files, different subsystems, different bugs), investigating them sequentially wastes time. Each investigation is independent and can happen in parallel.

Core principle: Dispatch one agent per independent problem domain. Let them work concurrently.

When to Use This Skill

Activate this skill when facing:

  • 3+ test files failing with different root causes
  • Multiple subsystems broken independently
  • Each problem is self-contained - can be understood without context from others
  • No shared state between investigations
  • Clear domain boundaries - fixing one won't affect others

Don't use when:

  • Failures are related (fix one might fix others)
  • Need to understand full system state first
  • Agents would interfere with each other (editing same files)
  • Exploratory debugging (don't know what's broken yet)

The Iron Law

One agent, one problem domain, one clear outcome.
Never overlap scopes. Never share state. Always integrate consciously.

Core Principles

Independence is Key

Problems must be truly independent - no shared files, no related root causes, no dependencies between fixes.

Focus Over Breadth

Each agent gets narrow scope: one test file, one subsystem, one clear goal. Broad tasks lead to confusion.

Clear Output Required

Every agent must return a summary: what was found, what was fixed, what changed. No silent fixes.

Conscious Integration

Don't blindly merge agent work. Review summaries, check conflicts, run full suite, verify compatibility.

Quick Start

1. Identify Independent Domains

Group failures by what's broken:

File A tests: Tool approval flow
File B tests: Batch completion behavior
File C tests: Abort functionality

Each domain is independent - fixing tool approval doesn't affect abort tests.

2. Create Focused Agent Tasks

Each agent gets:

  • Specific scope: One test file or subsystem
  • Clear goal: Make these tests pass
  • Constraints: Don't change other code
  • Expected output: Summary of what you found and fixed

agent-prompts.md for prompt templates and examples

3. Dispatch in Parallel

// In Claude Code / AI environment
Task("Fix agent-tool-abort.test.ts failures")
Task("Fix batch-completion-behavior.test.ts failures")
Task("Fix tool-approval-race-conditions.test.ts failures")
// All three run concurrently

coordination-patterns.md for dispatch strategies

4. Review and Integrate

When agents return:

  • Read each summary - understand what changed
  • Verify fixes don't conflict - check for same file edits
  • Run full test suite - ensure compatibility
  • Spot check changes - agents can make systematic errors

troubleshooting.md for conflict resolution

Decision Tree

Multiple failures?
  └→ Are they independent?
      ├→ NO (related) → Single agent investigates all
      └→ YES → Can they work in parallel?
          ├→ NO (shared state) → Sequential agents
          └→ YES → Parallel dispatch ✓

Key Benefits

  1. Parallelization - Multiple investigations happen simultaneously
  2. Focus - Each agent has narrow scope, less context to track
  3. Independence - Agents don't interfere with each other
  4. Speed - N problems solved in time of 1

Navigation

Pattern Reference

Agent Management

  • Agent Prompts - Prompt structure, templates, common mistakes, constraints

Learning Resources

  • Examples - Real-world scenarios, case studies, time savings analysis

Problem Solving

  • Troubleshooting - Conflict resolution, verification strategies, common pitfalls

Related Skills

When dispatching parallel agents, consider these complementary skills (available in the skill library):

  • pm-workflow: PM coordination and task management - manage multiple agent workstreams effectively
  • test-driven-development: TDD patterns that benefit from parallel fixing - understand test failures before parallelizing
  • verification-before-completion: Integration verification - ensure parallel agent work integrates correctly

Key Reminders

  1. Independence is mandatory - Related failures need single-agent investigation
  2. Focus beats breadth - Narrow scope per agent prevents confusion
  3. Always verify integration - Don't blindly merge agent work
  4. Clear outputs required - Every agent returns summary of changes
  5. Parallelization has overhead - Only worth it for 3+ independent problems

Red Flags - STOP

STOP immediately if:

  • Agents are editing the same files (scope overlap)
  • Fixes from one agent break another's work (hidden dependencies)
  • Problem domains cannot be clearly separated (not independent)
  • Agents return no summary (can't verify changes)
  • Integration requires major refactoring (conflicts)

When in doubt: Start with one agent, understand the landscape, then dispatch if truly independent.

Integration with Other Skills

Prerequisite: Basic understanding of problem domains and test structure Complementary: PM-Workflow skill for coordinating multiple agents (see skill library) Domain-specific: Testing skills for understanding test failures (available in skill library)

Real-World Impact

From debugging session (2025-10-03):

  • 6 failures across 3 test files
  • 3 agents dispatched in parallel
  • All investigations completed concurrently
  • Zero conflicts between agent changes
  • Time saved: 3 problems solved in parallel vs sequentially

examples.md for detailed case study

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

29.8%
按下载量换算1,135

Gemini CLI

23.32%
按下载量换算888

windsurf

18.23%
按下载量换算694

Antigravity

12.08%
按下载量换算460

Codex

8.26%
按下载量换算315

OpenCode

3.41%
按下载量换算130

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源字段存在多来源差异,先按来源优先级自动处理,无法消解时进入异常复核队列。

来源信息

继续浏览同类 Skills