acephalt-inc/orch-os/caffeine
Claude Code and agent skill by acephalt-inc/orch-os
- community
Checking that the SKILL.md file is still in the repository.
Use when the machine must stay awake while the team keeps working without the human ("I'm going to bed but keep it running", "I'll be out for hours, let it run", "turn caffeine off"), or /caffeine. Keeps the system awake (the screen may sleep) with a hard time cap, and optionally ends on an observable condition such as a PR merging or a task's DONE message. Not for a short absence (/away) and not for stopping the team (/sleep).
Install
npx vskill@latest install acephalt-inc/orch-os/caffeineSKILL.md
The same SKILL.md was published earlier as acephalt-inc/orch-os/caffeine.
/caffeine — the machine stays awake, the team keeps working
Optional recipe. A person chooses to use it; it is not a product mode and nothing installs or schedules it. It grants no authority: every time, limit and permission in it is a value the operator sets.
Three recipes, kept distinct:
/away: short absence, the human is back before anything sleeps./caffeine: the human sleeps or leaves for long; the team keeps working./sleep: the human sleeps and the team stops.
Procedure
- Ask the mode question before running anything: "Run until the cap, or stop
when a specific thing is finished?"
- until the cap →
forever - until a thing →
until. The thing must be observable: a PR merged, a
DONE message for a named task, a file appearing. "When it is mostly done" is not observable; ask again.
- Set a cap that covers the whole absence. Ask when the human expects to be back
and add margin. A cap that expires at 5 a.m. lets the machine sleep, and every lease and claim held by a sleeping worker then expires with it. There is no default: if the human names no cap, ask again.
- For `until`, check the condition can actually happen. If the named task has an
open QUESTION or BLOCKED message, its DONE may never come and the machine stays awake until the cap. Resolve the question first, or pick another condition.
- Start a supported keep-awake helper with the approved cap. On macOS,
caffeinate -ims -t <seconds> keeps the system awake while allowing display sleep. On Linux, use systemd-inhibit if available. On Windows, report UNAVAILABLE with the reason unless a supported keep-awake method is actually available and verified. Do not report success without verification.
Record the task-owned helper's PID, start time, command identity, cap, and any watcher identity in $ORCH_HOME/caffeine.json. For until, use a watcher only with an authorized cadence and stop condition; it must recheck ownership before stopping the helper. If ownership cannot be verified, leave it running and report the limitation.
- Tell the team which mode and cap are active:
orch mailbox post lead -m "Caffeine <mode>, cap <time>, stop condition <...>."
- Verify and report five facts: keep-awake process alive, system sleep
prevented, display sleep allowed, watcher alive (for until), expiry time.
- macOS:
pmset -g assertionsshowsPreventSystemSleep 1and
PreventUserIdleDisplaySleep 0.
- Linux:
systemd-inhibit --listshows the entry.
Off
Recheck the recorded PID, start time, and command identity immediately before stopping each task-owned helper or watcher. Stop only a verified match, then verify exit and check the assertion. If identity cannot be established, preserve the process and report the limitation. Leave other programs alone.
Limits
Keep-awake does not stop scheduled loops or workers; they keep running until /sleep. If the machine is closed or loses power, the cap does not matter.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/caffeine/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/acephalt-inc/orch-os/caffeine)