← 返回 Skills 市场
439
总下载
1
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install wechat-style-publisher
功能描述
支持多账号微信公众号发布,提供自定义文章主题、文章开头/结尾模板。当用户需要将带样式的文章发布到一个或多个微信公众号时使用此工具。
安全使用建议
This skill appears to do what it claims, but take these precautions before use:
- Protect your WeChat credentials: the scripts expect appId/appSecret in a JSON config file (config.example provided). Store that file securely and avoid committing it to VCS.
- The skill writes token cache and template registry files to disk (tokenCacheDir, registry paths). Be aware where those files live and restrict access.
- The import tools fetch arbitrary article URLs (or read local HTML) when you ask; only import content from trusted sources. The importers remove <script> tags, but you should still review imported templates before publishing.
- There is no installer; running the Node/Python scripts will execute bundled code. Review the code (included) and install Node >=18 and Python dependencies (requirements.txt) in an isolated environment before running.
- Confirm the apiBaseUrl is correct (defaults to api.weixin.qq.com) and that your app credentials have only the minimum permissions needed.
If you want, I can point out the exact lines where credentials are read/written and where network requests occur.
功能分析
Type: OpenClaw Skill
Name: wechat-style-publisher
Version: 1.0.0
The skill bundle provides a legitimate set of tools for formatting and publishing articles to WeChat Official Accounts. It includes Node.js and Python scripts for applying CSS themes, extracting templates from existing articles (via URL or local file), and managing multi-account publishing workflows. While the scripts handle sensitive WeChat API credentials (appId/appSecret) and perform network requests, these actions are necessary for the stated functionality and are directed to the official WeChat API endpoints. No evidence of data exfiltration, malicious execution, or prompt injection was found across the codebase (e.g., scripts/publish-node.mjs, scripts/import-template-python.py).
能力评估
Purpose & Capability
Name/description match the actual code and scripts: the package provides Node/Python scripts to apply styles, import templates from article HTML/URLs, manage a config, and publish drafts to the WeChat API. The use of appId/appSecret in the provided config is expected for WeChat publishing.
Instruction Scope
SKILL.md directs running included scripts and references only the package files, a config JSON, template files, and user-supplied article HTML/URLs. The importers explicitly strip <script> tags and the publishing paths call only api.weixin.qq.com. Scripts read/write local config/registry/token-cache files and fetch remote article HTML when asked — all within the stated feature set.
Install Mechanism
There is no install spec (instruction-only skill) and all code is bundled in the skill. No external download URLs or extract steps are used. Dependencies are standard (juice, highlight.js for Node; httpx for Python) and are declared in package.json/requirements.txt.
Credentials
The skill metadata declares no required env vars or primary credential, but the tool expects WeChat credentials (appId/appSecret) to be stored in a JSON config (assets/config.example.json). This is reasonable for the purpose, but it is a mismatch between metadata and actual credential storage: credentials are handled via config files rather than environment variables. The scripts write token caches and template registries to disk (config.wechat.tokenCacheDir and template registry paths).
Persistence & Privilege
always:false and user-invocable default are appropriate. The skill writes only to its own config/registry/token-cache files and does not modify other skills or system-wide agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wechat-style-publisher - 安装完成后,直接呼叫该 Skill 的名称或使用
/wechat-style-publisher触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
wechat-style-publisher v1.0.0 – Initial release
- Enables publishing styled articles to one or more WeChat Official Accounts with independent account credentials.
- Supports topic-based HTML themes, custom CSS overrides, and intro/outro HTML templates per article.
- Allows importing templates and layouts from existing WeChat articles (via URL or HTML file).
- Provides both Node.js and Python scripts for publishing and template importing.
- Automates local image and cover uploads, CSS inlining (Node.js), and flexible configuration management.
元数据
常见问题
wechat-style-publisher 是什么?
支持多账号微信公众号发布,提供自定义文章主题、文章开头/结尾模板。当用户需要将带样式的文章发布到一个或多个微信公众号时使用此工具。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 439 次。
如何安装 wechat-style-publisher?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wechat-style-publisher」即可一键安装,无需额外配置。
wechat-style-publisher 是免费的吗?
是的,wechat-style-publisher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
wechat-style-publisher 支持哪些平台?
wechat-style-publisher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 wechat-style-publisher?
由 web3aivc(@web3aivc)开发并维护,当前版本 v1.0.0。
推荐 Skills