← ClaudeAtlas

baoyu-post-to-wechatlisted

Post content to WeChat Official Account (微信公众号). Supports both article posting (文章) and image-text posting (图文).
aiskillstore/marketplace · ★ 329 · AI & Automation · score 79
Install: claude install-skill aiskillstore/marketplace
# Post to WeChat Official Account (微信公众号) Post content to WeChat Official Account using Chrome CDP automation. ## Script Directory **Important**: All scripts are located in the `scripts/` subdirectory of this skill. **Agent Execution Instructions**: 1. Determine this SKILL.md file's directory path as `SKILL_DIR` 2. Script path = `${SKILL_DIR}/scripts/<script-name>.ts` 3. Replace all `${SKILL_DIR}` in this document with the actual path **Script Reference**: | Script | Purpose | |--------|---------| | `scripts/wechat-browser.ts` | Image-text posts (图文) | | `scripts/wechat-article.ts` | Full article posting (文章) | | `scripts/md-to-wechat.ts` | Markdown → WeChat HTML conversion | | `scripts/copy-to-clipboard.ts` | Copy content to clipboard | | `scripts/paste-from-clipboard.ts` | Send real paste keystroke | ## Quick Usage ### Image-Text (图文) - Multiple images with title/content ```bash # From markdown file and image directory npx -y bun ${SKILL_DIR}/scripts/wechat-browser.ts --markdown article.md --images ./images/ # With explicit parameters npx -y bun ${SKILL_DIR}/scripts/wechat-browser.ts --title "标题" --content "内容" --image img1.png --image img2.png --submit ``` ### Article (文章) - Full markdown with formatting ```bash # Post markdown article npx -y bun ${SKILL_DIR}/scripts/wechat-article.ts --markdown article.md --theme grace ``` > **Note**: `${SKILL_DIR}` represents this skill's installation directory. Agent replaces with actual path at runtime. ## References - **