WeChat Article Pipeline
Paste the following prompt into your AI chat to install this skill:
Please install @user_ba7c4de9/wechat-article-pipeline according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
WeChat articles are often laid out as mixed text and images, and copying plain text loses headings, lists, tables, code blocks, and image positions. To archive a mp.weixin.qq.com article as an offline-readable, printable document, an engineer usually has to open the page, identify the article body, download images, adjust typography, and render a PDF manually. This pipeline automates that repetitive workflow.
How It Works
The skill turns the process into a structured workflow:
- Import and verify: After receiving an article link, it writes the URL into an
IMAknowledge base and reads media information to confirm the article entry point. - Fetch and download: It uses
WebFetchto extract the full body, image URLs, lists, tables, and code blocks; images are downloaded into a local working directory. - Clean and typeset: It removes author metadata, source labels, ads, preview tags, and follow-up prompts, then generates a styled HTML document.
- PDF output: It renders the HTML into an A4 PDF using
Playwright/Chromiumand delivers the file.
Limits
The skill is best suited for WeChat Official Account article links and requires the relevant IMA setup plus a browser rendering environment. Image downloads may hit anti-hotlink protection, requiring a retry with the https://mp.weixin.qq.com/ Referer. Color emoji may fall back to plain symbols, and the generated PDF usually renders Chinese visually correctly even if text extraction is affected by CID encoding.
Use Cases
- After receiving a WeChat article link, save the full text, images, and a printable PDF for offline reading.
- When curating Official Account material, import the chosen article into IMA and produce a cleaned, typeset document.
- Convert a long WeChat image-text article into an A4 PDF while preserving paragraphs, lists, images, and tables.
- While archiving references, download the article text and images locally and remove ads and follow-up prompts.
Best For
- Engineers who need to archive WeChat technical material and want Official Account articles saved as offline PDFs.
- Product managers maintaining knowledge-base inventories who want selected WeChat articles imported into IMA with typeset copies.
- Operations staff writing documentation who want long WeChat image-text articles converted into A4 PDFs with structure preserved.
- Editors cleaning reference material who need ads and follow-up prompts removed while keeping the body text and images.
Related Skills
Use a book title and author to search reviews, contents, and reader feedback, then generate a structured breakdown of historical or decision-logic books with key claims, concepts, quotes, and reading notes in Obsidian.
A multi-system divination advisor covering Bazi, Ziwei, tarot, feng shui, timing, and naming with structured interpretations.
Provides Bazi, Liu Yao, Qimen, Meihua, and date-selection guidance from classical references, with plain-language explanations and actionable suggestions.
A fast CLI for summarizing URLs, local files, and YouTube links with multi-model support, length control, and JSON output.