BF zhihu-publish-attach
Auto-publish Zhihu column articles on Linux (Chrome attach/VNC). Agent writes title+body then exec zhihu_publish.sh with --publish --submit. Triggers 知乎发帖, 发知乎, 知乎文章, 写一篇发知乎, 帮我发帖, zhihu publish, 发布到知乎, 自动发知乎.
Auto-publish Zhihu column articles on Linux (Chrome attach/VNC).
As a process F 45/100 · Will not run — References files that are not bundled: scripts/chromedriver.env, scripts/screenshots/
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
- 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 · 4
✓ No critical or high findings
Medium and low: 4
-
medium Dangerous commands
cmd-privilegeREADME.md:64Privilege escalation / world-writable permissionssudo mv -f chro…x64/chromedriver /usr/local/bin/
-
medium Dangerous commands
cmd-privilegeREADME.md:65Privilege escalation / world-writable permissionssudo chmod +x /usr/local/bin/chromedriver
-
low Dangerous commands
cmd-privilegescripts/start_chrome_debug.sh:68Privilege escalation / world-writable permissions (detector / deny-list definition)EXTRA_ARGS+=(--no-sandbox --disable-setuid-sandbox)
detector -
low Dangerous commands
cmd-background-processscripts/start_chrome_debug.sh:93Starts a background / autostarted processnohup "${CHROME_CMD[@]}" >/tmp/chrome-zhihu-automation.log 2>&1 &
Files scanned: 14. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
missing-refreference to a missing file: scripts/chromedriver.env - warning
missing-refreference to a missing file: scripts/screenshots/
Process rating: all ten parameters 45/100
- 0Tools and files. 2 referenced file(s) missing: scripts/chromedriver.env, scripts/screenshots/
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 14 mutating operations with no state check
- 100Steps. 15 steps
- 100Failures and branches. 3 branches, has a failure section
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 1671 tokens
- 100Progress reporting. Reports progress
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 10 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
- -32 of 9 scripts are never mentioned in SKILL.md
- +1No license
- +2Single-language instructions
- +3Description length 209: enough signal without eating the budget
- +4Structure: 16 headings
- +3Step-by-step instructions: 15 items
- +4Has examples (5 code blocks)
- +4Reference files are cited in the instructions (1 of 1)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 76.