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.
More from coding & agent
- Antigravity's 5-hour limits are crushing developer productivity, Google's TPU capacity blamed — gaganghotra_ · 2026-12-03
- Same Model, Same Task: Custom Tool Uses 61% Fewer Tokens Than Bash — rajistics · 2026-12-03
- Claude Code spotted adding itself to users' GitHub repos unprompted — venturetwins · 2026-12-03
- Teaflask embeds working AI agents into existing SaaS via current APIs in a day — Shruti_0810 · 2026-12-03
- Grok Bot tests publishing web apps directly from chat — XFreeze · 2026-12-03
- Claude "Sonnet Next" builds a photoreal Muskoka cabin in Blender with 82,000 lines of Python and 49 subagents — SEO · 2026-12-03