service

Solid

Run the agent as an always-on background service (launchd on macOS, systemd on Linux). Triggers on /agent:service, /agent:service install, /agent:service status, /agent:service uninstall, /agent:service logs, "always-on", "background service", "correr 24/7", "run as daemon", "launchd", "systemd".

AI & Automation 61 stars 14 forks Updated today MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
60
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Always-on service Wrap Claude Code (with ClawCode) in the OS's service manager so the agent keeps running after the terminal closes. This is what makes the HTTP bridge, WebChat, webhooks, and crons work 24/7. This is an OPTIONAL feature. See `docs/service.md` for the full reference, risks, and how to add messaging-channel flags. ## ⚠️ Safety — read before install Installing the service runs Claude Code with **`--dangerously-skip-permissions`** in the background. That flag: - Pre-approves every tool call (Bash, Write, Edit, network requests) - Cannot be undone per-request — the running service has full permissions over the agent's workspace for its whole lifetime - Is necessary because a daemon cannot answer interactive tool-approval prompts This is an **irrevocable trust decision for this workspace**. Only run `/agent:service install` if you understand that. **Always prompt the user to confirm before installing.** Quote the flag by name in the confirmation. If the user hesitates or asks questions, stop and explain. ## Dispatch Parse the action and call `service_plan` with it. | User says | Action argument | |---|---| | `/agent:service install` | `install` | | `/agent:service status` (or no arg) | `status` | | `/agent:service uninstall` | `uninstall` | | `/agent:service logs` | `logs` | ## Install flow 1. Find the `claude` binary: `Bash(which claude)`. Trim output. If empty, abort with: *"Can't find `claude` in PATH. Install Claude Code or point me at it manually...

Details

Author
crisandrews
Repository
crisandrews/ClawCode
Created
3 months ago
Last Updated
today
Language
TypeScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category