一键导入
doey-stop
Stop a worker by pane number. Use when you need to "stop a worker", "kill a pane", or "halt a task". Kills Claude process, updates status.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Stop a worker by pane number. Use when you need to "stop a worker", "kill a pane", or "halt a task". Kills Claude process, updates status.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | doey-stop |
| description | Stop a worker by pane number. Use when you need to "stop a worker", "kill a pane", or "halt a task". Kills Claude process, updates status. |
RD="$(tmux show-environment DOEY_RUNTIME 2>/dev/null | cut -d= -f2-)"; W="${DOEY_WINDOW_INDEX:-0}"; [ -f "$RD/team_${W}.env" ] && cat "$RD/team_${W}.env" 2>/dev/null|| truedoey status list --window "${DOEY_WINDOW_INDEX:-0}" 2>/dev/null || trueNo pane number → list workers and ask.
RD="$(tmux show-environment DOEY_RUNTIME 2>/dev/null | cut -d= -f2-)"
source "$RD/session.env"; W="${DOEY_WINDOW_INDEX:-0}"
[ -f "$RD/team_${W}.env" ] && source "$RD/team_${W}.env"
TARGET="$PANE_NUMBER"
[ "$TARGET" = "0" ] && { echo "ERROR: Cannot stop Subtaskmaster"; exit 1; }
VALID=false; for i in $(echo "$WORKER_PANES" | tr ',' ' '); do [ "$i" = "$TARGET" ] && VALID=true; done
[ "$VALID" = "false" ] && { echo "ERROR: Not a worker. Valid: ${WORKER_PANES}"; exit 1; }
PANE="${SESSION_NAME}:${W}.${TARGET}"
tmux copy-mode -q -t "$PANE" 2>/dev/null
PANE_PID=$(tmux display-message -t "$PANE" -p '#{pane_pid}')
CHILD=$(pgrep -P "$PANE_PID" 2>/dev/null)
if [ -z "$CHILD" ]; then echo "Already stopped"
else
kill "$CHILD" 2>/dev/null; sleep 3
CHILD=$(pgrep -P "$PANE_PID" 2>/dev/null)
[ -n "$CHILD" ] && { kill -9 "$CHILD" 2>/dev/null; sleep 1; }
[ -n "$(pgrep -P "$PANE_PID" 2>/dev/null)" ] && { echo "ERROR: Failed"; exit 1; }
fi
doey status set --pane "$PANE" --status FINISHED --task "manually stopped"
echo "Stopped ${W}.${TARGET}"
Shell stays alive for restart.
Plan-first task creation — research, breakdown, risk analysis, then create tasks from approved plan. Usage: /doey-planned-task <goal>
Request a respawn of the current worker pane. Use when you need to "respawn me", "restart myself", "fresh context", or "reset my pane". Writes an atomic respawn request that kills the current Claude process and relaunches with a fresh context.
Discover scaffolding patterns in this project — structural fingerprints, accretion files, and refactoring patterns from git history. Returns candidates worth turning into templates.
Spawn the doey-scaffy MCP server so workers can drive the Scaffy template engine via tool calls. Loaded automatically when a task needs scaffy_run / scaffy_validate / scaffy_list / scaffy_audit / scaffy_discover / scaffy_new / scaffy_fmt or any scaffy:// resource.
Create a new scaffy template from existing files (--from-files) or interactively. Outputs to .doey/scaffy/templates/<name>.scaffy.
Manage persistent project tasks — list, add, transition, show, subtasks, decisions, notes. Tasks stored in .doey/tasks/ (survives reboot). Use when you need to "show tasks", "add a task", "mark a task done", "what are we working on", or "create a task".