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.
How this command is triggered — by the user, by Claude, or both
Slash command
/agent-teams:team-shutdown [team-name] [--force] [--keep-tasks]The summary Claude sees in its command listing — used to decide when to auto-load this command
# Team Shutdown
Gracefully shut down an active agent team by sending shutdown requests to all teammates, collecting final results, and cleaning up team resources.
## Phase 1: Pre-Shutdown
1. Parse `$ARGUMENTS` for team name and flags:
- If no team name, check for active teams (same discovery as team-status)
- `--force`: skip waiting for graceful shutdown responses
- `--keep-tasks`: preserve task list after cleanup
2. Read team config from `~/.claude/teams/{team-name}/config.json` using the Read tool
3. Call `TaskList` to check for in-progress tasks
4. If there are in-progress ...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}/"
npx claudepluginhub tsiakoulias/wshobson-agents --plugin agent-teams41plugins reuse this command
First indexed Apr 14, 2026
Showing the 6 earliest of 41 plugins
/team-shutdownGracefully shuts down an active agent team by sending shutdown requests, collecting final results, and cleaning up team resources. Supports --force and --keep-tasks flags.
/handoffEnds a swarm session cleanly by releasing reservations, syncing state, and generating a continuation prompt for the next session.
/teamManages Claude Code Agent Teams — coordinated multi-agent work with shared tasks, messaging, and parallel execution. Also supports status, review, research, build, and clean subcommands.
/teammate-dismissDecouples a live teammate workstream by flushing pending entries, stopping its watch, and removing it from the project's stream configuration.
/team-statusShows a status table of parallel development agents in the current team session, including task progress, agent state, and overall completion percentage.