Midnightoil — AI skill for Claude Code
Keep your Mac awake so AI agents, builds, and downloads can finish.
How to install Midnightoil
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open coreyhaines31/midnightoil and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Midnightoil does
Keep your Mac awake so AI agents, builds, and downloads can finish. Free, source-available menu bar app; a modern Amphetamine replacement.
Alternatives in AI
- Vibeproxy — Native macOS menu bar app to use your Claude Code & ChatGPT subscriptions with AI coding tools - no API keys n 3.3k ★
- Claude Usage Tracker — Native macOS menu bar app for tracking Claude AI usage limits in real-time 2.2k ★
- Syrtis — AI token usage & quota monitor for the macOS menu bar — native Swift, Liquid Glass, 3D contribution graph 368 ★
README
Midnight Oil
Keep your Mac awake so your AI agents, builds, and downloads can finish.
Free, source available, and actively maintained. A modern replacement for Amphetamine.
Download · Website · Guides · Report a bug
Midnight Oil lives in your menu bar as a small flame. Click it, pick how long, and your Mac stays awake: overnight while Claude Code, Codex, or Cursor works through a task, until a download finishes, or with the lid closed in your bag. When the session ends, your Mac goes back to its normal sleep settings on its own.
- Install
- Your first session
- Permissions it may ask for
- Features
- Command line
- Troubleshooting
- Updating and uninstalling
- Privacy
- Building from source
- License
Install
Requires macOS 14 Sonoma or later, on Apple silicon or Intel.
**Homebrew**
brew install --cask coreyhaines31/tap/midnightoil
**Or download it**
- Download
MidnightOil-x.y.z.dmgfrom the latest release. - Open the DMG and drag Midnight Oil to Applications.
- Open Midnight Oil from Applications.
The app is signed and notarized by Apple, so it opens without warnings, and it updates itself.
**Or ask your AI agent**
Paste this into Claude Code, Codex, Cursor, or any agent with a terminal:
Install Midnight Oil, a fre
Related Skills
Macvibe
Keep your MacBook awake with the lid closed while Claude Code, Codex, Gemini CLI & other AI coding agents work
AwakeLock
Keep your Mac awake behind the native Lock Screen so long-running AI agents, coding tasks, terminals, download
Pollymetric
Your Mac's health at a glance, in the menu bar. See what's slowing it down by name, catch problems that keep c
Nudgy
Native macOS menu bar app that notifies you when AI coding agents (Claude Code) finish tasks, need permissions
Crema
Keep your Mac awake while your AI coding agents work, and let it sleep when they are done. A caffeinate you ca
Agent Profiles
Run multiple accounts of Claude Desktop, ChatGPT, Cursor and other AI agent apps side by side — a permanently
Related Agents
Apple UI Designer
Visual and theme redesigns in current Apple design language (macOS 27 / iOS 26+ Liquid Glass, vibrancy, system
Onedrive Organizer
Sorts loose files in OneDrive/Documents, OneDrive/Download, OneDrive root, and Mac ~/Downloads into the correc
Impeccable Finish Reviewer
Reviews a finished Impeccable build against its direction contract, the approved comp, and the chosen world's