SKILLEMALL.ai

BC mp-draft-push

将现成的文章内容发布到微信公众号草稿箱。当用户说"发布文章"、"发布到草稿箱"、"publish to draft"、"推送到公众号"时触发。

modbender/skill-library-mcp Agent Skills author: modbender MIT 3 files · 1 script body ≈ 800 tokens Open the sourcegithub.com analyzed 2 d ago

将现成的文章内容发布到微信公众号草稿箱。当用户说"发布文章"、"发布到草稿箱"、"publish to draft"、"推送到公众号"时触发。

As a process C 51/100 · Has gaps — weak spots: result and completion, when it triggers, inputs and preconditions

GeneratorWriting and documentstype and topics are labelled automatically from the skill text
JSON
Technical rating
B
83/100
safety, quality, tests
Safety 60%
89
Quality 40%
73
Run on models
none yet
Process rating
C
51/100
Has gaps
Result and completion w 14
0
Inputs and preconditions w 11
0
Failures and branches w 10
0
the three weakest of ten parameters · all ten

What is at stake

Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.

Exfiltration medium severity

Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.

If you install

The instructions or scripts send data out: environment variables, keys, file contents, chat history. You may never notice, because the agent performs the upload as "part of the task".

For the author

If the upload is not needed for the task, remove it: catalogs flag such skills and delist them. If it is needed, name the destination explicitly, say what leaves the machine, and give the user a switch.

How to improve

  1. Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
For the model run — optional
  • 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 · 7

✓ No critical or high findings

Medium and low: 7
  • medium Exfiltration net-credential-use scripts.sh:33
    Credential used in a network call (verify the destination is the intended service)
    curl -s "https://api.weixin.qq.com/cgi-bin/token?grant_type=…&appid=…&secret=…" \
  • low Exfiltration read-dotenv README.md:45
    Reads a .env file
    cp .env.example .env
  • low Exfiltration read-dotenv README.md:61
    Reads a .env file
    set -a; source ~/.openclaw/workspace/skills/mp-draft-push/.env; set +a
  • low Exfiltration read-dotenv scripts.sh:5
    Reads a .env file (detector / deny-list definition; code comment)
    # 通过环境变量提供(推荐:使用 .env + `set -a; source .env; set +a`)
    detectorcomment
  • low Exfiltration exfil-secret-in-url scripts.sh:33
    Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)
    curl -s "https://api.weixin.qq.com/cgi-bin/token?grant_type=…&appid=…&secret=…" \
    placeholder
  • low Exfiltration exfil-secret-in-url scripts.sh:45
    Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)
    "https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=…&type=image" \
    placeholder
  • low Exfiltration exfil-secret-in-url scripts.sh:57
    Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)
    "https://api.weixin.qq.com/cgi-bin/draft/add?access_token=…" \
    placeholder

Files scanned: 3. Evidence is masked. Grey chips explain why severity was lowered.

Against the Agent Skills spec

  • warning description-no-when description does not say WHEN to use the skill (no "use when")
  • note frontmatter-key unknown frontmatter key "homepage"

Process rating: all ten parameters 51/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
  • 30Running it twice. 1 mutating operations with no state check
  • 100Tools and files. No external tools needed
  • 100Steps. 12 steps
  • 100Consistency. Name and required fields are in place
  • 100Execution cost. Instruction body is 800 tokens

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

  • +4Description does not say when NOT to use the skill (false activations)
  • +3Description length 71: 120–800 characters recommended
  • +3Output format is not stated: the model decides each time
  • +1No license
  • +2Single-language instructions
  • +5Description quotes 3 example trigger phrases
  • +4Structure: 13 headings
  • +3Step-by-step instructions: 12 items
  • +4Has examples (7 code blocks)

Quality base 70; lint remarks subtract, signals add up to 100. Result: 73.