FD gateway-manager
(no description)
🦞 统一管理多云 OpenClaw 网关实例 / Unified Multi-Cloud OpenClaw Gateway Manager bash
As a process D 39/100 · Unfinished process — weak spots: result and completion, when it triggers, inputs and preconditions
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.
- Add a description to the frontmatter: without it the skill never triggers.
- 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 · 20
-
high Dangerous commands
cmd-persistencescripts/gateway-create.sh:108Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl load "$PLIST_FILE"
-
high Dangerous commands
cmd-persistenceSKILL.md:405Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl load ~/Library/LaunchAgents/ai.openclaw.gateway.plist
-
high Dangerous commands
cmd-persistenceSKILL.md:491Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl load ~/Library/LaunchAgents/ai.openclaw.gateway.plist
Medium and low: 17
-
medium Dangerous commands
cmd-persistenceREADME.en.md:204Persistence mechanism (cron / launchd / scheduled task / autorun registry) (quoted — discussed, not commanded)- Creates user-level LaunchAgent only (`~/Library/LaunchAgents/`)
quoted -
medium Dangerous commands
cmd-persistencescripts/gateway-create.sh:25Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)PLIST_FILE="$HOME/Library/LaunchAgents/ai.openclaw.gateway-$INSTANCE_NAME.plist"
code literal -
medium Dangerous commands
cmd-persistencescripts/gateway-delete.sh:43Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)PLIST_FILE="$HOME/Library/LaunchAgents/ai.openclaw.gateway.plist"
code literal -
medium Dangerous commands
cmd-persistencescripts/gateway-delete.sh:48Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)PLIST_FILE="$HOME/Library/LaunchAgents/ai.openclaw.gateway-feishu.plist"
code literal -
medium Dangerous commands
cmd-persistencescripts/gateway-delete.sh:54Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)PLIST_FILE="$HOME/Library/LaunchAgents/ai.openclaw.gateway-$INSTANCE.plist"
code literal -
medium Dangerous commands
cmd-persistencescripts/gateway-restart.sh:36Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)restart_gateway "本地虾" "$HOME/.jvs/.openclaw" "$HOME/Library/LaunchAgents/ai.openclaw.gateway.plist"
code literal -
medium Dangerous commands
cmd-persistencescripts/gateway-restart.sh:38Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)restart_gateway "飞书机器人" "$HOME/.openclaw" "$HOME/Library/LaunchAgents/ai.openclaw.gateway-feishu.plist"
code literal -
medium Dangerous commands
cmd-persistencescripts/gateway-restart.sh:41Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)restart_gateway "本地虾" "$HOME/.jvs/.openclaw" "$HOME/Library/LaunchAgents/ai.openclaw.gateway.plist"
code literal -
medium Dangerous commands
cmd-persistencescripts/gateway-restart.sh:44Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)restart_gateway "飞书机器人" "$HOME/.openclaw" "$HOME/Library/LaunchAgents/ai.openclaw.gateway-feishu.plist"
code literal -
medium Dangerous commands
cmd-persistencescripts/gateway-set-port.sh:20Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)PLIST_FILE="$HOME/Library/LaunchAgents/ai.openclaw.gateway.plist"
code literal -
medium Dangerous commands
cmd-persistencescripts/gateway-set-port.sh:25Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)PLIST_FILE="$HOME/Library/LaunchAgents/ai.openclaw.gateway-feishu.plist"
code literal -
medium Dangerous commands
cmd-persistencescripts/gateway-verify.sh:19Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)PLIST_FILE="$HOME/Library/LaunchAgents/ai.openclaw.gateway.plist"
code literal -
medium Dangerous commands
cmd-persistencescripts/gateway-verify.sh:24Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)PLIST_FILE="$HOME/Library/LaunchAgents/ai.openclaw.gateway-feishu.plist"
code literal -
medium Dangerous commands
cmd-persistenceSKILL.md:197Persistence mechanism (cron / launchd / scheduled task / autorun registry) (quoted — discussed, not commanded)- 仅创建用户级 LaunchAgent(`~/Library/LaunchAgents/`)
quoted -
medium Dangerous commands
cmd-persistenceSKILL.md:371Persistence mechanism (cron / launchd / scheduled task / autorun registry) (quoted — discussed, not commanded)- Creates user-level LaunchAgent only (`~/Library/LaunchAgents/`)
quoted -
medium Dangerous commands
cmd-persistenceSKILL.md:448Persistence mechanism (cron / launchd / scheduled task / autorun registry) (quoted — discussed, not commanded)- ✅ 仅用户级服务 (`~/Library/LaunchAgents/`)
quoted
A further 1 matches are quotations in this security skill's documentation and are not counted as findings.
Files scanned: 15. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- error
frontmatterSKILL.md: no YAML frontmatter block found - error
name-missingSKILL.md: frontmatter has no `name` - error
description-missingSKILL.md: no `description` — the skill can never trigger
Process rating: all ten parameters 39/100
- 0Result and completion. Does not say what the result is
- 0When it triggers. No condition that starts the skill
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 0Progress reporting. Says nothing while it works
- 30Running it twice. 18 mutating operations with no state check
- 60Tools and files. Uses tools (web) that frontmatter does not declare
- 85Steps. 85 steps, 1 vague phrases
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 3287 tokens
- low 24 top-level sections: this looks like several domains in one skill
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)
- +3Description length 0: 120–800 characters recommended
- +3Output format is not stated: the model decides each time
- -2localhost URLs: will not work for another user
- -2109 emoji in the instructions: noise for the model
- -41 reference files, but SKILL.md never points to them: the model will not open them
- +1No license
- +2Single-language instructions
- +4Structure: 54 headings
- +3Step-by-step instructions: 85 items
- +4Has examples (12 code blocks)
- +3All 8 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 0.