بنقرة واحدة
openclaw-status
Check OpenClaw gateway health, channel connectivity, agent status, and recent cron job results
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Check OpenClaw gateway health, channel connectivity, agent status, and recent cron job results
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Add a messaging channel binding (Telegram, Slack, WhatsApp, or GChat) to an existing OpenClaw agent
Create a new scheduled cron job for an OpenClaw agent (recurring, interval, or one-shot)
Scaffold a new deterministic shell script for an OpenClaw agent with JSON output, error handling, and the json-response library
Add a new secret to the OpenClaw keychain and update the appropriate launcher/secrets script
Set up nightly dream routine (memory distillation) for an OpenClaw agent including DREAM-ROUTINE.md, cron job, and archive pipeline
Create a new OpenClaw agent with all required directive files, directory structure, and config registration
| name | openclaw-status |
| description | Check OpenClaw gateway health, channel connectivity, agent status, and recent cron job results |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Grep |
Check the health and status of the entire OpenClaw deployment.
OPENCLAW_REPO=$(readlink ~/.openclaw/openclaw.json 2>/dev/null | sed 's|/.openclaw/openclaw.json||')
Detect deployment mode — multi-gateway or single-gateway:
TIER_CONFIGS=(~/.openclaw/configs/openclaw-*.json)
[[ -f "${TIER_CONFIGS[0]}" ]] && MULTI_GATEWAY=true || MULTI_GATEWAY=false
If MULTI_GATEWAY=true, check each tier independently:
~/.openclaw/configs/openclaw-*.json:TIER=$(basename "$cfg" | sed 's/openclaw-//;s/.json//')
PORT=$(grep -o '"port": *[0-9]*' "$cfg" | grep -o '[0-9]*')
curl -s http://localhost:$PORT/health
launchctl print gui/$(id -u)/ai.openclaw.gateway.$TIER 2>&1 | head -5
tail -50 ~/.openclaw-$TIER/gateway.log | grep -E "telegram|slack|whatsapp|starting provider|socket mode|error"
"whatsapp":tail -50 ~/.openclaw-$TIER/gateway.log | grep -c "auto-restart attempt"
If count > 3, WhatsApp is in a restart loop (needs re-auth: delete ~/.openclaw/credentials/whatsapp/default/ and restart).
Agent count per tier: Read each tier's config and count entries in agents.list.
Cron job status: Read ~/.openclaw/cron/jobs.json and for each enabled job, report:
Recent errors per tier:
tail -100 ~/.openclaw-$TIER/gateway.log | grep -i "error\|fail\|crash" | tail -10
If MULTI_GATEWAY=false, fall back to single-gateway checks:
PORT=$(grep -o '"port": *[0-9]*' ~/.openclaw/openclaw.json | grep -o '[0-9]*')
curl -s http://localhost:$PORT/health
launchctl print gui/$(id -u)/ai.openclaw.gateway 2>&1 | head -5
tail -50 ~/.openclaw/logs/gateway.log | grep -E "telegram|slack|whatsapp|starting provider|socket mode|error"
tail -50 ~/.openclaw/logs/gateway.log | grep -c "auto-restart attempt"
Agent count: Read ~/.openclaw/openclaw.json and count entries in agents.list.
Cron job status: Read ~/.openclaw/cron/jobs.json — same as multi-gateway.
Recent errors:
tail -100 ~/.openclaw/logs/gateway.log | grep -i "error\|fail\|crash" | tail -10