baoyu post to wechat

Design Community v1.118.2

Skill notes

User Input Tools

When this skill prompts the user, follow this tool-selection rule (priority order): Prefer built-in user-input tools exposed by the current agent runtime — e.g., AskUserQuestion, request_user_input, clarify, ask_user, or any equivalent. Fallback: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question. 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.

Preferences (EXTEND.md)

Check these paths in order; first hit wins: Path · Scope .baoyu-skills/baoyu-post-to-wechat/EXTEND.md · Project ${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-post-to-wechat/EXTEND.md · XDG $HOME/.baoyu-skills/baoyu-post-to-wechat/EXTEND.md · User home

Multi-Account Support

EXTEND.md supports an accounts: block for managing multiple Official Accounts. With 2+ entries, the workflow inserts a Step 0.5 to prompt for account selection (or auto-selects based on default: true or --account <alias>). Full details — compatibility rules, per-account keys, credential resolution, per-account Chrome profiles, CLI usage — in references/multi-account.md.

Pre-flight Check (Optional)

Before first use, suggest the environment check (user can skip): Checks: Chrome, profile isolation, Bun, Accessibility, clipboard, paste keystroke, API credentials, Chrome conflicts. Check fails · Fix Chrome · Install Chrome or set WECHAT_BROWSER_CHROME_PATH Profile dir · Shared profile at baoyu-skills/chrome-profile

Step 0: Load Preferences

Check and load EXTEND.md (see "Preferences" above). If not found, complete first-time setup before any other questions. Resolve and cache for later steps: default_theme, default_color, default_author, need_open_comment, only_fans_can_comment.

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Design
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
92 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@JimLiu · v1.118.2 · no license declared
Token usage
Lean
Setup complexity
Manual integration
External API key
Required · Vendor-specific
Operating systems
macOS · Linux
Runtime requirements
Bun · Python
Detected file/system behavior
  • Read-only
  • Write / modify
  • Env read
Network behavior
External requests
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

01
Step 0: Load Preferences

Check and load EXTEND.md (see "Preferences" above). If not found, complete first-time setup before any other questions. Resolve and cache for later steps: `default_theme`, `default_color`, `default_author`, `need_open_comment`, `only_fans_can_comment`.

02
Step 1: Determine Input Type

Input · Detection · Next HTML file · Path ends `.html`, file exists · Skip to Step 3 Markdown file · Path ends `.md`, file exists · Step 2 Plain text · Not a file path, or file doesn't exist · Save to markdown, then Step 2 Plain-text handling:

03
Step 2: Select Publishing Method and Configure

Ask method unless specified in EXTEND.md or CLI: Method · Speed · Requires `api` (Recommended) · Fast · API credentials (local IP allowlisted) `browser` · Slow · Chrome + logged-in session `remote-api` · Fast · API credentials + an SSH-reachable server whose IP is on the WeChat allowlist

04
Step 3: Resolve Theme/Color and Validate Metadata

Theme: CLI `--theme` → EXTEND.md `default_theme` → `default` (first match wins; do NOT ask if resolved). Color: CLI `--color` → EXTEND.md `default_color` → omit (theme default applies). Validate metadata (frontmatter for markdown, meta tags for HTML): Field · Missing → Title · Ask, or press Enter to auto-generate from content

05
Step 4: Publish

Important — never pre-convert markdown to HTML. Publishing scripts handle the conversion internally and the two methods render images differently: API renders `<img>` tags for upload, browser uses placeholders for paste-and-replace. Passing a pre-converted HTML breaks one or the other. Markdown citation default: for markdown input, ordinary external links are converted to bottom citations by default. Use `--no-cite` only if the user explicitly wants to keep inline links. Existing HTML input is left as-is.

06
Step 5: Completion Report

Step 5: Completion Report

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.