muratcankoylan/baoyu-skills · Archived

baoyu-post-to-wechat

Posts content to WeChat Official Account (微信?

First seen Jun 28, 2026

Installation

$ npx skills add muratcankoylan/baoyu-skills --skill baoyu-post-to-wechat

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from muratcankoylan/baoyu-skills · top by installs.

npx skills add muratcankoylan/baoyu-skills

Browse all from muratcankoylan/baoyu-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License MIT
Default branch main
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 5,172 B
  • docs SUMMARY.md 330 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Post to WeChat Official Account

Script Directory

Agent Execution: Determine this SKILL.md directory as SKILLDIR, then use ${SKILLDIR}/scripts/<name>.ts.

Script Purpose
scripts/wechat-browser.ts Image-text posts (图文)
scripts/wechat-article.ts Article posting (文章)
scripts/md-to-wechat.ts Markdown → WeChat HTML

Preferences (EXTEND.md)

Use Bash to check EXTEND.md existence (priority order):

# Check project-level first
test -f .baoyu-skills/baoyu-post-to-wechat/EXTEND.md && echo "project"

# Then user-level (cross-platform: $HOME works on macOS/Linux/WSL)
test -f "$HOME/.baoyu-skills/baoyu-post-to-wechat/EXTEND.md" && echo "user"

┌────────────────────────────────────────────────────────┬───────────────────┐ │ Path │ Location │ ├────────────────────────────────────────────────────────┼───────────────────┤ │ .baoyu-skills/baoyu-post-to-wechat/EXTEND.md │ Project directory │ ├────────────────────────────────────────────────────────┼───────────────────┤ │ $HOME/.baoyu-skills/baoyu-post-to-wechat/EXTEND.md │ User home │ └────────────────────────────────────────────────────────┴───────────────────┘

┌───────────┬───────────────────────────────────────────────────────────────────────────┐ │ Result │ Action │ ├───────────┼───────────────────────────────────────────────────────────────────────────┤ │ Found │ Read, parse, apply settings │ ├───────────┼───────────────────────────────────────────────────────────────────────────┤ │ Not found │ Use defaults │ └───────────┴───────────────────────────────────────────────────────────────────────────┘

EXTEND.md Supports: Default theme | Auto-submit preference | Chrome profile path

Usage

Image-Text (图文)

npx -y bun ${SKILL_DIR}/scripts/wechat-browser.ts --markdown article.md --images ./images/
npx -y bun ${SKILL_DIR}/scripts/wechat-browser.ts --title "标题" --content "内容" --image img.png --submit

Article (文章)

npx -y bun ${SKILL_DIR}/scripts/wechat-article.ts --markdown article.md --theme grace

Detailed References

Topic Reference
Image-text parameters, auto-compression [references/image-text-posting.md](references/image-text-posting.md)
Article themes, image handling [references/article-posting.md](references/article-posting.md)

Feature Comparison

Feature Image-Text Article
Multiple images ✓ (up to 9) ✓ (inline)
Markdown support Title/content extraction Full formatting
Auto compression ✓ (title: 20, content: 1000 chars) ✗
Themes ✗ ✓ (default, grace, simple)

Prerequisites

  • Google Chrome
  • First run: log in to WeChat Official Account (session preserved)

Troubleshooting

Issue Solution
Not logged in First run opens browser - scan QR to log in
Chrome not found Set WECHATBROWSERCHROME_PATH env var
Paste fails Check system clipboard permissions

Extension Support

Custom configurations via EXTEND.md. See Preferences section for paths and supported options.