---
name: article-factory-wechat
About this skill
The XHS-AutoContentByHot skill provides a comprehensive, four-step automated workflow for generating content specifically tailored for Xiaohongshu, a popular Chinese social media platform. It begins by retrieving the top 10 trending topics from Baidu Hot Search and randomly selecting one. Subsequently, it crafts engaging Xiaohongshu-style copy, including a title (under 15 characters) and a body (50-200 characters), based on the chosen topic. Finally, it leverages Volcano Engine's Seedream-4.5 model to generate three accompanying images, with the first image optimized as a cover, before outputting all text and image assets. This skill is designed to streamline the content creation process for individuals and businesses targeting the Xiaohongshu audience. By automating topic discovery, copywriting, and image generation, it significantly reduces the manual effort and time required to produce social media posts. Users can either rely on the skill's automatic topic selection or provide a custom topic for more targeted content, making it flexible for various content strategies. The output includes images (PNGs), the content text (JSON), the selected topic (TXT), and a list of generated images (JSON), making it easy to integrate into existing publishing workflows.
Best use case
The primary use case is for social media managers, content creators, and marketing professionals who need to frequently publish engaging content on Xiaohongshu. It helps in quickly generating new post ideas and complete content packages, allowing them to maintain a consistent posting schedule and tap into trending topics without extensive manual research and design work.
name: article-factory-wechat
Users should expect a set of 3 visually distinct images and a JSON file containing a title and body text, all related to a chosen (or automatically selected) trending topic, ready for publication on Xiaohongshu.
Practical example
Example input
Generate a new Xiaohongshu post about 'sustainable fashion' with 4 images, and save the output to a new folder named 'sustainable_fashion_campaign'.
Example output
Skill executed successfully. Generated content for 'Sustainable Fashion'. Output files can be found in `/root/.openclaw/workspace` (or specified output directory): - xhs_final_1.png (cover image) - xhs_final_2.png - xhs_final_3.png - xhs_content.json (containing title and body text) - selected_topic.txt (e.g., 'Sustainable Fashion') - generated_images.json (list of image paths)
When to use this skill
- When you need to quickly generate Xiaohongshu content based on current hot topics.
- When you want to automate the process of copywriting and image generation for social media.
- When you have a specific topic in mind and need relevant XHS content and visuals.
- When you need to maintain a consistent posting schedule on Xiaohongshu with minimal effort.
When not to use this skill
- When you require highly nuanced, brand-specific, or deeply researched content that demands human expertise.
- If you do not have a valid Volcano Engine Seedream-4.5 API Key or prefer not to use AI-generated images.
- For platforms other than Xiaohongshu, as the content style is specifically tailored.
- When you need content in languages other than Chinese (implied by Baidu hot topics and XHS).
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/article-factory-wechat/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How --- Compares
| Feature / Agent | --- | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | easy | N/A |
Frequently Asked Questions
What does this skill do?
name: article-factory-wechat
How difficult is it to install?
The installation complexity is rated as easy. You can find the installation instructions above.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
Best AI Agents for Marketing
A curated list of the best AI agents and skills for marketing teams focused on SEO, content systems, outreach, and campaign execution.
AI Agent for YouTube Script Writing
Find AI agent skills for YouTube script writing, video research, content outlining, and repeatable channel production workflows.
SKILL.md Source
***
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: 提交草稿
```
***
## 各步骤详细说明
请只在执行到对应步骤的时候才浏览对应步骤的具体说明。
- [Step 1: 信息搜集](./steps/step-01-information-gathering.md) - 从可用信息源获取真实事件,提炼3个选题
- [Step 2: 深度调研](./steps/step-02-research.md) - 确定选题后,收集足够素材支撑文章
- [Step 3: 撰写文章](./steps/step-03-writing.md) - 写出符合公众号风格的高质量文章
- [Step 4: 去AI味](./steps/step-04-de-ai.md) - 使用humanize-chinese技能优化文章,去除AI痕迹
- [Step 5: 生成配图](./steps/step-05-html-image-generation.md) - 使用HTML模板生成封面图、文章配图、流程图等
- [Step 6: HTML排版](./steps/step-06-html-layout.md) - 将文章转为美观的HTML格式,适配公众号
- [Step 7: 提交草稿](./steps/step-07-submit-draft.md) - 检查并提交到公众号草稿
***
## 凭证要求(必须配置)
### 环境变量
在 `~/.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 依赖安装
首次使用前需要安装依赖:
```bash
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 模板方式Related Skills
humanizer
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
linkedin-cli
A bird-like LinkedIn CLI for searching profiles, checking messages, and summarizing your feed using session cookies.
小红书长图文发布 Skill
## 概述
openclaw-youtube
YouTube SERP Scout for agents. Search top-ranking videos, channels, and trends for content research and competitor tracking.
openclaw-media-gen
Generate images & videos with AIsa. Gemini 3 Pro Image (image) + Qwen Wan 2.6 (video) via one API key.
Cold Email Writer
Writes personalized cold emails that actually get replies
Presentation Mastery — Complete Slide Design & Delivery System
You are a Presentation Architect. You help build presentations that persuade, inform, and move people to action. You cover the full lifecycle: audience analysis → narrative structure → slide design → delivery coaching → post-presentation follow-up.
ai-humanizer
Rewrites AI-generated content to sound natural, human, and undetectable. Removes robotic patterns, adds voice variety, and preserves meaning.
Employee Handbook Generator
Build a complete, customized employee handbook for your company. Covers policies, benefits, conduct, leave, remote work, DEI, and compliance — ready for legal review.
afrexai-copywriting-mastery
Write high-converting copy for any medium — landing pages, emails, ads, UX, sales pages, video scripts, and brand voice. Complete methodology with frameworks, templates, scoring rubrics, and swipe files. Use when writing or reviewing any user-facing text.
afrexai-conversion-copywriting
Write high-converting copy for any surface — landing pages, emails, ads, sales pages, product descriptions, CTAs, video scripts, and more. Complete conversion copywriting system with research methodology, 12 proven frameworks, swipe-file templates, scoring rubrics, and A/B testing protocols. Use when you need to write or review any copy meant to drive action.
seo-assistant
A client-facing SEO assistant grounded in Google's official SEO Starter Guide. Use this skill whenever a user mentions SEO, search rankings, Google visibility, meta descriptions, title tags, page titles, alt text, sitemaps, duplicate content, URL structure, or asks how to improve their website's presence in search results. Also trigger when a user shares a URL or webpage content and wants feedback, or asks for help writing any web content that needs to perform well in search. This skill covers auditing, content writing, and answering SEO questions — use it proactively even if the user only hints at wanting more website traffic or better Google rankings.