con un clic
worktree-cleanup
Mark a worktree merged and clean it up (kind-aware) via LocalApiServer
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Mark a worktree merged and clean it up (kind-aware) via LocalApiServer
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
When planning, flag uncertain assumptions and supply a ready-to-run web-research prompt to confirm them.
Local Switchboard management console — drive the board when the VS Code extension is running
Implement with high accuracy and self-review (invest effort up front to minimize rework)
Reconcile and restructure a feature's subtasks — improve each, then merge/delete/rewrite/split to make the set coherent
Deep planning, dependency checks, and adversarial review
Cloud-VM planning mode — plan first, do not auto-code in a remote VM
Basado en la clasificación ocupacional SOC
| name | worktree-cleanup |
| description | Mark a worktree merged and clean it up (kind-aware) via LocalApiServer |
| allowed-tools | Bash |
| disable-model-invocation | true |
VS Code setting switchboard.apiToken must be configured with your API token.
CUR="$PWD"
while [ "$CUR" != "/" ] && [ ! -d "$CUR/.agents/skills" ]; do CUR=$(dirname "$CUR"); done
source "$CUR/.agents/skills/_lib/sb_api_call.sh"
sb_api_call POST /worktree/cleanup \
-H "Content-Type: application/json" \
-d '{ "worktreeId": "<id-or-branch>", "workspaceRoot": "/abs/path/to/workspace" }'
{
"success": true
}