
Agent History
Searches past Claude Code and Codex sessions by their messages and resumes the one you pick.
Mod by iml885203
Makes cmd-w close only the focused pane, and the tab only when it was its last pane.

Pressing cmd-w closes the focused pane. The tab closes only when that pane was its last one. Nothing shows on screen; the popup it uses closes at once.
Install the mods/smart-close folder and bind cmd-w in keys.json. If cmd-w is already bound, the mod replaces that binding, so check first.
cmd-w closes the pane you're in; the tab goes only with its last pane.
From the author's RECIPE.md
6 other entries in the same repository.

Searches past Claude Code and Codex sessions by their messages and resumes the one you pick.

Jumps to the next agent that needs you, with a popup listing agents by attention.

Opens a popup that writes the next /goal for the Claude Code session in the focused terminal.

Keeps a tab and its Claude Code session under the same name, with F2 to rename both at once.

Browses pods, deployments, nodes and logs across several Kubernetes clusters in one window.

Shows what a Claude Code session changed in each repo, down to the file diffs.
Same job, overlapping tags and integrations.

Hides every part of the window except the active tab's panes, and restores them on the same key.

Asks for confirmation before cmd-w, cmd-shift-w or cmd-q closes a pane, tab or Herdr.

Adds Usage, Log and Cron toggle buttons that show or collapse a docked panel column.

Opens a dialog that moves the focused pane or tab to another space, a new space or another tab.
Moves a tab to another space from its right-click menu, by dragging, or with ctrl-shift-m.

Adds buttons to the tab bar that show or hide chosen parts of the window layout.

Joins two tabs into one split tab, or splits a pane back out into its own tab

Moves a terminal pane to another tab or workspace by drag, right-click menu, or a shortcut.