← Back to Skills Marketplace
313
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wechat-claw-skill
Description
微信公众号文章全自动写作与发布。从信息搜集、AI配图规划、报刊级 HTML 排版、到草稿创建和发布的完整流程。适用于 AI 日报、财经周报、深度分析、新闻资讯类文章。内置多种模板,并提供本地渲染、校验、图片规划和发布流水线脚本。
Usage Guidance
This skill is internally consistent, but it delegates sensitive actions to external scripts you must supply: the nanobanana image generator and the wechat_mp uploader/publisher. Before using, (1) inspect/review any external scripts (generate_image.py, wechat_mp.py) you pass to run_pipeline — they will be executed with subprocess and could run arbitrary commands or exfiltrate data; (2) verify how the WeChat script stores and uses credentials (prefer env vars or secure stores over plaintext files); (3) be careful when giving the skill URL sources to collect_sources.py — it can fetch remote content you point to; (4) if you need autonomous agent runs, restrict what inputs the agent can provide so it cannot point the pipeline at untrusted scripts or endpoints. Finally, ask the author why 'searxng' is listed as a required skill in metadata since the instructions say the collector will not crawl without explicit sources.
Capability Analysis
Type: OpenClaw Skill
Name: wechat-claw-skill
Version: 1.0.0
The skill bundle provides a comprehensive automated pipeline for WeChat article generation and publishing, but it includes several high-risk capabilities. Specifically, `scripts/collect_sources.py` allows for arbitrary local file reading and remote URL fetching (potential SSRF/data exfiltration), while `scripts/run_pipeline.py` utilizes `subprocess.run` to execute external Python scripts based on paths provided as arguments. Although these features are clearly aligned with the stated purpose of a publishing workflow and lack evidence of intentional malice or obfuscation, they constitute a significant attack surface that could be exploited if the agent is manipulated via prompt injection.
Capability Assessment
Purpose & Capability
Name/description (WeChat MP article writing + publish) align with the code and scripts: rendering, validation, image planning, source collection, and a pipeline to call image-generation and WeChat upload scripts. Required binary (python3) is appropriate. Declared required OpenClaw skills (nanobanana-pro-fallback and wechat-mp) match expected optional pipeline hooks.
Instruction Scope
SKILL.md and scripts keep scope to article production. The pipeline explicitly calls user-provided external scripts for image generation and WeChat upload/publish via subprocess.run; collect_sources supports local files and URLs. This is expected for a pipeline but means the skill will execute arbitrary code you point it at and may fetch user-specified URLs — review any external scripts and supplied source URLs before running.
Install Mechanism
There is no install spec (instruction-only from platform perspective) and scripts live in the repo; nothing is downloaded at install time. This is the lowest-risk install pattern for this type of tool.
Credentials
The skill does not request environment variables or credentials itself. However, publishing requires you to pass a wechat_mp script path (wechat_script) that will likely require WeChat credentials (not managed by this skill). That delegation is proportional but means credential handling is offloaded to the external script you provide — verify how that script stores/uses secrets. The SKILL.md metadata also lists 'searxng' as a required skill; the runtime docs emphasize not to fetch sources automatically, so the searxng dependency is not clearly justified.
Persistence & Privilege
always:false and default autonomous invocation are used (normal). The skill does not request persistent system-wide privileges or modify other skills; it writes artifacts under the provided output directory and operates on files the user supplies.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wechat-claw-skill - After installation, invoke the skill by name or use
/wechat-claw-skill - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
### 项目简介
这个仓库当前聚焦在“文章生产链路”:
- 维护多套公众号文章模板
- 读取文章 JSON,渲染为 HTML
- 对标题、摘要、正文结构、图片链接等做校验
- 自动补齐默认元数据
- 自动规划封面图和正文配图 prompt / 本地文件名
- 调用外部脚本生成图片、上传图片、创建草稿、发布文章
- 采集本地文件、URL、原始文本并归一化为 source bundle
### 适用场景
- AI 日报 / 财经周报 / 深度分析 / 行业观察
- 产品发布说明
- 热点快讯追踪
- 需要“结构化写作 + 模板化渲染 + 自动发布”的公众号工作流
### 环境要求
- Python `3.10+`
- 当前脚本只依赖 Python 标准库
- 如果要走完整发布链路,需要你额外提供:
- 一个图片生成脚本,兼容 `generate_image.py --prompt ... --filename ... --resolution 1K`
- 一个公众号脚本,兼容 `wechat_mp.py upload-image|upload-content-image|draft-add|publish`
Metadata
Frequently Asked Questions
What is wechat-claw-skill?
微信公众号文章全自动写作与发布。从信息搜集、AI配图规划、报刊级 HTML 排版、到草稿创建和发布的完整流程。适用于 AI 日报、财经周报、深度分析、新闻资讯类文章。内置多种模板,并提供本地渲染、校验、图片规划和发布流水线脚本。 It is an AI Agent Skill for Claude Code / OpenClaw, with 313 downloads so far.
How do I install wechat-claw-skill?
Run "/install wechat-claw-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is wechat-claw-skill free?
Yes, wechat-claw-skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does wechat-claw-skill support?
wechat-claw-skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created wechat-claw-skill?
It is built and maintained by th3ee9ine (@th3ee9ine); the current version is v1.0.0.
More Skills