restore
БесплатноБез исполняемых скриптовНе проверенRebuild herdr workspaces, tabs, and pane splits from a resume-after-reboot snapshot and resume the claude/codex agents that were running in them. Use after a…
от motlin★ 20 звёзд на GitHubОб этом скилле
Restore Herdr Workspaces
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:
- A captured session whose server is not running is skipped with the
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. commandpanes fire by default, since bringing back dev servers likejust devis most of the point.--no-commandsleaves 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.- herdr may already have brought the session back, agents included, leaving only command panes at a prompt. In the preview,
(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 printsLIVE. Only a captured tab with no live counterpart (renamed or re-laid-out since the snapshot) is created fresh. - Nothing is typed into a pane that is not an idle shell.
herdr pane runtypes 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. - A live workspace with the same label and working directory is adopted, not duplicated.
- Focus comes back last: each workspace's active tab, then the focused workspace. In-tab focus is restored by creating the focused pane focused.
- Verify codex panes whose note says
herdr reported no session; their ids are best guesses from matching the working directory against rollout files. If one opens the wrong conversation, runcodex resumein that pane and use the picker. claude-rcpanes are Remote Control servers, fired like any agent pane.--continueerrors 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.
Установить restore в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл restore?
Rebuild herdr workspaces, tabs, and pane splits from a resume-after-reboot snapshot and resume the claude/codex agents that were running in them. Use after a reboot when asked to restore, rebuild, or bring back herdr sessions.
Как установить скилл restore?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл restore запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic