Anti Sleep
Keep David's MacBook awake with macOS caffeinate — prevent sleep, screen dimming, or both, for a set duration or while a process runs. Use when the user says "don't let my mac sleep", "keep the screen on", "anti-sleep", "caffeinate", or wants the machine awake overnight / during a long build.
Install
npx skills add adriannoes/awesome-agentic-ai --skill anti-sleepgit clone --depth 1 https://github.com/adriannoes/awesome-agentic-ai.git /tmp/awesome-agentic-ai
mkdir -p ~/.claude/skills
cp -r /tmp/awesome-agentic-ai/cursor-claude-codex/skills/david-ondrej/ops-and-setup/anti-sleep ~/.claude/skills/anti-sleepPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Anti-Sleep (macOS caffeinate) Keep the Mac awake using the built-in `caffeinate` command. No install needed. ## Quick start — the standard command ```bash caffeinate -d -i -t 7200 # full power: screen stays on + no idle sleep, for 2 hours ``` Duration is `-t <seconds>`: 2h = 7200, 7h = 25200, overnight (9h) = 32400. ## Aggressiveness levels | Flags | Effect | |---|---| | `-i` | prevents idle **system** sleep only (screen may still dim/lock) | | `-d` | prevents **display** sleep (screen stays on) | | `-d -i` | **default choice** — screen on + system awake | | `-d -i -s` | adds `-s`: prevents sleep even on AC power semantics; `-s` only works when plugged in | | `-u -t 1` | simulates user activity — wakes the display right now | Default to `-d -i -t <seconds>` unless the user says otherwise. ## Tie to a process instead of a timer ```bash caffeinate -d -i -w <PID> # stays awake until that process exits (great for builds) caffeinate -i npm run build # wraps a command; exits when the command finishes ``` ## Run it in a visible terminal (cmux pane) Prefer running it in the user's own terminal pane so it's visible and easy to Ctrl+C. In cmux (read the `cmux` skill first if interacting with panes): ```bash cmux send --surface surface:<N> "caffeinate -d -i -t 25200\n" ``` Otherwise run it as a background Bash task. Never block your own foreground shell with it. ## Verify and monitor
Details
- Skill name
anti-sleep- Repository
- adriannoes/awesome-agentic-ai
- Path
cursor-claude-codex/skills/david-ondrej/ops-and-setup/anti-sleep/SKILL.md- License
- MIT
- Repo updated
- 2 November 2026
FAQ
What does the Anti Sleep skill do?
Keep David's MacBook awake with macOS caffeinate — prevent sleep, screen dimming, or both, for a set duration or while a process runs. Use when the user says "don't let my mac sleep", "keep the screen on", "anti-sleep", "caffeinate", or wants the machine awake overnight / during a long build.
How do I install the Anti Sleep skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add adriannoes/awesome-agentic-ai --skill anti-sleep. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Anti Sleep popular?
It lives in adriannoes/awesome-agentic-ai, which has 100 GitHub stars and 27 forks, and is included in 2 curated skill lists.
Related skills
Browserstack
100adriannoes/awesome-agentic-ai
Run tests on BrowserStack. Use when user mentions "browserstack", "cross-browser", "cloud testing", "browser matrix", "test on safari", "test on firefox", or "browser compatibility".
Coverage
100adriannoes/awesome-agentic-ai
Analyze test coverage gaps. Use when user says "test coverage", "what's not tested", "coverage gaps", "missing tests", "coverage report", or "what needs testing".
Fix
100adriannoes/awesome-agentic-ai
Fix failing or flaky Playwright tests. Use when user says "fix test", "flaky test", "test failing", "debug test", "test broken", "test passes sometimes", or "intermittent failure".
Bro
100adriannoes/awesome-agentic-ai
Restate the last message in plain human language, with no jargon.
Moodboard Alignment
49zhlmi/moodboard-alignment
审美共识引擎。把客户 brief、会议记录、剧本/故事大纲、品牌/海报/PPT/影视广告/网站 App/游戏等项目中的散乱审美描述,转化为可确认、可执行、可增量修改的文字版情绪板与 HTML 情绪板。触发词:情绪板、moodboard、视觉方向、风格板、参考图、审美对齐、审美共识、高级/有质感/电影感/温暖/干净/年轻化、把 brief 变成情绪板、生成 HTML 情绪板、修改某张参考图/某个节点。
Building Super Timelines with Plaso
100adriannoes/awesome-agentic-ai
Generate log2timeline and Plaso super-timelines and triage them in Timesketch.
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.