chubbyguan/wechat-article-ingest
> 微信公众号文章 → Markdown 提取 + A层观点提取 + B层问题链生成。 支持直接链接抓取和 PDF 提取两种方式。
npx skills add https://github.com/chubbyguan/chubbyskills --skill wechat-article-ingest
将微信公众号文章转换为 Markdown,生成 A 层观点提取 + B 层问题链,存入知识库。
python scripts/fetch_article.py "https://mp.weixin.qq.com/s/xxxxx"
公众号文章 URL 是公开的,不需要登录,直接抓取即可。
python scripts/extract.py "path/to/article.pdf"
适用于通过「笔记同步助手」等工具导出的 PDF。
# Python 3.10+
pip install beautifulsoup4 markitdown pymupdf
# 或者用 uv
uv pip install beautifulsoup4 markitdown pymupdf
python scripts/fetch_article.py "https://mp.weixin.qq.com/s/xxxxx" --output ./output
链接模式会尽量保留:
h1/h2/h3 会转成 Markdown 标题data-src / src 会转成 Markdown 图片引用<a> 会转成 Markdown 链接python scripts/extract.py "path/to/article.pdf" --output ./output
帮我处理这篇文章:https://mp.weixin.qq.com/s/xxxxx
提取观点 + 问题链
公众号链接/PDF → 提取内容 → A层观点提取 + B层问题链 → 存入知识库
生成 观点提取-{作者}-{主题}.md:
生成 问题链-{作者}-{主题}.md:
知识库/
├── 素材库/
│ └── 公众号文章/
│ └── {公众号名}/
│ └── article.md
└── wiki/
└── 外部输入/
└── 公众号/
└── {公众号名}/
└── {主题}/
├── 观点提取.md
└── 问题链.md
仅供个人学习与研究使用。请遵守目标平台的服务条款(ToS)与 robots 规则,控制请求频率,不要用于批量抓取、商用爬取或侵犯他人权益的场景。下载内容的版权归原作者所有。
Take chubbyguan/wechat-article-ingest from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference pip, uv.
Without those the skill loads but fails at the first command.