← Back to Skills Marketplace
278
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install yaniw-wechat-publisher
Description
用于管理多个微信公众号的内容创作和发布。当用户提到"公众号发布"、"写公众号文章"、"给某个公众号发文"、"切换公众号"、"查看公众号发布情况"、"微信发文"或需要为公众号生成内容、封面图、发布文章时,自动触发此技能。支持多账号管理、内容生成、封面设计、自动发布等完整流程。
Usage Guidance
This skill is coherent with a WeChat publisher: it uses Playwright to render covers and calls the official WeChat API to upload images and save drafts. Before installing or using it:
- Expect to provide WeChat AppID/AppSecret. The package will read them from a .env file or from references/*.json; the registry metadata did NOT list those env vars — verify you supply credentials only in local files or environment variables and do not upload them to public repos.
- The code will create and modify local config files (e.g., multi_account_config.json) and write articles, covers, and logs under the specified base_dir. Review paths and ensure sensitive files are gitignored as recommended.
- The docs claim the agent will "automatically obtain your current IP" on IP-white-list errors; I did not find a clear implementation for automatic IP lookup in the scripts (you may be asked to run curl/visit ip.cn manually). Test the behavior in a safe environment first.
- Playwright and requests must be installed locally; run tests with dummy config/template before using real AppSecret. Keep AppSecret private and rotate it after testing if it was exposed.
If you want this skill to be less risky: run it in an isolated environment, provide credentials via environment variables (not committed to disk), inspect the code yourself or run the included tests, and confirm the platform won’t upload your config files. If you need, provide the maintainer with feedback asking them to declare required env vars in registry metadata and to add an explicit IP-discovery function (or clarify the behavior) in code.
Capability Analysis
Type: OpenClaw Skill
Name: yaniw-wechat-publisher
Version: 1.1.0
The yaniw-wechat-publisher skill bundle is a well-documented tool for automating WeChat Official Account management. It includes scripts for content generation, HTML-to-PNG cover rendering using Playwright (screenshot_cover.py), and interaction with the official WeChat API (publish_to_wechat.py). Notably, the bundle implements security best practices such as credential management via environment variables and automated sanitization of sensitive data (AppIDs, Secrets, and Tokens) in error logs within credential_manager.py. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found.
Capability Assessment
Purpose & Capability
The name/description match the code and docs: scripts perform account switching, article/covers generation (templates + Playwright), uploading to WeChat, and logging. Requiring AppID/AppSecret and Playwright is expected for this purpose. However the registry metadata claims no required env vars / primary credential while the package clearly expects AppID/AppSecret (via .env or references/*.json) — this is an inconsistency to be aware of.
Instruction Scope
SKILL.md limits actions (explicit confirmation required at each step) and restricts operations to local files + WeChat API. That scope is appropriate. One claim in the docs/SKILL.md — that the agent will "自动获取用户当前IP地址" on IP-white-list errors — is not implemented as a distinct function in the scripts (no code that queries an external IP service). The rest of runtime steps (load config, render templates with Playwright, upload to WeChat API, write logs) are consistent with the stated purpose.
Install Mechanism
No install spec is provided (instruction-only install). The package includes requirements.txt listing requests, playwright, python-dotenv and documentation telling users to install Playwright; this is proportionate. No downloads from untrusted URLs or extractable archives are present.
Credentials
The package needs sensitive credentials (WeChat AppID/AppSecret) and supports environment variables (.env / WECHAT_APP_ID_1 etc.) and config files (references/my_accounts.json, multi_account_config.json). Yet the registry metadata declares no required environment variables or primary credential — that's a mismatch. The code will read local .env and local config files and may write to multi_account_config.json (switch_account.py), so credentials will exist on disk unless you use environment variables. This request for secrets is proportionate to the feature, but the lack of declared credentials in the registry metadata and the multiple locations where the skill reads/writes credentials/configs are worth flagging.
Persistence & Privilege
The skill is not force-included (always:false) and does not request any platform-level persistent privileges. It writes to its own project directories (config, articles, logs) which is expected for a publisher tool. It modifies local config files (e.g., multi_account_config.json) to switch accounts — expected behavior, not an escalation of privilege.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install yaniw-wechat-publisher - After installation, invoke the skill by name or use
/yaniw-wechat-publisher - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
yaniw-wechat-publisher v1.1.0
- 新增 credential_manager.py 脚本,强化凭证管理功能。
- 新增版本更新说明文档 (v1.1.0)。
- 移除打包、测试和清单相关的旧脚本与文档,优化目录结构。
v1.0.0
yaniw-wechat-publisher v1.0.0
- 首次发布,用于多公众号内容创作和发布的完整流程自动化管理
- 支持多账号切换、内容生成、封面风格选择、自动发布及日志记录
- 严格逐步用户确认机制,确保内容和操作安全
- 提供丰富的参考文件、资源模板和详细流程说明
- 包含常见错误提示与处理建议,配置灵活可扩展
Metadata
Frequently Asked Questions
What is wechat-publisher?
用于管理多个微信公众号的内容创作和发布。当用户提到"公众号发布"、"写公众号文章"、"给某个公众号发文"、"切换公众号"、"查看公众号发布情况"、"微信发文"或需要为公众号生成内容、封面图、发布文章时,自动触发此技能。支持多账号管理、内容生成、封面设计、自动发布等完整流程。 It is an AI Agent Skill for Claude Code / OpenClaw, with 278 downloads so far.
How do I install wechat-publisher?
Run "/install yaniw-wechat-publisher" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is wechat-publisher free?
Yes, wechat-publisher is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does wechat-publisher support?
wechat-publisher is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created wechat-publisher?
It is built and maintained by zgedu-new (@zgedu-new); the current version is v1.1.0.
More Skills