dmazlum

Herdr Revive — Development skill for Claude Code

Development community

Bring back the coding agent a Herdr terminal lost to a restart or reboot, and fork a live session beside it.

How to install Herdr Revive

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

What Herdr Revive does

Bring back the coding agent a Herdr terminal lost to a restart or reboot, and fork a live session beside it.

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 ★
  • Herdrm — Native macOS console for herdr — all your coding agents and their live terminals, across devices 635 ★
  • Handmux — A mobile vibe-coding cockpit — built on tmux: drive your live session, Claude Code / Codex — anything a termin 162 ★

README

↻ Revive

[![CI](https://github.com/dmazlum/herdr-revive/actions/workflows/ci.yml/badge.svg)](https://github.com/dmazlum/herdr-revive/actions/workflows/ci.yml)

Bring back the coding agent a [Herdr](https://herdr.dev) terminal lost, and fork a live session beside it.

Herdr keeps your terminals through app restarts and updates. When the machine reboots or herdr-core stops, each pane comes back with a fresh shell in the same folder, but the agent that was running there is gone. Revive remembers which session each terminal held and, when its shell comes back, starts that session again in the same pane, with the same flags.

![Revive](preview.png)

Requires the **Herdr desktop app 0.1.9+**, **Node 20+**, and **Claude Code**. Codex support is experimental.

Features

  • Automatic resume. After a reboot or a core restart, the pane's new shell runs claude --resume (or codex resume ) in the session's folder, before you touch anything. A dim line says what it is doing.
  • Only what was lost. A session you ended yourself (/exit, Ctrl+C, /logout) is forgotten on the spot. A session that was never sent a message is skipped, since it has nothing to resume. A shell you start inside a pane never resumes anything.
  • Same flags. --dangerously-skip-permissions, --model, --permission-mode, --add-dir and similar flags come back with the session. The first prompt and --resume itself are left behind.
  • Fork. Open the conversation of the focused agent as a new session beside it (right, below or in a new tab), with the same flags. Both work in the same folder; a fork copies the conversation, not the files.
  • Resume by hand. An agent that died under a shell that survived it (a crash, a kill) is listed as Interrupted, with a Resume button. One whose resume failed is listed as Resume failed.
  • Per terminal. Turn automatic resume off for one terminal in the dialog, or for a whole shell with REVIVE_AUTO=0.