Agent skill

WeChat Official Account Poster

by JimLiu in JimLiu/baoyu-skills

Publishes articles and image-text posts to a WeChat Official Account through the API or Chrome CDP, converting markdown to WeChat-ready HTML with link citations.

MITAuto-check: warningsMarketing & SEO

Install WeChat Official Account Poster

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add JimLiu/baoyu-skills --skill baoyu-post-to-wechat -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JimLiu/baoyu-skills baoyu-post-to-wechat --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JimLiu/baoyu-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/baoyu-post-to-wechat .claude/skills/baoyu-post-to-wechat && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
baoyu-post-to-wechat
GitHub stars
27k
Used in
2 other repos
Token cost
~3.6k tokens
SKILL.md length
1,296 words
Files
29 (incl. scripts, references)
Skills in repo
22
Repo updated
First seen
Licence
MIT

At a glance

Publishes articles and image-text posts to a WeChat Official Account through the API or Chrome CDP, converting markdown to WeChat-ready HTML with link citations.

  • Works in 6 steps: Load Preferences → Determine Input Type → Select Publishing Method and Configure → …
  • Publishing a markdown article to a WeChat Official Account
  • SKILL.md covers User Input Tools, Language, Script Directory and Preferences (EXTEND.md), plus 8 more sections
  • Runs TypeScript scripts from its folder; calls brew, ssh and npx; reaches api.weixin.qq.com and mp.weixin.qq.com; needs ACCESS_TOKEN and TELEGRAM_BOT_TOKEN

What it does

Two kinds of post are supported: articles from HTML, markdown or plain text, and image-text posts with several images. Markdown articles by default turn ordinary external links into bottom citations, which suits WeChat's formatting. Bundled TypeScript scripts handle each route: one posts image-text content through the browser, one posts articles through the browser, one posts articles through the API, and a converter produces WeChat-ready HTML with image placeholders.

Scripts run with Bun, falling back to npx -y bun. Preferences live in an EXTEND.md file looked up in the project, the XDG config folder and the home folder, in that order, and first-time setup runs when none exists. Minimum keys include a default author, whether comments are open, which defaults to on, and whether only fans may comment, which defaults to off.

When it needs answers from you, it prefers the runtime's built-in question tool and otherwise sends a numbered plain-text list. Replies follow your language, Chinese or English, with technical tokens kept in English. Reference notes cover API setup, article and image-text posting, multiple accounts and first-time configuration, and a permissions check script verifies the environment.

When your agent uses it

  • Publishing a markdown article to a WeChat Official Account
  • Posting an image-text set with several pictures
  • Converting an article to WeChat-ready HTML before posting
  • Managing posts for more than one Official Account

Example prompts

  • “Post article.md to my WeChat Official Account through the browser.”
  • “Publish these six images as an image-text post with this caption.”
  • “Convert my blog post to WeChat HTML and keep external links as citations at the bottom.”

Requirements

  • Bun, or npx to run it
  • A WeChat Official Account, with API credentials or Chrome for browser posting

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Load Preferences
  2. Determine Input Type
  3. Select Publishing Method and Configure
  4. Resolve Theme/Color and Validate Metadata
  5. Publish
  6. Completion Report

What it can do on your machine

