📄
AutomationPython

WeChat Draft Publisher

by yanhua1010

WeChat Draft Publisher is an Automation skill for Claude Code, published by yanhua1010 in self-media-content-workflow.

366 stars50 forkson yanhua1010/self-media-content-workflowAdded 2026/08/11Repository updated 2026/07/26
agent-skillsai-agentsclaude-codeclaude-skillscontent-creationcopywritingself-mediasocial-mediawechatxiaohongshu
Install in seconds
Install WeChat Draft Publisher
Copy WeChat Draft Publisher into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/yanhua1010/self-media-content-workflow/tree/main/skills/self-media-wechat-publisher ~/.claude/skills/self-media-wechat-publisher

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/yanhua1010/self-media-content-workflow.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/self-media-wechat-publisher/SKILL.md in yanhua1010/self-media-content-workflow
Installs to
~/.claude/skills/self-media-wechat-publisher
Collection
One of 9 skills cataloged from this repository
Category
Automation1523 skills

What WeChat Draft Publisher does

Automates formatting Markdown articles and publishing them as drafts to WeChat Official Accounts. Supports themes, multi-account, and image uploads.

WeChat Draft Publisher is cataloged under Automation on DirSkills. WeChat Draft Publisher comes from a repository tagged agent-skills, ai-agents, claude-code, claude-skills and content-creation.

Documentation

README

公众号发布

目标

把确认过的公众号终稿 Markdown 排版成平台原生富文本,连同封面和文内图片写入公众号草稿箱。只创建草稿,从不群发。

适配层说明

本模块是公众号渠道的发布适配层,基于开源工具 wenyan CLI(Apache-2.0)。wenyan 不可用时不阻塞创作流程,按 self-media-content-delivery 交付手动发布包。

前置检测

  1. wenyan --version 确认安装。未安装时提示 npm install -g @wenyan-md/cli,用户不想安装则直接交付手动发布包。
  2. 确认 WECHAT_APP_IDWECHAT_APP_SECRET 环境变量存在。只判断存在性,不读取、不回显、不写入任何文件。
  3. 首次发布前确认运行机器 IP 已加入公众号后台白名单。IP 频繁变动或团队协作场景使用 server 模式,见 wenyan-setup.md

输入契约

文章顶部必须有 frontmatter:title 必填;cover 为本地或网络路径,缺省时自动取正文第一张图;authorsource_url 可选。文内图片支持本地绝对路径、相对路径和网络地址,发布时自动上传公众号素材库。模板见 wechat-article-template.md

小绿书图片消息:frontmatter 设 type: image 自动提取正文全部图片,或手动列出 image_list。最多 20 张,首图即封面。

This is the opening of the README. Read the full README on GitHub.

Frequently asked about WeChat Draft Publisher

  • What else does yanhua1010 publish alongside WeChat Draft Publisher?

    WeChat Draft Publisher is one of 9 skills that DirSkills catalogs from yanhua1010/self-media-content-workflow, the repository it ships in. Its siblings there include Self-Media Content Analytics, Self-Media Content Brief and Self-Media Content Delivery. Each one is a separate skill with its own page in this directory, installs the same way WeChat Draft Publisher does, and is maintained by yanhua1010 in that same repository. The rest of the collection is listed on the yanhua1010/self-media-content-workflow page.

  • How does WeChat Draft Publisher compare to other Automation skills?

    WeChat Draft Publisher ranks #1371 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of WeChat Draft Publisher against them. Open each page to compare what they document and how they install.

More from yanhua1010/self-media-content-workflow

WeChat Draft Publisher is one of 9 skills cataloged on DirSkills from yanhua1010/self-media-content-workflow.

See all 9 skills
📊
3w ago

Self-Media Content Analytics

Analyzes self-media content data (individual pieces, series, weekly or monthly) to produce actionable reviews. Helps creators attribute performance to topics, titles, covers, openings, and structure, and decide on content strategy adjustments.
Data
36650
📋
3w ago

Self-Media Content Brief

Generates confirmable content briefs for self-media creators from vague ideas, links, or materials. Clarifies audience, goals, angle, and platform differences before writing begins.
Writing
36650
📦
3w ago

Self-Media Content Delivery

Automates saving, versioning, verifying, and packaging of self-media content milestones such as scripts, storyboards, and final drafts. Use when archiving or preparing release packages for platforms like WeChat or Xiaohongshu.
Automation
36650
📝
3w ago

Self-Media Content Strategy

Transforms account positioning and business goals into an executable self-media content strategy. Use for cold start, repositioning, content mix, series planning, topic pools, and content calendars.
Writing
36650
📝
3w ago

Self-Media Content Workflow

Self-Media Content Workflow organizes self-media content creation, research, platform rewrites, short video scripts, publishing packages, and analytics review. Use it to plan, draft, publish, and resume unfinished content tasks.
Writing
36850
✍️
3w ago

Self-Media Copywriting

Transforms confirmed themes, evidence, and briefs into platform-native content for X, Xiaohongshu, WeChat, and short-video platforms. Creates unique titles, openings, evidence sequences, structures, and CTAs for each channel—no one-size-fits-all reposting.
Writing
36650