Skip to content

Agent restore

Mod by cifilaci

Types each recovered agent's resume command back into its shell after Herdr restores terminals.

Sessions & history0 starsupdated 19 days ago
Screenshot of Agent restore

What it does

After a restart, Herdr brings terminals back as plain shells. This mod watches them and, when a terminal had an agent session recorded, types that agent's resume command into the shell so Claude Code or Codex returns to its conversation in the same pane. A popup at the top of the window shows whether the restore is on, whether the hook is installed for Claude Code and Codex, and whether the layout carries the restore block.

It needs the herdr-core program, the agents installed, and a personal layout clone that holds the mod's zero-height block. Installing it writes a skill for Claude Code and hook entries for Codex.

Herdr's kept terminals come back after a restart as plain shells — the agent that was in them is gone, because the core never runs a kept terminal's program again. This mod puts the agent back: it watches the terminals Herdr recovered, finds the ones whose agent reported its session, and types that agent's resume command into the shell, so Claude Code and Codex come back with the conversation they had, in the same pane. Its own panel is a popup at the top of the window that says what it would…

From the author's RECIPE.md

Good for

Needs

herdr-core on the PATHClaude Code and Codex installed

More from cifilaci/herdr-mods

1 other entry in the same repository.

Claude sessions

by cifilaci

Opens a popup that searches Claude Code sessions and reopens the chosen one in its space.

Sessions & historyKeyboard shortcuts019 days ago

Similar mods

Same job, overlapping tags and integrations.

All of Sessions & history

skillshare

by runkids

Shows which skills, agents, MCP servers and plugins need a sync or update, in a panel beside the work area.

Sessions & history3.6ktoday

Agent Revive

by harshcurious

Types the resume command back into shells after a reboot so each agent returns to its old conversation.

Sessions & history019 days ago

herdr-chat

by ChmaraX

Replaces Pi, Claude Code and Codex terminal UIs with a native chat view in a Herdr tab.

Sessions & history424 days ago

Atuin Threads

by atuinsh

Lists Atuin-captured agent sessions and resumes one in a new tab in its folder.

Sessions & historyKeyboard shortcuts381 mo ago

Revive

by dmazlum

Restarts Claude Code, Codex, pi and other agents in their pane after a reboot, with the same session.

Sessions & historyKeyboard shortcuts28yesterday

herdr-wake

by Heretikio

Restarts herdr-core at boot and resumes coding-agent sessions in their folders after a reboot.

Sessions & history20yesterday

OmniSearch

by dmnkf

Searches terminal output and agent sessions across machines in a popup.

Sessions & historyKeyboard shortcuts18yesterday

Sessions

by inlet

Lists closed coding-agent sessions in a side panel to browse and resume.

Sessions & history185 days ago