laohan-xiazai

laohan-xiazai is a skill for Claude Code from hanzhcn/laohan-skills. It costs 360 tokens per session (5,089 once invoked), scanned A, original, MIT.

A content-retrieval toolkit for downloading or extracting material from more than 30 online platforms, including video, audio, subtitles, comments, and web pages.

In plain words
What is it for?
Use it to download videos, extract audio and transcripts, fetch subtitles and comments, scrape pages, search across platforms, publish content, or collect creator data where access is permitted.
Why use it?
It provides platform-specific ways to obtain publicly accessible content and escalates to heavier methods only when simpler access fails.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable. Also seen: mentions Claude Code; built for openclaw.

Good fit Use it to download videos, extract audio and transcripts, fetch subtitles and comments, scrape pages, search across platforms, publish content, or collect creator data where access is permitted.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hanzhcn/laohan-skills/laohan-xiazai
Install

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.

Any agent
npx skills add hanzhcn/laohan-skills --skill laohan-xiazai
Clone the repo
git clone --depth 1 https://github.com/hanzhcn/laohan-skills

Made for: Claude Code.

Wrote 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.

agentmods badge for laohan-xiazai

README.md
[![agentmods](https://agentmods.dev/badge/skills/hanzhcn/laohan-skills/laohan-xiazai/github.svg)](https://agentmods.dev/skills/hanzhcn/laohan-skills/laohan-xiazai)
Your own site
<a href="https://agentmods.dev/skills/hanzhcn/laohan-skills/laohan-xiazai"><img src="https://agentmods.dev/badge/skills/hanzhcn/laohan-skills/laohan-xiazai/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.

agentmods 80×15 button for laohan-xiazai

Your own site · 80×15
<a href="https://agentmods.dev/skills/hanzhcn/laohan-skills/laohan-xiazai"><img src="https://agentmods.dev/badge/skills/hanzhcn/laohan-skills/laohan-xiazai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 360 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,089 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 110
    YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
    Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
  • medium Data Exfiltration · line 205
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium MCP Rug Pull · line 32
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00360 $0.05089
Opus 5 $0.00180 $0.02544
Sonnet 5 $0.00072 $0.01018
Haiku 4.5 $0.00036 $0.00509

Measured 11d ago against content hash 3ed89182a16c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

laohan-xiazai scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Jina Reader | `curl -sL "https://r.jina.ai/<url>"` | 通用网页内容提取 |
laohan-xiazai/SKILL.md · 247 lines

How it starts

The opening of the file, as written. The whole thing — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.

从互联网拿内容

按平台选择正确方法,一步到位。先看平台路由表,再读对应 reference 文件。平台方法不行时,按品类降级链逐层深入——每层解决不同问题,能浅不深。

核心理念

能浅不深——先用最轻的方法(HTTP 请求),不行再加重量(浏览器渲染→反检测→AI 操作→手动控制)。成本递增,每层解决不同问题,不要跳层。

不适用场景

  • 批量爬取/爬虫开发 → 这不是爬虫框架,是一次性内容获取工具
  • 需要登录才能访问且用户未登录 → 告诉用户先登录对应平台,web-access CDP 可以接管已登录的 Chrome
  • 下载付费内容/会员内容 → 不处理侵权场景

前置检查(定期更新,命令报错时必做)

opencli 高频发版(每周 2-3 次),但不需要每次使用都更新——定期(如每周)更新,或命令报错/找不到新命令时再更新即可。

第1步:更新 opencli(npm 包)

npm update -g @jackwener/opencli

第2步:更新 opencli skills(npx 管理)

npx skills update -g -y

opencli 自带 4 个辅助 skill,随 opencli 仓库更新但独立于 npm 包。必须单独更新:

  • opencli-usage:查命令总览,不确定有什么命令时用
  • opencli-autofix:命令失败时自动诊断修复(SELECTOR 错误、页面结构变化等)
  • opencli-browser:浏览器自动化操作
  • opencli-adapter-author:写新的 opencli 适配器

第3步:查最新命令比对文档

opencli <platform> --help

opencli 经常加新命令(如 4 月加了 bilibili download、xiaohongshu download),SKILL 文档可能滞后。发现新命令时更新对应 reference 文件。

第4步:检查 Browser Bridge

opencli doctor

3 项全绿(Daemon + Extension + Connectivity)才能用 Cookie 命令。失败时排障:

  1. opencli doctor 看哪项失败
  2. daemon 没跑 → opencli daemon restart(opencli 自带 daemon 管理,不要用 launchctl——opencli 不提供 LaunchAgent)
  3. daemon 在跑但扩展未连 → 让用户 chrome://extensions/ 关开 OpenCLI 扩展
  4. 都 OK 还连不上 → opencli daemon stop 后再跑任意 opencli <命令> 触发 daemon 自启

命令失败时的处理

  1. 先用 opencli-autofix skill 诊断:OPENCLI_DIAGNOSTIC=1 重跑失败命令
  2. 修复成功 → 更新 reference 文件记录正确方法
  3. 修复失败 → 按降级链切换方法

快速路由

场景 A:下载(视频/音频/字幕/博主数据)

先判断平台,再读对应的 reference 文件:

关键词 平台 reference 文件
抖音 / douyin 抖音 references/douyin.md
TT / tiktok / TikTok TikTok references/tiktok.md
YouTube / youtube / 油管 YouTube references/youtube.md
B站 / bilibili / BV B站 references/other-platforms.md
小红书 / xhs 小红书 references/other-platforms.md
知乎 / zhihu 知乎 references/other-platforms.md
公众号 / 微信文章 微信公众号 references/other-platforms.md
视频号 / 微信视频号 微信视频号 references/other-platforms.md

Read the full file on GitHub · 247 lines

Files

What ships with it

4 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.

Changes

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.

  1. 11d ago First seen · 247 lines · 360 tokens per session scan A 3ed89182a16c

Subscribe to this mod's changes

laohan-xiazai is a skill published in the GitHub repository hanzhcn/laohan-skills (11 stars, last pushed today), licensed MIT. It adds 360 tokens to every session and 5,089 once invoked, about $0.0018 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.