Overview
- Skill Key
- happydog-intj/openclaw-macos-always-on
- Author
- happydog-intj
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/happydog-intj/openclaw-macos-always-on
- Latest Commit SHA
- 92b948aff9ce533f32bbcae2c9bd77e6b67eb4a6
Run OpenClaw as a system-level LaunchDaemon on macOS for 24/7 operation, surviving screen lock, logout, and user switching. Uses caffeinate to prevent sleep. Verified working for long-term locked screen scenarios.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 macos-launchdaemon 技能。 若已安装,则直接安装 macos-launchdaemon 技能。
# macOS LaunchDaemon Setup for OpenClaw
Run OpenClaw as a system-level service (LaunchDaemon) with `caffeinate` to ensure 24/7 operation. This configuration has been **tested and verified** to work even after extended screen lock periods (30+ minutes).
**Ensures OpenClaw continues running when:**
- 🔒 Screen is locked (short or long duration)
- 👤 User is logged out
- 🔄 Switching between user accounts
- 💤 Display sleeps (system stays awake)
## When to Use This
**Use LaunchDaemon if:**
- You need 24/7 bot availability
- You lock your Mac regularly but want messages to still work
- Multiple users on the same Mac need to access the bot
- Running on a home server/always-on Mac
**Use LaunchAgent if:**
- Only need bot while logged in
- Prefer simpler setup (no sudo)
- Security-conscious about system-level services
## Quick Setup
### One-Command Installation
```bash
curl -fsSL https://raw.githubusercontent.com/YOUR_USERNAME/clawd/master/skills/macos-launchdaemon/install.sh | bash
```
Or manual setup below ⬇️
## Manual Setup
### Step 1: Create LaunchDaemon Configuration
Create the plist file with your actual username. This configuration uses **caffeinate** and has been **tested and verified** to work even after 30+ minutes of screen lock:
```bash
cat > /tmp/ai.openclaw.gateway.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>ai.openclaw.gateway</string>
<key>Comment</key>
<string>OpenClaw Gateway (System Daemon - Network Always On)</string>
<key>RunAtLoad</key>
<true/>
<!-- Enhanced KeepAlive for network services -->
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
<key>NetworkState</key>
<true/>
<key>Crashed</key>
<true/>
</dict>
<!-- Prevent ANY throttling -->
<key>ThrottleInterv...
# OpenClaw macOS Always-On **Keep OpenClaw running 24/7 on macOS - even when your screen is locked for hours!** [](https://www.apple.com/macos/) [](https://github.com/happydog-intj/openclaw-macos-always-on) [](LICENSE) English | [简体中文](README.zh-CN.md) ## 🎯 Problem Solved By default, macOS suspends user processes when you lock your screen, causing your OpenClaw bot to stop responding to messages. This project provides a **tested and verified** solution using LaunchDaemon + caffeinate. **Verified Working:** - ✅ Screen locked for 30+ minutes - ✅ macOS 14.4 (and earlier versions) - ✅ Both Intel and Apple Silicon Macs ## 🚀 Quick Install One-line installation: ```bash curl -fsSL https://raw.githubusercontent.com/happydog-intj/openclaw-macos-always-on/master/install.sh | bash ``` Or manual installation - see [SKILL.md](./SKILL.md) for detailed instructions. ## ✨ What This Does Converts OpenClaw from a user-level LaunchAgent to a system-level LaunchDaemon with these enhancements: | Feature | Before (LaunchAgent) | After (LaunchDaemon + caffeinate) | |---------|---------------------|----------------------------------| | **Screen locked** | ❌ Suspends after ~10min | ✅ Runs indefinitely | | **User logged out** | ❌ Stops | ✅ Continues running | | **Boot startup** | At login | At system boot | | **Priority** | User-level | System-level | | **Sleep prevention** | None | `caffeinate -s` | ## 🔧 How It Works The solution uses three key components: 1. **LaunchDaemon** - System-level service (runs as your user but managed by system launchd) 2. **caffeinate** - macOS utility that prevents system sleep while keeping display sleep enabled 3. **Enhanced KeepAlive** - Network-aware restart with crash recovery ```xml <!-- Key configuration --> <key>ProgramArguments</ke...
laborany
基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill creation, scheduled tasks — OpenClaw for your desktop. Raise your AI lobsters 🦞
heyixuan2
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
win4r
Reusable OpenClaw skill for remote Linux deployment with MiniMax M2.1 and Telegram bot setup
botlearn-ai
Bots learn, human earns, curated open claw playbook list and skill list for life long learners at https://botlearn.ai
duanecilliers
Web-based admin dashboard for OpenClaw — manage Discord persona bots, workspace files, skills, cron jobs, channels, and config
abczsl520
OpenClaw skill: Dynamic bug audit for Node.js web projects (games, data tools, WeChat, APIs, bots). 200+ real-world pitfalls.