▦  More apps by Spencer Hill & The Portland Company  ›
New in 1.2 · Free for macOS

Never lose your Claude Code sessions

Restore AI Windows reopens your Claude Code sessions after a crash, restart, or reboot — as iTerm2 windows grouped by project, back at their saved position and size, picking up right where they left off.

Free, open source, signed and notarized. Requires macOS and iTerm2.

Restore AI Windows showing the last snapshot grouped by project, with sessions selected for restore.
How it works

How it works

1

It snapshots your sessions

A launchd agent records every iTerm window's sessions, position, size, and Space every two minutes.

2

You trigger a restore

Click the Dock app, say "restore my sessions" inside Claude Code, or let it happen automatically at login.

3

Your sessions come back

Each session reopens with claude --resume, skips the trust and resume prompts automatically, and gets a prompt to summarize and continue where it left off.

Features

What you get

Pick what to restore

See your last snapshot grouped by project and choose which sessions come back, or restore them all in one click.

Auto-restore at login

A launchd agent restores your sessions automatically every time you log in.

Continuous snapshots

A background agent records your active sessions and window geometry every two minutes, so there's always a recent state to restore.

Grouped by project

Sessions reopen as one window per project with a tab for each session, labeled with a friendly project name.

Back on the right desktop

Every iTerm window reopens on its original virtual desktop (Space), at its exact saved position and size, then you are returned to where you started.

Browser windows too

Restores your browser windows alongside your terminal sessions, with tabs grouped into their original windows on their saved Space.

FAQ

Questions, answered

What does Restore AI Windows actually restore?

Your Claude Code sessions in iTerm2 — grouped by project, one tab per session — and, alongside them, your browser windows with tabs grouped into their original windows.

Does it work with any terminal?

No. The automation targets iTerm2's Python API specifically.

Do I have to click anything to restore?

No. A launchd agent restores your last snapshot automatically at every login. You can also trigger it manually from the Dock app or by asking Claude Code to restore your sessions.

What permissions does it need?

Accessibility, so it can switch desktops and put each window back on its original Space, and Automation to drive iTerm2 and your browser. Screen Recording is optional and only used to read window titles.

Does it work with any browser?

It targets BrowserOS and other Chromium-family browsers with AppleScript window and tab scripting.

Is it free?

Yes. It's free and open source under the MIT license.

Pick up exactly where you left off

Install Restore AI Windows once and every crash, restart, or reboot becomes a non-event — your Claude Code sessions and browser windows come back the way you left them.

Apps we've built

More products from The Portland Company

