SKILLEMALL.ai

FC self-heal-watchdog

Automated self-healing system for OpenClaw gateway with model failover support. Three-layer protection: process watchdog (auto-restart on crash), config guard (backup + rollback), and model health check (auto-switch to fallback model on API failure). Use for: gateway monitoring, automatic recovery, model failover, crash recovery, uptime protection. Triggers: watchdog, self-heal, monitoring, recovery, failover, health check, gateway restart.

Not recommendedcritical or high security findings · low grade F
ClawHub Agent Skills author: bptravel2017 v1.0.0 MIT-0 9 files · 5 scripts body ≈ 304 tokens Open the sourceclawhub.ai analyzed 3 d ago

As a process C 53/100 · Has gaps — weak spots: result and completion, when it triggers, inputs and preconditions

IntegrationInfrastructuretype and topics are labelled automatically from the skill text
JSON
Technical rating
F
33/100
safety, quality, tests
Safety 60%
1
Quality 40%
81
Run on models
none yet
Process rating
C
53/100
Has gaps
Result and completion w 14
0
Inputs and preconditions w 11
0
When it triggers w 12
20
the three weakest of ten parameters · all ten

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.

Dangerous commands
If you install

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.

For the author

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

  1. 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.
For the model run — optional
  • 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 · 16

  • high Dangerous commands cmd-persistence scripts/setup.sh:31
    Persistence mechanism (cron / launchd / scheduled task / autorun registry)
    (crontab -l 2>/dev/null | grep -v "$CRON_MARKER" | crontab -) 2>/dev/null || true
  • high Dangerous commands cmd-persistence scripts/setup.sh:133
    Persistence mechanism (cron / launchd / scheduled task / autorun registry)
    if launchctl load "$LAUNCHD_PLIST" 2>/dev/null; then
  • high Dangerous commands cmd-persistence scripts/status.sh:85
    Persistence mechanism (cron / launchd / scheduled task / autorun registry)
    CRON_LINE=$(crontab -l 2>/dev/null | grep "openclaw-watchdog")
Medium and low: 13
  • medium Dangerous commands cmd-persistence README.md:51
    Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)
    launchctl unload ~/Library/LaunchAgents/com.openclaw.watchdog.plist
    security skill
  • medium Dangerous commands cmd-persistence README.md:104
    Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)
    launchctl unload ~/Library/LaunchAgents/com.openclaw.watchdog.plist
    security skill
  • medium Dangerous commands cmd-persistence README.md:108
    Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)
    rm ~/Library/LaunchAgents/com.openclaw.watchdog.plist
    security skill
  • medium Dangerous commands cmd-persistence references/config.md:75
    Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)
    launchctl unload ~/Library/LaunchAgents/com.openclaw.watchdog.plist
    security skill
  • medium Dangerous commands cmd-persistence references/config.md:78
    Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)
    launchctl load ~/Library/LaunchAgents/com.openclaw.watchdog.plist
    security skill
  • medium Dangerous commands cmd-persistence scripts/setup.sh:136
    Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)
    warn "launchd load returned non-zero (may already be loaded). Try: launchctl load $LAUNCHD_PLIST"
    code literal
  • medium Dangerous commands cmd-persistence scripts/status.sh:76
    Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)
    LAUNCHD_PLIST="$HOME/Library/LaunchAgents/com.openclaw.watchdog.plist"
    code literal
  • medium Dangerous commands cmd-persistence scripts/status.sh:82
    Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)
    echo "  Run: launchctl load $LAUNCHD_PLIST"
    code literal
  • low Dangerous commands cmd-persistence scripts/setup.sh:11
    Persistence mechanism (cron / launchd / scheduled task / autorun registry) (detector / deny-list definition; string literal in code, not executed)
    LAUNCHD_PLIST="$HOME/Library/LaunchAgents/com.openclaw.watchdog.plist"
    detectorcode literal
  • low Dangerous commands cmd-cron-mention scripts/setup.sh:31
    Mentions editing / listing crontab
    (crontab -l 2>/dev/null | grep -v "$CRON_MARKER" | crontab -) 2>/dev/null || true
  • low Dangerous commands cmd-cron-mention scripts/status.sh:84
    Mentions editing / listing crontab
    elif crontab -l 2>/dev/null | grep -q "openclaw-watchdog"; then
  • low Dangerous commands cmd-cron-mention scripts/status.sh:85
    Mentions editing / listing crontab
    CRON_LINE=$(crontab -l 2>/dev/null | grep "openclaw-watchdog")

A further 1 matches are quotations in this security skill's documentation and are not counted as findings.

Files scanned: 9. Evidence is masked. Grey chips explain why severity was lowered.

Against the Agent Skills spec

✓ No remarks against the Agent Skills spec

Process rating: all ten parameters 53/100

  • 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
  • 50Failures and branches. 0 branches, has a failure section
  • 60Tools and files. Uses tools (bash) that frontmatter does not declare
  • 100Steps. 9 steps
  • 100Consistency. Name and required fields are in place
  • 100Execution cost. Instruction body is 304 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
  • -2localhost URLs: will not work for another user
  • -41 reference files, but SKILL.md never points to them: the model will not open them
  • +1No license
  • +2Single-language instructions
  • +3Description length 444: enough signal without eating the budget
  • +4Structure: 10 headings
  • +3Step-by-step instructions: 9 items
  • +4Has examples (1 code blocks)
  • +3All 5 scripts are documented

Quality base 70; lint remarks subtract, signals add up to 100. Result: 81.

External checks

ClawHub: suspicious
This skill is mostly transparent about its watchdog purpose, but it installs persistent automation that can change OpenClaw settings and includes unsafe failover scripting that warrants review before installation.
LLM: suspicious (high) · VirusTotal: · 29 May 2026