coreyhaines31

Midnightoil — AI skill for Claude Code

AI community

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 icon

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

Requires macOS 14 Sonoma or later, on Apple silicon or Intel.

**Homebrew**

brew install --cask coreyhaines31/tap/midnightoil

**Or download it**

  1. Download MidnightOil-x.y.z.dmg from the latest release.
  2. Open the DMG and drag Midnight Oil to Applications.
  3. 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