BC yidun-skill-sec
Intelligent code security scanner with hybrid local-cloud detection. Fingerprints packages, runs static behavioral analysis, and consults cloud threat intelligence (enabled by default, can be disabled) for confidence scoring.
Intelligent code security scanner with hybrid local-cloud detection.
As a process C 63/100 · Has gaps — weak spots: when it triggers, consistency, running it twice
How to improve
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- The SKILL.md body is over 5,000 tokens: move reference detail into references/ and load it when needed.
- 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 · 11
✓ No critical or high findings
Medium and low: 11
-
low Dangerous commands
cmd-privilegeREADME.md:79Privilege escalation / world-writable permissions (documentation table row; documentation of a security skill)| `PRIV_ESCALATION` | `sudo`, `chmod 777`, `setuid` patterns |
tablesecurity skill -
low Dangerous commands
cmd-privilegeREADME.zh-CN.md:79Privilege escalation / world-writable permissions (documentation table row; documentation of a security skill)| `PRIV_ESCALATION` | `sudo`、`chmod 777`、`setuid` 等提权操作 |
tablesecurity skill -
low Dangerous commands
cmd-privilegeSKILL.md:163Privilege escalation / world-writable permissions (documentation table row; documentation of a security skill)| `PRIV_ESCALATION` | `sudo`, `chmod 777`, `setuid` patterns | +30 |
tablesecurity skill -
low Dangerous commands
cmd-privilegeSKILL.md:205Privilege escalation / world-writable permissions (documentation of a security skill)sudo\s|chmod\s+[0-7]*7|chown\s+root|setuid
security skill
A further 7 matches are quotations in this security skill's documentation and are not counted as findings.
Files scanned: 4. 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
body-longSKILL.md body ≈ 5328 tokens (recommended < 5000); move details to references/ - note
frontmatter-keyunknown frontmatter key "homepage" - note
frontmatter-keyunknown frontmatter key "changelog"
Process rating: all ten parameters 63/100
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 5 mutating operations with no state check
- 40Consistency. Frontmatter name (yidun-skill-sec) differs from the folder (my-test-skill)
- 60Tools and files. Uses tools (bash, web) that frontmatter does not declare
- 60Result and completion. Output format stated, no completion criterion
- 70Inputs and preconditions. Inputs and preconditions are listed
- 70Execution cost. Instruction body is 5328 tokens
- 100Steps. 23 steps
- 100Failures and branches. 2 branches, has a failure section
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 13 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)
- -228 emoji in the instructions: noise for the model
- +1No license
- +2Single-language instructions
- +3Description length 225: enough signal without eating the budget
- +4Structure: 32 headings
- +3Step-by-step instructions: 23 items
- +3Output format is stated explicitly
- +4Has examples (14 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 61.