
Wechat Studio
A complete WeChat Official Account publishing pipeline that handles everything from Markdown conversion to draft creation. It renders your content with themed styling (autumn warm, spring fresh, ocean calm), uploads images with automatic compression and caching, replaces placeholders in the HTML, and creates drafts or image posts through the WeChat API. The Dan Koe style writer and AI humanizer are nice additions if you need content generation. The proxy server setup is smart for working around IP whitelist requirements. It's overkill if you just need basic formatting, but if you're publishing regularly to WeChat and tired of manual image uploads and HTML wrangling, this handles the entire workflow in one place.
- skills.sh installs
- 397
- GitHub stars
- 5
- last updated
- Aug 21, 2026
Install
$ npx -y skills add chouheiwa/wechat-studio --skill wechat-studio --agent claude-codeInstalls into .claude/skills of the current project.
Files
WeChat Studio
微信公众号内容创作全流程工具:Markdown 排版、写作助手、AI 去痕、图片上传、草稿发布。
路径解析(重要)
本 skill 的脚本位于 SKILL.md 所在目录下。执行任何脚本之前,必须先确定本文件的实际路径,并以此推导脚本目录。
规则: 以下文档中所有 $SKILL_DIR 占位符应替换为本 SKILL.md 文件所在的目录路径。
例如:如果本文件位于 /Users/xxx/Desktop/AI/skills/wechat-studio/SKILL.md,则 $SKILL_DIR = /Users/xxx/Desktop/AI/skills/wechat-studio。
SKILL_DIR="<本 SKILL.md 文件所在目录的绝对路径>"
功能一:Markdown → 微信 HTML
convert.mjs 直接将 Markdown 渲染为带主题样式的微信公众号 HTML,无需 AI 参与。
# 输出到文件
node "$SKILL_DIR/scripts/convert.mjs" -i article.md -t autumn-warm -o article.html
# 输出到 stdout
node "$SKILL_DIR/scripts/convert.mjs" -i article.md -t spring-fresh
图片会自动替换为 <!-- IMG:0 -->、<!-- IMG:1 --> 占位符,按 Markdown 中出现顺序编号。
可用主题:
| 主题 | 说明 |
|---|---|
autumn-warm | 秋日暖光,橙色调,温暖治愈(默认) |
spring-fresh | 春日清新,绿色调,清爽明快 |
ocean-calm | 海洋静谧,蓝色调,沉稳专业 |
custom | 自定义主题,使用 AI 提示词渲染(type: ai) |
功能二:风格写作(Dan Koe)
触发条件: 用户提到"用 Dan Koe 风格写"、"帮我写一篇文章"、"写一篇关于…的文章"
读取 $SKILL_DIR/references/dan-koe-writing.md 获取完整写作规范,按其中的结构和语气要求生成文章。更详细的模板和金句库见 $SKILL_DIR/writers/dan-koe.yaml。
功能三:图片上传
上传本地图片
Sponsors
Details
- Repository
- github.com/chouheiwa/wechat-studio
- Categories
- Frontend Development, Documentation, Code Review & Quality, Automation & Workflows
- First seen
- Jun 3, 2026