Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By whereisdwv0.1.1MITIn 1 marketplace
Keep a MacBook awake (lid closed, even on battery) while Claude Code works, then let it sleep when it's done. Slash commands and a skill that drive the Lidnight menu bar app, with plain caffeinate/pmset fallbacks.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
macos, sleep, caffeinate, lid-closed, overnight, battery, menu-bar
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Keep your MacBook awake while Claude Code works, even with the lid closed on battery, and let it sleep when the work is done.
This plugin adds three slash commands and one skill that drive the Lidnight menu bar app. If Lidnight isn't installed, they fall back to plain caffeinate / pmset guidance (nothing is installed or changed without asking).
/plugin marketplace add whereisdw/lidnight-claude-plugin
/plugin install lidnight@lidnight
Lidnight itself (Apple Silicon, macOS 13+; free with the lid open, lid closed is Pro, with a free trial of 5 lid-closed runs or 14 days): brew install whereisdw/tap/lidnight or https://lidnight.app/en/
| Command | What it does |
|---|---|
/lidnight:awake [auto|timer N|until|keep] | Start keeping the Mac awake. auto (default) stays awake while AI agents work and sleeps ~10 minutes after they go quiet |
/lidnight:status | Is the Mac being kept awake? Runs lidnight doctor when something looks off |
/lidnight:sleep | Stop keeping it awake now |
The keep-awake skill kicks in when you mention leaving a long task running, closing the lid, or "Your computer went to sleep mid-response".
Everything happens locally, only when you use a command or the skill applies:
lidnight start | stop | status | doctor: the Lidnight app's own CLI (installed from the app's settings)open -g "lidnight://...": the app's URL scheme, used when the CLI isn't on your PATHpmset -g / pmset -g assertions: read-only checks of the current sleep state when Lidnight isn't installedThe plugin has no hooks, no MCP servers and no network calls of its own, and it never runs sudo or changes power settings without asking you first.
When a Mac sleeps mid-response, Claude Code drops the partial reply and later rewrites the whole turn, often with no prompt cache, which burns usage limits. Closing the lid on battery is worse: macOS ignores caffeinate, and pmset disablesleep stays on until you remember to undo it. Lidnight watches Claude Code's hooks so the Mac is awake exactly while work runs.
/lidnight:status shows Lidnight's view when the app is installed. If you only want your Claude Code and Codex 5-hour and weekly limits in the menu bar, there's a free, open-source companion: Lidnight Limits (brew install --cask whereisdw/tap/lidnight-limits). It reads the official /usage and Codex's own session logs; nothing leaves your Mac.
For plain hook scripts without any app (answer AskUserQuestion from a hook, Stop notifications, ntfy phone push, caffeinate, leftover processes), see claude-code-hooks-recipes.
Disclosure: I build Lidnight. The plugin is MIT licensed and free; Lidnight has a free tier (lid open) and a one-time Pro (lid closed, even on battery).
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (whereisdw/lidnight-claude-plugin) — no native marketplace selected
npx claudepluginhub p/whereisdw-lidnightPlugins from other owners that cover similar ground