dispatching-parallel-agents
Use when facing 2+ independent experiments or tasks that can be worked on without shared state or sequential dependencies
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when facing 2+ independent experiments or tasks that can be worked on without shared state or sequential dependencies
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Use when designing the evaluation protocol for a method development project — locks primary metrics, datasets, seeds, statistical tests, and baseline list into an immutable contract
Use when G2 (plan freeze) and G3 (execution readiness) gates have passed — handles all implementation, baseline reproduction, experimentation, and iteration for both Type M and Type D projects; this is Phase 4
Use when research direction is validated (G1 passed) and the project needs method design, analysis framework, evaluation protocol, or story line — this is Phase 3 and must complete before any code or experiments
Reusable protocol for multi-agent discussions that iterate until convergence. Used by results-integration (Phase 5) and paper-writing (Phase 6) to ensure discussions actually resolve issues rather than just noting them.
Use when and ONLY when the user explicitly requests paper writing and G4 (write-ready) gate has passed — handles LaTeX structure, senior-level writing, reference verification, and iterative refinement
Use when Phase 1 (research-direction-exploration) is complete and G1 gate has passed — subjects the research problem to adversarial defense-style questioning, classifies project intent, re-evaluates venue target, and produces a final feasibility ruling before any method design begins
SOC 職業分類に基づく
| name | dispatching-parallel-agents |
| description | Use when facing 2+ independent experiments or tasks that can be worked on without shared state or sequential dependencies |
When you have multiple independent experiments (different datasets, different methods, different baselines), running them sequentially wastes time. Each experiment is independent and can happen in parallel.
Core principle: Dispatch one agent per independent problem domain. Let them work concurrently.
Use this skill alongside:
amplify:experiment-execution for Phase 4 orchestrationamplify:results-verification-protocol before claiming completionamplify:results-integration when consolidating outputsdigraph when_to_use {
"Multiple experiments?" [shape=diamond];
"Are they independent?" [shape=diamond];
"Single agent runs all" [shape=box];
"One agent per experiment" [shape=box];
"Can they work in parallel?" [shape=diamond];
"Sequential agents" [shape=box];
"Parallel dispatch" [shape=box];
"Multiple experiments?" -> "Are they independent?" [label="yes"];
"Are they independent?" -> "Single agent runs all" [label="no - related"];
"Are they independent?" -> "Can they work in parallel?" [label="yes"];
"Can they work in parallel?" -> "Parallel dispatch" [label="yes"];
"Can they work in parallel?" -> "Sequential agents" [label="no - shared state"];
}
Use when:
Don't use when:
Group experiments by what they investigate:
Each domain is independent - running the baseline doesn't affect the ablation study.
Each agent gets:
Use the Task tool to launch subagents. The Task tool is the standard mechanism for spawning independent subagents in Cursor and similar AI development environments.
How to invoke: Call multiple Task tools in a single response. Each Task runs as an independent subagent with its own context.
Call Task tool with:
description: "Run baseline on dataset X"
prompt: |
[Full self-contained prompt — see Agent Prompt Structure below]
subagent_type: "generalPurpose"
Call Task tool with:
description: "Run proposed method on dataset Y"
prompt: |
[Full self-contained prompt]
subagent_type: "generalPurpose"
Call Task tool with:
description: "Run ablation on component Z"
prompt: |
[Full self-contained prompt]
subagent_type: "generalPurpose"
Critical: All three Task calls go in the SAME message, so they execute concurrently. If you put them in separate messages, they run sequentially.
When agents return:
Good agent prompts are:
Call Task tool with:
description: "Run baseline on sentiment dataset"
prompt: |
Run the baseline experiment on the sentiment analysis dataset.
Project root: [workspace path]
Steps:
1. Load the pre-trained model from checkpoints/baseline-v2
2. Evaluate on test split of sentiment-benchmark
3. Collect metrics: accuracy, F1, precision, recall
Configuration:
- Batch size: 32
- Use GPU if available
- Log results to experiments/baseline-sentiment/
Do NOT modify the model code or training pipeline.
Return: Summary of metrics, any anomalies observed, and path to saved results.
subagent_type: "generalPurpose"
Bad: Too broad: "Run all the experiments" - agent gets lost Good: Specific: "Run baseline on sentiment dataset" - focused scope
Bad: No context: "Evaluate the model" - agent doesn't know which model or data Good: Context: Specify model path, dataset, metrics, and configuration
Bad: No constraints: Agent might refactor everything Good: Constraints: "Do NOT change model code" or "Evaluation only"
Bad: Vague output: "Run it" - you don't know what was measured Good: Specific: "Return summary of metrics and path to artifacts"
Related experiments: Result of one informs the next - run sequentially Need full context: Understanding requires seeing entire research pipeline Exploratory analysis: You don't know what to investigate yet Shared state: Agents would interfere (writing same output files, using same GPU)
Scenario: 3 independent experiments needed after method development
Experiments:
Decision: Independent domains - each dataset/method combination is separate
Dispatch (all three Task calls in one message):
Task(description="Baseline on Dataset A", prompt="...", subagent_type="generalPurpose")
Task(description="Proposed method on Dataset B", prompt="...", subagent_type="generalPurpose")
Task(description="Ablation study", prompt="...", subagent_type="generalPurpose")
Results:
Integration: All results independent, no conflicts, comprehensive comparison table built
Time saved: 3 experiments completed in parallel vs sequentially
After agents return:
Before declaring success, invoke:
amplify:results-verification-protocolamplify:claim-evidence-alignment (if claims are being prepared for reporting/writing)From research session: