Skills

Stuck Crewmate Recovery

Load when the session-start digest reports an ordinary direct report's endpoint dead or...

Install

npx skills add kunchenguid/firstmate --skill stuck-crewmate-recovery -g -a claude-code -y
Repository
kunchenguid/firstmate8.5k
Category
AI and agents
Updated
3d ago
License
MIT
Context cost
Mediumabout 2,540 tokens
Runs scripts
No, instructions only

What it does

Load when the session-start digest reports an ordinary direct report's endpoint dead or its metadata has no window, after a stale wake, looping pane, repeated confusion, an answered-by-brief question, an unresponsive crewmate, or a failed steer, after observing a defeated Claude or Codex bypass, and when a live crewmate reports its no-mistakes pipeline dead, unreachable, or timed out.

stuck-crewmate-recovery

Use this playbook when the session-start digest reports an ordinary direct report's endpoint dead or its metadata has no window, or when a direct report is stale, looping, repeatedly confused, asking a question its brief already answers, unresponsive, or when a steer failed to land. A stale or dead-endpoint report for a worker whose pull request has already landed is not a recovery case: the work is finished, so close the task through ordinary teardown (AGENTS.md section 7 for firstmate, the landed-work rule in bin/fm-branch-prompt.sh for the supervision branch) instead of this playbook, never with --force.

Follow the crew-hosted Lavish board contract in docs/configuration.md when recovering a worker that hosts a board.

Interrupt, stop, and relaunch a worker through bin/fm-control.sh <task-id> interrupt|exit|relaunch, which resolves the recorded runtime itself, verifies each action, and never tears down or discards anything (docs/agent-control.md). That plane covers workers running in this home; a remotely placed secondmate is refused by name and reconciled through secondmate-provisioning instead. Load harness-adapters before a resume command or a harness-specific skill invocation, and whenever the adapter's own quirks matter. The target window's harness is recorded as harness= in state/<id>.meta.

Managed approval failover

Read the whole SKILL.md on GitHub

More in AI and agents