/agent-teams:team-shutdown [team-name] [--force] [--keep-tasks]from agent-teams
Gracefully shuts down an active agent team by sending shutdown requests, collecting final results, and cleaning up team resources. Supports --force and --keep-tasks flags.
Ships in agent-teams. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Gracefully shut down an active agent team by sending shutdown requests to all teammates, collecting final results, and cleaning up team resources.
Parse $ARGUMENTS for team name and flags:
--force: skip waiting for graceful shutdown responses--keep-tasks: preserve task list after cleanupRead team config from ~/.claude/teams/{team-name}/config.json using the Read tool
Call TaskList to check for in-progress tasks
If there are in-progress tasks and --force is not set:
For each teammate in the team:
SendMessage with type: "shutdown_request" to request graceful shutdown
--force: don't wait for responsesDisplay shutdown summary:
Team "{team-name}" shutdown complete.
Members shut down: {N}/{total}
Tasks completed: {completed}/{total}
Tasks remaining: {remaining}
Unless --keep-tasks is set, call TeamDelete to remove team and task directories
If --keep-tasks is set, inform user: "Task list preserved at ~/.claude/tasks/{team-name}/"
7-day visitors to each command page
7 commands in this plugin
/team-debugTeam DebugDebug issues using competing hypotheses with parallel investigation by multiple agents/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-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
npx claudepluginhub codehornets/agents-claude-code --plugin agent-teamsOther plugins' commands for the same job