BF skill-lint
Skill 创建预检、可靠性验收与格式审查工具。本技能应在用户创建、重大改造或审查Skill,需要识别旧版 Skill 的指令遵循不稳定、产出漂移、验证模态错配、约束漏检,或检查 Harness 契约、候选绑定证据、故障注入、目录结构、业务流和安全风险时使用。不要用于:代替业务领域验证器、代码审查、应用功能测试、通用编程任务。
Skill 创建预检、可靠性验收与格式审查工具。本技能应在用户创建、重大改造或审查Skill,需要识别旧版 Skill 的指令遵循不稳定、产出漂移、验证模态错配、约束漏检,或检查 Harness…
As a process F 35/100 · Will not run — References files that are not bundled: references/*.md, scripts/*, assets/*
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
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
- 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 · 12
✓ No critical or high findings
Medium and low: 12
-
medium Dangerous commands
cmd-pipe-to-shellCHANGELOG.md:33Downloads and executes remote code from an unrecognised host (pipe to shell) (quoted — discussed, not commanded)- 供应链:运行时自动安装(`pip`/`npm`/`playwright install`,判 High)、`curl|sh` 下载并执行(Critical)、未固定版本依赖、`--online` 时 OSV CVE 查询
quoted -
low Dangerous commands
cmd-pipe-to-shellreferences/security-assessment-standards.md:76Downloads and executes remote code from an unrecognised host (pipe to shell) (documentation table row; documentation of a security skill)| 下载并执行 | `curl | sh`、`wget | bash`、远程脚本下载后运行 | 严重 |
tablesecurity skill -
low Dangerous commands
cmd-privilegereferences/security-assessment-standards.md:77Privilege escalation / world-writable permissions (documentation table row; documentation of a security skill)| 权限提升 | `sudo`、`chmod 777`、setuid、系统服务修改、绕过安全软件 | 严重 |
tablesecurity skill -
low Dangerous commands
cmd-pipe-to-shellscripts/security_scan.py:442Downloads and executes remote code from an unrecognised host (pipe to shell) (string literal in code, not executed; documentation of a security skill)message="检测到 '下载并执行远程代码'(curl|sh 或 wget|bash)模式,属 Hard Fail。",
code literalsecurity skill -
low Dangerous commands
cmd-pipe-to-shellscripts/security_scan.py:607Downloads and executes remote code from an unrecognised host (pipe to shell) (string literal in code, not executed; documentation of a security skill)"检测到 '下载并执行远程代码'(curl|sh 或 wget|bash),属 Hard Fail。",
code literalsecurity skill -
low Dangerous commands
cmd-privilegescripts/security_scan.py:614Privilege escalation / world-writable permissions (string literal in code, not executed; documentation of a security skill)"脚本使用 sudo / chmod 777 等权限提升操作。",
code literalsecurity skill -
low Secrets in code
secret-labelled-tokenscripts/test_security_scan.py:139Labelled token / key literal (vendor format unknown — verify it is not a live credential) (placeholder value)"scripts/secrets.py": "api_key = 'sk-a…456'\n",
placeholder -
low Secrets in code
secret-password-literalscripts/test_security_scan.py:139Hard-coded password / key literal (may be an example) (placeholder value)"scripts/secrets.py": "api_key = 'sk-a…456'\n",
placeholder
A further 4 matches are quotations in this security skill's documentation and are not counted as findings.
Files scanned: 34. 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/*.md - warning
missing-refreference to a missing file: scripts/* - warning
missing-refreference to a missing file: assets/* - warning
missing-refreference to a missing file: templates/* - warning
missing-refreference to a missing file: references/**/*.md - note
frontmatter-keyunknown frontmatter key "homepage"
Process rating: all ten parameters 35/100
- 0Tools and files. 5 referenced file(s) missing: references/*.md, scripts/*, assets/*
- 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. 3 mutating operations with no state check
- 100Steps. 98 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 2852 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
- -34 of 8 scripts are never mentioned in SKILL.md
- +2Single-language instructions
- +3Description length 164: enough signal without eating the budget
- +4Structure: 16 headings
- +3Step-by-step instructions: 98 items
- +4Has examples (5 code blocks)
- +4Reference files are cited in the instructions (16 of 16)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 61.