DEDUPED Hot AI repos, turned into use cases Get 5 a day

What you can do with Insomnia

Insomnia is a macOS menu bar app that keeps a MacBook awake for timed sessions, including with the lid closed, and undoes its power and lid changes when a session ends.

Trended earlier

Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk.

4 use cases

  • Keep a MacBook awake for a timed agent run

    Install Insomnia, then start a timed awake session so a long agent job keeps running with the lid closed.

    View prompt
    Using the repo https://github.com/krishhgg/Insomnia, install Insomnia on this Mac by following skills/install-insomnia/SKILL.md, and if a step needs my password, give me the exact Terminal command to run. Then start a session of <session-length> from the menu bar eye. Verify that ~/Applications/Insomnia.app exists and report the installed version from Settings > App.
  • Test lid-close behavior before a long unattended run

    Run a short watched session and check the lid-close actions and log before trusting it overnight.

    View prompt
    In the repo https://github.com/krishhgg/Insomnia, read docs/lid-close.md and docs/recovery.md, then tell me which lid-close actions are on by default for this Mac. Output a short checklist for a test session of <test-minutes> minutes. Verify the checklist against the README before reporting.
  • Recover a Mac after a session that could not be undone

    Find and clear the recovery warning, unfreeze processes and restore audio after a crash or quit.

    View prompt
    In the repo https://github.com/krishhgg/Insomnia, read docs/recovery.md and the log at ~/Library/Logs/Insomnia/insomnia.log on this Mac. Report each recovery warning and the step from docs/recovery.md that addresses it. Verify that you did not change any power setting while reporting.
  • Keep a tmux coding agent going through a Wi-Fi drop

    Set up iPhone hotspot handoff and a marked tmux pane so a coding agent can resume after the network drops.

    View prompt
    In the repo https://github.com/krishhgg/Insomnia, read docs/extras.md and list the steps to enable the iPhone hotspot handoff and tmux nudge for a pane named <pane-target>. Verify that the nudge option is off by default and that Enter is not pressed unless enabled, then report the result.

How to use Insomnia

  1. Check you have what it needs: A Mac with Apple Silicon running macOS 26 or later; Your administrator password, because the installer adds a sudoers rule; Terminal access, and optionally Xcode with Swift 6.2 or later if you build from source.
  2. Open krishhgg/Insomnia on GitHub and read the README and license.
  3. Paste the install prompt from the README into your coding agent, or follow docs/install.md, and enter your password in Terminal when asked.
  4. Run open "$HOME/Applications/Insomnia.app" to start the app.
  5. Click the eye in the menu bar, enter days, hours and minutes, and press Enter to start the session.
  6. Check Settings, including the lid-close options, before you close the lid.

These steps come from our top use case, Keep a MacBook awake for a timed agent run, which also has a copy-paste agent prompt.

Insomnia alternatives · Best AI repos for Software and DevOps

About this repo

  • Who it is forMac developers and people running long unattended jobs, such as coding agents, who need a laptop to stay awake with the lid closed and a safe way to undo it.
  • Why it is hot
  • LanguageSwift
  • Sourcegithub.com/krishhgg/Insomnia · Back to Hot repos

Requirements

  • A Mac with Apple Silicon running macOS 26 or later
  • Your administrator password, because the installer adds a sudoers rule
  • Terminal access, and optionally Xcode with Swift 6.2 or later if you build from source
  • A stable, well-ventilated surface for the Mac during a session, as the README advises
Maintain Insomnia? Add the Featured on Deduped badge

Paste this into your README:

[![Featured on Deduped](https://dedupedai.com/badge/krishhgg-insomnia.svg)](https://dedupedai.com/use-cases/krishhgg-insomnia/?ref=badge)

More badge styles and HTML

Questions about Insomnia

What is Insomnia?

Insomnia is a macOS menu bar app that keeps a MacBook awake for timed sessions, including with the lid closed, and undoes its power and lid changes when a session ends. It is an open-source project on GitHub: https://github.com/krishhgg/Insomnia.

Who is Insomnia for?

Mac developers and people running long unattended jobs, such as coding agents, who need a laptop to stay awake with the lid closed and a safe way to undo it.

What can I do with Insomnia?

4 use cases so far, for example: Keep a MacBook awake for a timed agent run; Test lid-close behavior before a long unattended run; Recover a Mac after a session that could not be undone. Each has steps and a copy-paste agent prompt.

What do I need to run Insomnia?

A Mac with Apple Silicon running macOS 26 or later; Your administrator password, because the installer adds a sudoers rule; Terminal access, and optionally Xcode with Swift 6.2 or later if you build from source; A stable, well-ventilated surface for the Mac during a session, as the README advises.

What are alternatives to Insomnia?

Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.

Is Insomnia safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.