← 返回 Skills 市场
Wechat Tutorial Editor Publisher
作者
niko-yang-arch
· GitHub ↗
· v1.0.0
· MIT-0
92
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wechat-tutorial-editor-publisher
功能描述
模仿作者写作风格,完成教程类微信公众号文章编写,输出 Markdown 文件,一键发布到微信公众号草稿箱。
安全使用建议
This skill appears to be what it says (a frontend + helper scripts that wrap wenyan-cli to publish WeChat articles), but there are inconsistencies and insecure suggestions you should address before running it:
- Do not follow the SKILL.md advice to 'md5 encrypt' and store AppId/AppSecret inside the skill directory. MD5 is not encryption; storing secrets in the skill folder risks accidental leakage. Prefer exporting WECHAT_APP_ID and WECHAT_APP_SECRET as environment variables or keeping them in a secure credential store.
- The metadata did not declare required env vars, but publish.sh and setup.sh expect WECHAT_APP_ID/WECHAT_APP_SECRET in $HOME/.openclaw/workspace/TOOLS.md or as env vars. Verify and set credentials manually (or use the setup.sh which reads TOOLS.md) before running publish.sh.
- Inspect publish.sh and setup.sh yourself (you just have them) before executing. publish.sh may auto-install wenyan-cli globally (npm install -g), which changes your system environment. If you want to avoid global installs, install wenyan-cli manually or run in an isolated environment (container / VM / dedicated machine user).
- The included server (server.js) listens on localhost:3000 and saves uploaded personal info and images into the skill's assets/files directories. That is local-only in the code, but if you expose the port or run on a networked host be aware uploads are stored on disk. Run it locally and restrict network exposure.
- Confirm the wenyan-cli project referenced (https://github.com/caol64/wenyan-cli) is the intended upstream before installing. The publish action will contact WeChat APIs — verify the IP whitelist and credentials are correct.
- Because SKILL.md and the scripts disagree about where credentials are stored (TOOLS.md vs console.json), pick one safe approach and remove unused credential-storage instructions from the skill files to avoid confusion.
If you are not comfortable with these inconsistencies or storing credentials, consider running the skill in an isolated environment or decline installation until the author fixes the metadata/instructions and removes the insecure credential-storage guidance.
功能分析
Type: OpenClaw Skill
Name: wechat-tutorial-editor-publisher
Version: 1.0.0
The skill bundle exhibits several high-risk behaviors and security flaws, though clear malicious intent is not established. Most notably, SKILL.md instructs the AI agent to 'encrypt' sensitive WeChat AppID and AppSecret credentials using MD5 and 'decrypt' them later; since MD5 is a one-way hash and cannot be decrypted, this instruction leads to fundamentally broken credential management. Additionally, the bundle starts a local Express server (server.js) without authentication to collect user information and images, and the publish.sh script performs global NPM installations and reads from the sensitive TOOLS.md file to extract secrets. These patterns represent significant vulnerabilities and risky capabilities typical of over-privileged automation tools.
能力评估
Purpose & Capability
The skill claims to publish to WeChat (wenyan-cli) which legitimately requires WECHAT_APP_ID/WECHAT_APP_SECRET, and the included scripts do use those. However the registry metadata declared no required env vars or primary credential, which is inconsistent. The SKILL.md also instructs storing credentials in various places (TOOLS.md and an assets/console.json suggestion) but the actual scripts read TOOLS.md — mismatch between claimed requirements and what the code expects.
Instruction Scope
SKILL.md tells the agent/user to run npm init/npm install and start a local server that collects personal info and uploads images to local skill directories — that part is coherent with collecting article assets. However SKILL.md also instructs the user to 'md5 encrypt' AppId/AppSecret and save them in the skill assets (console.json) for later auto-decrypt; no code in the repo implements such encryption/decryption. The runtime instructions reference reading $HOME/.openclaw/workspace/TOOLS.md for credentials, which is different from the console.json guidance. This inconsistent guidance about where/ how secrets are stored is a scope creep / coherence problem.
Install Mechanism
There is no formal install spec, but publish.sh will auto-install wenyan-cli via 'npm install -g @wenyan-md/cli' if missing. Global npm installs are traceable to the public registry (not a raw download), but automatic global installs can alter the host environment unexpectedly. No remote or obfuscated download URLs are used in the repo itself; the included package.json and package-lock.json reference common npm packages (express, multer, cors, fs-extra).
Credentials
The functionality legitimately needs WECHAT_APP_ID and WECHAT_APP_SECRET, and the publish scripts read them from TOOLS.md or environment variables. However the skill metadata did not declare them as required, and SKILL.md's recommendation to store user-supplied AppId/AppSecret md5-encrypted inside the skill's assets folder (console.json) is insecure and inconsistent with the scripts (which read TOOLS.md). MD5 is not encryption; storing credentials in the skill directory is poor practice and increases risk of accidental exposure.
Persistence & Privilege
The skill is not 'always: true' and does not request elevated platform privileges. The included server is local (binds to localhost:3000) and files are written into the skill's assets and files directories; scripts also may perform a global npm install. It does not modify other skills or system-wide agent settings. This is normal for a local publishing helper.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wechat-tutorial-editor-publisher - 安装完成后,直接呼叫该 Skill 的名称或使用
/wechat-tutorial-editor-publisher触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
wechat-tutorial-editor-publisher v1.0.0
- 初始版本发布,支持一键撰写并发布教程类微信公众号文章到草稿箱
- 集成 wenyan-cli,自动将 Markdown 转换为公众号格式,并上传所有图片到微信图床
- 提供多主题及代码高亮支持,支持自定义主题
- 新增用户信息收集与风格模仿,自动填充作者简介和二维码
- 自动检测/缓存公众号 API 凭证并安全保存
- 完善错误提示与 Markdown/frontmatter 检查,便于故障排查
元数据
常见问题
Wechat Tutorial Editor Publisher 是什么?
模仿作者写作风格,完成教程类微信公众号文章编写,输出 Markdown 文件,一键发布到微信公众号草稿箱。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 92 次。
如何安装 Wechat Tutorial Editor Publisher?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wechat-tutorial-editor-publisher」即可一键安装,无需额外配置。
Wechat Tutorial Editor Publisher 是免费的吗?
是的,Wechat Tutorial Editor Publisher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Wechat Tutorial Editor Publisher 支持哪些平台?
Wechat Tutorial Editor Publisher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Wechat Tutorial Editor Publisher?
由 niko-yang-arch(@niko-yang-arch)开发并维护,当前版本 v1.0.0。
推荐 Skills