Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add yuevthins/xhs-down-ai-cli --skill xhs-downgit clone --depth 1 https://github.com/yuevthins/xhs-down-ai-cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yuevthins/xhs-down-ai-cli/xhs-down)<a href="https://agentmods.dev/skills/yuevthins/xhs-down-ai-cli/xhs-down"><img src="https://agentmods.dev/badge/skills/yuevthins/xhs-down-ai-cli/xhs-down/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/yuevthins/xhs-down-ai-cli/xhs-down"><img src="https://agentmods.dev/badge/skills/yuevthins/xhs-down-ai-cli/xhs-down.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00155 | $0.01403 |
| Opus 5 | $0.00077 | $0.00701 |
| Sonnet 5 | $0.00031 | $0.00281 |
| Haiku 4.5 | $0.00015 | $0.00140 |
Grade A, and why
xhs-down scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
XHS Down
Downloader workflow for Xiaohongshu notes and author profiles.
Trigger hints
- Trigger on: 下载小红书、保存笔记、去水印、抓图、抓视频、批量下载小红书博主、XHS downloader、RED 下载
- Also trigger when the user wants note text plus original images/video, not just screenshots
- Do not trigger on: 抖音下载、纯写作改写、无下载语境的小红书内容创作
Trigger map
- Strong triggers:
- "下载这篇小红书笔记"
- "把这个博主的笔记全抓下来"
- "去水印保存原图"
- "抓取 RED 视频和正文"
- "做一个小红书下载器"
- Soft triggers:
- User wants note text + media together, not just screenshots
- User wants an author archive rather than a single saved image
- Hard exclusions:
- 抖音/Douyin/TikTok 下载
- 纯写作、纯改写、纯选题
Overlap routing
- If the user clearly means Douyin, route to
douyin-down. - If the user wants to write Xiaohongshu content rather than download existing notes, route to the content-creation workflow instead.
When to use
- Download one or more Xiaohongshu notes to markdown plus media.
- Remove watermark-bearing image URLs by reconstructing original CDN paths.
- Batch-download all notes from an author profile.
- Build or reuse a Xiaohongshu scraping/download pipeline.
When not to use
- Douyin download: use
douyin-down. - A pure writing or repackaging task with no download requirement.
Prerequisites
requestsagent-browserfor author-profile collection- A logged-in browser session when cookies or profile scraping are required
Workflow
- For profile cover-only downloads, run
scripts/xhs_profile_covers.pyand validatemanifest.jsonwithscripts/validate_manifest.py. - For single-note downloads, run
scripts/xhs_download.pydirectly with one or more note URLs. - Add cookies only when authentication is required or when video access needs a logged-in session.
- For author-profile collection, use
scripts/xhs_author.pywithagent-browser --auto-connect. - Prefer share links that include
xsec_tokenfor profile discovery. - Keep output naming explicit when the user is preparing a downstream asset library.
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 224 B
- references/xhs-patterns.md 4.9 KB
- scripts/downie_handoff.py 3.0 KB runs code
- scripts/validate_manifest.py 1.8 KB runs code
- scripts/xhs_author.py 19 KB runs code
- scripts/xhs_download.py 25 KB runs code
- scripts/xhs_paths.py 329 B runs code
- scripts/xhs_profile_covers.py 7.9 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 134 lines · 155 tokens per session scan A 368c21abf9f4
xhs-down is a skill published in the GitHub repository yuevthins/xhs-down-ai-cli (1 stars, last pushed 4mo ago), licensed MIT. It adds 155 tokens to every session and 1,403 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
baoyu-url-to-markdown
Fetch any URL and convert to markdown using baoyu-fetch CLI (Chrome CDP with site-specific adapters). Built-in adapters for X/Twitter, YouTube transcripts, Hacker News threads, and generic pages via Defuddle. Handles login/CAPTCHA via interaction wait modes. Use when user wants to save a webpage as markdown.
playwright-cli
Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…
tavily-usage
This skill should be used when user asks to "search the web", "fetch content from URL", "extract page content", "use Tavily search", "scrape this website", "get information from this link", or "web search for X".
lov-fill-web-form
Fill web forms by fetching form fields from a URL, deep-searching the user's local knowledge base for relevant info, and generating a markdown document with all answers pre-filled. Use when the user provides a URL to a web form (conference application, speaker submission, event registration, profile form) and wants…
lov-publish-wechat-channels
A browser-based assistant for checking, uploading, saving, scheduling, and publishing local videos to WeChat Channels, WeChat’s short-video platform. It also verifies the resulting draft or publication status.
browser-extension-builder
Expert in building browser extensions that solve real problems - Chrome, Firefox, and cross-browser extensions. Covers extension architecture, manifest v3, content scripts, popup UIs, monetization strategies, and Chrome Web Store publishing. Use when: browser extension, chrome extension, firefox addon, extension…