Install
openclaw skills install @hzlawliet/wechat-sticker-publisherPublish WeChat Official Account image-first sticker posts (图片消息 / 发贴图) into the draft box via the official API. Use when the user wants to create公众号“发贴图”草稿、图片消息草稿、image-first posts, poster-style posts, or a visual post that is primarily images with short supporting text instead of a long article. This skill uploads permanent image materials and creates newspic drafts only; final publication remains manual in the WeChat backend.
openclaw skills install @hzlawliet/wechat-sticker-publisherCreate draft-only WeChat Official Account sticker/image-message posts using the official API.
scripts/publish_sticker.py.newspic draft in the WeChat draft box.application/json; charset=utf-8).
The script reads credentials from environment variables:
WECHAT_APP_IDWECHAT_APP_SECRETIt can also load a local wechat.env file placed in the skill root.
Use wechat.env.example as the starting template.
If packaging/publishing this skill publicly, do not include any real secrets or local credential files.
python3 scripts/publish_sticker.py \
--image /abs/path/to/image.jpg \
--title "标题 / Title" \
--text "配文 / Caption"
python3 scripts/publish_sticker.py \
--image /abs/1.jpg \
--image /abs/2.jpg \
--title "多图贴图测试" \
--text "这是一个多图图片消息草稿。"
Each run writes a JSON record to outputs/ containing:
Use those files for debugging and verification.
scripts/publish_sticker.py — main deterministic implementationreferences/api-notes.md — concise implementation notes and known behaviorREADME.md — bilingual human-facing overview for repository/ClawHub readersLICENSE — MIT licenseRead references/api-notes.md if you need:
add_material + draft/add)news and newspic