Wechat Article Ingest logo

Wechat Article Ingest

CommunityPopular
chubbyguan
wechat-article-ingest

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

Overview

Publisherchubbyguan
Repositorychubbyskills
Skill namewechat-article-ingest
Stars
1.2K
Forks
147
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by chubbyguan on GitHub. Read the source before you install it.

Installation

Install the Wechat Article Ingest AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/chubbyguan/chubbyskills/tree/main/wechat-article-ingest
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Wechat Article Ingest in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Wechat Article Ingest on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Wechat Article Ingest is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

微信公众号文章处理 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

已知限制

  • 部分公众号文章有防盗链,可能抓取失败
  • 纯图片文章无法提取文字
  • MarkItDown 需要 Python ≥ 3.10
  • PDF 提取质量取决于原文排版;链接模式比 PDF 模式更能保留图片和链接
  • 长文档拆分需要 Agent 判断

参考项目

⚖️ 合规声明

仅供个人学习与研究使用。请遵守目标平台的服务条款(ToS)与 robots 规则,控制请求频率,不要用于批量抓取、商用爬取或侵犯他人权益的场景。下载内容的版权归原作者所有。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Wechat Article Ingest AI skill do?

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

Why use Wechat Article Ingest on TypingMind?

Because you install it once and use it with any model. Wechat Article Ingest is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Wechat Article Ingest in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/chubbyguan/chubbyskills/tree/main/wechat-article-ingest. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Wechat Article Ingest?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Wechat Article Ingest?

As many as you like. As long as a model supports skills, you can use Wechat Article Ingest with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Wechat Article Ingest AI skill free?

Yes. It is published on GitHub by chubbyguan under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