Wechat Auto Publisher — AI skill for Claude Code
WeChat Official Account automation: pick articles from your Obsidian/Markdown vault, AI-rewrite & push to drafts; self-hosted relay permanently fixes the 40164 IP-whitelist pain; AI conversational set.
How to install Wechat Auto Publisher
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open miaqu766520-a11y/wechat-auto-publisher and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Wechat Auto Publisher does
WeChat Official Account automation: pick articles from your Obsidian/Markdown vault, AI-rewrite & push to drafts; self-hosted relay permanently fixes the 40164 IP-whitelist pain; AI conversational setup wizard (Claude Code skill)
Alternatives in AI
- Agentrq — AgentRQ: Human-in-loop realtime conversational task manager for AI Agents 1.1k ★
- Oil UI — Push AI UI design to its limits: explore distinct directions, compare them side by side, and refine against re 861 ★
- Real-World Pain Points — Project: https://github.com/Narwhal-Lab/MagicSkills For many teams building multi-agent systems, the first thi 277 ★
README
wechat-auto-publisher
**微信公众号草稿箱自动化**:从 Obsidian / Markdown 知识库自动选稿 → LLM 轻改排版 → 推送公众号草稿箱。一个 Claude Code skill + 一组 Python 工具,把「公众号日更」压成一句话。
✨ 亮点
| 🔐 40164 永久根治 | 微信 API 校验调用方公网 IP,家庭宽带 IP 一变就报 40164。本工具默认经自托管中转服务器(固定 IP 云服务器)转发,白名单只配一次,永久生效;也可一键切回直连 |
| 📚 知识库 → 草稿箱全自动 | 扫描 Markdown 库 → 关键词自动归入合集 → 合集轮播选稿(最久没推的优先)→ 已推/跳过自动记账,每天自动推不重样 |
| 💬 AI 对话式安装 | 首次使用时 Claude 主动发起对话,逐项问你要配置、自动写好 .env 并跑通自检——不碰命令行也能装好 |
架构
┌────────────────────┐ ① 选稿 ┌──────────────────┐ ② 轻改+排版 ┌──────────────────┐
│ Markdown 知识库 │ ─────────→ │ LLM │ ────────────→ │ 公众号排版引擎 │
│ (Obsidian/任意目录)│ 合集轮播 │ (OpenAI 兼容接口) │ inline HTML │ + 合集横幅 │
└────────────────────┘ 不重样 └──────────────────┘ └────────┬─────────┘
│ ③ 推草稿
┌──────────────┴──────────────┐
│ 默认:自托管中转服务器(固定IP) │
│ 备选:本机直连(IP在白名单时) │
└──────────────┬──────────────┘
↓
📥 微信公众号「草稿箱」→ 人工确认 → 发布
工具刻意停在「草稿箱」:AI 干活,人签字,绝不自动对外发布。
Quick Start(三步推第一篇)
# 1. 克隆
git clone https://github.com/your-name/wechat-auto-publisher.git
cd wechat-auto-publisher
pip install -r requirements.txt
# 2. 安装配置(二选一)
# a) 对话安装:把这个目录注册为 Claude Code skill,然后对 Claude 说「发公众号」,
# 它会逐项引导你填好配置并自动写入 .env
# b) 命令行向导:
python setup_wizard.py
# 3. 推第一篇(确认 .env 就绪、自检通过后)
python setup_wizard.py --check # 连通性自检
python v6_run_once.py # 选稿 → LLM 改写 → 推草稿箱
# → 登录 mp.weixin.qq.com 草稿箱确认发布
目录结构
wechat-auto-publisher/
├── SKILL.
Related Skills
Merge Drafts
AI skill for merging multiple draft articles into high-quality content
Wechat Notify
AI 任务完成/卡住/需要确认 → 自动推送到微信/企微/钉钉/飞书 Push notifications to your phone when your AI agent finishes a task, stalls
Autogit
Auto commit & push for AI coding agents, with a safety level you pick.
Wechat AI Bridge
Self-hosted WeChat bridge for Claude Code and Codex, with Claude tool approval and bidirectional file relay.
Morgan Fgo Persona
AI roleplay skill for Morgan, Fairy Queen of Britain (FGO Berserker No.309), for ZCode/Claude Code. Dual-sourc
Aegis Integrity
Open-source, offline, bias-aware academic integrity checker: plagiarism, AI-text detection, citation verificat
Related Agents
Goal Relay Agent
Use this agent as the final stage of a completed goal (a pwn-box run, or any bounded security-research task) t
Vault Auditor
Expert at analyzing existing Obsidian vault structures and conducting Socratic interviews to identify pain poi
SEO Publisher
Use this agent when the user wants to quality-check and publish a draft article or page to Webflow CMS. This a