DF openclaw-ui-theme-coach
引导式 UI 主题设计顾问:通过问答引导帮用户定制任意风格的 OpenClaw Control UI 主题(像素/赛博朋克/卡通/极简/暗色科技等),含主色派生调色板、双保险注入、升级自愈(cron+快照)与反馈学习循环。触发词:主题、换皮、皮肤、UI 美化、风格。
引导式 UI 主题设计顾问:通过问答引导帮用户定制任意风格的 OpenClaw Control UI 主题(像素/赛博朋克/卡通/极简/暗色科技等),含主色派生调色板、双保险注入、升级自愈(cron+快照)与反馈学习循环。触发词:主题、换皮、皮肤、UI 美化、风格。
As a process F 30/100 · Will not run — References files that are not bundled: references/styles/<风格>.md
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.
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- 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 · 9
-
high Dangerous commands
cmd-persistenceSKILL.md:138Persistence mechanism (cron / launchd / scheduled task / autorun registry)( crontab -l 2>/dev/null | grep -v 'heal.sh' ; echo '0 6 * * * /bin/bash "<skill 安装目录>/scripts/heal.sh" <主题名> >> ~/.openclaw/workspace/theme-coach/heal.log 2>&1' ) | crontab -
-
high Dangerous commands
cmd-persistenceSKILL.md:154Persistence mechanism (cron / launchd / scheduled task / autorun registry)crontab -l | sed 's#heal.sh" A#heal.sh" B#' | crontab - # A/B 换成实际主题名
-
high Dangerous commands
cmd-persistenceSKILL.md:163Persistence mechanism (cron / launchd / scheduled task / autorun registry)( crontab -l 2>/dev/null | grep -v 'heal.sh' ) | crontab -
Medium and low: 6
-
medium Dangerous commands
cmd-pipe-to-shellSKILL.md:331Downloads and executes remote code from an unrecognised host (pipe to shell) (security demo / example)- [ ] 安全审计:注入代码/素材零外链、字体纹理全部本地化(web 调研/curl 校验属开发期行为,不进注入产物)、无敏感文件读取、无 curl|bash 模式
demo -
low Dangerous commands
cmd-cron-mentionSKILL.md:138Mentions editing / listing crontab( crontab -l 2>/dev/null | grep -v 'heal.sh' ; echo '0 6 * * * /bin/bash "<skill 安装目录>/scripts/heal.sh" <主题名> >> ~/.openclaw/workspace/theme-coach/heal.log 2>&1' ) | crontab -
-
low Dangerous commands
cmd-cron-mentionSKILL.md:139Mentions editing / listing crontabcrontab -l | grep heal.sh # 确认注册成功
-
low Dangerous commands
cmd-cron-mentionSKILL.md:141Mentions editing / listing crontab (security demo / example; quoted — discussed, not commanded)> `<skill 安装目录>` 换成 skill 实际路径(在 skill 目录里执行 `pwd` 即得);`<主题名>` 换成刚注入的主题。改现有 crontab 前必须先 `crontab -l` 看现状。
demoquoted -
low Dangerous commands
cmd-cron-mentionSKILL.md:154Mentions editing / listing crontabcrontab -l | sed 's#heal.sh" A#heal.sh" B#' | crontab - # A/B 换成实际主题名
-
low Dangerous commands
cmd-cron-mentionSKILL.md:155Mentions editing / listing crontabcrontab -l | grep heal.sh # 确认已更新
Files scanned: 16. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when") - warning
missing-refreference to a missing file: references/styles/<风格>.md - note
frontmatter-keyunknown frontmatter key "emoji" - note
frontmatter-keyunknown frontmatter key "categories"
Process rating: all ten parameters 30/100
- 0Tools and files. 1 referenced file(s) missing: references/styles/<风格>.md
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 1 mutating operations with no state check
- 40Consistency. Frontmatter name (openclaw-ui-theme-coach) differs from the folder (ui-theme-coach)
- 100Steps. 129 steps
- 100Execution cost. Instruction body is 3417 tokens
- 100Progress reporting. Reports progress
- low 12 top-level sections: this looks like several domains in one skill
- low The response is described with custom markup (17 tags): a typed call is more reliable
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 133: enough signal without eating the budget
- +4Structure: 33 headings
- +3Step-by-step instructions: 129 items
- +4Has examples (6 code blocks)
- +4Reference files are cited in the instructions (2 of 2)
- +3All 3 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 71.