← Back to Skills Marketplace
Wechat Tutorial Editor Publisher
by
niko-yang-arch
· GitHub ↗
· v1.0.0
· MIT-0
92
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wechat-tutorial-editor-publisher
Description
模仿作者写作风格,完成教程类微信公众号文章编写,输出 Markdown 文件,一键发布到微信公众号草稿箱。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wechat-tutorial-editor-publisher - After installation, invoke the skill by name or use
/wechat-tutorial-editor-publisher - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
wechat-tutorial-editor-publisher v1.0.0
- 初始版本发布,支持一键撰写并发布教程类微信公众号文章到草稿箱
- 集成 wenyan-cli,自动将 Markdown 转换为公众号格式,并上传所有图片到微信图床
- 提供多主题及代码高亮支持,支持自定义主题
- 新增用户信息收集与风格模仿,自动填充作者简介和二维码
- 自动检测/缓存公众号 API 凭证并安全保存
- 完善错误提示与 Markdown/frontmatter 检查,便于故障排查
Metadata
Frequently Asked Questions
What is Wechat Tutorial Editor Publisher?
模仿作者写作风格,完成教程类微信公众号文章编写,输出 Markdown 文件,一键发布到微信公众号草稿箱。 It is an AI Agent Skill for Claude Code / OpenClaw, with 92 downloads so far.
How do I install Wechat Tutorial Editor Publisher?
Run "/install wechat-tutorial-editor-publisher" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Wechat Tutorial Editor Publisher free?
Yes, Wechat Tutorial Editor Publisher is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Wechat Tutorial Editor Publisher support?
Wechat Tutorial Editor Publisher is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Wechat Tutorial Editor Publisher?
It is built and maintained by niko-yang-arch (@niko-yang-arch); the current version is v1.0.0.
More Skills