DF wzz-server-monitor
监控服务器 CPU/内存/磁盘使用率,超过配置阈值时通过 SMTP 发送邮件告警。支持可配置阈值、通知时间窗口、发送频率(防刷屏)和邮件文案模板。当用户询问服务器资源、负载、告警、监控通知、设置或查看资源监控时使用。Make sure to use whenever the user asks about server resource monitoring, load, or email alerts.
监控服务器 CPU/内存/磁盘使用率,超过配置阈值时通过 SMTP 发送邮件告警。支持可配置阈值、通知时间窗口、发送频率(防刷屏)和邮件文案模板。当用户询问服务器资源、负载、告警、监控通知、设置或查看资源监控时使用。Make sure to use whenever the user asks about…
As a process F 41/100 · Will not run — References files that are not bundled: assets/templates/*.html
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 · 8
-
high Dangerous commands
cmd-persistenceassets/install.sh:58Persistence mechanism (cron / launchd / scheduled task / autorun registry)( crontab -l 2>/dev/null | grep -v "$CRON_TAG" ; echo "# $CRON_TAG" ; echo "$CRON_LINE" ) | crontab -
-
high Dangerous commands
cmd-install-from-urlREADME.md:64Installs a package from an untrusted URL / archivepip install -i https://pypi.tuna.tsinghua.edu.cn/simple psutil pyyaml jinja2
-
high Dangerous commands
cmd-install-from-urlSKILL.md:63Installs a package from an untrusted URL / archivepip install -i https://pypi.tuna.tsinghua.edu.cn/simple psutil pyyaml jinja2
Medium and low: 5
-
medium Dangerous commands
cmd-install-from-urlscripts/monitor.py:623Installs a package from an untrusted URL / archive (string literal in code, not executed)print(" pip install -i https://pypi.tuna.tsinghua.edu.cn/simple psutil pyyaml jinja2")code literal -
low Dangerous commands
cmd-cron-mentionassets/install.sh:58Mentions editing / listing crontab( crontab -l 2>/dev/null | grep -v "$CRON_TAG" ; echo "# $CRON_TAG" ; echo "$CRON_LINE" ) | crontab -
-
low Dangerous commands
cmd-cron-mentionassets/install.sh:60Mentions editing / listing crontabcrontab -l | grep -A1 "$CRON_TAG" || true
-
low Dangerous commands
cmd-cron-mentionscripts/monitor.py:646Mentions editing / listing crontab (string literal in code, not executed)print(" 4. 用 install.sh 或 crontab -e 安装定时任务")code literal -
low Dangerous commands
cmd-cron-mentionSKILL.md:174Mentions editing / listing crontab (documentation table row)| 日志为空 | 检查 cron 服务是否运行(WSL2 见上);`crontab -l` 确认条目 |
table
Files scanned: 8. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
missing-refreference to a missing file: assets/templates/*.html
Process rating: all ten parameters 41/100
- 0Tools and files. 1 referenced file(s) missing: assets/templates/*.html
- 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
- 30Running it twice. 2 mutating operations with no state check
- 70When it triggers. States when to use, but not when not to
- 100Steps. 23 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 1214 tokens
- 100Progress reporting. Reports progress
- low 11 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)
- +3Output format is not stated: the model decides each time
- +1No license
- +2Single-language instructions
- +3Description length 204: enough signal without eating the budget
- +4Structure: 13 headings
- +3Step-by-step instructions: 23 items
- +4Has examples (8 code blocks)
- +3All 1 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 81.