Skip to main content
Run any Skill in Manus
with one click

recover-killed-session-from-transcript-and-worktree

Stars2
Forks0
UpdatedJuly 8, 2026 at 11:09

Use to recover the work, plan, and failure-cause of a PRIOR Claude Code session that died / crashed / was killed mid-task (e.g. a hung tool call, an API 529 storm, the user force-quit), so the current session can continue it without redoing work or repeating the fatal mistake. Trigger when: (1) the user says something like "we had a session yesterday on worktree X that got killed — the transcript might help", "resume the crashed session", "continue what the last run was doing"; (2) you find an isolated git worktree with uncommitted WIP + a leftover plan file (tasks/session_N_todo.md) but no corresponding merged PRs; (3) a feature branch has uncommitted changes and you need to know the intent behind them. Covers: locating the dead session's worktree + leftover artifacts, finding and identifying its transcript JSONL, and mining it for the plan, the cause of death (to avoid repeating it), and any USER DECISIONS made in that session (so you don't re-ask). Also covers the trap that the dead session's "verified" /

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly