thuanlm215

Herdr Agent Resume — Development skill for Claude Code

Development community

Herdr mod: bring Claude Code and Codex sessions back after a reboot (Ctrl+Shift+R).

How to install Herdr Agent Resume

This entry records only its repository, not the path inside it, so there is no exact command to give. Open thuanlm215/herdr-agent-resume and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Herdr Agent Resume does

Herdr mod: bring Claude Code and Codex sessions back after a reboot (Ctrl+Shift+R).

Alternatives in Development

  • Herdr Reviewr — Review your coding agent's diff in a terminal pane and send line comments back to Claude Code, Codex, OpenCode 823 ★
  • Winclipshot — Windows clipboard-to-path helper for terminal CLIs like Claude Code 21 ★
  • Cc Mod Park — Claude Code mod: /park a session and resume it later from a new session in the same folder 12 ★

README

herdr-agent-resume

**Bring Claude Code and Codex sessions back after a reboot, in the [Herdr](https://herdr.dev) desktop app.**

When the machine restarts (or you log out, or herdr-core restarts), Herdr brings every tab and split back, but each terminal comes back as a bare shell in its last folder: the agent that was running there is gone. The Herdr TUI used to resume agents on restore. The app doesn't, by design ([herdr-core#13](https://github.com/herdrdev/herdr-core/issues/13)).

This mod brings that back. Press **Ctrl+Shift+R** after a restart, and each terminal that lost its agent gets the command to resume it, typed into its shell:

Was running Typed into the restored shell
Claude Code cd '' && claude --resume
Codex cd '' && codex resume

The agents open idle on their old conversation; nothing runs until you type. A toast says what came back.

![Claude Code and Codex back on their conversations after a core restart, with the "Resumed 3 agents" toast](preview.png)

Right after the key press, while the commands are typed into the restored shells:

![The popup "Looking for agents to resume…" and the resume commands typed into two shells](docs/resuming.png)

(Real screenshots of a demo Herdr window, taken with `herdr-app shot`. The shell prompt's user name and the Claude plan were masked.)

Install

git clone https://github.com/thuanlm215/herdr-agent-resume
python3 herdr-agent-resume/scripts/install.py

The installer:

  • copies mods/agent-resume/ to ~/.config/herdr-app/mods/ (after herdr-app check);
  • binds Ctrl+Shift+R to mod.open:agent-resume in keys.json, refusing a key already in use;
  • appends one SessionStart hook to ~/.claude/settings.json and ~/.codex/hooks.json, after the hooks already there, backing both files up to ~/.config/herdr-app/backups/agent-resume/ first;
  • notes the Claude Code sessions already running in Herdr, so they're covered right away.

T