New in 1.2 · Windows land on the right desktop

Your Claude Code sessions, back exactly where you left them.

A crash, restart, or reboot doesn't have to cost you your terminal windows. Restore AI Windows reopens your iTerm sessions and browser windows — tabs grouped into their original windows, on the exact virtual desktop, position, and size.

Free & open source · macOS · iTerm2 required

restoring — last snapshot
web-app
Space 2 · 1440×900
restored
api-server
Space 1 · 1280×800
restored
docs-site
resuming from summary…
restoring

Snapshot every 2 minutes. Restore in seconds.

Grouped the way you work

One window per project, one tab per session.

Restore AI Windows reads each Claude Code session's working directory and groups them the same way you organize your projects — a ~/Sites/<project> window, a tab for each session in it, with the project name shown right in the iTerm badge.

  • Reads the most-recent cwd from every active transcript
  • One iTerm window per project, one tab per session
  • Friendly project name shown in the iTerm badge
  • Skips the trust prompt and auto-picks Resume from summary
Session grouping
Restore AI Windows listing the last snapshot grouped by project, with sessions selected for restore.
Not just reopened — restored

Windows come back at the exact position, size, and Space.

A launchd snapshot agent records each project window's frame and virtual desktop every couple of minutes. On restore, that geometry gets played back — so your layout survives a crash the way you left it, not just as a pile of default-sized windows.

  • Captures position, size, and Space for every iTerm window
  • Each window reopens on its original desktop, then you're returned to where you started
  • Exact on-screen position, even across multiple displays
  • No manual re-tiling after a reboot
Geometry restore
Restore AI Windows permissions and actions: Accessibility for desktop placement, Restore Now, Snapshot Now.
Terminal and browser, together

Browser windows come back too — tabs grouped, Space intact.

Alongside your iTerm sessions, Restore AI Windows snapshots your BrowserOS / Chromium windows: their tabs, grouping, geometry, and Space. On restore, it opens one window per saved group and puts it back where it was.

  • Works with any Chromium-family browser with AppleScript scripting
  • Tabs stay grouped into their original windows
  • --browser flag to restore browser windows only
  • RESTORE_SKIP_BROWSER=1 to opt out and restore iTerm only
Browser restore
The Also restore browser windows toggle next to Restore Now in Restore AI Windows.

"Restore my sessions" — hands-free

A bundled Claude Code skill runs the restore from inside a session — just say "restore my sessions." No terminal command to remember.

Auto-restore

A launchd agent restores your last snapshot automatically at every login — no click required.

Continues itself

Each restored session gets a prompt to summarize and pick up right where it left off.

Snapshots every 2 min

A background launchd agent records active sessions and window geometry, so restore is never far behind.

New in 1.2

Every window, back on its own desktop.

Space restore rebuilt for current macOS, plus a signed, notarized app.

Requirements

What it needs to run.

One manual step after install: grant Accessibility so windows return to their desktops.

Stop losing your windows to a crash.

Free and open source. Grab the DMG or install from source.

Free · macOS · MIT licensed