# Wechat post publisher

> Wechat post publisher is an open-source agent skill for writing style. Publishes Markdown articles and image-text posts to WeChat Official Account drafts. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/guanyang/super-publisher/tree/main/skills/wechat-post-publisher
- **Repository:** https://github.com/guanyang/super-publisher
- **GitHub stars:** 38
- **License:** MIT
- **Skill name:** wechat-post-publisher
- **Collection:** https://github.com/guanyang/super-publisher
- **Categories:** [writing style](https://ai-powered.com/categories/writing-style)
- **Listing updated:** 2026-12-03

## About

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 (贴图).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs TypeScript scripts](https://github.com/guanyang/super-publisher/tree/HEAD/skills/wechat-post-publisher)
- [Network calls found in its scripts](https://github.com/guanyang/super-publisher/tree/HEAD/skills/wechat-post-publisher)
- [License: MIT](https://github.com/guanyang/super-publisher/tree/HEAD/skills/wechat-post-publisher)

## Features

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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Ni formatter](https://ai-powered.com/skills/ni-formatter): Ni formatter is an open-source agent skill for writing style.
- [Ni article workflow](https://ai-powered.com/skills/ni-article-workflow): Ni article workflow is an open-source agent skill for writing style.
- [Ni article image gen](https://ai-powered.com/skills/ni-article-image-gen): Ni article image gen is an open-source agent skill for writing style.
- [Social post writer](https://ai-powered.com/skills/social-post-writer): Social post writer is an open-source agent skill for marketing and seo.
- [Content engine](https://ai-powered.com/skills/content-engine-fmarzochi): Content engine is an open-source agent skill for marketing and seo.
- [Content engine](https://ai-powered.com/skills/content-engine): Content engine is an open-source agent skill for writing style.
- [Ni inspect](https://ai-powered.com/skills/ni-inspect): Ni inspect is an open-source agent skill for writing style.
- [SEO blog writer](https://ai-powered.com/skills/seo-blog-writer): SEO blog writer is an open-source agent skill for marketing and seo.

---
Source: https://ai-powered.com/skills/wechat-post-publisher
