Agent skill

Install Insomnia

by krishhgg in krishhgg/Insomnia

Install or upgrade Insomnia, the macOS menu bar app that keeps a Mac awake for a timed session, from a GitHub release or from source.

MITAuto-check passed

Install Install Insomnia

skills CLI
$ npx skills add krishhgg/Insomnia --skill install-insomnia -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install krishhgg/Insomnia install-insomnia --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/krishhgg/Insomnia.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/install-insomnia .claude/skills/install-insomnia && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
install-insomnia
GitHub stars
561
Token cost
~617 tokens
SKILL.md length
343 words
Files
1
Repo updated
First seen
Licence
MIT

At a glance

Install or upgrade Insomnia, the macOS menu bar app that keeps a Mac awake for a timed session, from a GitHub release or from source.

  • Works in 6 steps: Check the Mac. Insomnia needs macOS 26… → Pick the channel. Use the latest stable… → Download and verify. Follow "Install a… → …
  • The user asks to install
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Reinstall Insomnia

What it does

Install Insomnia is an agent skill from krishhgg/Insomnia. Install or upgrade Insomnia, the macOS menu bar app that keeps a Mac awake for a timed session, from a GitHub release or from source. Use when the user asks to install, update or reinstall Insomnia.

Its SKILL.md is about 620 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with macOS and GitHub. The repository describes itself as: A macOS menu bar app that keeps a MacBook awake safely for timed agent sessions. The licence is MIT.

When your agent uses it

  • The user asks to install
  • Reinstall Insomnia

Example prompts

  • “/install-insomnia”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Check the Mac. Insomnia needs macOS 26 or later (sw_vers -productVersion).
  2. Pick the channel. Use the latest stable release unless the user asked
  3. Download and verify. Follow "Install a release yourself", steps 1 and
  4. Install. Step 3 of the same section runs install.sh, which asks for
  5. First launch. macOS blocks the first launch of a downloaded app until
  6. Confirm. The eye shows in the menu bar, and

What it can do on your machine

Read from SKILL.md and the folder at commit 2c116dd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Install Insomnia loads about 617 tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 343 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~617

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from krishhgg/Insomnia at commit 2c116dd, republished under its MIT licence (© krishhgg). 343 words, ~617 tokens.

