WeChat Web Publisher
Paste the following prompt into your AI chat to install this skill:
Install @user_2c495456/web-publisher using https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Turning a web page or local document into a WeChat article usually requires manual copy-paste, image handling, layout adjustment, and dealing with anti-bot pages, drafts, and publishing. Web Publisher moves fetching, document conversion, optional rewriting, drafting, and publishing to the server side and exposes them through HTTP calls.
How It Works
- Login and setup:
loginreturnsverifyUrlanduserCode; after the user confirms in the browser,login-statuspulls the credentials.wechat configreturns a setup URL and requires addingserverIpsto the WeChat official-account IP whitelist. - Draft and publish:
draftaccepts anhttp(s)://URL or a local document path such as PDF, DOCX, PPTX, XLSX, or EPUB;publishis used only when the user explicitly asks. - Convert and rewrite:
convertcan output Markdown only; for large files, use--outto write to disk.--rewritecan add a rewrite style.
Limits and Caveats
- Draft is the default; do not publish proactively, and avoid timeout retries that may create duplicate drafts.
- Local files are capped at 50 MiB;
file://is not supported. For academic PDFs or large files, prefer--async. - Server-side fetching uses fixed outbound IPs, so some Xiaohongshu, Zhihu, login-walled, or overseas pages may return 403 or login walls; a local fallback may be needed.
AppSecretnever enters the conversation context and is submitted only through the browser form.
Use Cases
- Take a reachable article URL, extract the body into Markdown, and save it as a WeChat draft.
- Send a PDF, DOCX, or PPTX file to the server, convert it to Markdown, and review the output.
- After login, deliver the AppID setup URL and remind the user to add serverIps to the IP whitelist.
- When server-side fetch fails on Zhihu, Xiaohongshu, or login-walled pages, fall back to local extraction.
Best For
- WeChat content editors: turn external articles or local documents into reviewable drafts.
- AI-agent workflow engineers: let agents run CLI calls for login, WeChat setup, and drafting.
- Technical writers needing archives: extract body text from PDF, DOCX, or PPTX into Markdown.
- Content operations staff handling restricted sources: fall back to local extraction when server fetch fails.
Related Skills
Runs rule and semantic checks on Word files, adds comments, and applies GB/T 9704-2012 party/government formatting.
Generate professional .pptx presentations from a topic or outline, with themes, common layouts, speaker notes, and 16:9/4:3 support.
Generates a fixed-structure A-share tech daily across five tracks, screening 24-hour news and selecting leader and growth stocks.
Convert teaching schedules from talent development plan PDFs into structured Excel files, with cross-page tables, merged cells, multi-semester course splitting, major metadata extraction, and batch output.