/herdr-reboot:restorefrom herdr-reboot
Rebuilds herdr workspaces, tabs, and pane splits from a resume-after-reboot snapshot and resumes the claude/codex agents running in them.
Ships in herdr-reboot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Rebuild the sessions from the snapshot written by /herdr-reboot:snapshot, each through its own herdr server: each workspace and tab with its label, panes split at the captured direction and ratio, then the resume command fired into each pane.
Resolve <plugin-root>: ${CLAUDE_PLUGIN_ROOT} in Claude Code; in Codex, the plugin root containing this loaded skills/restore/SKILL.md, even when installed outside the repository.
Preview the plan and show it to the user:
python3 "<plugin-root>/scripts/restore.py" .llm/resume-after-reboot-state.json
The preview prints workspaces, tabs, split right 0.6 lines, and the pane each slot lands in. Once the user confirms, fire it:
python3 "<plugin-root>/scripts/restore.py" .llm/resume-after-reboot-state.json --go
--skip 3,7 leaves slots out (a split left with one pane collapses, and a tab left with none is not created). Agent launches are spaced 0.4s apart (--delay).
Only schema resume-after-reboot/v3 is accepted. Any other snapshot is rejected rather than half-restored.
Tell the user before firing:
herdr session attach <name> command that starts it, the other sessions are restored, and the run exits non-zero. After a reboot only the session the user reopened is usually up. Have the user start the rest in a terminal, then re-run; never start one yourself. Re-running leaves the sessions already restored alone.command panes fire by default, since bringing back dev servers like just dev is most of the point. --no-commands leaves dev servers (restore_default: false) alone when one outlived the reboot and holds its port. Read-only viewers (git log, less FILE, htop, tig) fire either way, from the top, without scroll position, search, or selection.(adopt …) on a workspace line and (live …) on a tab line mean restore reuses what exists. Each captured tab pairs with the live tab of the same label and split structure; its idle panes are fired into in place, and a pane already running its agent prints LIVE. Only a captured tab with no live counterpart (renamed or re-laid-out since the snapshot) is created fresh.herdr pane run types into whatever the pane holds, so firing into a resumed agent would submit the command as a prompt. Panes not confirmed at a shell prompt with no live agent are skipped with a printed reason, so re-running is safe.herdr reported no session; their ids are best guesses from matching the working directory against rollout files. If one opens the wrong conversation, run codex resume in that pane and use the picker.claude-rc panes are Remote Control servers, fired like any agent pane. --continue errors if nothing was recorded for the directory in roughly the last 4 hours, which is expected after any reboot you did not come straight back from. The pane is left at a prompt; start a fresh server by hand if wanted.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub motlin/claude-code-plugins --plugin herdr-reboot3 skills in this plugin
/moveMove herdr workspaces or single tabs from one herdr session to another, resuming their claude/codex agents in the target session. Use when asked to move, send, or transfer a workspace or tab to another herdr session, e.g. "move beta to later"./snapshotSnapshot running herdr workspaces, tabs, pane splits, and their claude/codex agents immediately before a reboot so they can be rebuilt afterward. Use when asked to snapshot, save, or capture herdr sessions before rebooting.Other plugins' skills for the same job