一键导入
cleanup
Stop all debate agents, delete stale teams and tasks
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Stop all debate agents, delete stale teams and tasks
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | cleanup |
| description | Stop all debate agents, delete stale teams and tasks |
You are running the agent-debate cleanup skill — it tears down any running or stale debate infrastructure.
Perform all of the following:
Call TaskList to get all tasks. For every task that exists, call TaskUpdate with status: "deleted" to remove it.
If there are no tasks, skip this step.
Look for team config files:
ls ~/.claude/teams/*/config.json 2>/dev/null
For each team whose description contains "debate" (case-insensitive):
shutdown_request to any active teammatesrm -rf ~/.claude/teams/<team-name> ~/.claude/tasks/<team-name>
Do NOT delete teams that are not debate-related (e.g., skip teams for other projects).
If $ARGUMENTS contains "all" or "full", also remove the debate output:
rm -rf debate-output/
Otherwise, leave debate-output/ intact so the user can still review results.
Tell the user what was cleaned up: