Anti Sleep
Keep a Mac awake with caffeinate during long builds, downloads, or supervised automation runs.
Install
npx skills add huytran1120/vietnam-agentic-skills --skill anti-sleepgit clone --depth 1 https://github.com/huytran1120/vietnam-agentic-skills.git /tmp/vietnam-agentic-skills
mkdir -p ~/.claude/skills
cp -r /tmp/vietnam-agentic-skills/skills/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) ## When to Use - Use when the user wants the Mac to stay awake during a long supervised task. - Use when a build, download, or automation run should not be interrupted by sleep. Keep the Mac awake using the built-in `caffeinate` command. No install needed. ## Quick start — the standard command ```bash caffeinate -i -t 7200 # prevent idle system 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` | screen on + system awake, when the task needs a visible display | | `-d -i -s` | adds `-s`: prevents system sleep while on AC power; valid only when plugged in | | `-u -t 1` | simulates user activity — wakes the display right now | Default to `-i -t <seconds>`; add `-d` only when the task needs the display awake. These assertions do not guarantee continued execution through lid closure, shutdown or loss of power, and do not replace the lock-screen policy. ## 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)
Details
- Skill name
anti-sleep- Repository
- huytran1120/vietnam-agentic-skills
- Path
skills/anti-sleep/SKILL.md- License
- MIT
- Repo updated
- 29 October 2026
- Copies
- Found in 2 GitHub repos
FAQ
What does the Anti Sleep skill do?
Keep a Mac awake with caffeinate during long builds, downloads, or supervised automation runs.
How do I install the Anti Sleep skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add huytran1120/vietnam-agentic-skills --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 huytran1120/vietnam-agentic-skills, which has 9 GitHub stars and 4 forks.
Related skills
Apify Audience Analysis
9huytran1120/vietnam-agentic-skills
Understand audience demographics, preferences, behavior patterns, and engagement quality across Facebook, Instagram, YouTube, and TikTok.
Apify Competitor Intelligence
9huytran1120/vietnam-agentic-skills
Analyze competitor strategies, content, pricing, ads, and market positioning across Google Maps, Booking.com, Facebook, Instagram, YouTube, and TikTok.
Apify Content Analytics
9huytran1120/vietnam-agentic-skills
Track engagement metrics, measure campaign ROI, and analyze content performance across Instagram, Facebook, YouTube, and TikTok.
Antigravity Workflows
9huytran1120/vietnam-agentic-skills
Use when asked to ship a SaaS MVP, audit application security, build an AI agent, run browser QA, or design a domain model with multiple skills and verified checkpoints.
Alerting Oncall
9huytran1120/vietnam-agentic-skills
Set up alerting rules, configure on-call rotations, and manage incident response workflows.
Apify Automation
8ranbot-ai/awesome-skills
Automate web scraping and data extraction with Apify -- run Actors, manage datasets, create reusable tasks, and retrieve crawl results through the Composio Apify integration.
Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.