Wechat Official Batch Download 标志

Wechat Official Batch Download

社区
DavidLam-oss
wechat-official-batch-download

Use this skill when the user wants to batch download, archive, verify, or build a corpus from WeChat Official Account articles, or needs to fetch articles as writing references. Especially when using mp.weixin.qq.com links, down.mptext.top/dashboard, wechat-article-exporter, exported Excel/JSON link pools, or a local downloader/MCP. It teaches the agent to acquire official article URLs first, preserve raw HTML/Markdown/images/metadata, verify counts and fidelity, and avoid storing cookies, auth keys, or login secrets.

概览

发布者DavidLam-oss
代码仓库wechat-writing-team
技能名称wechat-official-batch-download
星标数
47
复刻数
5
附带文件
10
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 10 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 DavidLam-oss 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Wechat Official Batch Download AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/DavidLam-oss/wechat-writing-team/tree/main/skills/wechat-official-batch-download
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/DavidLam-oss/wechat-writing-team.git /tmp/wechat-writing-team
mkdir -p .claude/skills
cp -r /tmp/wechat-writing-team/skills/wechat-official-batch-download .claude/skills/wechat-official-batch-download
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Wechat Official Batch Download,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Wechat Official Batch Download。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Wechat Official Batch Download 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

WeChat Official Batch Download

Use this skill for WeChat Official Account article batch download, corpus building, and download verification.

The default goal is not just "download some pages". The goal is a traceable corpus:

text
real mp.weixin.qq.com/s/... links
-> raw HTML + preserved Markdown + images + metadata
-> count/fidelity verification
-> valid article inventory + report

When To Use

  • User asks to batch download WeChat Official Account articles.
  • User provides many mp.weixin.qq.com/s/... links or a link-pool file.
  • User wants all/latest articles from one account.
  • User mentions down.mptext.top, wechat-article-exporter, dashboard export, Excel/JSON address list, or WeChat corpus.
  • User asks whether a downloaded corpus is complete, official, readable, or faithful.

Route First

Classify the request. Default is reference — you do NOT need to say which mode unless you want corpus mode.

  • reference (default): one or more article URLs downloaded as writing references. Lightweight, no local images, no corpus. Files go to project _source/.
  • single: one user-provided article URL, downloaded as corpus (with images, HTML, metadata).
  • recent: latest N articles, default 10 if no count is provided.
  • all: all backend/export-visible articles for a target account.
  • link-pool: user already has Excel/JSON/TXT links.
  • verify: check an existing corpus.
  • fallback: official link pool unavailable or site downloader failed.

The agent classifies like this:

  • User says "下载这篇文章" / "帮我拉一下" / "参考一下" / "放到 source 里" → reference (default)
  • User says "做个语料库" / "全部下载" / "要验收" / "包括图片" → corpus mode (single / all / link-pool)

Non-Negotiable Rules

  1. Official corpus work starts with real https://mp.weixin.qq.com/s/... URLs.
  2. Do not claim "all articles" without a counted official URL pool or a user-verified export.
  3. Treat down.mptext.top/dashboard/ and wechat-article-exporter primarily as link-pool/export tools, not guaranteed final body downloaders.
  4. If a website's body download fails, keep the exported links and switch to local download.
  5. Never store or print cookies, auth-key, X-Auth-Key, API keys, tokens, browser storage, or login secrets.
  6. Do not treat mirrors/search snippets as official source material unless clearly labeled as fallback.
  7. Do not claim exact text fidelity unless raw visible article text and preserved Markdown were compared after whitespace normalization.

