- Home
- Skills
- Vegetapn
- Writing Assistant Skill
- Baoyu Post To Wechat
baoyu-post-to-wechat_skill
- Shell
22
GitHub Stars
1
Bundled Files
3 weeks ago
Catalog Refreshed
2 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstart where the catalogue uses aiagentskills.
npx veilstart add skill vegetapn/writing-assistant-skill --skill baoyu-post-to-wechat- SKILL.md5.7 KB
Overview
This skill automates posting to WeChat Official Accounts using Chrome CDP automation. It supports two post types: article (full markdown → themed HTML) and image-text posts with multiple images. The workflow preserves session login and provides HTML previews before submission.
How this skill works
The skill converts Markdown to WeChat-compatible HTML and drives a Chrome instance via the Chrome DevTools Protocol to create and submit posts. It offers separate scripts for image-text posts and article posting, supports theme selection for articles, and prints an HTML preview path so you can verify content before publishing. Configuration can be extended through a local EXTEND.md to set defaults like theme, auto-submit, and Chrome profile path.
When to use it
- You need to publish a Markdown article to a WeChat Official Account with preserved formatting and selectable theme.
- You want to post multi-image image-text (图文) posts with automatic image handling and compression.
- You prefer an automated, repeatable workflow that opens a browser session for QR login and preserves cookies.
- You want to preview rendered HTML locally before committing a post.
- You need to integrate WeChat posting into an end-to-end writing pipeline or CI-like workflow.
Best practices
- Log into the WeChat Official Account in the Chrome session on first run to preserve authentication for later runs.
- Use the md-to-wechat preview step to confirm layout and images before running the submit script.
- Select or predefine an article theme (default, grace, simple) to avoid manual prompts during automation.
- Store project or user EXTEND.md to centralize preferences like Chrome profile path and auto-submit behavior.
- Keep images optimized and follow image-count limits (image-text up to 9 images) to avoid upload errors.
Example use cases
- Publish a full-featured Markdown article with a chosen theme and preview the generated HTML before posting.
- Create a multi-image promotional image-text post by pointing the script at a folder of images and auto-compressing assets.
- Integrate WeChat posting into a content pipeline to automatically publish approved drafts from a local repository.
- Run a one-off publish from the command line: convert markdown to HTML, preview, then post without manual editing.
FAQ
No. The first run opens Chrome for QR login and preserves the session; subsequent runs reuse that session unless cookies are cleared.
How do I choose or skip the article theme prompt?
The skill asks for a theme by default. If you pass a theme option or set it in EXTEND.md, the prompt is skipped.