name: WeChat Article Summarize description: Read one or more WeChat public account article links from mp.weixin.qq.com, extract cleaned full text and optional image links, summarize each article in Chinese with summarize, and generate a structured markdown file saved to a user-chosen directory. Use when the user shares WeChat article URLs and wants single-article notes, multi-article daily reports, article summaries, image extraction, or a structured markdown digest. Before processing, first confirm summarize is configured and working, ask whether to include images, and ask where to save the final file.
把一個或多個微信公眾號文章連結整理成結構化 markdown,支援單篇整理和多篇日報彙總。
mp.weixin.qq.com 文章連結summarize 用中文總結全文內容在真正開始抓取文章之前,需要先確認:
summarize 已經配置好 API key,並且可正常使用Do not fetch article content until all three items are clear:
Proceed only if summarize returns a usable summary.
Image preference
Map user intent to include_images=true|false.
Output directory
~/Downloads.If any of the three items is missing, stop and ask before continuing.
For each mp.weixin.qq.com URL, run:
python3 scripts/read_wechat_article.py '<wechat_url>' --out '<temp_dir>'
This produces structured metadata, raw HTML, and a first-pass markdown export.
Do not trust the first-pass article markdown blindly.
If the body contains mojibake or obvious encoding corruption, repair it from raw.html by running:
python3 scripts/fix_wechat_body.py '<raw.html>' --out '<body-fixed.txt>'
Use the cleaned body text as the canonical input for summarization.
Always summarize the cleaned local text, not the original WeChat URL.
Run:
python3 scripts/summarize_cn.py '<body-fixed.txt>' --out '<summary.json>' --length short
or for a combined report:
python3 scripts/summarize_cn.py '<combined-input.md>' --out '<summary.json>' --length medium
The script enforces Chinese output and fails if the returned summary is not sufficiently Chinese.
Never write summarize output directly into the final file.
Normalize paragraph breaks and spacing with:
python3 scripts/normalize_markdown_text.py '<input.txt>' --out '<normalized.txt>'
Use this for: - each single-article summary - the combined daily-report overview
This prevents ugly line wrapping and mixed-language formatting artifacts.
Run:
python3 scripts/build_mindmap_markdown.py \
--result '<result.json>' \
--body '<body-fixed.txt>' \
--summary '<summary.json>' \
--output-dir '<chosen-dir>' \
--include-images true
Run:
python3 scripts/build_batch_report.py \
--inputs '<dir1>' '<dir2>' '<dir3>' \
--output-dir '<chosen-dir>' \
--include-images true \
--report-label '微信文章日報'
The batch report must: 1. summarize all articles individually 2. summarize the full set as one combined overview 3. place the combined overview first 4. then append each single article section
YYYYMMDD-文章標題.md
YYYYMMDD-<總文章數量>篇-<彙總說明>.md
7w4.net收錄了海量優質技能外掛。
Before writing the final markdown:
If the summary is not mainly Chinese, retry or fail.
Paragraph normalization
Keep markdown headings and bullet lists intact.
Clean body source
raw.html when the extracted body is corrupted.scripts/read_wechat_article.py — fetch WeChat article metadata, body, raw HTML, and image linksscripts/fix_wechat_body.py — repair mojibake and extract clean text from raw HTMLscripts/summarize_cn.py — run summarize in Chinese and enforce a language checkscripts/normalize_markdown_text.py — normalize prose paragraphs and line breaksscripts/build_mindmap_markdown.py — generate single-article markdown filesscripts/build_batch_report.py — generate multi-article combined reportsscripts/run_wechat_mindmap_workflow.py — orchestrate the full workflow end to end after the required user confirmations這個 Skill 能把微信公眾號文章自動整理成帶中文摘要和結構化格式的筆記,支援單篇整理和多篇彙總,適合需要快速歸檔和閱讀微信文章的使用者。整體工作流程設計完整,亂碼處理和封鎖檢測等常見問題都有覆蓋,質量基本可靠。主要不足是生成的內容結構相對模板化,思維導圖部分比較簡略,實用性有待提升。整體質量中等偏上,核心功能紮實,但細節打磨還需加強。