FD wechat-claude-code-installer
装好「微信 ↔ Claude Code 桥」并避开 6 个新手坑。用户说「装一下微信桥」/「微信里用 Claude Code」/「按那篇逛逛GitHub 文章配一下」/`/wechat-claude-code-installer` 时触发。包装上游 Wechat-ggGitHub/wechat-claude-code 的安装流程,提供 doctor.sh 体检 + install.sh 一键装 + fix-*.sh 6 坑修复脚本。仅 macOS 测过;其他 OS 仅文档参考。
装好「微信 ↔ Claude Code 桥」并避开 6 个新手坑。用户说「装一下微信桥」/「微信里用 Claude Code」/「按那篇逛逛GitHub 文章配一下」//wechat-claude-code-installer 时触发。包装上游 Wechat-ggGitHub/wechat-claude-code…
As a process D 43/100 · Unfinished process — 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 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
- 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 · 8
-
high Dangerous commands
cmd-persistencescripts/fix-caffeinate.sh:6Persistence mechanism (cron / launchd / scheduled task / autorun registry)PLIST=~/Library/LaunchAgents/com.wechat-claude-code.bridge.plist
-
high Dangerous commands
cmd-persistencescripts/fix-caffeinate.sh:39Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl load "$PLIST"
-
high Dangerous commands
cmd-persistencescripts/uninstall.sh:21Persistence mechanism (cron / launchd / scheduled task / autorun registry)PLIST=~/Library/LaunchAgents/com.wechat-claude-code.bridge.plist
-
high Dangerous commands
cmd-persistenceSKILL.md:111Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl unload -w ~/Library/LaunchAgents/com.wechat-claude-code.bridge.plist
-
high Dangerous commands
cmd-persistenceSKILL.md:114Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl load -w ~/Library/LaunchAgents/com.wechat-claude-code.bridge.plist
-
high Dangerous commands
cmd-persistenceSKILL.md:142Persistence mechanism (cron / launchd / scheduled task / autorun registry)PLIST=~/Library/LaunchAgents/com.wechat-claude-code.bridge.plist
-
high Dangerous commands
cmd-persistenceSKILL.md:153Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl unload ~/Library/LaunchAgents/com.wechat-claude-code.bridge.plist
Medium and low: 1
-
medium Dangerous commands
cmd-persistenceSKILL.md:145Persistence mechanism (cron / launchd / scheduled task / autorun registry) (quoted — discussed, not commanded)p = os.path.expanduser("~/Library/LaunchAgents/com.wechat-claude-code.bridge.plist")quoted
Files scanned: 11. 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 43/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. 6 mutating operations with no state check
- 60Tools and files. Uses tools (node) that frontmatter does not declare
- 100Steps. 22 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 1169 tokens
- 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)
- +3Output format is not stated: the model decides each time
- +1No license
- +2Single-language instructions
- +3Description length 241: enough signal without eating the budget
- +4Structure: 17 headings
- +3Step-by-step instructions: 22 items
- +4Has examples (8 code blocks)
- +3All 8 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 75.