CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

keep-mac-awake

Keep a Mac awake and prevent sleep, also with the lid closed, while an agent or a long task runs, with the keepmacawake command of the Keep Mac Awake app (Apple silicon, macOS 26 or later). Use it when the Mac must stay awake through work likely to run 15 minutes or more or that the user may leave running (an agent run, a build, a test suite, a migration, a download or upload, a render, a backup); when the user says they will close the lid, step away, go to bed or check in from their phone (Claude Code Remote Control, Codex in the ChatGPT app, Cursor, Antigravity, SSH); when a remote session went offline because the Mac slept; when local scheduled work, such as a Claude desktop scheduled task or a Codex automation, must run while the lid is closed; and when the user asks to keep the Mac awake or stop it from sleeping. On a Mac with Keep Mac Awake, use it rather than a caffeinate command of your own.

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Quality

Content

88%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is an exemplary instruction-only skill: every command, JSON field, and exit code needed to drive the app is specified with explicit sequencing and error recovery. Its only flaws are a few dense, slightly redundant consent-policy sentences and a length that sits at the upper edge of what belongs inline.

DimensionReasoningScore

Conciseness

No padding and no explanations of concepts Claude already knows — every line is app-specific policy — but a few passages (the battery-consent paragraph and the long "Always ask first" sentence) are dense run-ons with some overlap that could be tightened.

4 / 5

Actionability

Fully executable guidance throughout: exact commands (keepmacawake status --json, start --hours 3 --json, config set --battery allowed --min-battery 30, sysctl -n hw.optional.arm64), a fallback binary path, specific JSON fields to read, and per-exit-code actions.

5 / 5

Workflow Clarity

"Before a long task" is a clearly numbered 1–5 sequence with explicit checkpoints (status precheck, session.live guard, battery consent gate, "confirmed":true confirmation), followed by an error-recovery section that maps every exit code (4, 5, 6, 7) to a concrete next action.

5 / 5

Progressive Disclosure

Well-organized single-file skill with clear sections and no external references needed (the app's own capabilities --json serves as its API reference), but at roughly 68 lines it exceeds the under-50-line simple-skill case, leaving minor room to split detail out.

4 / 5

Total

18

/

20

Passed

Description

95%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that explicitly states what the skill does and gives unusually thorough, natural trigger conditions. The only minor weakness is that the capability list stops at the core function without hinting at session/config management covered in the body.

DimensionReasoningScore

Specificity

Names concrete actions ("Keep a Mac awake and prevent sleep, also with the lid closed"), the exact command (keepmacawake), and platform constraints ("Apple silicon, macOS 26 or later"), with minor gaps such as session start/stop and configuration handling that the body covers but the description omits.

4 / 5

Completeness

Explicitly answers both what ("Keep a Mac awake and prevent sleep, also with the lid closed... with the keepmacawake command") and when via a detailed "Use it when..." clause covering duration, lid-closing, remote check-ins, sleep-caused disconnects, scheduled work, and direct requests.

5 / 5

Trigger Term Quality

Comprehensive natural trigger phrases users would actually say — "keep the Mac awake", "stop it from sleeping", "close the lid", "step away", "go to bed", "check in from their phone", "a remote session went offline" — plus concrete task types (build, test suite, migration, download, render, backup).

5 / 5

Distinctiveness Conflict Risk

Clear niche (Mac sleep prevention via one specific app on Apple silicon) with distinct triggers, and it even disambiguates against the nearest alternative ("use it rather than a caffeinate command of your own"), minimizing conflict risk.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

bartdudzic/keepmacawake

Path

plugins/keep-mac-awake/skills/keep-mac-awake/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.