CloseTheLid: open-source tool hands Claude Code off to the cloud when you close your MacBook

tomjohndesign · x · 2026-12-03

CloseTheLid (open source, free) uses the MacBook hinge sensor: when the lid drops below 45° while closing, it snapshots all files including uncommitted work, wakes a cloud machine in 1s, copies everything over, and resumes the exact same Claude Code conversation there. Open the lid and everything is back on your Mac.

A follow-up integration adds Vercel Sandboxes support to WhatThePort, so closing the lid can spin up a sandbox for your agents (needs Vercel CLI auth and manual spending-limit config). Claude Code works now, Codex support coming; early versions had flaky auto-updates, so check manually.

Original post →

More from coding & agent

coding & agent channel →