wechat-article-fetch SKILL.md skillA
wechat-article-fetch from cat-xierluo/legal-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cat-xierluo/legal-skills/wechat-article-fetch@v1.4.0Pins v1.4.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cat-xierluo/legal-skills
- Path
skills/wechat-article-fetch/SKILL.md- Versions recorded
- 5
- Latest version
- v1.4.0, committed Sep 13, 2026
- First version recorded
- Mar 20, 2026
- Size
- 5,397 bytes
- Repository stars
- 775
- License
- none declared
抓取微信公众号文章(mp.weixin.qq.com)到本地。当用户发来公众号链接要求"抓取""保存""存下来""归档""留痕""转成 Markdown"时使用。默认双产出:Markdown 整理版(供检索引用)+ HTML 原件保真归档(离线双击可读,供回溯核对)。默认 HTTP 直抓零依赖,失败自动切浏览器兜底。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 微信公众号文章抓取工具 ## 概述 抓取微信公众号文章到本地,默认一次产出两份: | 产物 | 用途 | 特点 | |---|---|---| | Markdown 整理版 | 检索、引用、下游加工 | 纯文本段落 + 图片本地化,自动过滤小装饰图 | | HTML 原件 | 保真留痕、回溯核对 | 完整页面 + 全部图片本地化(不过滤),离线双击可读,原外链保留在 `data-src` 备查 | 为什么两份都要:公众号分享链接常带 `tempkey` 临时凭证,过期后打不开;Markdown 整理会丢排版和配图,日后无法回溯核对原文。**原件保真,整理版好用,两者互补不互替。** 抓取引擎: - **HTTP 直抓**(默认主路线):微信文章是服务端渲染,正文与图片地址都在初始 HTML 里,直接请求即可。零依赖、速度快。 - **Playwright 浏览器兜底**(`--engine auto` 自动切换):HTTP 路线失败或页面需要 JS 渲染时启用。 ## 使用方法 ```bash # 默认:双产出,保存到 skill 内 archive/<时间戳>_<标题>/ node scripts/fetch.js "https://mp.weixin.qq.com/s/xxxxx" # 指定输出根目录(文章产物归入其下子目录) node scripts/fetch.js "https://mp.weixin.qq.com/s/xxxxx" "./articles/" # 兼容旧用法:直接指定 .md 文件路径(其余产物同目录平铺) node scripts/fetch.js "https://mp.weixin.qq.com/s/xxxxx" "./articles/my-article.md" # 只要 Markdown 整理版 / 只要 HTML 原件 node scripts/fetch.js "https://mp.weixin.qq.com/s/xxxxx" --mode markdown node scripts/fetch.js "https://mp.weixin.qq.com/s/xxxxx" --mode archive # 强制走浏览器(或只走 HTTP 不装 Playwright) node scripts/fetch.js "https://mp.weixin.qq.com/s/xxxxx" --engine playwright node scripts/fetch.js "https://mp.weixin.qq.com/s/xxxxx" --engine http ``` 完整参数运行 `node scripts/fetch.js --help` 查看。 ### 产物结构 ``` …
Read the whole file at its exact version.
How to install
mdr add cat-xierluo/legal-skills/wechat-article-fetch@sha256:2c24124d2412d827The line at the top of this page pins the label v1.4.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_w43pmpfhqli3c3tn)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Mar 20, 2026 and Sep 13, 2026, about one every 44 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.4.0 latest | 2026-09-13 | ae7677c | 5,397 B | A | view · diff |
| v1.3.1 | 2026-04-20 | 6edaca8 | 8,436 B | A | view · diff |
| v1.2.0 | 2026-03-24 | 7745192 | 7,703 B | A | view · diff |
| v1.2.0 | 2026-03-21 | 70b84d1 | 7,703 B | A | view · diff |
| v1.2.0 | 2026-03-20 | 8161cbf | 7,755 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5397 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
cat-xierluo/legal-skills · 775 stars · license none declared · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_w43pmpfhqli3c3tn GET https://markdownregistry.com/api/v1/resolve?ref=cat-xierluo/legal-skills/wechat-article-fetch GET https://markdownregistry.com/api/v1/blob/2c24124d2412d82787b50a63aa106691da413f9a0d5d6d754f402ad6714c7167
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.