Read from SKILL.md and the folder at commit 1567581. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 12 files in scripts/ (TypeScript, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • brew
    • ssh
    • npx
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.weixin.qq.com
    • mp.weixin.qq.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ACCESS_TOKEN
    • TELEGRAM_BOT_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

WeChat Official Account Poster loads about 3.6k tokens when it runs, and up to ~8.3k if it reads all its reference files. Until then it costs about 106 tokens; SKILL.md has 1,296 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~106
When it runs · the whole SKILL.md, loaded when a task matches
~3.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:78
    # remote_publish_identity_file: ~/.ssh/id_ed25519
  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:79
    # remote_publish_known_hosts_file: ~/.ssh/known_hosts
  • NoteMentions a .env fileSKILL.md:115
    etup in Step 2, or set in `.baoyu-skills/.env` |
  • NoteMentions a .env fileSKILL.md:168
    /api-setup.md` (writes to `.baoyu-skills/.env`).

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from JimLiu/baoyu-skills at commit 1567581, republished under its MIT licence (© JimLiu). 1,296 words, ~3,630 tokens.

Download SKILL.mdSave it as .claude/skills/baoyu-post-to-wechat/SKILL.md (or your agent's skills folder). This skill also uses 28 other files; get the full folder from GitHub.
name
baoyu-post-to-wechat
description
Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP. Supports article posting (文章) with HTML, markdown, or plain text input, and image-text posting (贴图, formerly 图文) with multiple images. Markdown article workflows default to converting ordinary external links into bottom citations for WeChat-friendly output. Use when user mentions "发布公众号", "post to wechat", "微信公众号", or "贴图/图文/文章".
version
1.118.2

Post to WeChat Official Account

User Input Tools

When this skill prompts the user, follow this tool-selection rule (priority order):

  1. Prefer built-in user-input tools exposed by the current agent runtime — e.g., AskUserQuestion, request_user_input, clarify, ask_user, or any equivalent.
  2. Fallback: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question.
  3. Batching: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.

Concrete AskUserQuestion references below are examples — substitute the local equivalent in other runtimes.

Language

Respond in the user's language. If they write in Chinese, reply in Chinese; if English, English. Keep technical tokens (paths, flags, field names) in English.

Script Directory

{baseDir} = this SKILL.md's directory. Resolve ${BUN_X}: prefer bun; else npx -y bun; else suggest brew install oven-sh/bun/bun.

ScriptPurpose
scripts/wechat-browser.tsImage-text posts (图文)
scripts/wechat-article.tsArticle posting via browser (文章)
scripts/wechat-api.tsArticle posting via API (文章)
scripts/md-to-wechat.tsMarkdown → WeChat-ready HTML with image placeholders
scripts/check-permissions.tsVerify environment & permissions

Preferences (EXTEND.md)

Check these paths in order; first hit wins:

PathScope
.baoyu-skills/baoyu-post-to-wechat/EXTEND.mdProject
${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-post-to-wechat/EXTEND.mdXDG
$HOME/.baoyu-skills/baoyu-post-to-wechat/EXTEND.mdUser home

Found → read, parse, apply. Not found → run first-time setup (references/config/first-time-setup.md) before anything else.

Minimum keys (case-insensitive, accept 1/0 or true/false):

KeyDefaultMapping
default_authoremptyFallback for author when CLI/frontmatter not provided
need_open_comment1articles[].need_open_comment in draft/add
only_fans_can_comment0articles[].only_fans_can_comment in draft/add

Recommended EXTEND.md:

md
default_theme: default
default_color: blue
default_publish_method: browser
default_author: 宝玉
need_open_comment: 1
only_fans_can_comment: 0
chrome_profile_path: /path/to/chrome/profile

# Remote API publishing (optional) — only set if WeChat's IP allowlist
# excludes your local machine. See "Remote API Method" below.
# remote_publish_host: server.example.com
# remote_publish_user: deploy
# remote_publish_port: 22
# remote_publish_identity_file: ~/.ssh/id_ed25519
# remote_publish_known_hosts_file: ~/.ssh/known_hosts
# remote_publish_strict_host_key_checking: accept-new
# remote_publish_connect_timeout: 10
# remote_publish_proxy_jump: bastion.example.com

Raw ssh / scp options are intentionally not supported; only the typed keys above are honored. Authentication is SSH key only (no passwords).

Theme options: default, grace, simple, modern. Color presets: blue, green, vermilion, yellow, purple, sky, rose, olive, black, gray, pink, red, orange (or hex).

Value priority: CLI args → frontmatter → EXTEND.md (account-level → global) → skill defaults.

Multi-Account Support

EXTEND.md supports an accounts: block for managing multiple Official Accounts. With 2+ entries, the workflow inserts a Step 0.5 to prompt for account selection (or auto-selects based on default: true or --account <alias>).

Full details — compatibility rules, per-account keys, credential resolution, per-account Chrome profiles, CLI usage — in references/multi-account.md.

Pre-flight Check (Optional)

Before first use, suggest the environment check (user can skip):

bash
${BUN_X} {baseDir}/scripts/check-permissions.ts

Checks: Chrome, profile isolation, Bun, Accessibility, clipboard, paste keystroke, API credentials, Chrome conflicts.

Check failsFix
ChromeInstall Chrome or set WECHAT_BROWSER_CHROME_PATH
Profile dirShared profile at baoyu-skills/chrome-profile
Bun runtimebrew install oven-sh/bun/bun or npm install -g bun
Accessibility (macOS)System Settings → Privacy & Security → Accessibility → enable terminal app
Clipboard copyEnsure Swift/AppKit (macOS: xcode-select --install)
Paste keystroke (Linux)Install xdotool (X11) or ydotool (Wayland)
API credentialsFollow guided setup in Step 2, or set in .baoyu-skills/.env

Image-Text Posting (图文)

Short posts with multiple images (up to 9):

bash
${BUN_X} {baseDir}/scripts/wechat-browser.ts --markdown article.md --images ./images/
${BUN_X} {baseDir}/scripts/wechat-browser.ts --title "标题" --content "内容" --image img.png --submit

Details: references/image-text-posting.md.

Article Posting Workflow (文章)

- [ ] Step 0: Load preferences (EXTEND.md)
- [ ] Step 0.5: Resolve account (multi-account only — see references/multi-account.md)
- [ ] Step 1: Determine input type
- [ ] Step 2: Select method and configure credentials
- [ ] Step 3: Resolve theme/color and validate metadata
- [ ] Step 4: Publish to WeChat
- [ ] Step 5: Report completion
Step 0: Load Preferences

Check and load EXTEND.md (see "Preferences" above). If not found, complete first-time setup before any other questions. Resolve and cache for later steps: default_theme, default_color, default_author, need_open_comment, only_fans_can_comment.

Step 1: Determine Input Type
InputDetectionNext
HTML filePath ends .html, file existsSkip to Step 3
Markdown filePath ends .md, file existsStep 2
Plain textNot a file path, or file doesn't existSave to markdown, then Step 2

Plain-text handling:

  1. Generate slug (first 2-4 meaningful words, kebab-case; translate Chinese to English for the slug).
  2. Save to post-to-wechat/YYYY-MM-DD/<slug>.md (create directory if needed).
  3. Continue as a markdown file.
Step 2: Select Publishing Method and Configure

Ask method unless specified in EXTEND.md or CLI:

MethodSpeedRequires
api (Recommended)FastAPI credentials (local IP allowlisted)
browserSlowChrome + logged-in session
remote-apiFastAPI credentials + an SSH-reachable server whose IP is on the WeChat allowlist

API selected + missing credentials → run guided setup per references/api-setup.md (writes to .baoyu-skills/.env).

remote-api method: WeChat's "公众号设置 → IP 白名单" often limits API access to one or two fixed IPs. If your local machine's IP is not on that list but a cloud server's is, use remote-api: all markdown rendering, image processing, draft assembly, and HTML rewriting still happen locally, and only the outbound HTTPS calls to api.weixin.qq.com (token, uploadimg, add_material, draft/add) are tunneled through an SSH SOCKS5 dynamic port forward (ssh -N -D) so that WeChat sees the remote server as the source IP. No files are written to the remote host; AppSecret never leaves the local process. Requires only sshd and outbound network on the remote host — no Python, no agent process. See "Remote API Method" below.

Show full SKILL.md (562 more words)Show less
Step 3: Resolve Theme/Color and Validate Metadata
  1. Theme: CLI --theme → EXTEND.md default_theme → default (first match wins; do NOT ask if resolved).
  2. Color: CLI --color → EXTEND.md default_color → omit (theme default applies).
  3. Validate metadata (frontmatter for markdown, meta tags for HTML):
FieldMissing →
TitleAsk, or press Enter to auto-generate from content
SummaryFrontmatter description → summary → ask or auto-generate
AuthorCLI --author → frontmatter author → EXTEND.md default_author
Source URLCLI --source-url → frontmatter sourceUrl/contentSourceUrl/content_source_url

Auto-generation: title = first H1/H2 or first sentence; summary = first paragraph, truncated to 120 chars.

  1. Cover image (required for API article_type=news): CLI --cover → frontmatter (coverImage / featureImage / cover / image) → imgs/cover.png → first inline image → stop and request one if still missing.
Step 4: Publish

Important — never pre-convert markdown to HTML. Publishing scripts handle the conversion internally and the two methods render images differently: API renders <img> tags for upload, browser uses placeholders for paste-and-replace. Passing a pre-converted HTML breaks one or the other.

Markdown citation default: for markdown input, ordinary external links are converted to bottom citations by default. Use --no-cite only if the user explicitly wants to keep inline links. Existing HTML input is left as-is.

API method (accepts .md or .html):

bash
${BUN_X} {baseDir}/scripts/wechat-api.ts <file> --theme <theme> [--color <color>] [--title <title>] [--summary <summary>] [--author <author>] [--cover <cover_path>] [--source-url <url>] [--no-cite]

Always pass --theme even if it's default. Only pass --color when explicitly set by the user or EXTEND.md.

Remote API method (same script, adds --remote):

bash
${BUN_X} {baseDir}/scripts/wechat-api.ts <file> --theme <theme> --remote [--remote-host <host>] [--remote-user <user>] [--remote-port <port>] [--remote-identity-file <path>] [--remote-known-hosts-file <path>] [--remote-strict-host-key-checking yes|no|accept-new] [--remote-connect-timeout <s>] [--remote-proxy-jump <spec>]

Any --remote-* flag implies --remote. CLI values override account-level then global remote_publish_* keys from EXTEND.md. Setting default_publish_method: remote-api also enables remote mode without --remote.

draft/add payload rules:

  • Endpoint: POST https://api.weixin.qq.com/cgi-bin/draft/add?access_token=ACCESS_TOKEN
  • article_type: news (default) or newspic
  • For news, include thumb_media_id (cover required)
  • Always include need_open_comment (default 1) and only_fans_can_comment (default 0) in the request body, even if the CLI doesn't expose them
  • For news, optionally include content_source_url (original article URL, shown as "阅读原文" link, max 1KB). Provide via --source-url CLI flag or frontmatter sourceUrl/contentSourceUrl/content_source_url

Browser method (accepts --markdown or --html):

bash
${BUN_X} {baseDir}/scripts/wechat-article.ts --markdown <markdown_file> --theme <theme> [--color <color>] [--no-cite]
${BUN_X} {baseDir}/scripts/wechat-article.ts --html <html_file>
Step 5: Completion Report
WeChat Publishing Complete!

Input: [type] - [path]
Method: [API | Browser]
Theme: [theme] [color if set]

Article:
• Title: [title]
• Summary: [summary]
• Images: [N] inline
• Comments: [open/closed], [fans-only/all]    ← API method only

Result:
✓ Draft saved to WeChat Official Account
• media_id: [media_id]                         ← API method only

Next Steps (API):
→ Manage drafts: https://mp.weixin.qq.com (登录后进入「内容管理」→「草稿箱」)

Files created:
[• post-to-wechat/YYYY-MM-DD/slug.md (if plain text input)]
[• slug.html (converted)]

Feature Comparison

FeatureImage-TextArticle (API)Article (Remote API)Article (Browser)
Plain text input✗✓✓✓
HTML input✗✓✓✓
Markdown inputTitle/content✓✓✓
Multiple images✓ (up to 9)✓ (inline)✓ (inline)✓ (inline)
Themes✗✓✓✓
Auto-generate metadata✗✓✓✓
Default cover fallback (imgs/cover.png)✗✓✓✗
Comment control✗✓✓✗
Requires Chrome✓✗✗✓
Requires API credentials✗✓✓✗
Requires SSH-reachable server with allowlisted IP✗✗✓✗
SpeedMediumFastFastSlow

Troubleshooting

IssueFix
Missing API credentialsFollow guided setup in Step 2
Access token errorVerify credentials valid and not expired
Not logged in (browser)First run opens browser — scan QR to log in. Set TELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID to receive the QR image via Telegram
Chrome not foundSet WECHAT_BROWSER_CHROME_PATH
Title/summary missingUse auto-generation or provide manually
No cover imageAdd frontmatter cover or place imgs/cover.png in article directory
Wrong comment defaultsCheck need_open_comment / only_fans_can_comment in EXTEND.md
Paste failsCheck system clipboard permissions
Remote publish host is requiredSet --remote-host or remote_publish_host in EXTEND.md
SOCKS proxy on 127.0.0.1:… not readySSH could not start the tunnel — check key, host, StrictHostKeyChecking, or use --remote-connect-timeout
ssh exited early during remote publishVerify the user can ssh non-interactively to the server; raise --remote-connect-timeout if the link is slow
Remote API call returns errcode 40164 (invalid IP)The remote server's egress IP is not on WeChat's allowlist; add it in 公众号设置 → IP 白名单

References

FileContent
references/image-text-posting.mdImage-text parameters, auto-compression
references/article-posting.mdArticle themes, image handling
references/multi-account.mdMulti-account compatibility, credentials, Chrome profiles, CLI
references/api-setup.mdGuided credential setup
references/config/first-time-setup.mdFirst-time EXTEND.md setup

Extension Support

Custom configurations via EXTEND.md. See "Preferences" for paths and supported options.

© JimLiu, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 28 other files (scripts, references) in skills/baoyu-post-to-wechat of JimLiu/baoyu-skills.

  • SKILL.md
  • references/api-setup.md
  • references/article-posting.md
  • references/config/first-time-setup.md
  • references/image-text-posting.md
  • references/multi-account.md
  • scripts/bun.lock
  • scripts/cdp.ts
  • scripts/check-permissions.ts
  • scripts/copy-to-clipboard-mac.test.ts
  • scripts/copy-to-clipboard.ts
  • scripts/md-to-wechat.ts
  • scripts/package.json
  • scripts/paste-from-clipboard.ts
  • scripts/wechat-agent-browser.ts
  • scripts/wechat-api.ts
  • scripts/wechat-article-focus.test.ts
  • scripts/wechat-article.ts
  • … and 11 more

Open the folder on GitHubat commit 1567581

Used in 2 other repositories

We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in JimLiu/baoyu-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

WeChat Official Account Poster next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

WeChat Official Account Poster compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
WeChat Official Account Poster this skillJimLiu/baoyu-skills27k2 repos~3.6kAutomated safety check: WarnMIT
Baoyu Post To Wechataiskillstore/marketplace433—~649Automated safety check: PassNone
Canghe Post To Wechatfreestylefly/canghe-skills4613 repos~3.4kAutomated safety check: NotesNone
Content EngineJianing1117/jianing-skills329—~1.8kAutomated safety check: PassNone
Xiaohongshu Auto Postingbrowser-act/skills6.1k—~3.9kAutomated safety check: PassMIT
Content Engineericrisco/rsc-harness180—~2.9kAutomated safety check: PassMIT

Similar skills

  • Baoyu Post To Wechat

    aiskillstore/marketplace

    Post content to WeChat Official Account (微信公众号). An agent skill from aiskillstore/marketplace.

    433 GitHub stars~649 tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Canghe Post To Wechat

    freestylefly/canghe-skills

    Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP.

    461 GitHub starsUsed in 3 repos~3.4k tokens
    Marketing & SEOAuto-check: notes
  • Content Engine

    Jianing1117/jianing-skills

    会自我迭代的内容引擎。三件事:学(拆爆款沉淀方法论)、改(诊断并优化自己的稿子)、复盘(数据回流校准方法论). An agent skill from Jianing1117/jianing-skills.

    329 GitHub stars~1.8k tokensUpdated 3 days ago
    Marketing & SEOAuto-check passed
  • Xiaohongshu Auto Posting

    browser-act/skills

    Automates the complete Xiaohongshu (XHS / Little Red Book) content operation workflow: pain-point topic collection → style case collection → topic selection → content writing → publishing →…

    6.1k GitHub stars~3.9k tokensUpdated 1 mo ago
    Marketing & SEOAuto-check passed
  • Content Engine

    ericrisco/rsc-harness

    A skill your agent uses when a content operation needs a SYSTEM: a dated editorial calendar built top-down from pillars, plus the stage gates, briefs, WIP limits and 1:10 atomization plan that move…

    180 GitHub stars~2.9k tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • WeChat Official Account Pipeline

    aiworkskills/wechat-article-skills

    Orchestrates the full WeChat official account workflow from topic to draft, chaining sub-skills for writing, review, layout, images and publishing.

    672 GitHub stars~2k tokensUpdated 18 days ago
    Writing & ContentAuto-check passed

More from JimLiu/baoyu-skills

All 22 skills in this repo
  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    27k GitHub starsUsed in 6 repos~3.5k tokens
    Auto-check passed
  • X to Markdown Converter

    JimLiu/baoyu-skills

    Saves tweets, threads and X Articles as Markdown files with YAML front matter, using an unofficial API that asks for your consent first.

    27k GitHub starsUsed in 4 repos~1.8k tokens
    Auto-check: warnings
  • SVG Diagram Generator

    JimLiu/baoyu-skills

    Creates standalone dark-themed SVG diagrams, including architecture, flowchart, sequence, structural, mind map, timeline and state machine types.

    27k GitHub starsUsed in 1 repo~3.1k tokens
    Auto-check passed
  • Image Compressor

    JimLiu/baoyu-skills

    Compresses images to WebP by default, or to PNG or JPEG, picking the best available tool on the machine and optionally processing whole folders.

    27k GitHub starsUsed in 5 repos~598 tokens
    Auto-check passed
  • Generates text and images through an unofficial, reverse-engineered Gemini Web API, supporting reference images and multi-turn conversations.

    27k GitHub starsUsed in 5 repos~1.6k tokens
    Auto-check passed
  • Baoyu Translate

    JimLiu/baoyu-skills

    Translates articles and files in quick, normal or refined mode, with a custom glossary, saved preferences and a review-and-polish workflow for publication quality.

    27k GitHub starsUsed in 1 repo~3.9k tokens
    Auto-check passed

Works with

Questions about WeChat Official Account Poster

What does WeChat Official Account Poster do?

Publishes articles and image-text posts to a WeChat Official Account through the API or Chrome CDP, converting markdown to WeChat-ready HTML with link citations. Two kinds of post are supported: articles from HTML, markdown or plain text, and image-text posts with several images. Markdown articles by default turn ordinary external links into bottom citations, which suits WeChat's formatting.

When should I use WeChat Official Account Poster?

WeChat Official Account Poster fits situations like: publishing a markdown article to a WeChat Official Account; posting an image-text set with several pictures; converting an article to WeChat-ready HTML before posting; managing posts for more than one Official Account.

How do I install WeChat Official Account Poster in Claude Code?

Run `npx skills add JimLiu/baoyu-skills --skill baoyu-post-to-wechat -a claude-code`. Or copy the skill folder (skills/baoyu-post-to-wechat in JimLiu/baoyu-skills) into .claude/skills/baoyu-post-to-wechat in your project. Claude Code loads it when a task matches its description.

How do I install WeChat Official Account Poster in Codex?

Run `npx skills add JimLiu/baoyu-skills --skill baoyu-post-to-wechat -a codex`. Or copy the skill folder (skills/baoyu-post-to-wechat in JimLiu/baoyu-skills) into .agents/skills/baoyu-post-to-wechat in your project. Codex loads it when a task matches its description.

Can I use WeChat Official Account Poster in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JimLiu/baoyu-skills --skill baoyu-post-to-wechat -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/baoyu-post-to-wechat, .gemini/skills/baoyu-post-to-wechat, .github/skills/baoyu-post-to-wechat and .opencode/skills/baoyu-post-to-wechat in your project.

What does WeChat Official Account Poster need to run?

Going by SKILL.md and its folder, WeChat Official Account Poster needs TypeScript for the scripts in its folder, the command-line tools its instructions call (brew, ssh, npx and npm) and credentials named ACCESS_TOKEN and TELEGRAM_BOT_TOKEN. Our summary lists: Bun, or npx to run it; A WeChat Official Account, with API credentials or Chrome for browser posting.

Does WeChat Official Account Poster access the network?

SKILL.md names 2 domains. In commands or code: api.weixin.qq.com and mp.weixin.qq.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is WeChat Official Account Poster safe to install?

Our automated static check of SKILL.md flagged 2 warning(s): mentions a credentials file (ssh keys, cloud or package-manager tokens). Read the flagged lines before installing; the check is not a guarantee either way. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does WeChat Official Account Poster use?

WeChat Official Account Poster is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does WeChat Official Account Poster use?

About 3.6k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.7k tokens, read only when the agent opens those files.

What are the alternatives to WeChat Official Account Poster?

Skills that share tags, products or a category with WeChat Official Account Poster: Baoyu Post To Wechat (aiskillstore/marketplace, 433 stars), Canghe Post To Wechat (freestylefly/canghe-skills, 461 stars), Content Engine (Jianing1117/jianing-skills, 329 stars) and Xiaohongshu Auto Posting (browser-act/skills, 6.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains WeChat Official Account Poster?

JimLiu (a GitHub user) maintains it in JimLiu/baoyu-skills, which has 26,507 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on September 10, 2026.

Source: JimLiu/baoyu-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.