Screenshot of TermChatDeveloper Tool · LiveTermChatA macOS menu-bar companion for the terminal: highlight text in iTerm2 or Terminal, right-click Ask TermChat, and a floating bubble chats with your local Claude Code CLI about the selection — working directory and recent output attached as context.Visit TermChat ↗Screenshot of Focus: FinanceWeb App · LiveFocus: FinanceA finance workspace for planning, categorizing, and tracking money with a cleaner AI-assisted flow.Visit Focus: Finance ↗Screenshot of Focus: ForgeWeb App · LiveFocus: ForgeAn execution workspace for projects, priorities, and operating cadence across teams and initiatives.Visit Focus: Forge ↗Screenshot of Focus: CMSDeveloper Tool · BetaFocus: CMSTurns any existing React app into a live CMS — a click-to-edit overlay with autosave, audit history, and instant publish. Ships with a companion agent skill that teaches AI coding tools to build Focus: CMS-ready Next.js sites.Visit Focus: CMS ↗Screenshot of DevNotesDeveloper Tool · Open SourceDevNotesIn-app bug reporting and task capture for React and Next.js apps — users file notes right on the page and they land in Focus: Forge as actionable tasks, synced through a secure server-side proxy.Visit DevNotes ↗Screenshot of Claude Code Token Usage TrackerWeb App · LiveClaude Code Token Usage TrackerA live dashboard for Claude Code token consumption — tracks 5-hour and weekly usage windows, burn rate, and spend so you always know where your limits stand.Visit Claude Code Token Usage Tracker ↗Screenshot of Focus: Finance iOS AppiOS App · NativeFocus: Finance iOS AppThe mobile companion for Focus: Finance with a native interface for checking, capturing, and managing money on the go.Visit Focus: Finance iOS App ↗Screenshot of Focus: Forge iOS AppiOS App · NativeFocus: Forge iOS AppA native iPhone build for the Focus: Forge ecosystem built around fast daily planning and execution.Visit Focus: Forge iOS App ↗Screenshot of Politogy: VRMWeb Platform · LivePolitogy: VRMA voter relationship management platform designed around political outreach, communication, and engagement workflows.Visit Politogy: VRM ↗Screenshot of TPC Remote Browser TestingDeveloper Tool · LiveTPC Remote Browser TestingA remote browser testing utility for reproducible sessions, live debugging, and AI-assisted browser automation.Visit TPC Remote Browser Testing ↗Screenshot of Disposable InboxSkill + Web App · LiveDisposable InboxReal, throwaway email addresses AI agents can read programmatically — capture OTP codes, magic links, and confirmations during automated testing, with a web dashboard and a drop-in agent skill.Visit Disposable Inbox ↗Screenshot of Village XConsumer App · LiveVillage XA consumer-facing app with a stronger brand voice and product-led experience designed to feel polished from the first screen.Visit Village X ↗Screenshot of Snap Shoot SharemacOS App · Mac App StoreSnap Shoot ShareCapture. Get a link. Paste. A Mac menu-bar app for instant screenshots and screen + webcam recordings — one keystroke captures, uploads, and copies a private share link your whole team can open and no one else.Visit Snap Shoot Share ↗Screenshot of Battery BeaconmacOS App · macOSBattery BeaconA tiny menu bar utility that notifies you the moment your Mac's battery reaches the percentage you choose — so you can unplug at 95%, 100%, or any threshold you set, and never overcharge.Visit Battery Beacon ↗Screenshot of Focus: DockmacOS App · BetaFocus: DockAn iOS-style replacement dock for macOS with the one feature Apple never shipped on the Mac — drag one app onto another, hold, and a folder forms.Visit Focus: Dock ↗Screenshot of Claude Usage Trend TrackerMac App · BetaClaude Usage Trend TrackerA menu-bar app that shows your Claude usage limits at a glance — pick which percentages appear (Weekly, 5-hour, per-model like Fable) with icons or colored text, plus pace projection and reset alerts.Visit Claude Usage Trend Tracker ↗Screenshot of Ads ControlWeb App · LiveAds ControlOne dashboard for every ad account and platform. A rules engine watches spend, CPC, and CTR around the clock, and pauses or paces campaigns before they overspend.Visit Ads Control ↗Screenshot of TPC AnalyticsWeb App · LiveTPC AnalyticsHosted, privacy-friendly web analytics built on open-source Umami. No cookies, no personal data collection, just clear traffic insights.Visit TPC Analytics ↗Screenshot of Swarm TesterDeveloper Tool · LiveSwarm TesterA swarm of cheap AI agents drives real browsers against your app, hunting bugs from personas built on your real bug history, while one judge rules on what they find.Visit Swarm Tester ↗Screenshot of Claude OptimizationsDeveloper Tool · LiveClaude OptimizationsA dashboard that shows why Claude Code costs what it does, day by day, and tracks the fixes that bring the bill down.Visit Claude Optimizations ↗Screenshot of Mission UpdatermacOS App · macOSMission UpdaterA native macOS menu app that scans every Focus: Forge project daily and walks you through writing a mission for any that are missing one.Visit Mission Updater ↗Screenshot of TPC Anti-SpamiOS App · In ReviewTPC Anti-SpamAI-powered spam defense for iPhone texts and calls — a crowdsourced blocklist, private on-device filtering, and an opt-in AI classifier for the messages that slip through.Visit TPC Anti-Spam ↗Screenshot of Silly!macOS App · BetaSilly!A playful menu bar companion for your Mac — pixel-art sprites, a throw mini-game, and Game Center multiplayer.Visit Silly! ↗

Hover to pause

Star Fork Watch Download from GitHub