一键导入
agent-ops-playbook
Diagnose stuck agents, restart failed processes, manage tmux sessions, run health checks, and resolve common operational failures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Diagnose stuck agents, restart failed processes, manage tmux sessions, run health checks, and resolve common operational failures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Maintain Rick's control plane: approvals, dependency gaps, scoreboard, and morning briefs. Use when Rick needs to rank work, ask the founder for something, summarize operating status, or keep the CEO loop coherent.
Production hardening patterns for AI agents running on OpenClaw. Adds destructive command safety (trash > rm), session rotation protocol, context window discipline, tool pre-flight checks, heartbeat batching with state-file gating, and memory trimming workflow. Battle-tested by Rick (meetrick.ai) over 30+ days of autonomous production operation. Use when setting up a new agent for production, auditing an existing deployment, or after experiencing context degradation, token waste, or operational drift.
Connect to 100+ APIs (Google Workspace, Microsoft 365, GitHub, Notion, Slack, Airtable, HubSpot, etc.) with managed OAuth. Use this skill when users want to interact with external services. Security: The MATON_API_KEY authenticates with Maton.ai but grants NO access to third-party services by itself. Each service requires explicit OAuth authorization by the user through Maton's connect flow. Access is strictly scoped to connections the user has authorized. Provided by Maton (https://maton.ai).
Run long-lived AI coding agents (Codex, Claude Code) in persistent tmux sessions with Ralph retry loops and completion hooks. Use when running multi-step coding tasks, PRD-based workflows, or any programming agent that needs to survive restarts, retry on failure, and notify on completion.
Run long-lived AI coding agents (Codex CLI, Claude Code, Ralph loops) in persistent tmux sessions with completion hooks and automatic monitoring. Use when launching coding agents for multi-step tasks, managing background programming sessions, running Ralph loops with PRD validation, or needing coding work that survives process restarts.
Make AI phone calls using ElevenLabs Conversational AI and Twilio.
| name | agent-ops-playbook |
| description | Diagnose stuck agents, restart failed processes, manage tmux sessions, run health checks, and resolve common operational failures. |
Use this playbook whenever automation appears stalled, degraded, or broken.
ps aux | rg "openclaw|codex|worker|scheduler|telegram-bridge|run-daemon"
tmux -S ~/.tmux/sock list-sessions
tmux -S ~/.tmux/sock capture-pane -t <session> -p | tail -40
Stall indicators:
pkill -f "<pattern>" || true
nohup <command> >> ~/rick-vault/logs/<name>.log 2>&1 &
tmux -S ~/.tmux/sock kill-session -t <session> || true
tmux -S ~/.tmux/sock new -d -s <session> "cd <repo> && <command>; echo EXIT:$?; sleep 999999"
~/.tmux/sockinbox, builder, research, distribution)echo EXIT:$?; sleep 999999) for postmortem visibilitybash scripts/health-check.sh -t ~/.config/openclaw/health-targets.conf --verbose
bash skills/self-healing-ops/scripts/watchdog.sh
Look for:
401, 403, token expired)429)Useful commands:
tail -n 200 ~/rick-vault/logs/<service>.log
rg -n "ERROR|WARN|429|timeout|ECONN|auth" ~/rick-vault/logs/<service>.log
Escalate immediately when: