← 返回 Skills 市场
beneclaw

微信公众号文章生产SOP

作者 beneclaw · GitHub ↗ · v1.3.0 · MIT-0
cross-platform ⚠ suspicious
115
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install article-factory-wechat
功能描述
微信公众平台文章全流程生产工具,涵盖选题、调研、撰写、去AI味、生成配图、HTML排版及提交草稿七个标准步骤。
使用说明 (SKILL.md)

name: article-factory-wechat description: 微信公众号文章生产全流程工具,提供从选题搜集、深度调研、撰写文章、去AI味、生成配图、HTML排版到提交草稿的完整7步标准化流程。当用户提到写公众号文章、发文章、文章选题、公众号草稿、文章配图、文章排版、去除AI痕迹、提交公众号等任何相关需求时,立即使用此技能。

公众号文章生产 SOP(7步流程)

完整流程

Step 1: 信息搜集 → Step 2: 深度调研 → Step 3: 撰写文章
    ↓
Step 4: 去AI味 → Step 5: 生成配图 → Step 6: HTML排版 → Step 7: 提交草稿

各步骤详细说明

请只在执行到对应步骤的时候才浏览对应步骤的具体说明。


凭证要求(必须配置)

环境变量

~/.openclaw/env 中配置以下密钥:

WECHAT_APPID=你的微信公众号AppID
WECHAT_APPSECRET=你的微信公众号AppSecret

获取方式: 登录微信公众平台 → 开发 → 开发管理 → 基本配置

微信公众号 IP 白名单

将运行此技能的服务器 IP 地址添加到微信公众平台的 IP 白名单,否则接口调用会失败。


依赖技能

本技能依赖以下已安装技能:

技能 用途
humanize-chinese (可选)文章去AI味检测与优化
multi-search-engine 选题阶段的信息搜索

外部工具集成

工具 用途 凭证要求
微信公众号 API 发布草稿 WECHAT_APPID + WECHAT_APPSECRET
飞书云文档 文章审阅分享 通过 OpenClaw 飞书插件,无需额外配置
Puppeteer(本地) HTML 转图片 无需配置,脚本内置

使用前提

npm 依赖安装

首次使用前需要安装依赖:

cd skills/article-factory-wechat && npm install

关键文件路径

内容 路径
输出目录 工作区/work/output/{YYYYMMDD}-{文章标题}/
脚本 scripts/
HTML模板 templates/
参考文档 references/

输出目录规范

所有产物统一输出到:

工作区/work/output/{YYYYMMDD}-{文章标题}/
  • YYYYMMDD:当前日期(如 20260321)
  • 文章标题:文章的标题
  • 示例:workspace/work/output/20260321-AI-新模型评测/

⚠️ 常见错误

  1. 图片不能省略 — 封面图 + 文章配图都是必须步骤
  2. 去AI味必须做 — 每次都要跑检测脚本,不能跳过
  3. 用户审阅后再提交 — 将结果发给用户,确认后再提交草稿(若为飞书渠道,请发送飞书文档)
  4. 必须用 HTML 模板生图 — 封面图和配图必须用 temp-convert.js + HTML 模板方式
安全使用建议
This skill appears to implement the described WeChat article pipeline and ships scripts to humanize text, generate images, and submit drafts. However: (1) SKILL.md requires WECHAT_APPID and WECHAT_APPSECRET to be placed in ~/.openclaw/env, but the registry metadata does not declare those required env vars — confirm and correct metadata before installing. (2) Review scripts/submit-draft.js (and any network calls) to verify it only contacts the WeChat API and does not leak credentials to other endpoints. (3) npm install will pull puppeteer and many npm packages; ensure you run it in an isolated environment and are prepared for browser binaries (Node >=18 may be required). (4) Consider restricting automatic invocation: the SKILL.md's instruction to 'immediately use' on any article-related mention is broad — if you don't want the agent to run this skill automatically, disable autonomous invocation or require explicit user confirmation before submission. (5) Store AppSecret securely, run the skill on a server/IP you control (for WeChat IP whitelist), and rotate credentials after testing. If you want a higher confidence verdict, provide the full submit-draft.js source and confirm how environment variables are read at runtime.
功能分析
Type: OpenClaw Skill Name: article-factory-wechat Version: 1.3.0 The bundle is a comprehensive toolset for automating the WeChat Official Account article production process, including AI text detection, humanization, and draft submission. The scripts (e.g., submit-draft.js and temp-convert.js) perform their stated functions using official WeChat API endpoints and Puppeteer for rendering. While the use of Puppeteer with '--no-sandbox' is a known security risk (vulnerability), it is a common requirement for certain environments and does not indicate malicious intent. No evidence of data exfiltration, credential theft, or malicious prompt injection was found.
能力评估
Purpose & Capability
The declared purpose (full WeChat article workflow including submitting drafts) is consistent with the shipped scripts (temp-convert.js, submit-draft.js, humanize/detect/style scripts) and npm dependencies (puppeteer). However the registry metadata lists no required environment variables or config paths while the SKILL.md explicitly requires WECHAT_APPID and WECHAT_APPSECRET to be stored in ~/.openclaw/env and instructs adding the server IP to WeChat's whitelist. That mismatch between metadata and runtime requirements is an incoherence that could surprise users.
Instruction Scope
SKILL.md contains detailed runtime instructions that stay within the stated purpose (collect, humanize, render HTML to images, and submit drafts). Two notable items: (1) it tells the agent to '立即使用此技能' when users mention article-related topics — a broad trigger phrase that may cause frequent/automatic invocation; (2) it mandates storing credentials in ~/.openclaw/env and running detection/humanize scripts every time. Both are within scope for the skill's goal, but give the skill broad discretion and require access to a credentials file — the agent or operator should confirm how those credentials are read and protected.
Install Mechanism
There is no platform-level install spec, but SKILL.md instructs running `npm install` in the skill folder. package.json depends on puppeteer and commander (both from npm). This is a typical Node-based install; note that puppeteer downloads browser binaries and may require Node >= 18 (some puppeteer/browser packages in package-lock indicate Node >=18). No external arbitrary download URLs or obscure installers were observed in the provided files.
Credentials
The SKILL.md legitimately requires WECHAT_APPID and WECHAT_APPSECRET (which are proportional to a skill that submits drafts via the WeChat API). However, the registry metadata advertised to the platform lists no required env vars nor required config paths — this is inconsistent. The SKILL.md also specifies a concrete filesystem location (~/.openclaw/env) for credentials, which implies the skill will read that file at runtime; the metadata should have declared this. The number and sensitivity of required secrets (AppSecret) are reasonable, but the omission from metadata is a red flag and should be corrected/verified. Also inspect submit-draft.js to confirm it only uses the WeChat API and does not send credentials elsewhere.
Persistence & Privilege
The skill is not marked always:true and does not request special system privileges. It does instruct adding the runtime server IP to the WeChat IP whitelist (expected for WeChat API calls). One operational note: SKILL.md tells the agent to 'immediately use' this skill when users mention related topics — combined with normal autonomous invocation this could lead to more frequent automatic activations than a user expects. This is behavioral (invocation scope) rather than an install-time privilege, but worth awareness.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install article-factory-wechat
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /article-factory-wechat 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.0
修复隐私泄露:移除硬编码路径和历史文章示例,修正humanize-chinese路径
v1.2.0
全流程7步标准化流程:选题搜集→深度调研→撰写文章→去AI味→生成配图→HTML排版→提交草稿。凭证声明完善版。
v1.1.0
完善凭证声明:添加WECHAT_APPID/APPSECRET环境变量、IP白名单说明、依赖技能列表、外部工具集成说明
v1.0.0
全流程7步标准化流程:选题搜集→深度调研→撰写文章→去AI味→生成配图→HTML排版→提交草稿
元数据
Slug article-factory-wechat
版本 1.3.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

微信公众号文章生产SOP 是什么?

微信公众平台文章全流程生产工具,涵盖选题、调研、撰写、去AI味、生成配图、HTML排版及提交草稿七个标准步骤。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 115 次。

如何安装 微信公众号文章生产SOP?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install article-factory-wechat」即可一键安装,无需额外配置。

微信公众号文章生产SOP 是免费的吗?

是的,微信公众号文章生产SOP 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

微信公众号文章生产SOP 支持哪些平台?

微信公众号文章生产SOP 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 微信公众号文章生产SOP?

由 beneclaw(@beneclaw)开发并维护,当前版本 v1.3.0。

💬 留言讨论