Wechat Article Ingest

微信公众号文章 → Markdown 提取 + A层观点提取 + B层问题链生成。 支持直接链接抓取和 PDF 提取两种方式。

1,337 stars 155 forksWriting & Content

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add chubbyguan/chubbyskills --skill wechat-article-ingest
Manual install
git clone --depth 1 https://github.com/chubbyguan/chubbyskills.git /tmp/chubbyskills
mkdir -p ~/.claude/skills
cp -r /tmp/chubbyskills/wechat-article-ingest ~/.claude/skills/wechat-article-ingest

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 微信公众号文章处理 Skill

将微信公众号文章转换为 Markdown,生成 A 层观点提取 + B 层问题链,存入知识库。

## 两种模式

### 模式 1:直接链接抓取(推荐)

```bash
python scripts/fetch_article.py "https://mp.weixin.qq.com/s/xxxxx"
```

公众号文章 URL 是公开的,不需要登录,直接抓取即可。

### 模式 2:PDF 提取

```bash
python scripts/extract.py "path/to/article.pdf"
```

适用于通过「笔记同步助手」等工具导出的 PDF。

## 环境要求

```bash
# Python 3.10+
pip install beautifulsoup4 markitdown pymupdf

# 或者用 uv
uv pip install beautifulsoup4 markitdown pymupdf
```

## 使用方法

### 单篇处理(链接)

```bash
python scripts/fetch_article.py "https://mp.weixin.qq.com/s/xxxxx" --output ./output
```

链接模式会尽量保留:

- 标题层级:`h1`/`h2`/`h3` 会转成 Markdown 标题
- 图片:`data-src` / `src` 会转成 Markdown 图片引用
- 链接:正文里的 `<a>` 会转成 Markdown 链接

### 单篇处理(PDF)

```bash
python scripts/extract.py "path/to/article.pdf" --output ./output
```

### A+B 处理(需要 Agent)

```
帮我处理这篇文章:https://mp.weixin.qq.com/s/xxxxx
提取观点 + 问题链
```

## 核心流程

```
公众号链接/PDF → 提取内容 → A层观点提取 + B层问题链 → 存入知识库
```

## A层:观点提取

生成 `观点提取-{作者}-{主题}.md`:

- 🔴 支柱观点(P1-P6):文章最核心的论点
- 🟡 支撑观点(S1-S8):支撑支柱的论据
- 🟢 延伸观点(E1-E4):可以延伸思考的方向
- Takeaway:每条含核心观点 + 行动指向

## B层:问题链

生成 `问题链-{作者}-{主题}.md`:

- 3-5 条问题链,每条对应一个核心主题
- 每条链分 L1(安全区)→ L2(边缘区)→ L3(核心区)
- 每条链 6 道问题
- 终局种子:一个带回家的问题

## 知识库目录结构

```
知识库/
├── 素材库/
│   └── 公众号文章/
│       └── {公众号名}/
│           └── article.md
└── wiki/
    └── 外部输入/
        └── 公众号/
            └── {公众号名}/
                └── {主题}/
                    ├── 观点提取.md
                    └── 问题链.md
```

## 已知限制

- 部分公众号文章有防盗链,可能抓取失败
- 纯图片文章无法提取文字
Read the full skill on GitHub

Details

Skill name
wechat-article-ingest
Path
wechat-article-ingest/SKILL.md
License
MIT
Repo updated
14 October 2026

FAQ

What does the Wechat Article Ingest skill do?

微信公众号文章 → Markdown 提取 + A层观点提取 + B层问题链生成。 支持直接链接抓取和 PDF 提取两种方式。

How do I install the Wechat Article Ingest skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add chubbyguan/chubbyskills --skill wechat-article-ingest. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Wechat Article Ingest popular?

It lives in chubbyguan/chubbyskills, which has 1,337 GitHub stars and 155 forks, and is included in 1 curated skill list.

Related skills

Bilibili Transcribe

1.3k

chubbyguan/chubbyskills

哔哩哔哩视频 → 下载 → 转录 → 存为 Markdown 的完整工作流。 支持 BV 号和完整链接,无需登录。

Images, Video & AudioIn 1 list155

Content Enrich

1.3k

chubbyguan/chubbyskills

内容加工:给任意采集产物(转录稿 / 文章 / 笔记)自动补「摘要 + 要点 + 标签 + 价值判断」, 写进 frontmatter 并在正文顶部插入摘要块。是「加工层」通用能力,惠及仓库所有采集 skill。

Writing & ContentIn 1 list155

Douyin Transcribe

1.3k

chubbyguan/chubbyskills

抖音视频 → 下载 → 转录 → 存为 Markdown 的完整工作流。 支持短链接和完整链接;优先无 cookie 直采,被风控时回退 yt-dlp + 浏览器 cookie(无需登录)。

Images, Video & AudioIn 1 list155

Crw

1.3k

fastcrw/crw

Scrape, crawl, map, and search the web using fastCRW's native /v1 API. Use when the user needs web page content, site-wide extraction, URL discovery, or web search results. Single binary, 14 MB RAM; /v2 exists separately for Firecrawl migration.

Writing & ContentIn 1 list102

C4 Context

2k

rmyndharis/antigravity-skills

Expert C4 Context-level documentation specialist. Creates high-level system context diagrams, documents personas, user journeys, system features, and external dependencies. Synthesizes container and component documentation with system documentation to create comprehensive context-level architecture. Use when creating the highest-level C4 system context documentation.

Writing & Content295

Dd Docs

1k

DataDog/pup

Datadog docs lookup using docs.datadoghq.com/llms.txt and linked Markdown pages.

Writing & Content139

Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.