← Back to Skills Marketplace
439
Downloads
1
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install wechat-style-publisher
Description
支持多账号微信公众号发布,提供自定义文章主题、文章开头/结尾模板。当用户需要将带样式的文章发布到一个或多个微信公众号时使用此工具。
Usage Guidance
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.
Capability Analysis
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).
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wechat-style-publisher - After installation, invoke the skill by name or use
/wechat-style-publisher - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is wechat-style-publisher?
支持多账号微信公众号发布,提供自定义文章主题、文章开头/结尾模板。当用户需要将带样式的文章发布到一个或多个微信公众号时使用此工具。 It is an AI Agent Skill for Claude Code / OpenClaw, with 439 downloads so far.
How do I install wechat-style-publisher?
Run "/install wechat-style-publisher" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is wechat-style-publisher free?
Yes, wechat-style-publisher is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does wechat-style-publisher support?
wechat-style-publisher is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created wechat-style-publisher?
It is built and maintained by web3aivc (@web3aivc); the current version is v1.0.0.
More Skills