/agent-teams:team-debug <error-description-or-file> [--hypotheses N] [--scope files|module|project]from agent-teams
Debugs complex issues by generating competing hypotheses across multiple failure categories, spawning parallel investigator agents, and arbitrating evidence to identify root cause.
Ships in agent-teams. Installing the plugin adds it to Claude Code.
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..."
TeamCreate tool to create the team with team_name: "debug-{timestamp}" and descriptionAgent 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 investigatorsTeamDelete to remove team resourcesWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub yo-steven/agents-exploration-20260523 --plugin agent-teams7 commands in this plugin
/team-delegateTeam DelegateTask delegation dashboard for managing team workload, assignments, and rebalancing/team-featureTeam FeatureDevelop features in parallel with multiple agents using file ownership boundaries and dependency management/team-reviewTeam ReviewLaunch a multi-reviewer parallel code review with specialized review dimensions/team-shutdownTeam ShutdownGracefully shut down an agent team, collect final results, and clean up resources/team-spawnTeam SpawnSpawn an agent team using presets (review, debug, feature, fullstack, research, security, migration) or custom composition/team-statusTeam StatusDisplay team members, task status, and progress for an active agent team12 plugins ship this exact command · first indexed Apr 14, 2026
Other plugins' commands for the same job