2.5k
GitHub Stars
2
Bundled Files
2 months ago
Catalog Refreshed
3 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 veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill magicx-wechat-publisher- _meta.json321 B
- SKILL.md6.1 KB
Overview
This skill publishes completed articles into a WeChat Official Account draft folder. It handles layout conversion, image upload to WeChat media, and draft submission — it does not create article content. Trigger when the user asks to publish or upload an article to a WeChat draft.
How this skill works
The skill converts provided Markdown or text into WeChat-compatible HTML with inline styles and required structural blocks (summary, paragraphs, headings, images, signature). It uploads inline and cover images to WeChat endpoints, replaces image src with WeChat URLs or media_id, then calls the draft API to create a draft. On success it returns upload results and a prompt to check the draft in the account.
When to use it
- You have a finished article and want it formatted for WeChat Official Account.
- You need images uploaded to WeChat media and replaced in article HTML.
- You want the article submitted to the WeChat draft folder for final review and publishing.
- You need automated conversion that respects WeChat HTML and styling restrictions.
- You want to offload draft submission but keep editorial control (final publish done in WeChat).
Best practices
- Provide the final article text and all image files; avoid asking the skill to write or edit content.
- Supply a single cover image (first image used as thumb_media_id) and name images clearly for mapping.
- Limit keyword color highlights to 1–2 per paragraph and follow the color scheme for numeric, warning, and core points.
- Do not include <h1> tags or external CSS; the skill enforces inline styles and removes forbidden elements.
- Ensure AppID/Secret and WeChat account IP whitelist are configured before use; verify tokens and permissions.
Example use cases
- Convert a finished blog post (Markdown) into WeChat draft with images uploaded to WeChat media.
- Batch upload article images, replace links, and submit the draft for editorial review.
- Prepare an article with required summary block, signature, and WeChat-compliant headings and divisions.
- Automate daily newsletter conversion and push to WeChat draft for manual publish by the editor.
FAQ
No. This skill only converts, uploads images, and submits drafts. Content creation and editing must be done beforehand.
Are CSS files or <style> tags allowed?
No. All styles must be inlined. The skill strips forbidden styles and ensures compliance with WeChat requirements.
How are images handled?
Inline images are uploaded via WeChat image API and replaced with WeChat-hosted URLs; the first image is uploaded as a material to return a thumb_media_id for the draft.