← Back to Skills Marketplace
261
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wechat-publisher-wemd
Description
微信公众号发文自动化 skill。覆盖 Markdown 排版渲染(12 种内置主题 + 自定义主题)、正文图片上传、封面上传、草稿创建/更新/预览、人工确认发布、发布状态查询、素材/草稿/已发布文章查询。Use when agent needs to help write or publish 公众号文章, o...
Usage Guidance
This skill largely does what it says (render Markdown with WeMD and call WeChat APIs) but has a few inconsistencies and runtime risks you should consider before installing:
- Credentials: The code requires WECHAT_APP_ID and WECHAT_APP_SECRET (wechat_client.require_env), but the skill metadata does not declare them. Expect to provide those credentials; verify they are stored and scoped appropriately.
- .env file reads: The loader looks at /root/.openclaw/.env and the skill's .env. That can pull unrelated secrets from a host-wide file. Prefer providing only the WeChat credentials (as environment variables scoped to the skill or agent) rather than letting the skill read host /root/.openclaw/.env.
- Runtime network installs: On first run setup.py will run npm install and git clone a GitHub repo and build code. This downloads and executes third-party code at runtime. If you want to limit exposure, run the skill in a sandbox/container or pre-run the setup in an isolated environment and inspect the downloaded files.
- File access: The skill will read local markdown and image files you point it to (content_markdown_path, thumb_image_path). Make sure you trust the environment and don't point it at directories containing unrelated secrets.
- Patch behavior: setup.py patches node modules (writes files into node_modules), which is non-trivial. Review the install output or perform installation in an isolated environment.
Actionable steps before using: 1) Inspect/verify WECHAT_APP_ID/SECRET handling and place them in a controlled environment (not a system-wide .env). 2) Run setup/install inside a container and audit the cloned WeMD code. 3) Confirm the skill's registry metadata is updated to list the required env vars (WECHAT_APP_ID and WECHAT_APP_SECRET). 4) If you cannot isolate, do not install — at minimum, review vendor/wemd and setup.py behavior and ensure you understand the runtime network and file writes.
Capability Analysis
Type: OpenClaw Skill
Name: wechat-publisher-wemd
Version: 0.1.0
The skill bundle provides a comprehensive toolset for automating WeChat Official Account publishing, including Markdown rendering via the WeMD engine, image uploading, and draft management. It includes strong safety instructions in SKILL.md and references/safety-rules.md, explicitly requiring manual confirmation before publishing and prohibiting the exposure of credentials. While scripts/setup.py performs high-risk actions like 'git clone' and 'npm install' to initialize the rendering engine, and scripts/manage_themes.py contains a potential path traversal vulnerability in theme naming, these behaviors are aligned with the stated purpose of the skill and do not show evidence of malicious intent.
Capability Assessment
Purpose & Capability
The skill is a WeChat (公众号) publisher and includes code that calls the official WeChat APIs (e.g. /cgi-bin/*). That capability legitimately requires WECHAT_APP_ID and WECHAT_APP_SECRET, but the registry metadata lists no required environment variables or primary credential. The code also writes theme files under vendor/wemd and can delete materials (guarded by user request) — those capabilities align with the stated purpose, but the missing declaration of required credentials is an incoherence.
Instruction Scope
Runtime instructions and scripts legitimately read local article files (markdown, images) and upload them to WeChat, which fits the purpose. However, the client code's load_dotenv() reads environment files from both the skill directory and /root/.openclaw/.env — that will pull environment values from a host-wide path outside the skill's directory. The scripts also run npm/git/Node tooling at runtime via setup.py. Reading /root/.openclaw/.env is broader than necessary for a single-service credential requirement and could expose unrelated secrets if present.
Install Mechanism
There is no registry install spec (instruction-only at metadata level), but the included setup.py will: run npm install in vendor/wemd, and git clone the WeMD repo and build its core. That means the skill performs network operations at first run and writes node_modules/core-dist into vendor/. The source for the renderer (WeMD) is a GitHub repo which is a known host — expected but increases runtime install risk compared to pure instruction-only skills. setup.py also patches node modules (writes package.json/token.js) which is a non-trivial change to install artifacts.
Credentials
The code requires WECHAT_APP_ID and WECHAT_APP_SECRET (get_access_token calls require_env), but those variables are not declared in the registry metadata. load_dotenv() will load values from /root/.openclaw/.env and a .env in the skill tree, potentially importing any key-value pairs stored there (not limited to just WeChat credentials). This is disproportionate: the skill should explicitly ask only for the WeChat credentials and avoid reading host-wide .env paths.
Persistence & Privilege
The skill is not always-on, does not claim system-wide privilege, and does not modify other skills' configs. It writes files into its own vendor directory (themes, core-dist, lock file) and can add/delete custom themes — these are expected for its function. No evidence it attempts to persist beyond its own folder or alter other skill settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wechat-publisher-wemd - After installation, invoke the skill by name or use
/wechat-publisher-wemd - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release
Metadata
Frequently Asked Questions
What is WeChat Publisher With WeMD Render?
微信公众号发文自动化 skill。覆盖 Markdown 排版渲染(12 种内置主题 + 自定义主题)、正文图片上传、封面上传、草稿创建/更新/预览、人工确认发布、发布状态查询、素材/草稿/已发布文章查询。Use when agent needs to help write or publish 公众号文章, o... It is an AI Agent Skill for Claude Code / OpenClaw, with 261 downloads so far.
How do I install WeChat Publisher With WeMD Render?
Run "/install wechat-publisher-wemd" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is WeChat Publisher With WeMD Render free?
Yes, WeChat Publisher With WeMD Render is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does WeChat Publisher With WeMD Render support?
WeChat Publisher With WeMD Render is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created WeChat Publisher With WeMD Render?
It is built and maintained by traceless (@traceless929); the current version is v0.1.0.
More Skills