[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D5STQDVWFHE2RKESR12N2Z":3,"skill-same:01M7D5STQDVWFHE2RKESR12N2Z":179},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":33,"commitSha":34,"skillDirectory":5,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":54},"01M7D5STQDVWFHE2RKESR12N2Z","baoyu-post-to-wechat",null,"Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP. Supports article posting (文章) with HTML, markdown, or plain text input, and image-text posting (贴图, formerly 图文) with multiple images. Markdown article workflows default to converting ordinary external links into bottom citations for WeChat-friendly output. Use when user mentions \"发布公众号\", \"post to wechat\", \"微信公众号\", or \"贴图\u002F图文\u002F文章\".","tangyixiao\u002Ftangyixiao-skills","tangyixiao","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F115929632?v=4","01M7D582YK6A4M63CAK4CSY4EW","Tang Yixiao","01M7D582Z64DMRSYR872SR34SA",2,"MIT","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: baoyu-post-to-wechat\ndescription: Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP.\n  Supports article posting (文章) with HTML, markdown, or plain text input, and image-text\n  posting (贴图, formerly 图文) with multiple images. Markdown article workflows default\n  to converting ordinary external links into bottom citations for WeChat-friendly\n  output. Use when user mentions \"发布公众号\", \"post to wechat\", \"微信公众号\", or \"贴图\u002F图文\u002F文章\".\nmetadata:\n  openclaw:\n    homepage: https:\u002F\u002Fgithub.com\u002FJimLiu\u002Fbaoyu-skills#baoyu-post-to-wechat\n    requires:\n      anyBins:\n      - bun\n      - npx\n  upstream-version: 1.118.2\n---\n\n# Post to WeChat Official Account\n\n## User Input Tools\n\nWhen this skill prompts the user, follow this tool-selection rule (priority order):\n\n1. **Prefer built-in user-input tools** exposed by the current agent runtime — e.g., `AskUserQuestion`, `request_user_input`, `clarify`, `ask_user`, or any equivalent.\n2. **Fallback**: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number\u002Fanswer for each question.\n3. **Batching**: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.\n\nConcrete `AskUserQuestion` references below are examples — substitute the local equivalent in other runtimes.\n\n## Language\n\nReply in the user's language; keep paths, flags, field names in English.\n\n## Script Directory\n\n`{baseDir}` = this SKILL.md's directory. Resolve `${BUN_X}`: prefer `bun`; else `npx -y bun`; else suggest `brew install oven-sh\u002Fbun\u002Fbun`.\n\n| Script | Purpose |\n|--------|---------|\n| `scripts\u002Fwechat-browser.ts` | Image-text posts (图文) |\n| `scripts\u002Fwechat-article.ts` | Article posting via browser (文章) |\n| `scripts\u002Fwechat-api.ts` | Article posting via API (文章) |\n| `scripts\u002Fmd-to-wechat.ts` | Markdown → WeChat-ready HTML with image placeholders |\n| `scripts\u002Fcheck-permissions.ts` | Verify environment & permissions |\n\n## Preferences (EXTEND.md)\n\nFirst hit wins:\n\n| Path | Scope |\n|------|-------|\n| `.baoyu-skills\u002Fbaoyu-post-to-wechat\u002FEXTEND.md` | Project |\n| `${XDG_CONFIG_HOME:-$HOME\u002F.config}\u002Fbaoyu-skills\u002Fbaoyu-post-to-wechat\u002FEXTEND.md` | XDG |\n| `$HOME\u002F.baoyu-skills\u002Fbaoyu-post-to-wechat\u002FEXTEND.md` | User home |\n\nFound → apply. Not found → run first-time setup (`references\u002Fconfig\u002Ffirst-time-setup.md`) before anything else.\n\n**Minimum keys** (case-insensitive, accept `1\u002F0` or `true\u002Ffalse`):\n\n| Key | Default | Mapping |\n|-----|---------|---------|\n| `default_author` | empty | Fallback for `author` when CLI\u002Ffrontmatter not provided |\n| `need_open_comment` | `1` | `articles[].need_open_comment` in `draft\u002Fadd` |\n| `only_fans_can_comment` | `0` | `articles[].only_fans_can_comment` in `draft\u002Fadd` |\n\n**Recommended EXTEND.md**:\n\n```md\ndefault_theme: default\ndefault_color: blue\ndefault_publish_method: browser\ndefault_author: 宝玉\nneed_open_comment: 1\nonly_fans_can_comment: 0\nchrome_profile_path: \u002Fpath\u002Fto\u002Fchrome\u002Fprofile\n\n# Remote API publishing (optional) — only set if WeChat's IP allowlist\n# excludes your local machine. See \"Remote API Method\" below.\n# remote_publish_host: server.example.com\n# remote_publish_user: deploy\n# remote_publish_port: 22\n# remote_publish_identity_file: ~\u002F.ssh\u002Fid_ed25519\n# remote_publish_known_hosts_file: ~\u002F.ssh\u002Fknown_hosts\n# remote_publish_strict_host_key_checking: accept-new\n# remote_publish_connect_timeout: 10\n# remote_publish_proxy_jump: bastion.example.com\n```\n\nOnly the typed `remote_publish_*` keys are honored (no raw `ssh`\u002F`scp` options). SSH key auth only (no passwords).\n\n**Theme options**: default, grace, simple, modern. **Color presets**: blue, green, vermilion, yellow, purple, sky, rose, olive, black, gray, pink, red, orange (or hex).\n\n**Value priority**: CLI args → frontmatter → EXTEND.md (account-level → global) → skill defaults.\n\n## Multi-Account\n\nAn `accounts:` block with 2+ entries adds Step 0.5 (account selection; auto-selects via `default: true` or `--account \u003Calias>`). Per-account keys, credential resolution, Chrome profiles: `references\u002Fmulti-account.md`.\n\n## Pre-flight Check (Optional)\n\nBefore first use, suggest (user can skip):\n\n```bash\n${BUN_X} {baseDir}\u002Fscripts\u002Fcheck-permissions.ts\n```\n\n| Check fails | Fix |\n|-------------|-----|\n| Chrome | Install Chrome or set `WECHAT_BROWSER_CHROME_PATH` |\n| Profile dir | Shared profile at `baoyu-skills\u002Fchrome-profile` |\n| Bun runtime | `brew install oven-sh\u002Fbun\u002Fbun` or `npm install -g bun` |\n| Accessibility (macOS) | System Settings → Privacy & Security → Accessibility → enable terminal app |\n| Clipboard copy | Ensure Swift\u002FAppKit (macOS: `xcode-select --install`) |\n| Paste keystroke (Linux) | Install `xdotool` (X11) or `ydotool` (Wayland) |\n| API credentials | Follow guided setup in Step 2, or set in `.baoyu-skills\u002F.env` |\n\n## Image-Text Posting (图文)\n\nUp to 9 images:\n\n```bash\n${BUN_X} {baseDir}\u002Fscripts\u002Fwechat-browser.ts --markdown article.md --images .\u002Fimages\u002F\n${BUN_X} {baseDir}\u002Fscripts\u002Fwechat-browser.ts --title \"标题\" --content \"内容\" --image img.png --submit\n```\n\nDetails: `references\u002Fimage-text-posting.md`.\n\n## Article Posting Workflow (文章)\n\n```\n- [ ] Step 0: Load preferences (EXTEND.md)\n- [ ] Step 0.5: Resolve account (multi-account only — see references\u002Fmulti-account.md)\n- [ ] Step 1: Determine input type\n- [ ] Step 2: Select method and configure credentials\n- [ ] Step 3: Resolve theme\u002Fcolor and validate metadata\n- [ ] Step 4: Publish to WeChat\n- [ ] Step 5: Report completion\n```\n\n### Step 0: Load Preferences\n\nLoad EXTEND.md (see Preferences); if missing, finish first-time setup before any other question. Cache `default_theme`, `default_color`, `default_author`, `need_open_comment`, `only_fans_can_comment`.\n\n### Step 1: Determine Input Type\n\n| Input | Detection | Next |\n|-------|-----------|------|\n| HTML file | Path ends `.html`, file exists | Skip to Step 3 |\n| Markdown file | Path ends `.md`, file exists | Step 2 |\n| Plain text | Not a file path, or file doesn't exist | Save to markdown, then Step 2 |\n\n**Plain text**: save to `post-to-wechat\u002FYYYY-MM-DD\u002F\u003Cslug>.md` (slug = 2-4 meaningful words, kebab-case, Chinese translated to English), then treat as markdown.\n\n### Step 2: Select Publishing Method and Configure\n\nAsk method unless specified in EXTEND.md or CLI:\n\n| Method | Speed | Requires |\n|--------|-------|----------|\n| `api` (Recommended) | Fast | API credentials (local IP allowlisted) |\n| `browser` | Slow | Chrome + logged-in session |\n| `remote-api` | Fast | API credentials + an SSH-reachable server whose IP is on the WeChat allowlist |\n\n**API selected + missing credentials** → run guided setup per `references\u002Fapi-setup.md` (writes to `.baoyu-skills\u002F.env`).\n\n**`remote-api`**: for when \"公众号设置 → IP 白名单\" excludes the local IP but includes a server's. Rendering, image processing, draft assembly and HTML rewriting stay local; only the HTTPS calls to `api.weixin.qq.com` (token, uploadimg, add_material, draft\u002Fadd) go through an SSH SOCKS5 forward (`ssh -N -D`), so WeChat sees the server's IP. Nothing is written to the remote host; `AppSecret` never leaves the local process. Remote needs only `sshd` + outbound network. Usage: \"Remote API method\" in Step 4.\n\n### Step 3: Resolve Theme\u002FColor and Validate Metadata\n\n1. **Theme**: CLI `--theme` → EXTEND.md `default_theme` → `default` (don't ask if resolved).\n2. **Color**: CLI `--color` → EXTEND.md `default_color` → omit (theme default applies).\n3. **Validate metadata** (frontmatter for markdown, meta tags for HTML):\n\n| Field | Missing → |\n|-------|-----------|\n| Title | Ask, or press Enter to auto-generate from content |\n| Summary | Frontmatter `description` → `summary` → ask or auto-generate |\n| Author | CLI `--author` → frontmatter `author` → EXTEND.md `default_author` |\n| Source URL | CLI `--source-url` → frontmatter `sourceUrl`\u002F`contentSourceUrl`\u002F`content_source_url` |\n\nAuto-generation: title = first H1\u002FH2 or first sentence; summary = first paragraph, truncated to 120 chars.\n\n4. **Cover image** (required for API `article_type=news`): CLI `--cover` → frontmatter (`coverImage` \u002F `featureImage` \u002F `cover_image` \u002F `cover` \u002F `image`) → `imgs\u002Fcover.png` → first inline image → stop and request one if still missing. Local paths and `http(s):\u002F\u002F` URLs are both accepted.\n\n### Step 4: Publish\n\n**Never pre-convert markdown to HTML.** The scripts convert internally and differ: API renders `\u003Cimg>` for upload, browser uses placeholders for paste-and-replace.\n\n**No SVG body images**: convert to PNG\u002FJPG first.\n\n**Citations**: markdown input converts ordinary external links to bottom citations by default; pass `--no-cite` only if the user explicitly wants inline links. HTML input is left as-is.\n\n**API method** (accepts `.md` or `.html`):\n\n```bash\n${BUN_X} {baseDir}\u002Fscripts\u002Fwechat-api.ts \u003Cfile> --theme \u003Ctheme> [--color \u003Ccolor>] [--title \u003Ctitle>] [--summary \u003Csummary>] [--author \u003Cauthor>] [--cover \u003Ccover_path>] [--source-url \u003Curl>] [--no-cite]\n```\n\nAlways pass `--theme` (even `default`). Pass `--color` only when set by the user or EXTEND.md.\n\n**Remote API method** (same script, adds `--remote`):\n\n```bash\n${BUN_X} {baseDir}\u002Fscripts\u002Fwechat-api.ts \u003Cfile> --theme \u003Ctheme> --remote [--remote-host \u003Chost>] [--remote-user \u003Cuser>] [--remote-port \u003Cport>] [--remote-identity-file \u003Cpath>] [--remote-known-hosts-file \u003Cpath>] [--remote-strict-host-key-checking yes|no|accept-new] [--remote-connect-timeout \u003Cs>] [--remote-proxy-jump \u003Cspec>]\n```\n\nAny `--remote-*` flag implies `--remote`. CLI values override account-level then global `remote_publish_*` keys from EXTEND.md. Setting `default_publish_method: remote-api` also enables remote mode without `--remote`.\n\n**`draft\u002Fadd` payload rules**:\n- Endpoint: `POST https:\u002F\u002Fapi.weixin.qq.com\u002Fcgi-bin\u002Fdraft\u002Fadd?access_token=ACCESS_TOKEN`\n- `article_type`: `news` (default) or `newspic`\n- For `news`, include `thumb_media_id` (cover required)\n- Always include `need_open_comment` (default `1`) and `only_fans_can_comment` (default `0`), even though the CLI doesn't expose them\n- For `news`, optional `content_source_url` (\"阅读原文\" link, max 1KB) from `--source-url` or frontmatter (see Step 3)\n\n**Browser method** (accepts `--markdown` or `--html`):\n\n```bash\n${BUN_X} {baseDir}\u002Fscripts\u002Fwechat-article.ts --markdown \u003Cmarkdown_file> --theme \u003Ctheme> [--color \u003Ccolor>] [--no-cite]\n${BUN_X} {baseDir}\u002Fscripts\u002Fwechat-article.ts --html \u003Chtml_file>\n```\n\nParameters and placeholder flow: `references\u002Farticle-posting.md`.\n\n### Step 5: Completion Report\n\nReport: input type + path; method; theme\u002Fcolor; title, summary, inline image count; comments open\u002Fclosed + fans-only\u002Fall (API only); \"✓ Draft saved to WeChat Official Account\" + `media_id` (API only); next step for API: https:\u002F\u002Fmp.weixin.qq.com → 内容管理 → 草稿箱; files created (`post-to-wechat\u002FYYYY-MM-DD\u002Fslug.md` for plain text, `slug.html` if converted).\n\n## Feature Comparison\n\n| Feature | Image-Text | Article (API) | Article (Remote API) | Article (Browser) |\n|---------|:---:|:---:|:---:|:---:|\n| Plain text input | ✗ | ✓ | ✓ | ✓ |\n| HTML input | ✗ | ✓ | ✓ | ✓ |\n| Markdown input | Title\u002Fcontent | ✓ | ✓ | ✓ |\n| Multiple images | ✓ (up to 9) | ✓ (inline) | ✓ (inline) | ✓ (inline) |\n| Themes | ✗ | ✓ | ✓ | ✓ |\n| Auto-generate metadata | ✗ | ✓ | ✓ | ✓ |\n| Default cover fallback (`imgs\u002Fcover.png`) | ✗ | ✓ | ✓ | ✗ |\n| Comment control | ✗ | ✓ | ✓ | ✗ |\n| Requires Chrome | ✓ | ✗ | ✗ | ✓ |\n\n## Troubleshooting\n\n| Issue | Fix |\n|-------|-----|\n| Missing API credentials | Follow guided setup in Step 2 |\n| Access token error | Verify credentials valid and not expired |\n| Not logged in (browser) | First run opens browser — scan QR to log in. Set `TELEGRAM_BOT_TOKEN` + `TELEGRAM_CHAT_ID` to receive the QR image via Telegram |\n| Chrome not found | Set `WECHAT_BROWSER_CHROME_PATH` |\n| No cover image | Add frontmatter cover or place `imgs\u002Fcover.png` in article directory |\n| Wrong comment defaults | Check `need_open_comment` \u002F `only_fans_can_comment` in EXTEND.md |\n| Paste fails | Check system clipboard permissions |\n| `Remote publish host is required` | Set `--remote-host` or `remote_publish_host` in EXTEND.md |\n| `SOCKS proxy on 127.0.0.1:… not ready` | SSH could not start the tunnel — check key, host, `StrictHostKeyChecking`, or use `--remote-connect-timeout` |\n| `ssh exited early` during remote publish | Verify the user can `ssh` non-interactively to the server; raise `--remote-connect-timeout` if the link is slow |\n| Remote API call returns `errcode 40164` (invalid IP) | The remote server's egress IP is not on WeChat's allowlist; add it in 公众号设置 → IP 白名单 |\n\n## Extension Support\n\nCustom configuration via EXTEND.md — see Preferences.\n","# Post to WeChat Official Account\n\n## User Input Tools\n\nWhen this skill prompts the user, follow this tool-selection rule (priority order):\n\n1. **Prefer built-in user-input tools** exposed by the current agent runtime — e.g., `AskUserQuestion`, `request_user_input`, `clarify`, `ask_user`, or any equivalent.\n2. **Fallback**: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number\u002Fanswer for each question.\n3. **Batching**: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.\n\nConcrete `AskUserQuestion` references below are examples — substitute the local equivalent in other runtimes.\n\n## Language\n\nReply in the user's language; keep paths, flags, field names in English.\n\n## Script Directory\n\n`{baseDir}` = this SKILL.md's directory. Resolve `${BUN_X}`: prefer `bun`; else `npx -y bun`; else suggest `brew install oven-sh\u002Fbun\u002Fbun`.\n\n| Script | Purpose |\n|--------|---------|\n| `scripts\u002Fwechat-browser.ts` | Image-text posts (图文) |\n| `scripts\u002Fwechat-article.ts` | Article posting via browser (文章) |\n| `scripts\u002Fwechat-api.ts` | Article posting via API (文章) |\n| `scripts\u002Fmd-to-wechat.ts` | Markdown → WeChat-ready HTML with image placeholders |\n| `scripts\u002Fcheck-permissions.ts` | Verify environment & permissions |\n\n## Preferences (EXTEND.md)\n\nFirst hit wins:\n\n| Path | Scope |\n|------|-------|\n| `.baoyu-skills\u002Fbaoyu-post-to-wechat\u002FEXTEND.md` | Project |\n| `${XDG_CONFIG_HOME:-$HOME\u002F.config}\u002Fbaoyu-skills\u002Fbaoyu-post-to-wechat\u002FEXTEND.md` | XDG |\n| `$HOME\u002F.baoyu-skills\u002Fbaoyu-post-to-wechat\u002FEXTEND.md` | User home |\n\nFound → apply. Not found → run first-time setup (`references\u002Fconfig\u002Ffirst-time-setup.md`) before anything else.\n\n**Minimum keys** (case-insensitive, accept `1\u002F0` or `true\u002Ffalse`):\n\n| Key | Default | Mapping |\n|-----|---------|---------|\n| `default_author` | empty | Fallback for `author` when CLI\u002Ffrontmatter not provided |\n| `need_open_comment` | `1` | `articles[].need_open_comment` in `draft\u002Fadd` |\n| `only_fans_can_comment` | `0` | `articles[].only_fans_can_comment` in `draft\u002Fadd` |\n\n**Recommended EXTEND.md**:\n\n```md\ndefault_theme: default\ndefault_color: blue\ndefault_publish_method: browser\ndefault_author: 宝玉\nneed_open_comment: 1\nonly_fans_can_comment: 0\nchrome_profile_path: \u002Fpath\u002Fto\u002Fchrome\u002Fprofile\n\n# Remote API publishing (optional) — only set if WeChat's IP allowlist\n# excludes your local machine. See \"Remote API Method\" below.\n# remote_publish_host: server.example.com\n# remote_publish_user: deploy\n# remote_publish_port: 22\n# remote_publish_identity_file: ~\u002F.ssh\u002Fid_ed25519\n# remote_publish_known_hosts_file: ~\u002F.ssh\u002Fknown_hosts\n# remote_publish_strict_host_key_checking: accept-new\n# remote_publish_connect_timeout: 10\n# remote_publish_proxy_jump: bastion.example.com\n```\n\nOnly the typed `remote_publish_*` keys are honored (no raw `ssh`\u002F`scp` options). SSH key auth only (no passwords).\n\n**Theme options**: default, grace, simple, modern. **Color presets**: blue, green, vermilion, yellow, purple, sky, rose, olive, black, gray, pink, red, orange (or hex).\n\n**Value priority**: CLI args → frontmatter → EXTEND.md (account-level → global) → skill defaults.\n\n## Multi-Account\n\nAn `accounts:` block with 2+ entries adds Step 0.5 (account selection; auto-selects via `default: true` or `--account \u003Calias>`). Per-account keys, credential resolution, Chrome profiles: `references\u002Fmulti-account.md`.\n\n## Pre-flight Check (Optional)\n\nBefore first use, suggest (user can skip):\n\n```bash\n${BUN_X} {baseDir}\u002Fscripts\u002Fcheck-permissions.ts\n```\n\n| Check fails | Fix |\n|-------------|-----|\n| Chrome | Install Chrome or set `WECHAT_BROWSER_CHROME_PATH` |\n| Profile dir | Shared profile at `baoyu-skills\u002Fchrome-profile` |\n| Bun runtime | `brew install oven-sh\u002Fbun\u002Fbun` or `npm install -g bun` |\n| Accessibility (macOS) | System Settings → Privacy & Security → Accessibility → enable terminal app |\n| Clipboard copy | Ensure Swift\u002FAppKit (macOS: `xcode-select --install`) |\n| Paste keystroke (Linux) | Install `xdotool` (X11) or `ydotool` (Wayland) |\n| API credentials | Follow guided setup in Step 2, or set in `.baoyu-skills\u002F.env` |\n\n## Image-Text Posting (图文)\n\nUp to 9 images:\n\n```bash\n${BUN_X} {baseDir}\u002Fscripts\u002Fwechat-browser.ts --markdown article.md --images .\u002Fimages\u002F\n${BUN_X} {baseDir}\u002Fscripts\u002Fwechat-browser.ts --title \"标题\" --content \"内容\" --image img.png --submit\n```\n\nDetails: `references\u002Fimage-text-posting.md`.\n\n## Article Posting Workflow (文章)\n\n```\n- [ ] Step 0: Load preferences (EXTEND.md)\n- [ ] Step 0.5: Resolve account (multi-account only — see references\u002Fmulti-account.md)\n- [ ] Step 1: Determine input type\n- [ ] Step 2: Select method and configure credentials\n- [ ] Step 3: Resolve theme\u002Fcolor and validate metadata\n- [ ] Step 4: Publish to WeChat\n- [ ] Step 5: Report completion\n```\n\n### Step 0: Load Preferences\n\nLoad EXTEND.md (see Preferences); if missing, finish first-time setup before any other question. Cache `default_theme`, `default_color`, `default_author`, `need_open_comment`, `only_fans_can_comment`.\n\n### Step 1: Determine Input Type\n\n| Input | Detection | Next |\n|-------|-----------|------|\n| HTML file | Path ends `.html`, file exists | Skip to Step 3 |\n| Markdown file | Path ends `.md`, file exists | Step 2 |\n| Plain text | Not a file path, or file doesn't exist | Save to markdown, then Step 2 |\n\n**Plain text**: save to `post-to-wechat\u002FYYYY-MM-DD\u002F\u003Cslug>.md` (slug = 2-4 meaningful words, kebab-case, Chinese translated to English), then treat as markdown.\n\n### Step 2: Select Publishing Method and Configure\n\nAsk method unless specified in EXTEND.md or CLI:\n\n| Method | Speed | Requires |\n|--------|-------|----------|\n| `api` (Recommended) | Fast | API credentials (local IP allowlisted) |\n| `browser` | Slow | Chrome + logged-in session |\n| `remote-api` | Fast | API credentials + an SSH-reachable server whose IP is on the WeChat allowlist |\n\n**API selected + missing credentials** → run guided setup per `references\u002Fapi-setup.md` (writes to `.baoyu-skills\u002F.env`).\n\n**`remote-api`**: for when \"公众号设置 → IP 白名单\" excludes the local IP but includes a server's. Rendering, image processing, draft assembly and HTML rewriting stay local; only the HTTPS calls to `api.weixin.qq.com` (token, uploadimg, add_material, draft\u002Fadd) go through an SSH SOCKS5 forward (`ssh -N -D`), so WeChat sees the server's IP. Nothing is written to the remote host; `AppSecret` never leaves the local process. Remote needs only `sshd` + outbound network. Usage: \"Remote API method\" in Step 4.\n\n### Step 3: Resolve Theme\u002FColor and Validate Metadata\n\n1. **Theme**: CLI `--theme` → EXTEND.md `default_theme` → `default` (don't ask if resolved).\n2. **Color**: CLI `--color` → EXTEND.md `default_color` → omit (theme default applies).\n3. **Validate metadata** (frontmatter for markdown, meta tags for HTML):\n\n| Field | Missing → |\n|-------|-----------|\n| Title | Ask, or press Enter to auto-generate from content |\n| Summary | Frontmatter `description` → `summary` → ask or auto-generate |\n| Author | CLI `--author` → frontmatter `author` → EXTEND.md `default_author` |\n| Source URL | CLI `--source-url` → frontmatter `sourceUrl`\u002F`contentSourceUrl`\u002F`content_source_url` |\n\nAuto-generation: title = first H1\u002FH2 or first sentence; summary = first paragraph, truncated to 120 chars.\n\n4. **Cover image** (required for API `article_type=news`): CLI `--cover` → frontmatter (`coverImage` \u002F `featureImage` \u002F `cover_image` \u002F `cover` \u002F `image`) → `imgs\u002Fcover.png` → first inline image → stop and request one if still missing. Local paths and `http(s):\u002F\u002F` URLs are both accepted.\n\n### Step 4: Publish\n\n**Never pre-convert markdown to HTML.** The scripts convert internally and differ: API renders `\u003Cimg>` for upload, browser uses placeholders for paste-and-replace.\n\n**No SVG body images**: convert to PNG\u002FJPG first.\n\n**Citations**: markdown input converts ordinary external links to bottom citations by default; pass `--no-cite` only if the user explicitly wants inline links. HTML input is left as-is.\n\n**API method** (accepts `.md` or `.html`):\n\n```bash\n${BUN_X} {baseDir}\u002Fscripts\u002Fwechat-api.ts \u003Cfile> --theme \u003Ctheme> [--color \u003Ccolor>] [--title \u003Ctitle>] [--summary \u003Csummary>] [--author \u003Cauthor>] [--cover \u003Ccover_path>] [--source-url \u003Curl>] [--no-cite]\n```\n\nAlways pass `--theme` (even `default`). Pass `--color` only when set by the user or EXTEND.md.\n\n**Remote API method** (same script, adds `--remote`):\n\n```bash\n${BUN_X} {baseDir}\u002Fscripts\u002Fwechat-api.ts \u003Cfile> --theme \u003Ctheme> --remote [--remote-host \u003Chost>] [--remote-user \u003Cuser>] [--remote-port \u003Cport>] [--remote-identity-file \u003Cpath>] [--remote-known-hosts-file \u003Cpath>] [--remote-strict-host-key-checking yes|no|accept-new] [--remote-connect-timeout \u003Cs>] [--remote-proxy-jump \u003Cspec>]\n```\n\nAny `--remote-*` flag implies `--remote`. CLI values override account-level then global `remote_publish_*` keys from EXTEND.md. Setting `default_publish_method: remote-api` also enables remote mode without `--remote`.\n\n**`draft\u002Fadd` payload rules**:\n- Endpoint: `POST https:\u002F\u002Fapi.weixin.qq.com\u002Fcgi-bin\u002Fdraft\u002Fadd?access_token=ACCESS_TOKEN`\n- `article_type`: `news` (default) or `newspic`\n- For `news`, include `thumb_media_id` (cover required)\n- Always include `need_open_comment` (default `1`) and `only_fans_can_comment` (default `0`), even though the CLI doesn't expose them\n- For `news`, optional `content_source_url` (\"阅读原文\" link, max 1KB) from `--source-url` or frontmatter (see Step 3)\n\n**Browser method** (accepts `--markdown` or `--html`):\n\n```bash\n${BUN_X} {baseDir}\u002Fscripts\u002Fwechat-article.ts --markdown \u003Cmarkdown_file> --theme \u003Ctheme> [--color \u003Ccolor>] [--no-cite]\n${BUN_X} {baseDir}\u002Fscripts\u002Fwechat-article.ts --html \u003Chtml_file>\n```\n\nParameters and placeholder flow: `references\u002Farticle-posting.md`.\n\n### Step 5: Completion Report\n\nReport: input type + path; method; theme\u002Fcolor; title, summary, inline image count; comments open\u002Fclosed + fans-only\u002Fall (API only); \"✓ Draft saved to WeChat Official Account\" + `media_id` (API only); next step for API: https:\u002F\u002Fmp.weixin.qq.com → 内容管理 → 草稿箱; files created (`post-to-wechat\u002FYYYY-MM-DD\u002Fslug.md` for plain text, `slug.html` if converted).\n\n## Feature Comparison\n\n| Feature | Image-Text | Article (API) | Article (Remote API) | Article (Browser) |\n|---------|:---:|:---:|:---:|:---:|\n| Plain text input | ✗ | ✓ | ✓ | ✓ |\n| HTML input | ✗ | ✓ | ✓ | ✓ |\n| Markdown input | Title\u002Fcontent | ✓ | ✓ | ✓ |\n| Multiple images | ✓ (up to 9) | ✓ (inline) | ✓ (inline) | ✓ (inline) |\n| Themes | ✗ | ✓ | ✓ | ✓ |\n| Auto-generate metadata | ✗ | ✓ | ✓ | ✓ |\n| Default cover fallback (`imgs\u002Fcover.png`) | ✗ | ✓ | ✓ | ✗ |\n| Comment control | ✗ | ✓ | ✓ | ✗ |\n| Requires Chrome | ✓ | ✗ | ✗ | ✓ |\n\n## Troubleshooting\n\n| Issue | Fix |\n|-------|-----|\n| Missing API credentials | Follow guided setup in Step 2 |\n| Access token error | Verify credentials valid and not expired |\n| Not logged in (browser) | First run opens browser — scan QR to log in. Set `TELEGRAM_BOT_TOKEN` + `TELEGRAM_CHAT_ID` to receive the QR image via Telegram |\n| Chrome not found | Set `WECHAT_BROWSER_CHROME_PATH` |\n| No cover image | Add frontmatter cover or place `imgs\u002Fcover.png` in article directory |\n| Wrong comment defaults | Check `need_open_comment` \u002F `only_fans_can_comment` in EXTEND.md |\n| Paste fails | Check system clipboard permissions |\n| `Remote publish host is required` | Set `--remote-host` or `remote_publish_host` in EXTEND.md |\n| `SOCKS proxy on 127.0.0.1:… not ready` | SSH could not start the tunnel — check key, host, `StrictHostKeyChecking`, or use `--remote-connect-timeout` |\n| `ssh exited early` during remote publish | Verify the user can `ssh` non-interactively to the server; raise `--remote-connect-timeout` if the link is slow |\n| Remote API call returns `errcode 40164` (invalid IP) | The remote server's egress IP is not on WeChat's allowlist; add it in 公众号设置 → IP 白名单 |\n\n## Extension Support\n\nCustom configuration via EXTEND.md — see Preferences.\n",{"name":5,"metadata":25,"description":7},{"openclaw":26,"upstream-version":32},{"homepage":27,"requires":28},"https:\u002F\u002Fgithub.com\u002FJimLiu\u002Fbaoyu-skills#baoyu-post-to-wechat",{"anyBins":29},[30,31],"bun","npx","1.118.2","main","2a870f189175a48c39f5f7e26a6d93b0be9cd13b",0,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills","https:\u002F\u002Ftangyixiao.github.io\u002Ftangyixiao-skills\u002F","https:\u002F\u002Fgithub.com\u002Ftangyixiao","http:\u002F\u002Fwww.sxyz.net\u002F","I am Tang Yixiao, a student in Shaoxing No.1 High School. I am eager to learn on GitHub and contribute my part to this community.","2026-11-11 15:45:59",{"source":8,"skillName":5,"commands":43,"prompt":52,"zipAvailable":53},[44,46,49],{"tool":31,"command":45},"npx skills add tangyixiao\u002Ftangyixiao-skills --skill baoyu-post-to-wechat",{"tool":47,"command":48},"bunx","bunx skills add tangyixiao\u002Ftangyixiao-skills --skill baoyu-post-to-wechat",{"tool":50,"command":51},"pnpm","pnpm dlx skills add tangyixiao\u002Ftangyixiao-skills --skill baoyu-post-to-wechat","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002FSKILL.md",true,[55,61,65,69,73,77,81,85,91,95,99,103,107,111,115,119,123,127,131,135,139,143,147,151,155,159,163,167,171,175],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"INSTALL-SOURCE.json","REFERENCE","参考文档",555,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002FINSTALL-SOURCE.json",{"path":62,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":16},"LICENSE","许可证",1064,{"path":66,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fapi-setup.md",898,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Freferences\u002Fapi-setup.md",{"path":70,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Farticle-posting.md",1447,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Freferences\u002Farticle-posting.md",{"path":74,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fconfig\u002Ffirst-time-setup.md",5474,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Freferences\u002Fconfig\u002Ffirst-time-setup.md",{"path":78,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fimage-text-posting.md",1779,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Freferences\u002Fimage-text-posting.md",{"path":82,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fmulti-account.md",5041,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Freferences\u002Fmulti-account.md",{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fbun.lock","SCRIPT","脚本",38871,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fbun.lock",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Fcdp.ts",8405,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fcdp.ts",{"path":96,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fcheck-permissions.ts",8833,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fcheck-permissions.ts",{"path":100,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Fcopy-to-clipboard-mac.test.ts",916,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fcopy-to-clipboard-mac.test.ts",{"path":104,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":105,"sourceHtmlUrl":106},"scripts\u002Fcopy-to-clipboard.ts",14377,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fcopy-to-clipboard.ts",{"path":108,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":109,"sourceHtmlUrl":110},"scripts\u002Fmd-to-wechat.ts",5803,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fmd-to-wechat.ts",{"path":112,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":113,"sourceHtmlUrl":114},"scripts\u002Fpackage.json",244,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fpackage.json",{"path":116,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":117,"sourceHtmlUrl":118},"scripts\u002Fpaste-from-clipboard.ts",5659,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fpaste-from-clipboard.ts",{"path":120,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":121,"sourceHtmlUrl":122},"scripts\u002Fwechat-agent-browser.ts",11400,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-agent-browser.ts",{"path":124,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":125,"sourceHtmlUrl":126},"scripts\u002Fwechat-api.ts",31354,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-api.ts",{"path":128,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":129,"sourceHtmlUrl":130},"scripts\u002Fwechat-article-focus.test.ts",2741,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-article-focus.test.ts",{"path":132,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":133,"sourceHtmlUrl":134},"scripts\u002Fwechat-article.ts",48947,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-article.ts",{"path":136,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":137,"sourceHtmlUrl":138},"scripts\u002Fwechat-browser.ts",28393,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-browser.ts",{"path":140,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":141,"sourceHtmlUrl":142},"scripts\u002Fwechat-extend-config.test.ts",10079,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-extend-config.test.ts",{"path":144,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":145,"sourceHtmlUrl":146},"scripts\u002Fwechat-extend-config.ts",14593,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-extend-config.ts",{"path":148,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":149,"sourceHtmlUrl":150},"scripts\u002Fwechat-http.test.ts",5100,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-http.test.ts",{"path":152,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":153,"sourceHtmlUrl":154},"scripts\u002Fwechat-http.ts",2677,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-http.ts",{"path":156,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":157,"sourceHtmlUrl":158},"scripts\u002Fwechat-image-loader.ts",2526,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-image-loader.ts",{"path":160,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":161,"sourceHtmlUrl":162},"scripts\u002Fwechat-image-processor.ts",8524,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-image-processor.ts",{"path":164,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":165,"sourceHtmlUrl":166},"scripts\u002Fwechat-remote-publish.test.ts",5647,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-remote-publish.test.ts",{"path":168,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":169,"sourceHtmlUrl":170},"scripts\u002Fwechat-remote-publish.ts",8007,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-remote-publish.ts",{"path":172,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":173,"sourceHtmlUrl":174},"scripts\u002Fwechat-socks-http.test.ts",6837,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-socks-http.test.ts",{"path":176,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":177,"sourceHtmlUrl":178},"scripts\u002Fwechat-socks-http.ts",6917,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbaoyu-post-to-wechat\u002Fscripts\u002Fwechat-socks-http.ts",[180,189,197,205,213,221],{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":184,"licenseFileUrl":185,"sourceHtmlUrl":186,"categories":187,"keywords":188,"publishedAt":20},"01M7D8JK8FYBFNNAJXWD89CFH7","xlsx","Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fxlsx\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fxlsx\u002FSKILL.md",[],[],{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":193,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":20},"01M7D8JG8ERGGQQAMX0DWCG9GR","writing-shape","Writing, exploit: shape raw material into an article, paragraph by paragraph.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-shape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-shape\u002FSKILL.md",[],[],{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":201,"sourceHtmlUrl":202,"categories":203,"keywords":204,"publishedAt":20},"01M7D8JE672GW3EHSE8EF185M4","writing-fragments","Writing, explore: mine raw fragments, no structure yet.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-fragments\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-fragments\u002FSKILL.md",[],[],{"skillNo":206,"name":207,"nameZh":6,"description":208,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":209,"sourceHtmlUrl":210,"categories":211,"keywords":212,"publishedAt":20},"01M7D8JBK572YDFMND8Q6CEYJW","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-for-agents\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":214,"name":215,"nameZh":6,"description":216,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":217,"sourceHtmlUrl":218,"categories":219,"keywords":220,"publishedAt":20},"01M7D8J5QPWEXX61EGBKYH73R8","writing-clearly-and-concisely","Use when writing prose humans will read—documentation, commit messages, error messages, explanations, reports, or UI text. Applies Strunk's timeless rules for clearer, stronger, more professional writing.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-clearly-and-concisely\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-clearly-and-concisely\u002FSKILL.md",[],[],{"skillNo":222,"name":223,"nameZh":6,"description":224,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":225,"sourceHtmlUrl":226,"categories":227,"keywords":228,"publishedAt":20},"01M7D8J36YWC8WZS5DK5AH03CD","writing-beats","Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-beats\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-beats\u002FSKILL.md",[],[]]