x-article-download SKILL.md skillA
x-article-download 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/x-article-download@v4.0.0Pins v4.0.0 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
x-article-download/SKILL.md- Versions recorded
- 3
- Latest version
- v4.0.0, committed Sep 3, 2026
- First version recorded
- May 11, 2026
- Size
- 12,743 bytes
- Repository stars
- 1
- License
- MIT
Download X/Twitter content to local Markdown: a single tweet or long-form article (text, images, videos, linked GitHub repos) or an entire account in batch; auto-detects the content type and applies the right strategy. Use when the user shares an x.com or twitter.com link and wants to save, archive, analyze or translate it, or says 下载推文, 下载 X 文章, 保存这条推特, 批量下载账号, download tweet, archive X account, twitter to markdown.
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
# X 内容下载器
将 X/Twitter 内容自动分类下载。支持:
- **单条推文**:纯文字+图片、视频+转录、GitHub 仓库推荐帖
- **整账号批量下载**:获取某账号所有推文、批量下载图片、提取结构化内容
## 触发条件
- 用户发送 `x.com/xxx/status/xxx` 或 `x.com/xxx/article/xxx` 链接 → 路径 A/B/C
- 用户发送 `x.com/xxx` 或 `@xxx` 账号链接,要求下载"所有内容" → 路径 D
- 用户说"下载这篇文章/视频"、"存下来"且链接是 X 的 → 路径 A/B/C
- 用户说"下载这个账号所有推文/图片/提示词" → 路径 D
## 前置依赖
| 工具 | 用途 | 安装检查 |
|------|------|---------|
| xreach (agent-reach) | 批量获取推文、分页 | `which xreach` |
| yt-dlp | 视频/推文信息获取、视频下载 | `which yt-dlp` |
| whisper (openai-whisper) | 语音转文字 | `which whisper` |
| ffmpeg | 音频提取 | `which ffmpeg` |
| git | GitHub 仓库 clone | `which git` |
---
## 第零步:内容类型检测(必做,优先于一切)
**在执行任何下载操作之前,先用浏览器打开推文,提取正文文本,判断内容类型。**
### 0.1 打开推文 + 提取文本
```
browser_navigate → url = {用户给的链接}
```
用 `browser_console` 提取正文和所有链接:
```javascript
const article = document.querySelector('article[data-testid="tweet"]');
if (article) {
const text = article.innerText;
const links = Array.from(article.querySelectorAll('a[href]')).map(a => a.href);
JSON.stringify({ text: text.substring(0, 10000), links });
} else { JSON.stringify({ text: '', links: [] }); }
```
### 0.2 判断逻辑
根据提取到的文本和链接,按以下规则判断:
| 条件 | 类型 | 执行路径 |
|------|------|---------|
…Read the whole file at its exact version.
How to install
mdr add hanzhangzzz/agent-skills-zh/x-article-download@sha256:628710f0db3a95bdThe line at the top of this page pins the label v4.0.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_rfhbmkyixugkrpg3)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between May 11, 2026 and Sep 3, 2026, about one every 58 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v4.0.0 latest | 2026-09-03 | ac57df2 | 12,743 B | A | view · diff |
| v4.0.0 | 2026-09-01 | 4d9bf39 | 24,887 B | A | view · diff |
| v4.0.0 | 2026-05-11 | f35d6b6 | 24,597 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 (12743 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_rfhbmkyixugkrpg3 GET https://markdownregistry.com/api/v1/resolve?ref=hanzhangzzz/agent-skills-zh/x-article-download GET https://markdownregistry.com/api/v1/blob/628710f0db3a95bd962f7db14f4b5d60d1cc0677bf9843ee2e3a7447dc041ffc
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.