CC pretext-reporter-bao
文本测量和Canvas布局报告工具 - 基于Pretext库,支持多语言文本测量、行布局计算、可视化报告生成
As a process C 53/100 · Has gaps — weak spots: result and completion, when it triggers, inputs and preconditions
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 files contain invisible characters, encoded commands or comments hidden from readers but visible to the model. What you read differs from what the agent sees.
Remove invisible characters (they usually sneak in through copy-paste) and encoded strings: no catalog will pass them. Instructions for the model must be readable by a human too.
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.
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- 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 · 17
-
high Obfuscation
uni-zero-widthpretext/corpora/km-prachum-reuang-preng-khmer-volume-7-stories-1-10.txt:1Zero-width / invisible characters (possible hidden text) (4401 occurrences)រឿង ␀ត្មាត␀បោក␀ដំរី␀ស
Medium and low: 16
-
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:43High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…wQp+7C4n…9JQ==",
detector -
low Obfuscation
obf-hex-escape-chainpretext/corpora/README.md:56Escaped/char-code string obfuscation (detector / deny-list definition)- URL: <https://th.wikisource.org/wiki/%E0%B8%99%E0%B8%B4%E0%B8%97%E0%B8%B2%E0%B8%99%E0%B9%80%E0%B8%A7%E0%B8%95%E0%B8%B2%E0%B8%A5/%E0%B9%80%E0%B8%A3%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%87%E0%B8%97%E0%B8%
detector -
low Obfuscation
obf-hex-escape-chainpretext/corpora/README.md:62Escaped/char-code string obfuscation (detector / deny-list definition)- URL: <https://th.wikisource.org/wiki/%E0%B8%99%E0%B8%B4%E0%B8%97%E0%B8%B2%E0%B8%99%E0%B9%80%E0%B8%A7%E0%B8%95%E0%B8%B2%E0%B8%A5_%E0%B9%80%E0%B8%A3%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%87%E0%B8%97%E0%B8%
detector -
low Obfuscation
obf-hex-escape-chainpretext/corpora/README.md:68Escaped/char-code string obfuscation (detector / deny-list definition)- URL: <https://my.wikisource.org/wiki/%E1%80%85%E1%80%89%E1%80%BA%E1%80%B8%E1%80%9C%E1%80%B2%E1%80%9E%E1%80%B1%E1%80%AC_%E1%80%97%E1%80%BB%E1%80%AD%E1%80%AF%E1%80%84%E1%80%BA%E1%80%B8_(%E1%80%86%E1%8
detector -
low Obfuscation
obf-hex-escape-chainpretext/corpora/README.md:74Escaped/char-code string obfuscation (detector / deny-list definition)- URL: <https://my.wikisource.org/wiki/%E1%80%99%E1%80%80%E1%80%B1%E1%80%AC%E1%80%84%E1%80%BA%E1%80%B8%E1%80%99%E1%80%BE%E1%80%AF%E1%80%92%E1%80%8F%E1%80%BA_%E1%80%80%E1%80%AD%E1%80%AF%E1%80%9A%E1%80%
detector -
low Obfuscation
obf-hex-escape-chainpretext/corpora/README.md:80Escaped/char-code string obfuscation (detector / deny-list definition)- URL: <https://wikisource.org/wiki/%E1%9E%94%E1%9F%92%E1%9E%9A%E1%9E%87%E1%9E%BB%E1%9F%86%E1%9E%9A%E1%9E%BF%E1%9E%84%E1%9E%96%E1%9F%92%E1%9E%9A%E1%9F%81%E1%9E%84%E1%9E%81%E1%9F%92%E1%9E%98%E1%9F%82%E
detector -
low Obfuscation
obf-hex-escape-chainpretext/corpora/sources.json:133Escaped/char-code string obfuscation (detector / deny-list definition)"source_url": "https://th.wikisource.org/wiki/%E0%B8%99%E0%B8%B4%E0%B8%97%E0%B8%B2%E0%B8%99%E0%B9%80%E0%B8%A7%E0%B8%95%E0%B8%B2%E0%B8%A5/%E0%B9%80%E0%B8%A3%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%87%E0%B8%97
detector -
low Obfuscation
obf-hex-escape-chainpretext/corpora/sources.json:151Escaped/char-code string obfuscation (detector / deny-list definition)"source_url": "https://th.wikisource.org/wiki/%E0%B8%99%E0%B8%B4%E0%B8%97%E0%B8%B2%E0%B8%99%E0%B9%80%E0%B8%A7%E0%B8%95%E0%B8%B2%E0%B8%A5_%E0%B9%80%E0%B8%A3%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%87%E0%B8%97
detector -
low Obfuscation
obf-hex-escape-chainpretext/corpora/sources.json:169Escaped/char-code string obfuscation (detector / deny-list definition)"source_url": "https://my.wikisource.org/wiki/%E1%80%85%E1%80%89%E1%80%BA%E1%80%B8%E1%80%9C%E1%80%B2%E1%80%9E%E1%80%B1%E1%80%AC_%E1%80%97%E1%80%BB%E1%80%AD%E1%80%AF%E1%80%84%E1%80%BA%E1%80%B8_(%E1%80%
detector -
low Obfuscation
obf-hex-escape-chainpretext/corpora/sources.json:187Escaped/char-code string obfuscation (detector / deny-list definition)"source_url": "https://my.wikisource.org/wiki/%E1%80%99%E1%80%80%E1%80%B1%E1%80%AC%E1%80%84%E1%80%BA%E1%80%B8%E1%80%99%E1%80%BE%E1%80%AF%E1%80%92%E1%80%8F%E1%80%BA_%E1%80%80%E1%80%AD%E1%80%AF%E1%80%9A
detector -
low Obfuscation
obf-hex-escape-chainpretext/corpora/sources.json:205Escaped/char-code string obfuscation (detector / deny-list definition)"source_url": "https://wikisource.org/wiki/%E1%9E%94%E1%9F%92%E1%9E%9A%E1%9E%87%E1%9E%BB%E1%9F%86%E1%9E%9A%E1%9E%BF%E1%9E%84%E1%9E%96%E1%9F%92%E1%9E%9A%E1%9F%81%E1%9E%84%E1%9E%81%E1%9F%92%E1%9E%98%E1%
detector -
low Secrets in code
secret-high-entropy-tokenpretext/dist/measurement.d.ts:14High-entropy token-like string (may be an id, hash or a credential)export declare function getMeasureContext(): Canv…t2D | Offs…t2D;
-
low Secrets in code
secret-high-entropy-tokenpretext/pages/benchmark.ts:22High-entropy token-like string (may be an id, hash or a credential)import kmPr…o10 from '../corpora/km-prachum-reuang-preng-khmer-volume-7-stories-1-10.txt' with { type: 'text' } -
low Secrets in code
secret-high-entropy-tokenpretext/pages/benchmark.ts:175High-entropy token-like string (may be an id, hash or a credential)text: kmPr…o10,
-
low Secrets in code
secret-high-entropy-tokenpretext/pages/corpus.ts:23High-entropy token-like string (may be an id, hash or a credential)import kmPr…o10 from '../corpora/km-prachum-reuang-preng-khmer-volume-7-stories-1-10.txt' with { type: 'text' } -
low Secrets in code
secret-high-entropy-tokenpretext/pages/corpus.ts:1019High-entropy token-like string (may be an id, hash or a credential)return kmPr…o10
Files scanned: 80. 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")
Process rating: all ten parameters 53/100
- 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
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 100Tools and files. No external tools needed
- 100Steps. 25 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 1047 tokens
- 100Running it twice. No mutating operations
- 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)
- +3Description length 54: 120–800 characters recommended
- +3Output format is not stated: the model decides each time
- +1No license
- +2Single-language instructions
- +4Structure: 20 headings
- +3Step-by-step instructions: 25 items
- +4Has examples (8 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 69.