Download SKILL.mdSave it as .claude/skills/install-insomnia/SKILL.md (or your agent's skills folder).
name
install-insomnia
description
Install or upgrade Insomnia, the macOS menu bar app that keeps a Mac awake for a timed session, from a GitHub release or from source. Use when the user asks to install, update or reinstall Insomnia.

Install Insomnia

The exact commands are in docs/install.md. Read that page, then follow these steps. Never run sudo yourself and never pass a password to it. When a step needs the administrator password, give the user the exact command to run in Terminal and wait for them to say it finished.

  1. Check the Mac. Insomnia needs macOS 26 or later (sw_vers -productVersion). Release zips run only on Apple Silicon: sysctl -n hw.optional.arm64 prints 1. On an Intel Mac, use "Build from source" and tell the user that build is untested on Intel.
  2. Pick the channel. Use the latest stable release unless the user asked for the newest nightly. If the release is v0.1.0, follow its release notes instead of docs/install.md.
  3. Download and verify. Follow "Install a release yourself", steps 1 and
    1. Run both checks. Keep --source-digest and the full 40-character commit. If either check fails, stop and tell the user. Do not download a different file to get past it.
  4. Install. Step 3 of the same section runs install.sh, which asks for the administrator password, so hand that command to the user. Before they run it, tell them the installer adds a sudoers rule. That rule lets their account run four pmset power commands without a password, and the page's "What gets installed" section lists them. --allow-unverified-origin tells the installer that both download checks passed. Never suggest it when they did not.
  5. First launch. macOS blocks the first launch of a downloaded app until the user allows it in System Settings > Privacy & Security.
  6. Confirm. The eye shows in the menu bar, and launchctl print gui/$(id -u)/com.insomnia.backstop finds the recovery agent. Ask the user to review the lid-close options in Settings before the first session.

An upgrade is the same steps. The installer asks the running app to quit and stops if a session is still waiting to be undone. Then use the maintain-insomnia skill to find out why.

To build from source, follow "Build from source" on the same page. Its ./scripts/install.sh also needs the password.

© krishhgg, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/install-insomnia of krishhgg/Insomnia.

Open the folder on GitHubat commit 2c116dd

Compare with similar skills

Install Insomnia next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Install Insomnia compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Install Insomnia this skillkrishhgg/Insomnia561—~617Automated safety check: PassMIT
Mole CLI Release Flowtw93/Mole70k—~2.6kAutomated safety check: PassGPL-3.0
Release Easydicttisfeng/Easydict15k—~810Automated safety check: PassGPL-3.0
Cherry Studio Regression TestsCherryHQ/cherry-studio53k—~1.2kAutomated safety check: PassAGPL-3.0
Releaseeugene1g/agent-safehouse2.1k—~3.5kAutomated safety check: PassApache-2.0
Kane CLI Browser TestingLambdaTest/kane-cli249—~8.4kAutomated safety check: PassApache-2.0

Similar skills

  • Runbook for assessing and executing a Mole CLI release: distribution channels, pre-flight checks, capital-V tags, build artifacts and the handoff to curated release notes.

    70k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Release Easydict

    tisfeng/Easydict

    编排 Easydict macOS 的 draft、publish、release 和 resume,整理英文 GitHub Release 内容,并处理发布后的 Issue 跟进及本地清理。不用于一般的发布流程设计讨论。

    15k GitHub stars~810 tokensUpdated 5 days ago
    DevelopmentAuto-check passed
  • Cherry Studio Regression Tests

    CherryHQ/cherry-studio

    Runs Cherry Studio's critical-path regression suite as deterministic Playwright E2E tests through a GitHub workflow on macOS and Windows runners.

    53k GitHub stars~1.2k tokensUpdated today
    Testing & QAAuto-check passed
  • Release

    eugene1g/agent-safehouse

    Run the local Agent Safehouse release flow: inspect commits since the last published release, propose the next SemVer version and changelog, present a dry-run for confirmation, then update…

    2.1k GitHub stars~3.5k tokensUpdated 11 days ago
    DevelopmentAuto-check passed
  • Kane CLI Browser Testing

    LambdaTest/kane-cli

    Drives a real browser through the kane-cli tool and designs requirement-linked test suites from a PRD or a plain description, with mobile and cloud-grid runs.

    249 GitHub stars~8.4k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Release

    notepadqq/notepadqq

    Release a new Notepadqq version. An agent skill from notepadqq/notepadqq.

    2.3k GitHub stars~2k tokensUpdated 6 days ago
    MobileAuto-check passed

More from krishhgg/Insomnia

  • Maintain Insomnia

    krishhgg/Insomnia

    Check on, troubleshoot, or uninstall an installed Insomnia (the macOS menu bar app that keeps a Mac awake for a timed session).

    561 GitHub stars~899 tokensUpdated today
    Auto-check: notes

Works with

Questions about Install Insomnia

What does Install Insomnia do?

Install or upgrade Insomnia, the macOS menu bar app that keeps a Mac awake for a timed session, from a GitHub release or from source. Install Insomnia is an agent skill from krishhgg/Insomnia. Install or upgrade Insomnia, the macOS menu bar app that keeps a Mac awake for a timed session, from a GitHub release or from source.

When should I use Install Insomnia?

Install Insomnia fits situations like: the user asks to install; reinstall Insomnia.

How do I install Install Insomnia in Claude Code?

Run `npx skills add krishhgg/Insomnia --skill install-insomnia -a claude-code`. Or copy the skill folder (skills/install-insomnia in krishhgg/Insomnia) into .claude/skills/install-insomnia in your project. Claude Code loads it when a task matches its description.

How do I install Install Insomnia in Codex?

Run `npx skills add krishhgg/Insomnia --skill install-insomnia -a codex`. Or copy the skill folder (skills/install-insomnia in krishhgg/Insomnia) into .agents/skills/install-insomnia in your project. Codex loads it when a task matches its description.

Can I use Install Insomnia in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add krishhgg/Insomnia --skill install-insomnia -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/install-insomnia, .gemini/skills/install-insomnia, .github/skills/install-insomnia and .opencode/skills/install-insomnia in your project.

What does Install Insomnia need to run?

SKILL.md names no scripts, command-line tools or credentials: Install Insomnia is instructions for the agent only.

Does Install Insomnia access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Install Insomnia safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Install Insomnia use?

Install Insomnia is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Install Insomnia use?

About 617 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Install Insomnia?

Skills that share tags, products or a category with Install Insomnia: Mole CLI Release Flow (tw93/Mole, 70k stars), Release Easydict (tisfeng/Easydict, 15k stars), Cherry Studio Regression Tests (CherryHQ/cherry-studio, 53k stars) and Release (eugene1g/agent-safehouse, 2.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Install Insomnia?

krishhgg (a GitHub user) maintains it in krishhgg/Insomnia, which has 561 GitHub stars. The repository was last updated on October 11, 2026.

Source: krishhgg/Insomnia on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.