Skip to content
Skill

Wechat post publisher

Publishes Markdown articles and image-text posts to WeChat Official Account drafts

Wechat post publisher is an open-source agent skill for writing style. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
TypeScript
Platforms
Claude Code, Codex, Cursor
GitHub stars
38
Last commit
License
MIT
Listing updated

Similar skills

About Wechat post publisher

This skill takes local Markdown files and pushes them into a WeChat Official Account draft, either through the official API or by driving Google Chrome over CDP. It converts Markdown into WeChat-compatible HTML with selectable themes and colors, uploads inline images and a cover image, and turns external links into a citations section at the end of the article, since WeChat does not allow arbitrary outbound links in body text.

The workflow starts by loading preference settings from an EXTEND.md file, which can define default theme, author and comment options, plus multiple account aliases. The agent then picks a publishing method, checks for API credentials in a .super-publisher env file or asks for them, validates title, summary, author and cover image, and finally runs one of the TypeScript scripts with Bun. A separate pre-flight script checks the runtime and permissions before publishing.

Using it requires Bun (or npx), and for browser mode Google Chrome and a logged-in WeChat session. API mode needs an AppID and AppSecret from the WeChat admin platform. The interface supports Chinese and English prompts, matching the user's language.

When your agent uses it

Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP. Supports article posting (文章) and image-text posting (贴图).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 127 files (445 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the super-publisher plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add guanyang/super-publisher
/plugin install super-publisher@super-publisher

Or copy only this skill to ~/.claude/skills/wechat-post-publisher:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/guanyang/super-publisher.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/wechat-post-publisher &&
cp -R "$tmp/skills/wechat-post-publisher" ~/.claude/skills/wechat-post-publisher &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/wechat-post-publisher inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/wechat-post-publisher to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/guanyang/super-publisher.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/wechat-post-publisher &&
cp -R "$tmp/skills/wechat-post-publisher" ~/.agents/skills/wechat-post-publisher &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/wechat-post-publisher inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/wechat-post-publisher to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/guanyang/super-publisher.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/wechat-post-publisher &&
cp -R "$tmp/skills/wechat-post-publisher" ~/.cursor/skills/wechat-post-publisher &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/wechat-post-publisher inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/guanyang/super-publisher.git --path skills/wechat-post-publisher

Or copy the folder to ~/.gemini/skills/wechat-post-publisher yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/wechat-post-publisher:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/guanyang/super-publisher.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/wechat-post-publisher &&
cp -R "$tmp/skills/wechat-post-publisher" ~/.copilot/skills/wechat-post-publisher &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/wechat-post-publisher inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/guanyang/super-publisher.git

Then copy super-publisher/skills/wechat-post-publisher into your agent's skills folder as wechat-post-publisher. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

API and browser modes
Publish through the WeChat API with credentials, or through Chrome automation when API access is not available.
Theme and color rendering
Convert Markdown into WeChat-ready HTML using selectable preset themes and color options.
Automatic image handling
Upload inline images to WeChat and attach a cover image as permanent material for the draft.
Citation conversion
Replace external links with numbered references listed at the bottom of the article.
Multi-account configuration
Switch between several WeChat accounts using aliases defined in preference files.
Environment pre-flight check
Run a script that verifies Bun, Chrome and permissions before publishing.

Good for

  • Publish a Markdown tech post as a WeChat draft
  • Post a set of image-text updates to an Official Account
  • Send a README-based article to a specific WeChat account alias
  • Convert a Markdown file to WeChat HTML with a chosen theme
  • Check that the environment is ready before publishing

Wechat post publisher FAQ

What does the skill need to run?

It requires the Bun runtime or npx, and for browser mode Google Chrome. On macOS, browser automation also needs Accessibility permissions. API mode needs an AppID and AppSecret from the WeChat admin platform.

Where are the API credentials stored?

The skill looks for them in a .super-publisher/.env file in the project or in ~/.super-publisher/.env, and guides the user to save them there if missing.

Does Wechat post publisher publish directly or create a draft?

The completion step reports resulting draft links or IDs, indicating that articles are placed into the WeChat draft box.

Which settings can be preset?

Default theme, color, author, and comment options can be set in EXTEND.md, and CLI flags or the Markdown frontmatter can override them.

How do I install Wechat post publisher in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/wechat-post-publisher to use it in all your projects, or to .claude/skills/wechat-post-publisher in one project. Or install the super-publisher plugin, which includes it: /plugin marketplace add guanyang/super-publisher, then /plugin install super-publisher@super-publisher.

Does Wechat post publisher run scripts?

Yes. It runs TypeScript scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Wechat post publisher?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Wechat post publisher?

The closest alternatives to Wechat post publisher are Ni formatter, Ni article workflow, Ni article image gen, Social post writer and Content engine.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from guanyang/super-publisher

  1. Creates looping animated sticker sets from photos or character art

    • Open source
    • 38 GitHub stars
    • Design and media
  2. Creates and revises editable Excalidraw drawings in the browser via clipboard JSON import

    • Open source
    • 38 GitHub stars
    • Design and media
  3. Turns ordered animation frames or sprite sheets into optimized, looping GIFs

    • Open source
    • 38 GitHub stars
    • Design and media
  4. Generates a 4x4 grid of consistent character sticker previews with transparent PNG output

    • Open source
    • 38 GitHub stars
    • Design and media
  5. Orchestrates WeChat sticker pack production, from 16-grid previews to full ZIP export

    • Open source
    • 38 GitHub stars
    • Design and media
  6. Fills Toutiao article drafts with Markdown text, inline images and covers for review

    • Open source
    • 38 GitHub stars
    • Productivity