setup-macmini-24x7
Skill1 starsChanged 9 months agoMITView on GitHub
Keep a Mac mini running 24/7 for NanoClaw by preventing sleep (caffeinate via LaunchAgent/LaunchDaemon) and verifying power settings. Use when user says "mac mini", "no sleep", "headless", "24/7", or "caffeinate".
In this repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-gmailSkill
- add-mcp-skeletonSkill
- add-parallelSkill
- add-telegramSkill
- add-telegram-swarmSkill
- add-voice-transcriptionSkill
- convert-to-dockerSkill
- customizeSkill
- debugSkill
- pr-reviewSkill
- setup-minimaxSkill
- setupSkill
- x-integrationSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 64
Use LaunchDaemon only if you need this even before login (requires sudo + writing to /Library/LaunchDaemons/).
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Setup Mac mini 24/7 (No Sleep)
Goal: prevent the host Mac from sleeping so NanoClaw containers can run reliably.
1) Verify Current Power Settings
pmset -g custom
pmset -g assertions | head -n 802) Create a LaunchAgent (user session)
This is usually enough for a headless Mac mini that stays logged in.
Create ~/Library/LaunchAgents/local.caffeinate.nanoclaw.plist:
cat > ~/Library/LaunchAgents/local.caffeinate.nanoclaw.plist <<'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>local.caffeinate.nanoclaw</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/caffeinate</string>
<string>-dimsu</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
EOFLoad it:
uid=$(id -u)
plist="$HOME/Library/LaunchAgents/local.caffeinate.nanoclaw.plist"
launchctl bootout "gui/$uid" "$plist" >/dev/null 2>&1 || true
launchctl bootstrap "gui/$uid" "$plist"
launchctl kickstart -k "gui/$uid/local.caffeinate.nanoclaw"3) Verify It's Working
pmset -g assertions | rg -n "caffeinate|PreventUserIdleSystemSleep|PreventSystemSleep" || true
launchctl list | rg -n "local\\.caffeinate\\.nanoclaw" || trueNotes
- Use LaunchDaemon only if you need this even before login (requires sudo + writing to
/Library/LaunchDaemons/). - Don’t disable display sleep unless you actually need it;
-dincaffeinate -dimsuprevents display sleep too.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

