Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dispatching-parallel-agents

БесплатноБез исполняемых скриптовНе проверен

Use when facing 3+ independent failures that can be investigated without shared state or dependencies - dispatches multiple agents to investigate and fix…

withzombiesот withzombies★ 81 звезда на GitHub

Об этом скилле

This skill was ported from Claude Code. In Codex: - "Skill tool" means read the skill's `SKILL.md` from disk. - "TodoWrite" means create and maintain a checklist section in your response. - "Task()" means `spawn_agent` (dispatch in parallel via `multi_tool_use.parallel` when needed). - Claude-specific hooks and slash commands are not available; skip those steps. When facing 3+ independent failures, dispatch one agent per problem domain to investigate concurrently; verify independence first, dispatch all in single message, wait for all agents, check conflicts, verify integration. MEDIUM FREEDOM - Follow the 6-step process (identify, create tasks, dispatch, monitor, review, verify) strictly. Independence verification mandatory. Parallel dispatch in single message required. Adapt agent prompt content to problem domain. | Step | Action | Critical Rule | |------|--------|---------------| | 1. Identify Domains | Test independence (fix A doesn't affect B) | 3+ independent domains required | | 2. Create Agent Tasks | Write focused prompts (scope, goal, constraints, output) | One prompt per domain | | 3. Dispatch Agents | Launch all agents in SINGLE message | Multiple spawn_agent calls in parallel | | 4. Monitor Progress | Track completions, don't integrate until ALL done | Wait for all agents | | 5. Review Results | Read summaries, check conflicts | Manual conflict resolution | | 6. Verify Integration | Run full test suite | Use verification-before-completion |

Why 3+? With only 2 failures, coordination overhead often exceeds sequential time.

Critical: Dispatch all agents in a single parallel tool call, or they run sequentially.

Use when: - 3+ test files failing with different root causes - Multiple subsystems broken independently - Each problem can be understood without context from others - No shared state between investigations - You've verified failures are truly independent - Each domain has clear boundaries (different files, modules, features)

Don't use when:

  • Failures are related (fix one might fix others)
  • Need to understand full system state first
  • Agents would interfere (editing same files)
  • Haven't verified independence yet (exploratory phase)
  • Failures share root cause (one bug, multiple symptoms)
  • Need to preserve investigation order (cascading failures)
  • Only 2 failures (overhead exceeds benefit)
## Step 1: Identify Independent Domains

Announce: "I'm using hyperpowers:dispatching-parallel-agents to investigate these independent failures concurrently."

Create checklist tracker:

- Identify independent domains (3+ domains identified)
- Create agent tasks (one prompt per domain drafted)
- Dispatch agents in parallel (all agents launched in single message)
- Monitor agent progress (track completions)
- Review results (summaries read, conflicts checked)
- Verify integration (full test suite green)

Test for independence:

  1. Ask: "If I fix failure A, does it affect failure B?"

    • If NO → Independent
    • If YES → Related, investigate together
  2. Check: "Do failures touch same code/files?"

    • If NO → Likely independent
    • If YES → Check if different functions/areas
  3. Verify: "Do failures share error patterns?"

    • If NO → Independent
    • If YES → Might be same root cause

Example independence check:

Failure 1: Authentication tests failing (auth.test.ts)
Failure 2: Database query tests failing (db.test.ts)
Failure 3: API endpoint tests failing (api.test.ts)

Check: Does fixing auth affect db queries? NO
Check: Does fixing db affect API? YES - API uses db

Result: 2 independent domains:
  Domain 1: Authentication (auth.test.ts)
  Domain 2: Database + API (db.test.ts + api.test.ts together)

Group failures by what's broken:

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

Step 2: Create Focused Agent Tasks

Each agent prompt must have:

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

Good agent prompt example:

Fix the 3 failing tests in src/agents/agent-tool-abort.test.ts:

1. "should abort tool with partial output capture" - expects 'interrupted at' in message
2. "should handle mixed completed and aborted tools" - fast tool aborted instead of completed
3. "should properly track pendingToolCount" - expects 3 results but gets 0

These are timing/race condition issues. Your task:

1. Read the test file and understand what each test verifies
2. Identify root cause - timing issues or actual bugs?
3. Fix by:
   - Replacing arbitrary timeouts with event-based waiting
   - Fixing bugs in abort implementation if found
   - Ad
Полный SKILL.md на GitHub

Установить dispatching-parallel-agents в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yaml

FAQ

Что делает скилл dispatching-parallel-agents?

Use when facing 3+ independent failures that can be investigated without shared state or dependencies - dispatches multiple agents to investigate and fix independent problems concurrently

Как установить скилл dispatching-parallel-agents?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dispatching-parallel-agents запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dispatching-parallel-agents с