Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Parallel read-only multi-agent root-cause investigation for bugs and regressions. Use when: investigating bugs, finding root causes, tracing regressions, or diagnosing failures with multi-agent swarm.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-11 | ✗→✓ | ▲ Improved | 241% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 25% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 5% | 0% |
| case-18 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-20 | ✗→✓ | ▲ Improved | 17% | 0% |
Investigate a bug with four read-only sub-agents in parallel, then have the main agent rank the likely causes and recommend the fastest path to prove or fix the issue. This skill is diagnosis-first: do not edit files or implement fixes as part of this workflow.
Start by collecting the smallest useful investigation packet:
Prefer this source order:
If the bug report is underspecified, infer a minimal problem statement and say what is still unknown.
Before launching sub-agents, read the closest project instructions and relevant docs for the touched area, such as:
AGENTS.mdWrite a short investigation brief for the swarm:
Use read-only evidence gathering where useful:
rg, git diff, git log, git showDo not edit files, inject new instrumentation, or implement fixes as part of this skill.
Launch four sub-agents when the problem is large or ambiguous enough that parallel investigation helps. For a tiny and obvious issue, it is acceptable to investigate locally instead.
For every sub-agent:
apply_patch, stage changes, commit, or perform any other state-mutating actionUse these four investigation roles.
Clarify the exact failure shape and its boundaries.
Check for:
This sub-agent is read-only. It must not edit files, apply patches, or make any other workspace changes.
Recommended sub-agent role: reviewer
Trace the most likely execution path and identify the seam where behavior diverges.
Check for:
This sub-agent is read-only. It must not edit files, apply patches, or make any other workspace changes.
Recommended sub-agent role: explorer for broad tracing, or reviewer when a stronger local reasoning pass is more useful
Look for likely regressors in nearby history or changed contracts.
Check for:
This sub-agent is read-only. It must not edit files, apply patches, or make any other workspace changes.
Recommended sub-agent role: reviewer
Determine the fastest way to confirm or reject the leading hypotheses.
Check for:
This sub-agent is read-only. It must not edit files, apply patches, or make any other workspace changes.
Recommended sub-agent role: reviewer
Report only hypotheses that materially improve the odds of finding the real cause. It is better to return two evidence-backed theories than six vague guesses.
The main agent owns synthesis. Treat sub-agent output as raw investigation input, not final output.
Merge and rank the hypotheses:
Normalize the surviving hypotheses into this shape:
If the evidence is too weak for a real ranking, say so directly and present the leading open questions instead.
Present the result in this order:
When the fix is not yet clear, recommend the next proving step instead of pretending the diagnosis is complete.
When helpful, group actions into:
prove nowfix nextfollow up laterDo not implement fixes as part of this skill. The output is a read-only diagnosis with a prioritized path forward.
Other measured skills in the registry, with their headline benchmark lift.