maintain-insomnia SKILL.md skillA

maintain-insomnia from krishhgg/insomnia is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add krishhgg/insomnia/maintain-insomnia@git:20261011.8457e6f

Pins git:20261011.8457e6f in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
krishhgg/insomnia
Path
skills/maintain-insomnia/SKILL.md
Versions recorded
2
Latest version
git:20261011.8457e6f, committed Oct 11, 2026
First version recorded
Oct 11, 2026
Size
3,593 bytes
Repository stars
1,991
License
MIT

Check on, troubleshoot, or uninstall an installed Insomnia (the macOS menu bar app that keeps a Mac awake for a timed session). Use when the user asks why Insomnia shows a warning, whether a session cleaned up after itself, why the hotspot password stopped working, or how to remove it.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Maintain Insomnia

Reference pages in https://github.com/krishhgg/Insomnia:
[docs/recovery.md](https://github.com/krishhgg/Insomnia/blob/main/docs/recovery.md),
[docs/install.md](https://github.com/krishhgg/Insomnia/blob/main/docs/install.md),
[docs/lid-close.md](https://github.com/krishhgg/Insomnia/blob/main/docs/lid-close.md) and
[docs/extras.md](https://github.com/krishhgg/Insomnia/blob/main/docs/extras.md).

## Rules

- Never run `sudo`, `pmset` changes, `kill` or `kill -CONT` yourself. Show the
  user the command, say why, and let them run it.
- Never edit or delete files in `~/Library/Application Support/Insomnia/`.
  `state.json` there is the recovery journal: the list of changes Insomnia
  still has to undo.
- Never signal a pid taken from an old log line. Pids get reused. Check it with
  `ps -o pid,stat,lstart,command -p <pid>` first.
- Kong's Insomnia API client uses the same support folder name.
  `brew uninstall --zap insomnia` for that app moves this app's journal to the
  Trash. Check which app the user means before anything like that.

## Check the state

1. `tail -n 100 ~/Library/Logs/Insomnia/insomnia.log` shows what the app and
   the recovery agent did last.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add krishhgg/insomnia/maintain-insomnia@sha256:4a34f7c8207c76e8

The line at the top of this page pins the label git:20261011.8457e6f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_pd25v5ky6syfebw6.svg)](https://markdownregistry.com/a/art_pd25v5ky6syfebw6)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Oct 11, 2026.

versioncommittedcommitsizeaudit
git:20261011.8457e6f latest2026-10-11 8457e6f 3,593 BA view · diff
git:20261011.988be582026-10-11 988be58 2,960 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3593 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

krishhgg/insomnia · 1,991 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pd25v5ky6syfebw6
GET https://markdownregistry.com/api/v1/resolve?ref=krishhgg/insomnia/maintain-insomnia
GET https://markdownregistry.com/api/v1/blob/4a34f7c8207c76e81651dac172a33e896a92f76c3a7e70aad83ec099be8b1767

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from krishhgg/insomnia

install-insomnia SKILL.md skill
krishhgg/insomnia · skills/install-insomnia/SKILL.md · Install or upgrade Insomnia, the macOS menu bar app that keeps a Mac awake for a timed session, from a GitHub release…
git:20261011.988be58 · audit A · 1,991 stars

Every file in krishhgg/insomnia

Browse by kind, by grade A, or by owner.