← Back to Skills Marketplace
146
Downloads
1
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install wechat-auto-publishing
Description
Automate a full local WeChat Official Account publishing workflow: environment setup, content drafting, image prep, publishing, archiving, and optional sched...
Usage Guidance
This package largely does what it says — it includes documentation, shell templates, and a Node script (publish.mjs) that implements the WeChat publish flow (token, upload images, create draft, optional freepublish). Before running or installing:
- Treat WECHAT_APP_ID and WECHAT_APP_SECRET as sensitive. The skill expects these to be provided externally (process env or .baoyu-skills/.env), but the registry metadata does not declare them — verify and supply them only in a safe .env you control.
- Inspect any .baoyu-skills/.env or ~/.baoyu-skills/.env files the script will read to ensure they contain only intended keys; do not let the skill read an env file that contains unrelated secrets.
- The included publish.mjs clears proxy environment variables to force direct connections to WeChat; if you rely on proxying for other services, be aware the script will mutate the environment (documented in the repo). That behavior is reasonable for direct WeChat API calls but could be surprising in multi-service setups.
- The script makes network calls to api.weixin.qq.com and will perform publishing actions if valid credentials are present—test in a safe environment (draft_only, test account) before running against production accounts.
- Ask the publisher/registry maintainer to update the package metadata to declare the required env vars (WECHAT_APP_ID, WECHAT_APP_SECRET, optional GOOGLE_API_KEY/GOOGLE_BASE_URL) so consumers are not misled.
If you want me to, I can point to the exact lines in publish.mjs that read .env and perform network calls, or suggest a safe way to run the script (containerized, with a scoped .env) for testing.
Capability Analysis
Type: OpenClaw Skill
Name: wechat-auto-publishing
Version: 3.0.0
The skill bundle provides a comprehensive and legitimate workflow for automating WeChat Official Account publishing. It includes shell script templates (run.sh) and a standalone Node.js script (publish.mjs) designed to interact with official WeChat APIs (api.weixin.qq.com). The documentation (SKILL.md, security-boundary.md) explicitly emphasizes security best practices, such as excluding real credentials from the package and using environment variables. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found; the code logic is transparent and aligned with the stated purpose.
Capability Tags
Capability Assessment
Purpose & Capability
The files (README, SKILL.md, templates, publish.mjs) match the stated purpose: a local WeChat auto-publish workflow. The included publish.mjs implements token retrieval, image upload, draft creation and freepublish calls to api.weixin.qq.com — all coherent with the skill's description. However the registry metadata lists no required environment variables or primary credential, while the documentation and scripts clearly expect WECHAT_APP_ID and WECHAT_APP_SECRET (and optionally GOOGLE_API_KEY/GOOGLE_BASE_URL). This metadata omission is an inconsistency that could mislead users about required secrets.
Instruction Scope
SKILL.md and references stay within the publishing workflow, but the runtime script (publish.mjs) will read local .env-style configuration (the package repeatedly refers to .baoyu-skills/.env and process env) and will clear proxy environment variables before calling WeChat APIs. Reading local .env files is reasonable for a local tool, but it means the skill code will access whatever secrets are present in those paths — ensure those .env files contain only intended keys. The instructions also recommend removing proxy env vars (to ensure direct WeChat connectivity) which alters agent/process environment and may be surprising if you rely on proxies for other services.
Install Mechanism
There is no install spec (instruction-only with some helper scripts), which is low risk. Files are plain templates and a single zero-dependency Node script (publish.mjs). Nothing is downloaded from external arbitrary URLs by the skill itself.
Credentials
Although registry metadata declares no required env vars, the documentation and publish.mjs expect sensitive values (WECHAT_APP_ID, WECHAT_APP_SECRET) to be supplied at runtime via environment or .baoyu-skills/.env. That mismatch is important: the skill will not function without those secrets, yet they are not declared in the registry. The package also references GOOGLE_API_KEY/GOOGLE_BASE_URL for optional image generation. Requiring local .env files and reading them is proportionate to the task, but the omission from metadata and the multiple credential places (process env, .baoyu-skills/.env, ~/.baoyu-skills/.env) create a risk that unrelated secrets could be read if present.
Persistence & Privilege
The skill is not always-included and does not request elevated platform privileges. It doesn't modify other skills or system-wide settings; it provides local run scripts and templates only.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wechat-auto-publishing - After installation, invoke the skill by name or use
/wechat-auto-publishing - Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.0.0
- Added production-ready orchestrator template: `templates/run.production-example.sh`
- Updated documentation with key real-world guidance:
- Noted that `freepublish` via API does not always match manual backend publishing for homepage visibility
- Recommended using draft-only mode in production; full publish mainly for testing
- Emphasized validating image files by real format, not just extension
- Stressed that multi-account setups should use isolated directories for safety
- Expanded section on operational boundaries and recommended production practices
v2.0.0
wechat-auto-publishing 2.0.0
- Added a robust fallback publishing script (templates/publish.mjs) for full auto-publishing, supporting token fetching, image uploading, markdown conversion, draft creation, formal publication, and result archiving.
- Updated documentation to instruct use of the fallback script if the primary (baoyu-post-to-wechat) fails due to dependency issues.
- README.md added for guidance.
- No sensitive values included; workflow and configuration remain fully reproducible and secret-free.
v1.0.0
- Initial release of the complete, reproducible WeChat Official Account auto-publishing workflow.
- Includes environment setup, dependency validation, and safe configuration with placeholders only.
- Provides step-by-step references for source gathering, drafting, image handling, publishing, result archiving, and scheduling.
- Packs templates for articles, environment files, scripts, cron, gallery and image configs, and sample directory layout.
- Strictly enforces exclusion of all secrets and private identifiers from the skill package.
Metadata
Frequently Asked Questions
What is 全流程微信公众号自动发文 skill?
Automate a full local WeChat Official Account publishing workflow: environment setup, content drafting, image prep, publishing, archiving, and optional sched... It is an AI Agent Skill for Claude Code / OpenClaw, with 146 downloads so far.
How do I install 全流程微信公众号自动发文 skill?
Run "/install wechat-auto-publishing" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 全流程微信公众号自动发文 skill free?
Yes, 全流程微信公众号自动发文 skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 全流程微信公众号自动发文 skill support?
全流程微信公众号自动发文 skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 全流程微信公众号自动发文 skill?
It is built and maintained by 16Miku (@16miku); the current version is v3.0.0.
More Skills