← 返回 Skills 市场
traceless929

WeChat Publisher With WeMD Render

作者 traceless · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
261
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wechat-publisher-wemd
功能描述
微信公众号发文自动化 skill。覆盖 Markdown 排版渲染(12 种内置主题 + 自定义主题)、正文图片上传、封面上传、草稿创建/更新/预览、人工确认发布、发布状态查询、素材/草稿/已发布文章查询。Use when agent needs to help write or publish 公众号文章, o...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wechat-publisher-wemd
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wechat-publisher-wemd 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release
元数据
Slug wechat-publisher-wemd
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

WeChat Publisher With WeMD Render 是什么?

微信公众号发文自动化 skill。覆盖 Markdown 排版渲染(12 种内置主题 + 自定义主题)、正文图片上传、封面上传、草稿创建/更新/预览、人工确认发布、发布状态查询、素材/草稿/已发布文章查询。Use when agent needs to help write or publish 公众号文章, o... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 261 次。

如何安装 WeChat Publisher With WeMD Render?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install wechat-publisher-wemd」即可一键安装,无需额外配置。

WeChat Publisher With WeMD Render 是免费的吗?

是的,WeChat Publisher With WeMD Render 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

WeChat Publisher With WeMD Render 支持哪些平台?

WeChat Publisher With WeMD Render 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 WeChat Publisher With WeMD Render?

由 traceless(@traceless929)开发并维护,当前版本 v0.1.0。

💬 留言讨论