Install
openclaw skills install wechat-packConvert local .docx or Markdown files into WeChat-ready HTML and generate a publish folder (source/assets/cover/wechat). Use when packaging documents for WeChat public account publishing with local assets and copy-paste HTML output. 当用户要求打包微信文章、转换文章为微信格式、微信公众号排版、生成微信推文 HTML、或将 Markdown/Word 转成微信可粘贴的格式时触发。
openclaw skills install wechat-packRun from the skill root:
./wechat_pack path/to/article.docx
./wechat_pack path/to/article.md
Outputs a publish folder with:
source/ original input fileassets/ downloaded or extracted imagescover/ optional cover imagewechat/ article.html ready to paste into WeChat editormeta.json metadata (title, paths, asset count, cover variants).docx (requires pandoc installed).md / .markdown.html / .htm (treated as already-converted HTML).docx or .md../wechat_pack <file>.wechat/article.html and paste into the WeChat editor.--out <dir>: output directory (default: <basename>-wechat)--title <title>: insert a top-level title if missing--cover <path-or-url>: download or copy a cover image into cover/.docx conversion, pandoc must be available in PATH.<img> to local assets/ paths.cover/: cover-wide-2.35x1.jpg and cover-square-1x1.jpg.