Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
ideacco avatar

Baoyu Post To Wechat

  • 63 installs
  • 12 repo stars
  • Updated March 4, 2026
  • ideacco/baoyu-skills-openclaw

baoyu-post-to-wechat is an agent skill that posts markdown articles to WeChat Official Accounts with themes and image handling.

About

baoyu-post-to-wechat is an agent skill for posting markdown articles to WeChat Official Accounts. It documents a bun-based script that converts markdown (or HTML) into editor-ready content, supports multiple visual themes, and handles the awkward WeChat image workflow by inserting placeholders during render and swapping real images in the browser editor afterward. Solo builders who write in markdown but need a Chinese social distribution channel can invoke the skill so their agent runs the right npx command, respects frontmatter for title and author, and explains parameter choices. It fits builders doing content-led growth rather than building a WeChat mini-program codebase.

  • CLI via bun: wechat-article.ts from --markdown or pre-rendered --html
  • Themes: default, grace, simple, modern
  • Frontmatter and flags for title, author, summary overrides
  • Image pipeline: markdown → WECHATIMGPH_N placeholders → paste HTML → replace in editor
  • Optional --profile for Chrome profile when driving the WeChat editor

Baoyu Post To Wechat by the numbers

  • 63 all-time installs (skills.sh)
  • Ranked #982 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Security screen: HIGH risk (skills.sh audit)
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ideacco/baoyu-skills-openclaw --skill baoyu-post-to-wechat

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs63
repo stars12
Security audit1 / 3 scanners passed
Last updatedMarch 4, 2026
Repositoryideacco/baoyu-skills-openclaw

What it does

Publish markdown blog posts to a WeChat Official Account with formatting, themes, and image placeholders handled automatically.

Who is it for?

Best when you already write in markdown and maintain a WeChat Official Account for audience reach.

Skip if: Skip if you're without WeChat publishing access, or products that only need a website or newsletter with no WeChat channel.

When should I use this skill?

You need to publish or update a markdown (or HTML) article on a WeChat Official Account.

What you get

A themed HTML paste into WeChat plus a documented image-replacement sequence so articles go live on your Official Account with consistent formatting.

  • Executed wechat-article posting flow
  • Formatted article live or ready in the WeChat editor with images placed

By the numbers

  • 4 themes: default, grace, simple, modern

Files

SKILL.mdMarkdownGitHub ↗

Article Posting (文章发表)

Post markdown articles to WeChat Official Account with full formatting support.

Usage

# Post markdown article
npx -y bun ./scripts/wechat-article.ts --markdown article.md

# With theme
npx -y bun ./scripts/wechat-article.ts --markdown article.md --theme grace

# With explicit options
npx -y bun ./scripts/wechat-article.ts --markdown article.md --author "作者名" --summary "摘要"

Parameters

ParameterDescription
--markdown <path>Markdown file to convert and post
--theme <name>Theme: default, grace, simple, modern
--title <text>Override title (auto-extracted from markdown)
--author <name>Author name
--summary <text>Article summary
--html <path>Pre-rendered HTML file (alternative to markdown)
--profile <dir>Chrome profile directory

Markdown Format

---
title: Article Title
author: Author Name
---

# Title (becomes article title)

Regular paragraph with **bold** and *italic*.

## Section Header

![Image description](./image.png)

- List item 1
- List item 2

> Blockquote text

[Link text](https://example.com)

Image Handling

1. Parse: Images in markdown are replaced with WECHATIMGPH_N 2. Render: HTML is generated with placeholders in text 3. Paste: HTML content is pasted into WeChat editor 4. Replace: For each placeholder:

  • Find and select the placeholder text
  • Scroll into view
  • Press Backspace to delete the placeholder
  • Paste the image from clipboard

Scripts

ScriptPurpose
wechat-article.tsMain article publishing script
md-to-wechat.tsMarkdown to HTML with placeholders
md/render.tsMarkdown rendering with themes

Example Session

User: /post-to-wechat --markdown ./article.md

Claude:
1. Parses markdown, finds 5 images
2. Generates HTML with placeholders
3. Opens Chrome, navigates to WeChat editor
4. Pastes HTML content
5. For each image:
   - Selects WECHATIMGPH_1
   - Scrolls into view
   - Presses Backspace to delete
   - Pastes image
6. Reports: "Article composed with 5 images."

--- name: first-time-setup description: First-time setup flow for baoyu-post-to-wechat preferences ---

First-Time Setup

Overview

When no EXTEND.md is found, guide user through preference setup.

BLOCKING OPERATION: This setup MUST complete before ANY other workflow steps. Do NOT:

  • Ask about content or files to publish
  • Ask about themes or publishing methods
  • Proceed to content conversion or publishing

ONLY ask the questions in this setup flow, save EXTEND.md, then continue.

Setup Flow

No EXTEND.md found
        |
        v
+---------------------+
| AskUserQuestion     |
| (all questions)     |
+---------------------+
        |
        v
+---------------------+
| Create EXTEND.md    |
+---------------------+
        |
        v
    Continue to Step 1

Questions

Language: Use user's input language or saved language preference.

Use AskUserQuestion with ALL questions in ONE call:

Question 1: Default Theme

header: "Theme"
question: "Default theme for article conversion?"
options:
  - label: "default (Recommended)"
    description: "Classic layout - centered title with border, white-on-color H2 (default: blue)"
  - label: "grace"
    description: "Elegant - text shadows, rounded cards, refined blockquotes (default: purple)"
  - label: "simple"
    description: "Minimal modern - asymmetric rounded corners, clean whitespace (default: green)"
  - label: "modern"
    description: "Large rounded corners, pill headings, spacious (default: orange)"

Question 2: Default Color

header: "Color"
question: "Default color preset? (theme default if not set)"
options:
  - label: "Theme default (Recommended)"
    description: "Use the theme's built-in default color"
  - label: "blue"
    description: "#0F4C81 经典蓝"
  - label: "red"
    descripti

Related skills

How it compares

Skill-wrapped browser posting workflow, not a headless WeChat API integration you can fully automate without the official editor.

FAQ

Who is baoyu-post-to-wechat for?

Developers and marketers who publish long-form content on WeChat Official Accounts and want agent-assisted conversion from markdown.

When should I use baoyu-post-to-wechat?

Use in Grow when shipping a new article to subscribers; in Launch when distributing launch notes or changelog posts to your WeChat audience after a release.

Is baoyu-post-to-wechat safe to install?

The skill drives local scripts and browser profiles—review the Security Audits panel on this page and only use Chrome profiles and credentials you control.

Automation & Workflowscontentdistribution

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.