wechat-article-md-local SKILL.md skillA
wechat-article-md-local from hanzhangzzz/agent-skills-zh is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add hanzhangzzz/agent-skills-zh/wechat-article-md-local@git:20260901.4d9bf39Pins git:20260901.4d9bf39 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- hanzhangzzz/agent-skills-zh
- Path
wechat-article-md-local/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260901.4d9bf39, committed Sep 1, 2026
- First version recorded
- May 11, 2026
- Size
- 3,747 bytes
- Repository stars
- 1
- License
- MIT
Download and read a single WeChat Official Account article (微信公众号文章) from a public mp.weixin.qq.com link, save it in the workspace as local Markdown with all images downloaded locally, falling back to HTML when Markdown conversion is impossible. ALWAYS use this skill first whenever the user sends a single WeChat article link — even without asking to download it — and especially before summarizing, extracting, analyzing, quoting, rewriting or translating that article. Triggers: mp.weixin.qq.com…
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
# WeChat article → local Markdown
Use this skill for **single article** WeChat Official Account links.
## Default path: use the bundled script first
For normal use, do **not** manually shuttle the full article HTML through the browser tool.
微信公众号正文经常很长,`#js_content.innerHTML` 可能超过工具返回长度,导致提取结果被截断。
优先直接运行这个脚本:
```bash
SKILL_DIR="$(cd "$(dirname "$0")" && pwd)"
bash "${SKILL_DIR}/scripts/download_wechat_article.sh" '<MP_URL>' '<OUTPUT_DIR>'
```
这个脚本会自动:
- 用 Playwright 打开文章页
- 提取元数据和完整 `#js_content` HTML
- 调用 `save_wechat_article.py`
- 下载图片到本地
- 生成 Markdown 和 HTML fallback
## What to do
1. Validate the URL is a single article link on `mp.weixin.qq.com`.
2. Run the bundled shell script above.
3. Parse the JSON result printed by the script.
4. Return the saved file paths.
## Expected output from the script
脚本成功时会输出 JSON,包含至少这些字段:
- `title`
- `article_dir`
- `markdown_path`
- `html_path`
- `images_dir`
- `image_count`
- `markdown_ok`
## Fallback path
Only if the bundled script fails, fall back to the manual two-step flow:
1. Use the **browser tool** to open the article page.
2. Extract article metadata and the full `#js_content` HTML from the rendered page.
…Read the whole file at its exact version.
How to install
mdr add hanzhangzzz/agent-skills-zh/wechat-article-md-local@sha256:def1cc47ba19ffcbThe line at the top of this page pins the label git:20260901.4d9bf39, 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_rrca2f2a5nfuv2ft)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between May 11, 2026 and Sep 1, 2026, about one every 113 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260901.4d9bf39 latest | 2026-09-01 | 4d9bf39 | 3,747 B | A | view · diff |
| git:20260511.f35d6b6 | 2026-05-11 | f35d6b6 | 3,662 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 (3747 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
hanzhangzzz/agent-skills-zh · 1 stars · license MIT · pushed 2026-10-29 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_rrca2f2a5nfuv2ft GET https://markdownregistry.com/api/v1/resolve?ref=hanzhangzzz/agent-skills-zh/wechat-article-md-local GET https://markdownregistry.com/api/v1/blob/def1cc47ba19ffcbbfa4ea096048794b816b9a87b0c26b6fd2cc408d4c13e471
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.