Preferred Workflow

  1. Establish the official URL pool.

    • Best: fixed/logged-in WeChat backend or user-exported official address list.
    • Good fallback: down.mptext.top/dashboard/ or private wechat-article-exporter export.
    • Acceptable input: user-provided Excel/JSON/TXT containing real article URLs.
  2. Normalize the link pool.

    • Keep only real mp.weixin.qq.com/s/... article links.
    • Deduplicate.
    • Save links.json with count, source route, and timestamp.
  3. Download articles.

    • Use the local downloader available in the user's environment.
    • If an MCP downloader is available, call initialize, tools/list, and smoke-test 3 links before batch work.
    • If using scripts, preserve raw HTML first, then derive Markdown and metadata from the raw source.
  4. Produce mandatory artifacts for every successful article.

    • html_raw/*.html
    • articles_preserved/*.md
    • images/<article>/...
    • meta/*.json
  5. Verify the corpus.

    • URL count vs attempted count.
    • raw HTML count.
    • preserved Markdown count.
    • valid body count.
    • image count and missing-image count.
    • fidelity warnings.
    • failed URLs and retry/fallback notes.
  6. Report clearly.

    • Give output directory and counts.
    • Separate official source, fallback source, failures, and warnings.
    • Do not paste full article text into chat.

Reference Route (写作参考模式)

Use this route when the user needs articles as writing references, not as a permanent corpus.

Output rules

  • Each article becomes one standalone Markdown file.
  • Images keep original WeChat CDN links — do not download to local.
  • No HTML/JSON/metadata artifacts.
  • No acceptance report.

Project directory

If no project directory exists yet, the agent creates it:

text
To-be-used/Project_[Title]/
└── _source/
    ├── Refer_[ArticleTitle1].md
    ├── Refer_[ArticleTitle2].md
    └── ...
  • Project title: derived from article topic or user-provided intent.
  • If a project already exists, reuse it and add files under its _source/.
  • Filename: Refer_ + article title (sanitized).
  • One .md per article, never merged into one file.
  • Frontmatter includes source URL and fetch date.

Image handling

markdown
<!-- Keep original WeChat image links, do not download -->
![](https://mmbiz.qpic.cn/...)

No local image download, no image folder, no cleanup needed after reference use.

Lifecycle

  1. User provides one or more article URLs.
  2. Agent fetches each article, converts to Markdown.
  3. Each .md saved to _source/Refer_[Title].md.
  4. When the project is archived, reference files archive with it.
  5. No separate cleanup needed.

Tool Adaptation

This skill does not assume one fixed workstation. Use the best available local equivalent:

  • Local Python Scripts:
    • scripts/downloader.py: Multi-threaded downloader. Uses a direct connection by default with a high-fidelity Chrome UA to bypass the hotlinking block; the CF Worker proxy pool is opt-in via --proxy. With no proxy available (pool file missing or empty) it also falls back to a direct request, and if every proxy attempt fails it retries once directly instead of aborting the batch. Supports request throttling (--delay) and authentication (--cookie).
    • scripts/exporters/md_exporter.py: Exporter converting raw HTML to preserved Markdown.
    • scripts/exporters/html_exporter.py: Exporter normalizing HTML into clean, offline-friendly single files via no-referrer metadata injection and protocol-relative stylesheet link corrections (https: prefixing).
  • local Python/Node downloader
  • existing WeChat article export script
  • MCP downloader with tools such as single_article_download or batch_download_articles
  • browser-assisted capture for single article troubleshooting

If no downloader exists, create a small local script only after the link pool is known and after checking legal/compliance boundaries.

Read References As Needed

  • For operational detail, read references/batch-download-sop.md.
  • For the website/tool comparison, read references/tool-comparison.md.
  • For a portable handoff summary to show a human, read references/portable-usage.md.

Changelog

  • v1.2.1 (2026-10-07): Fixed the --proxy toggle, which was a no-op: Downloader.__init__ rebuilt a ProxyManager whenever it was passed None, so the pool was loaded even without the flag and the documented "direct by default" behaviour never took effect. Now None really means direct, and when the pool is used but every attempt fails the downloader retries once directly instead of aborting the batch.
  • v1.2.0 (2026-06-27): Disabled CF Worker proxy pool by default. Reconfigured downloader to prioritize direct HTTPS requests using browser User-Agent. Added --proxy toggle, --delay throttling, and --cookie authorization parameters.
  • v1.1.0 (2026-06-27): Added local Python proxy pool downloader and Markdown/HTML exporters. Kept images and stylesheets on WeChat CDN and injected no-referrer meta to bypass hotlinking block, ensuring clean single-file structures.
  • v1.0.0: Initial release of the batch download skill specification.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Wechat Official Batch Download AI 技能有什么作用?

Use this skill when the user wants to batch download, archive, verify, or build a corpus from WeChat Official Account articles, or needs to fetch articles as writing references. Especially when using mp.weixin.qq.com links, down.mptext.top/dashboard, wechat-article-exporter, exported Excel/JSON link pools, or a local downloader/MCP. It teaches the agent to acquire official article URLs first, preserve raw HTML/Markdown/images/metadata, verify counts and fidelity, and avoid storing cookies, auth keys, or login secrets.

为什么在 TypingMind 中使用 Wechat Official Batch Download?

因为您只需安装一次,就能搭配任何模型使用。Wechat Official Batch Download 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Wechat Official Batch Download?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/DavidLam-oss/wechat-writing-team/tree/main/skills/wechat-official-batch-download。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Wechat Official Batch Download?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Wechat Official Batch Download 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Wechat Official Batch Download 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Wechat Official Batch Download AI 技能免费吗?

是的。DavidLam-oss 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