# baoyu-post-to-wechat

> Claude/Codex skill by [@jimliu](https://omgskills.com/library/jimliu/index.md) · 27k stars · Updated 2026-09-10

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 "贴图/图文/文章".

Tags: agent-skills, claude-skills, codex-skills, openclaw-skills

## Install

```sh
git clone https://github.com/JimLiu/baoyu-skills /tmp/baoyu-skills && ln -s /tmp/baoyu-skills/skills/baoyu-post-to-wechat ~/.claude/skills/baoyu-post-to-wechat
```

## From README

Post to WeChat Official Account User Input Tools When this skill prompts the user, follow this tool-selection rule (priority order): Prefer built-in user-input tools exposed by the current agent runtime — e.g., AskUserQuestion, requestuserinput, clarify, askuser, or any equivalent. 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. 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.

## Links

- HTML page: https://omgskills.com/skills/jimliu/baoyu-skills/baoyu-post-to-wechat/
- GitHub: https://github.com/JimLiu/baoyu-skills
- Author: [@jimliu](https://omgskills.com/library/jimliu/index.md)

## More from this repo

- [baoyu-article-illustrator](https://omgskills.com/skills/jimliu/baoyu-skills/baoyu-article-illustrator/index.md) — Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style ×...
   - [@jimliu](https://omgskills.com/library/jimliu/index.md) · 27k stars
- [baoyu-comic](https://omgskills.com/skills/jimliu/baoyu-skills/baoyu-comic/index.md) — Knowledge comic creator supporting multiple art styles and tones.
   - [@jimliu](https://omgskills.com/library/jimliu/index.md) · 27k stars
- [baoyu-compress-image](https://omgskills.com/skills/jimliu/baoyu-skills/baoyu-compress-image/index.md) — Compresses images to WebP (default) or PNG with automatic tool selection.
   - [@jimliu](https://omgskills.com/library/jimliu/index.md) · 27k stars
