dwchoo/workbench/workbench-recovery
Claude Code and agent skill by dwchoo/workbench
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Recover a Workbench Task after a notice (worker_stalled, worker_restarted, report_delivery_unknown, manager_recovery, backend_restarted) - read workbench_status, then follow up, cancel, restart_worker, stop_command or stop_survivor. Agent-only; not for the user.
Install
npx vskill@latest install dwchoo/workbench/workbench-recoverySKILL.md
The same SKILL.md was published earlier as dwchoo/workbench/workbench-recovery.
workbench-recovery (manager)
Workbench watches the worker; never poll it yourself. It tells you with a Workbench notice: a user message whose JSON has workbench_notice (no workbench_message_id; not a worker report).
Notices
worker_stalled: after 2 automatic status checks the open Task got no report and no command.worker_restarted: the worker OMP is a new session (user restart,restart_worker, or a crash) with no memory of the open Task. It is the one cue to continue: one follow-up on the sametask_id(Workbench re-sends the Task), or cancel.report_delivery_unknown: a worker report may not have reached you; it is not re-sent (its text is inworkbench_status).worker_terminal_done(information): a command the previous worker session started has ended (command_id, exit,log_path); it is incommands_run; never run it again yourself.backend_restarted: the Task is held, nothing was re-sent or re-run.survivorsare processes the old backend left running; per survivor:stop_survivor(survivor_id,reason) or leave it.manager_recovery: your own OMP session is new. Missed reports come as messages (reports_resentcounts them; wait for them before you cancel the Task); reports with an unknown delivery are only listed.
Procedure
- Call
workbench_status(no arguments, or the notice'stask_id). It is read-only and answers at once: the Task (commands,commands_runwith exit code andlog_path), the worker (idle/busy, restarts), the host terminal (running command or idle) and reports to you that are pending, deferred, of unknown delivery ornot_sent(never sent: ask the worker again if needed), with their text. - Decide, once:
- The work is done or the facts are enough (for example
commands_runshows every command finished): answer the user from the report text; cancel the Task if still open (to_workerwithtask_id,cancel: true). - The worker is idle but has not finished, or it is a new session: send a follow-up
to_workeron the sametask_idthat says what to do next (a new session gets the full Task and commands already run). - The worker is stuck or silent (busy long with no terminal command running, or your follow-up got no answer): call
restart_workerwith a shortreasonand end your turn; on theworker_restartednotice send exactly one follow-up on the sametask_id(or cancel). - The Task no longer matters: cancel it.
- A command or experiment run runs on and should not:
stop_commandwith itscommand_id(an experiment'srun_id) and areason. Take the id fromworkbench_statustask.host_commandsor a cancel response'shost_commands; results are in the to-worker skill's task-results reference.unknown/stale: not confirmed; tell the user, never claim it stopped.stopping: checkworkbench_statuslater; do not loop.refusedwithprevious_backend_command: usestop_survivor. A stopped command or run is not a failure to retry.
- Tell the user briefly what happened and what you did, then end your turn and wait for the report.
Rules
- Never run the worker's commands yourself or operate the host terminal; a worker command keeps running through a restart.
- Cancel is not stop, nor is
restart_worker: after a cancel,host_commandsmay still list a running command;stop_commandit only if it should not finish. restart_workeris refused while another restart runs (restart_in_progress); do not loop.- Do not re-send a report's content to the worker or invent results the status does not show.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingomp_bridge/skills/workbench-recovery/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dwchoo/workbench/workbench-recovery)