BF gateway-watchdog
Monitor OpenClaw gateway health with a watchdog state machine, Discord alerts, cooldown dedupe, and isolated fallback deployment on macOS. Use when users want gateway failure detection, auto-recovery policy, and low-noise Discord incident notifications.
Monitor OpenClaw gateway health with a watchdog state machine, Discord alerts, cooldown dedupe, and isolated fallback deployment on macOS.
As a process F 38/100 · Will not run — References files that are not bundled: references/com.openclaw.gateway-watchdog.plist.template
What is at stake
The skill contains fragments that, in the wrong hands, cost money or data. Below: what the installer risks and what the author should do.
The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.
Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.
How to improve
- Address the high-severity findings: each costs 18 safety points. If one is a false positive, add the rule id to guard.allow in spec.yaml.
- The text references files that are not there: add them or drop the references.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 5
-
high Dangerous commands
cmd-persistencescripts/install-launchd.sh:69Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl bootstrap "gui/$UID" "$LAUNCHD_PLIST"
Medium and low: 4
-
medium Dangerous commands
cmd-persistencescripts/install-launchd.sh:74Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)echo " launchctl bootstrap gui/$UID \"$LAUNCHD_PLIST\""
code literal -
low Exfiltration
exfil-webhook-urlREADME.md:107Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)export DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/..."
placeholder -
low Exfiltration
net-credential-usescripts/gateway-watchdog.sh:673Credential used in a network call (verify the destination is the intended service) (quoted — discussed, not commanded)' | curl -sS -X POST "$api_url" -H "Authorization: Bot $DISCORD_BOT_TOKEN" -H "Content-Type: application/json" --data @- >/dev/null || true
quoted -
low Exfiltration
exfil-webhook-urlSKILL.md:76Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)export DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/..."
placeholder
Files scanned: 7. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
missing-refreference to a missing file: references/com.openclaw.gateway-watchdog.plist.template
Process rating: all ten parameters 38/100
- 0Tools and files. 1 referenced file(s) missing: references/com.openclaw.gateway-watchdog.plist.template
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 20When it triggers. No condition that starts the skill
- 40Consistency. Frontmatter name (gateway-watchdog) differs from the folder (openclaw-gateway-watchdog-skill)
- 50Failures and branches. 0 branches, has a failure section
- 100Steps. 24 steps
- 100Execution cost. Instruction body is 813 tokens
- 100Running it twice. No mutating operations
- 100Progress reporting. Reports progress
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- +1No license
- +2Single-language instructions
- +3Description length 253: enough signal without eating the budget
- +4Structure: 12 headings
- +3Step-by-step instructions: 24 items
- +4Has examples (8 code blocks)
- +4Reference files are cited in the instructions (1 of 1)
- +3All 2 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 85.