Skip to content

Agent Restart

Mod by speardragon

Restarts a waiting Claude Code, Codex, Grok or Antigravity agent and resumes its session in the same terminal.

Sessions & history0 starsupdated 23 days agoadds shortcuts
Screenshot of Agent Restart

What it does

Pressing cmd+r on a waiting agent opens a small centered window that shows each step: checking, stopping, resuming. The agent exits and the same session comes back in the same terminal with its resume command. The window closes and focus returns to the terminal. If a check fails, the window keeps the reason until a key is pressed.

cmd+shift+r restarts every idle agent on this computer after one confirmation, one at a time, and lists any failures. Use it when an agent's screen breaks or it needs a restart to pick up an update. Agents must be idle or done.

Press cmd+r on a Claude Code, Codex, Grok or Antigravity agent that is waiting for input. A small window opens and shows each step. The agent exits, and the same session resumes in the same terminal (claude --resume <id>, codex resume <id>, grok --resume <id>, agy --conversation=<id>). The window then closes, and the keyboard goes back to that terminal. If a check fails, the window keeps the reason until you press any key. Use it when an agent's screen breaks (for example, after you connect or…

From the author's RECIPE.md

Good for

Where it appears

Needs

Claude Code, Codex, Grok or Antigravity…

Similar mods

Same job, overlapping tags and integrations.

All of Sessions & history

Session Spotlight

by dltmdrbtjd

Opens a centered dialog that searches Claude Code and Codex sessions and jumps to the terminal one is open in.

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

OmniSearch

by dmnkf

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

Sessions & historyKeyboard shortcuts18yesterday

Hey, chat

by CodeyPacker

Opens a messenger-style chat with Claude Code or Codex for each project folder in its own tab.

Sessions & historyKeyboard shortcuts17yesterday

Agent resume

by thuanlm215

Restarts the coding agents that were running in terminals after a reboot or core restart.

Sessions & historyKeyboard shortcuts1315 days ago

hopback for Herdr

by avgvi

Searches past coding-agent sessions in a popup and reopens one in a new tab of its folder's space.

Sessions & historyKeyboard shortcuts821 days ago