CF pdf-ocr-tool
Intelligent PDF and image to Markdown converter using Ollama GLM-OCR with smart content detection (text/table/figure)
As a process F 56/100 · Will not run — References files that are not bundled: images/page_1_region_3.png
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 · 6
✓ No critical or high findings
Medium and low: 6
-
medium Dangerous commands
cmd-pipe-to-shellREADME.md:29Downloads and executes remote code from an unrecognised host (pipe to shell) (the skill's own vendor host)curl -fsSL https://ollama.com/install.sh | sh
vendor-host -
medium Dangerous commands
cmd-pipe-to-shell-known-hostREADME.md:37Pipe-to-shell installer from a well-known host (still executes remote code)curl -LsSf https://astral.sh/uv/install.sh | sh
-
medium Dangerous commands
cmd-pipe-to-shellSKILL.md:27Downloads and executes remote code from an unrecognised host (pipe to shell) (the skill's own vendor host)curl -fsSL https://ollama.com/install.sh | sh
vendor-host -
medium Dangerous commands
cmd-pipe-to-shell-known-hostSKILL.md:35Pipe-to-shell installer from a well-known host (still executes remote code)curl -LsSf https://astral.sh/uv/install.sh | sh
-
low Dangerous commands
cmd-pipe-to-shell-known-hosthooks/install-deps.sh:40Pipe-to-shell installer from a well-known host (still executes remote code) (string literal in code, not executed)echo " curl -LsSf https://astral.sh/uv/install.sh | sh"
code literal -
low Dangerous commands
cmd-pipe-to-shellhooks/post-install.sh:13Downloads and executes remote code from an unrecognised host (pipe to shell) (string literal in code, not executed; the skill's own vendor host)echo " curl -fsSL https://ollama.com/install.sh | sh"
code literalvendor-host
Files scanned: 20. 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: images/page_1_region_3.png
Process rating: all ten parameters 56/100
- 0Tools and files. 1 referenced file(s) missing: images/page_1_region_3.png
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 50Failures and branches. 0 branches, has a failure section
- 60Result and completion. Output format stated, no completion criterion
- 70Inputs and preconditions. Inputs and preconditions are listed
- 100Steps. 23 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 1820 tokens
- 100Running it twice. No mutating operations
- low 12 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)
- +3Description length 117: 120–800 characters recommended
- +1No license
- +2Single-language instructions
- +4Structure: 31 headings
- +3Step-by-step instructions: 23 items
- +3Output format is stated explicitly
- +4Has examples (17 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 66.