auto-wechat-ops
Skill1 starsChanged 6 months agoMITView on GitHub
基于"自动搞钱系统"模式,打造的全自动化公众号运营工作流。整合5个专业Agent,实现从内容选题到多平台分发的完整自动化。 5个Agent开会: - 主编:基于数据定方向 - 数据:提供趋势分析 - 营销:给出传播建议 - 写手:提出内容创意 - 运营:评估平台适配 输出:今日选题列表(3-5个) 输出:各平台适配的文章(Markdown+图片) 详见 references/soul_templates.md,包含: - 主编( editorial director):严格、专业、品牌调性把控 - 写手(writer):创意、文风多样、抓热点 - 数据分析师(data_analyst):客观、数据驱动、洞察 - 营销专家(marketer):传播思维、转化导向 - 运营专员(operator):细节控、平台规则熟悉 每个模板都提供了: - 角色背景 - 核心职责 - 沟通风格 - 工作流程 - 示例对话 任务完成需满足: - ✅ 选题数量:3-5个 - ✅ 文章字数:1500-2500 - ✅ 配图数量:至少1张 - ✅ 平台适配:各平台格式正确 - ✅ 发布状态:成功/草稿保存 Q: 如何修改发布时间? A: 编辑 config.yaml 中的 schedule.pipeline 时间设置。 Q: 某个Agent不工作怎么办? A: 检查其API Key和模型配置,查看对应日志。 Q: 可以增加更多平台吗? A: 支持。在 multi_platform.py 添加适配器即可。 Q: 如何暂停自动化? A: python scripts/cron_scheduler.py --stop
- Reads credentials
- Installs packages
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- wechat-publisher-2.0Skill
- memory-managerSkill
- wechat-html-anythingSkill
- wechat-html-articleSkill
The file
Files
auto-wechat-ops - 公众号自动运营 Skill
概述
基于"自动搞钱系统"模式,打造的全自动化公众号运营工作流。整合5个专业Agent,实现从内容选题到多平台分发的完整自动化。
核心价值
- 🚀 每日自动化流水线:7:00-8:20 全自动执行,解放人力
- 👥 5人Agent团队:主编、写手、数据、营销、运营,角色分明
- 📱 多平台分发:微信/小红书/知乎/头条,自动适配格式
- 📊 数据驱动:基于阅读量、互动率持续优化选题
适用场景
- 需要日更/周更的公众号
- 多平台内容同步发布
- 内容团队人手不足
- 追求效率和规模
快速开始
# 1. 安装依赖
pip install -r requirements.txt
# 2. 配置(首次运行会引导)
python scripts/cron_scheduler.py --init
# 3. 启动定时任务
python scripts/cron_scheduler.py --start
# 4. 查看状态
python scripts/cron_scheduler.py --status架构设计
auto-wechat-ops/
├── SKILL.md # 本文件
├── scripts/
│ ├── cron_scheduler.py # 定时任务调度器(7:00-8:20流水线)
│ ├── content_generator.py # 内容生成(5个Agent协同)
│ ├── multi_platform.py # 多平台分发适配
│ └── analytics.py # 数据分析与优化
└── references/
└── soul_templates.md # 5个Agent人设模板配置说明
必需配置
# config.yaml
wechat:
app_id: "wx_xxx"
app_secret: "xxx"
mch_id: "xxx" # 可选,如需付费功能
agents:
editor:
model: "step-3.5-flash"
temperature: 0.3 # 主编:严格把控
writer:
model: "step-3.5-flash"
temperature: 0.8 # 写手:创造性
data_analyst:
model: "step-3.5-flash"
temperature: 0.2 # 数据:客观
marketer:
model: "step-3.5-flash"
temperature: 0.7 # 营销:灵活
operator:
model: "step-3.5-flash"
temperature: 0.4 # 运营:稳健
schedule:
pipeline:
- "06:30-07:00: 数据收集"
- "07:00-07:30: 选题会"
- "07:30-08:00: 内容创作"
- "08:00-08:15: 审核排版"
- "08:15-08:20: 定时发布"API Keys
- 飞书:
FEISHU_APP_ID/FEISHU_APP_SECRET - Tavily搜索:
TAVILY_API_KEY - 其他平台:各平台AppKey
使用流程
1️⃣ 数据收集(6:30-7:00)
python scripts/analytics.py --collect- 昨日文章阅读量、互动数据
- 竞品爆款分析(tavily-search)
- 热点话题监控
2️⃣ 选题会(7:00-7:30)
python scripts/content_generator.py --topic5个Agent开会:
- 主编:基于数据定方向
- 数据:提供趋势分析
- 营销:给出传播建议
- 写手:提出内容创意
- 运营:评估平台适配
输出:今日选题列表(3-5个)
3️⃣ 内容创作(7:30-8:00)
python scripts/content_generator.py --create --topic "选题名"- 写手起草大纲 → 主编审核 → 写手成文
- 数据提供数据支撑
- 营销给出传播点建议
- 运营准备平台适配
输出:各平台适配的文章(Markdown+图片)
4️⃣ 审核排版(8:00-8:15)
python scripts/content_generator.py --review- 主编最终审核
- 自动排版(feishu-doc + 小红书HTML模板)
- 生成封面图
5️⃣ 定时发布(8:15-8:20)
python scripts/multi_platform.py --publish --all- 公众号:保存草稿或直接发布
- 小红书:发布图文
- 知乎/头条:同步分发
5个Agent人设模板
详见 references/soul_templates.md,包含:
- 主编( editorial director):严格、专业、品牌调性把控
- 写手(writer):创意、文风多样、抓热点
- 数据分析师(data_analyst):客观、数据驱动、洞察
- 营销专家(marketer):传播思维、转化导向
- 运营专员(operator):细节控、平台规则熟悉
每个模板都提供了:
- 角色背景
- 核心职责
- 沟通风格
- 工作流程
- 示例对话
监控与管理
查看运行状态
python scripts/cron_scheduler.py --status输出:
📊 自动运营状态
┌─────────────┬────────────┬────────────┐
│ 任务 │ 上次执行 │ 状态 │
├─────────────┼────────────┼────────────┤
│ 数据收集 │ 06:30 ✅ 成功 │
│ 选题会 │ 07:00 ⏳ 运行中 │
│ 内容创作 │ 07:30 ⏳ 等待中 │
│ 审核排版 │ 08:00 ⏳ 等待中 │
│ 发布 │ 08:15 ⏳ 等待中 │
└─────────────┴────────────┴────────────┘手动触发
# 立即执行某个阶段
python scripts/cron_scheduler.py --run-stage topic
# 立即发布所有已就绪内容
python scripts/multi_platform.py --publish --all日志查看
tail -f logs/auto-wechat-ops.log验收标准
任务完成需满足:
- ✅ 选题数量:3-5个
- ✅ 文章字数:1500-2500
- ✅ 配图数量:至少1张
- ✅ 平台适配:各平台格式正确
- ✅ 发布状态:成功/草稿保存
常见问题
Q: 如何修改发布时间?
A: 编辑 config.yaml 中的 schedule.pipeline 时间设置。
Q: 某个Agent不工作怎么办?
A: 检查其API Key和模型配置,查看对应日志。
Q: 可以增加更多平台吗?
A: 支持。在 multi_platform.py 添加适配器即可。
Q: 如何暂停自动化?
A: python scripts/cron_scheduler.py --stop
高级功能
自定义流水线
修改 config.yaml 中的 pipeline 部分,调整阶段顺序、时间、并行度。
A/B测试
在 multi_platform.py 中配置,支持同一内容多个标题/封面图测试。
数据看板
集成 feishu-bitable,自动更新阅读量、互动率到多维表格。
安全提醒
- API密钥存储在环境变量或加密配置文件
- 定期轮换密钥
- 限制IP白名单(公众号API)
- 内容发布前建议人工审核(可配置)
版本历史
- v1.0 (2026-03-24) - 初始版本,5人Agent团队,基础流水线
相关链接
- 代码仓库:
/root/.openclaw/workspace/skills/auto-wechat-ops - 配置文件:
~/.auto-wechat-ops/config.yaml - 日志目录:
~/.auto-wechat-ops/logs/ - 问题反馈:GitHub Issues
关键词:OpenClaw, 公众号自动化, 多平台发布, Agent团队, 定时任务, 内容运营
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

