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-code

Installs 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
1bradautomates avataryoutube-researchbradautomates/head-of-contentResearch high-performing YouTube videos in a niche using TubeLab's outlier detection API. Identifies outlier videos, analyzes top 3 relevant videos with AI, and394skills.sh installs
2davila7 avatardesign-system-starterdavila7/claude-code-templatesCreate and evolve design systems with design tokens, component architecture, accessibility guidelines, and documentation templates. Ensures consistent, scalable393skills.sh installs
3bobmatnyc avatarsystematic-debuggingbobmatnyc/claude-mpm-skillsStep-by-step debugging workflow: reproduce the bug, isolate the failing component, trace to root cause, apply a targeted fix, and verify the fix resolves the is391skills.sh installs
4mims-harvard avatartooluniverse-gene-enrichmentmims-harvard/tooluniverseGene-set enrichment analysis — GO (Biological Process, Molecular Function, Cellular Component), KEGG, Reactome pathway enrichment via clusterProfiler, gseapy, O390skills.sh installs
5gocallum avatarmcp-server-skillsgocallum/nextjs16-agent-skillsPattern for building MCP servers in Next.js with mcp-handler, shared Zod schemas, and reusable server actions.387skills.sh installs
6levnikolaevich avatarln-742-precommit-setuplevnikolaevich/claude-code-skillsConfigures Husky, lint-staged, commitlint, and Python pre-commit hooks. Use when adding Git hook automation to a project.385skills.sh installs