From agent-teams
Debugs complex issues via competing hypotheses and parallel agent investigators. Generates hypotheses from error/file, spawns investigators by scope (files/module/project), collects evidence, and ranks root causes by confidence.
How this command is triggered — by the user, by Claude, or both
Slash command
/agent-teams:team-debug <error-description-or-file> [--hypotheses N] [--scope files|module|project]The summary Claude sees in its command listing — used to decide when to auto-load this command
# Team Debug Debug complex issues using the Analysis of Competing Hypotheses (ACH) methodology. Multiple debugger agents investigate different hypotheses in parallel, gathering evidence to confirm or falsify each one. ## Pre-flight Checks 1. Verify `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` is set 2. Parse `$ARGUMENTS`: - `<error-description-or-file>`: description of the bug, error message, or path to a file exhibiting the issue - `--hypotheses N`: number of hypotheses to generate (default: 3) - `--scope`: investigation scope — `files` (specific files), `module` (module/package), ...
Debug complex issues using the Analysis of Competing Hypotheses (ACH) methodology. Multiple debugger agents investigate different hypotheses in parallel, gathering evidence to confirm or falsify each one.
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is set$ARGUMENTS:
<error-description-or-file>: description of the bug, error message, or path to a file exhibiting the issue--hypotheses N: number of hypotheses to generate (default: 3)--scope: investigation scope — files (specific files), module (module/package), project (entire project)Generate N hypotheses about the root cause, covering different failure mode categories:
Present hypotheses to user: "Generated {N} hypotheses. Spawning investigators..."
Teammate tool with operation: "spawnTeam", team name: debug-{timestamp}Task tool to spawn a teammate:
name: investigator-{n} (e.g., "investigator-1")subagent_type: "agent-teams:team-debugger"prompt: Include the hypothesis, investigation scope, and relevant contextTaskCreate for each investigator's task:
Compare findings across all investigators:
Rank confirmed hypotheses by:
Present root cause analysis:
## Debug Report: {error description}
### Root Cause (Most Likely)
**Hypothesis**: {description}
**Confidence**: {High/Medium/Low}
**Evidence**: {summary with file:line citations}
**Causal Chain**: {step-by-step from cause to symptom}
### Recommended Fix
{specific fix with code changes}
### Other Hypotheses
- {hypothesis 2}: {status} — {brief evidence summary}
- {hypothesis 3}: {status} — {brief evidence summary}
shutdown_request to all investigatorsTeammate cleanup to remove team resourcesnpx claudepluginhub p/helios516-agent-teams-plugins-agent-teams9plugins reuse this command
First indexed Feb 6, 2026
Showing the 6 earliest of 9 plugins
/team-debugDebugs complex issues by generating competing hypotheses across multiple failure categories, spawning parallel investigator agents, and arbitrating evidence to identify root cause.
/debugInvestigates bugs by spawning parallel agents with competing hypotheses, then aggregates evidence to identify root cause.
/debugDiagnoses root cause of bugs, errors, or test failures using adaptive multi-perspective investigation with parallel subagents.
/diagnoseFans out 3-5 parallel investigation agents to debug a problem from multiple angles — code search, git history, config audit, and known issues — then synthesizes findings into ranked probable causes with evidence.
/debugRuns structured debugging with parallel agents: traces bugs via phases, diagnoses root causes with evidence, proposes minimal fixes, executes after approval. Tracks in tasks/todo.md.
/debugCoordinates a multi-agent debugging process: breaks down tasks, generates hypotheses, delegates to specialist agents, synthesizes findings, and validates with user before applying fixes.