Skip to content

Agent Restart

Mod by hmu332233

Restarts the focused Claude Code or Codex agent and resumes the same conversation in its terminal.

Screenshot of Agent Restart

What it does

A small popup at the top of the window shows each step as it runs: stopping the agent, reading the resume command, resuming the same session. It needs the focused terminal to be idle or done; working or blocked agents are refused before any input is sent.

Open it with mod.open:agent-restart and bind a key yourself in the terminal section of keys.json. Only Claude Code and Codex exit output is verified; Grok and Agy are refused. Use it when a display breaks after a monitor change or auto-update needs a restart.

A small popup that restarts the focused coding agent (Claude Code or Codex) and reopens the same conversation in the same terminal. Useful when an agent's display breaks after connecting or disconnecting a monitor, or when its auto-update needs a restart.

From the author's RECIPE.md

Good for

Similar mods

Same job, overlapping tags and integrations.

All of Sessions & history

Revive

by dmazlum

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

Sessions & historyKeyboard shortcuts28yesterday

Revive

by jchen0824

Restores coding agent sessions lost to a reboot, in the same pane with the same flags.

Sessions & historyKeyboard shortcuts2today

Reopen closed tab

by mustafaTokmak

Brings back the last closed tab with its folders, names and agent sessions.

Sessions & historyKeyboard shortcuts21 mo ago

Revive for Windows

by RAF1337

Restores Claude Code, Codex and pi sessions in PowerShell 7 panes after a reboot or crash.

Sessions & historyKeyboard shortcuts09 days ago

Claude Resume

by iosif2

Restarts the focused agent in place on the same session, after a two-press key.

Sessions & historyKeyboard shortcuts025 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

herdr-wake

by Heretikio

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

Sessions & history20yesterday