wechat-article-typeset_skill

This skill generates WeChat article HTML from Markdown and retrieves a copy page link via edit.shiker.tech for easy copy-paste.
  • Python

2.5k

GitHub Stars

11

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 wechat-article-typeset

  • _meta.json299 B
  • article.md6.6 KB
  • fish-weekly-draft.md4.3 KB
  • opts.js3.2 KB
  • package.json112 B
  • presets.js2.9 KB
  • README.md2.3 KB
  • skill.json1.4 KB
  • SKILL.md4.8 KB
  • wechat-copy.js1.5 KB
  • wechat-html.js1.6 KB

Overview

This skill converts Markdown or plain article content into WeChat Public Account (公众号) ready HTML and can request a copy-page URL on edit.shiker.tech so content can be pasted directly into the WeChat editor. It uses the self-contained lib in the skill directory to generate HTML and supports theme/layout/image/code-theme options for consistent styling.

How this skill works

The skill runs locally from its directory and uses lib/utils/markdown.js to render full HTML via the getFullHtml(...) API. You can run wechat-html.js to produce HTML or wechat-copy.js to produce HTML and POST it to https://edit.shiker.tech/api/copy, which returns a shareable copy page URL (https://edit.shiker.tech/copy.html?id=xxx).

When to use it

  • You need a WeChat Public Account friendly HTML version of Markdown or article text.
  • You want a one-step link that opens a page with a copy-to-clipboard button for pasting into the WeChat editor.
  • You need consistent article styles (theme, layout, image style, code theme) across posts.
  • You prefer running a self-contained tool locally without relying on external repo src.
  • You want to batch-generate HTML and obtain copy-page URLs programmatically.

Best practices

  • Run commands from the skill directory (or copy to ~/.openclaw/skills/wechat-article-typeset/) so relative lib paths resolve.
  • Use presets for quick, consistent styling or combine theme + layout for custom results.
  • Ensure all images use publicly accessible URLs so they display inside WeChat posts.
  • Verify the generated HTML locally before requesting the copy-page URL if you need custom tweaks.
  • Use environment variables (WEWORK_PRESET, WEWORK_THEME_ID, WEWORK_LAYOUT_ID, WEWORK_IMAGE_STYLE_ID, WEWORK_CODE_THEME_ID) for repeatable automation.

Example use cases

  • Convert a Markdown article to styled HTML and get a copy-page link to paste into the WeChat editor.
  • Automate article styling in a CI job: generate HTML, POST to edit.shiker.tech, save returned URL for editors.
  • Quickly test different theme/layout combinations with --list-themes and --list-layouts and produce preview HTML.
  • Provide editors a ready-to-copy link: run node wechat-copy.js article.md and share the returned URL.

FAQ

Run node wechat-html.js [options] [input.md] or pipe content via stdin; the script outputs the full HTML.

How do I get the copy-page URL?

Run node wechat-copy.js [options] <input.md>. The script POSTs the HTML to edit.shiker.tech and returns the copy page URL.

Can I mix any theme with any layout?

Yes. Themes and layouts are designed to be combinable; use presets for one-step choices or set --theme and --layout separately.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational