AgentStack
SKILL verified MIT Self-run

Caffeinate

skill-jarrettmeyer-skills-caffeinate · by jarrettmeyer

Use caffeinate to keep your MacBook awake

No reviews yet
0 installs
6 views
0.0% view→install

Install

$ agentstack add skill-jarrettmeyer-skills-caffeinate

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Caffeinate? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Prevent the system from sleeping using macOS caffeinate.

Always Kill Existing Processes First

Before starting caffeinate, always kill any existing process:

killall caffeinate 2>/dev/null || true

Start Caffeinate

Indefinitely:

caffeinate -dimsu &

Until a specific time:

Calculate seconds from now until target time, then run:

caffeinate -dimsu -t  &

Example: If it's 1:40 pm and user says "until 4:30 pm":

caffeinate -dimsu -t $(( ((16*60 + 30) - (13*60 + 40)) * 60 )) &

Always run in background with &.

Stop Caffeinate

killall caffeinate

Examples

| User says | Action | | ------------------------ | -------------------------------- | | "Stay awake until 6 pm" | Calculate seconds, run with -t | | "/caffeinate 4:30 pm" | Calculate seconds, run with -t | | "Keep my computer awake" | Run indefinitely | | "Stop caffeinate" | Kill the process |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.