CF gateway-guard
Ensures OpenClaw gateway auth consistency and can auto-prompt "continue" when a run error (Unhandled stop reason: error) appears in gateway logs. Use when checking or fixing gateway token/password mismatch, device_token_mismatch errors, or before delegating to sub-agents.
Ensures OpenClaw gateway auth consistency and can auto-prompt "continue" when a run error (Unhandled stop reason: error) appears in gateway logs.
As a process F 56/100 · Will not run — References files that are not bundled: scripts/com.openclaw.gateway-guard.watcher.plist, scripts/com.openclaw.gateway-guard.continue-on-error.plist
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 · 6
-
high Dangerous commands
cmd-persistencescripts/install_watcher.sh:38Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl load "$PLIST_DEST"
Medium and low: 5
-
medium Dangerous commands
cmd-persistencescripts/install_watcher.sh:25Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)launchctl unload "$HOME/Library/LaunchAgents/com.openclaw.what-just-happened.plist" 2>/dev/null || true
code literal -
medium Dangerous commands
cmd-persistencescripts/install_watcher.sh:26Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)launchctl unload "$HOME/Library/LaunchAgents/com.openclaw.gateway-guard.continue-on-error.plist" 2>/dev/null || true
code literal -
low Dangerous commands
cmd-persistencescripts/install_watcher.sh:13Persistence mechanism (cron / launchd / scheduled task / autorun registry) (detector / deny-list definition; string literal in code, not executed)PLIST_DEST="$HOME/Library/LaunchAgents/com.openclaw.gateway-guard.watcher.plist"
detectorcode literal
A further 2 matches are quotations in this security skill's documentation and are not counted as findings.
Files scanned: 6. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
missing-refreference to a missing file: scripts/com.openclaw.gateway-guard.watcher.plist - warning
missing-refreference to a missing file: scripts/com.openclaw.gateway-guard.continue-on-error.plist
Process rating: all ten parameters 56/100
- 0Tools and files. 2 referenced file(s) missing: scripts/com.openclaw.gateway-guard.watcher.plist, scripts/com.openclaw.gateway-guard.continue-on-error.plist
- 0Result and completion. Does not say what the result is
- 30Running it twice. 3 mutating operations with no state check
- 65Failures and branches. 3 branches
- 70When it triggers. States when to use, but not when not to
- 85Steps. 29 steps, 1 vague phrases
- 100Inputs and preconditions. Inputs and preconditions are listed
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 1968 tokens
- 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 272: enough signal without eating the budget
- +4Structure: 10 headings
- +3Step-by-step instructions: 29 items
- +4Has examples (1 code blocks)
- +3All 4 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 78.