@agent-ops:daemon-agentfrom ops
Manages the ops background daemon: starts, stops, and restarts services via launchctl, checks aggregated health, tails logs, and surfaces action_needed flags like reauth requests.
Ships in ops. Installing the plugin adds it to Claude Code.
The ops-daemon is a unified background process manager (scripts/ops-daemon.sh) that supervises
all claude-ops background services. It replaces per-service launchd agents with a single
com.claude-ops.daemon launchd unit.
Services are configured in ~/.claude/plugins/data/ops-ops-marketplace/daemon-services.json.
Health is aggregated to ~/.claude/plugins/data/ops-ops-marketplace/daemon-health.json.
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.claude-ops.daemon.plist
launchctl bootout gui/$(id -u)/com.claude-ops.daemon
launchctl kickstart -k gui/$(id -u)/com.claude-ops.daemon
cat ~/.claude/plugins/data/ops-ops-marketplace/daemon-health.json
cat ~/.claude/plugins/data/ops-ops-marketplace/daemon-health.json | jq '.services'
cat ~/.claude/plugins/data/ops-ops-marketplace/daemon-health.json | jq '.action_needed'
tail -f ~/.claude/plugins/data/ops-ops-marketplace/logs/ops-daemon.log
tail -f ~/.claude/plugins/data/ops-ops-marketplace/logs/<service-name>.log
When a service requires user intervention (e.g. wacli reauth), action_needed is set:
{
"action_needed": {"service": "wacli-sync", "action": "reauth"}
}
Any ops skill that reads daemon-health.json should surface this to the user immediately.
{
"timestamp": "2026-04-13T15:00:00Z",
"pid": 12345,
"uptime_seconds": 3600,
"services": {
"wacli-sync": {"status": "running", "pid": 67890, "last_health": "connected", "restarts": 0},
"memory-extractor": {"status": "scheduled", "next_run": "2026-04-13T15:30:00Z", "last_run": "2026-04-13T15:00:00Z"}
},
"action_needed": null
}
| Status | Meaning |
|---|---|
running | Process alive and healthy |
starting | Just launched, awaiting health confirmation |
scheduled | Cron service, waiting for next run |
dead | Process exited unexpectedly |
needs_reauth | Service requires user re-authentication |
stopped | Gracefully stopped |
max_restarts_exceeded | Hit restart cap — manual intervention needed |
The ops:setup wizard installs the daemon plist automatically. Manual install:
# Copy and configure plist
SCRIPTS_DIR=~/Projects/claude-ops/claude-ops/scripts
LOG_DIR=~/.claude/plugins/data/ops-ops-marketplace/logs
sed \
-e "s|__DAEMON_SCRIPT_PATH__|$SCRIPTS_DIR/ops-daemon.sh|g" \
-e "s|__LOG_DIR__|$LOG_DIR|g" \
-e "s|__HOME__|$HOME|g" \
"$SCRIPTS_DIR/com.claude-ops.daemon.plist" \
> ~/Library/LaunchAgents/com.claude-ops.daemon.plist
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.claude-ops.daemon.plist
What the agent file sets; muted values are Claude Code's defaults
claude-sonnet-4-6low10project7-day visitors to each agent page
14 agents in this plugin
comms-scannerScans all communication channels for FULL inbox state (not just unread). Classifies each conversation as NEEDS_REPLY, WAITING, or HANDLED. Returns structured JSON. Used by ops-inbox and ops-go.doctor-agentDiagnoses and auto-fixes ops plugin configuration errors, manifest issues, broken permissions, invalid JSON, and stale cache copies.infra-monitorMulti-service infrastructure health checker. Probes every AWS service the caller has IAM access to (ECS, EC2, RDS, Lambda, S3, CloudFront, ALB/NLB, API Gateway, SQS, SNS, DynamoDB, ElastiCache, Route 53, ACM, CloudWatch, Budgets, IAM) plus Vercel and GitHub Actions. Returns structured JSON with service health, accessible/inaccessible service lists, and severity-ranked anomaly flags. Used by ops-fires and ops-deploy.marketing-optimizerCross-platform ad budget optimization — reads Meta + Google Ads data, computes blended ROAS for top-line health plus segmented (brand/non-brand, prospecting/retargeting) ROAS, and recommends specific budget shifts.memory-extractorBackground agent that extracts user profiles, contact cards, and behavioral patterns from chat history. Runs as a daemon service every 30 min.monitor-agentLightweight APM and metrics probe agent. Queries Datadog, New Relic, and OpenTelemetry backends for active alerts, error traces, and entity health. Returns structured JSON. Read-only — used by ops-monitor skill.npx claudepluginhub davepoon/buildwithclaude --plugin claude-opsOther plugins' agents for the same job