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 chemny/douyin-video-downloader --skill douyin-video-downloadergit clone --depth 1 https://github.com/chemny/douyin-video-downloaderWrote 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/chemny/douyin-video-downloader/douyin-video-downloader)<a href="https://agentmods.dev/skills/chemny/douyin-video-downloader/douyin-video-downloader"><img src="https://agentmods.dev/badge/skills/chemny/douyin-video-downloader/douyin-video-downloader/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/chemny/douyin-video-downloader/douyin-video-downloader"><img src="https://agentmods.dev/badge/skills/chemny/douyin-video-downloader/douyin-video-downloader.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.00094 | $0.02969 |
| Opus 5.5 | $0.00038 | $0.01188 |
| Sonnet 5.5 | $0.00019 | $0.00594 |
| Haiku 4.5 | $0.00009 | $0.00297 |
Grade A, and why
douyin-video-downloader 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 21d 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 — 228 lines — stays where its author put it; the contents beside it link to each section on GitHub.
douyin-video-downloader Skill
本 skill 是一个本地 Node.js 抖音视频与直接音频下载工具。
功能
- 获取抖音视频信息
- 列出可用视频清晰度/码率候选
- 按指定清晰度下载 MP4
- 下载视频时同步下载封面图,默认选择中档尺寸
- 支持单独下载封面图
- 下载抖音音乐详情接口暴露的直接音频文件
- 从采集库批量下载直接音频
- 用本地 SQLite 采集库记录用户、列表页、视频、统计和音乐信息
- 自动打开用户主页并复用本地浏览器登录态,自动翻页采集列表
- 下载完整性检查、临时文件保护和有限重试(视频、封面、直接音频共用)
- 从采集库导出 JSON/CSV,或按批次下载库里的视频
- 默认尽量使用无水印播放地址
使用方法
先确定 {SKILL_DIR} 为本 SKILL.md 所在目录。
查看视频信息、清晰度和封面候选
node {SKILL_DIR}/douyin-video.js info "抖音分享链接" --cover-size medium
下载默认清晰度
node {SKILL_DIR}/douyin-video.js download "抖音分享链接" -o ./videos
默认选择 best,即脚本能识别到的最高质量候选。
视频下载会同时下载封面图,并把视频、封面和 metadata 路径都写入 metadata JSON。
指定清晰度下载
node {SKILL_DIR}/douyin-video.js download "抖音分享链接" --quality best -o ./videos
node {SKILL_DIR}/douyin-video.js download "抖音分享链接" --quality 720p -o ./videos
node {SKILL_DIR}/douyin-video.js download "抖音分享链接" --quality 0 -o ./videos
--quality 支持:
best:最高质量lowest:最低质量720p/1080p这类清晰度标签- 数字序号:使用
info输出中的候选序号 ratio、format、gear_name等候选标签的部分匹配
指定封面尺寸下载
node {SKILL_DIR}/douyin-video.js download "抖音分享链接" --cover-size medium -o ./videos
node {SKILL_DIR}/douyin-video.js download "抖音分享链接" --cover-size origin -o ./videos
node {SKILL_DIR}/douyin-video.js download "抖音分享链接" --cover-size 0 -o ./videos
node {SKILL_DIR}/douyin-video.js cover "抖音分享链接" --cover-size medium -o ./videos
--cover-size 支持:
medium:默认,中档尺寸small:较小封面候选large/best:按返回宽高选择较大封面origin:原始封面字段raw:原始/未处理封面字段dynamic/animated:动态封面候选gaussian/blur:模糊封面候选- 数字序号:使用
info输出中的封面候选序号 none:不下载封面
下载直接音频
node {SKILL_DIR}/douyin-video.js audio "抖音分享链接" -o ./audios
audio 命令会先解析视频对应的 music.mid/id,再请求抖音音乐详情接口获取 music.play_url 并下载原始音频文件。没有直接音频地址时会报错,不会从 MP4 中抽取音频。
视频、封面和音频命令会合并写入同一个 metadata JSON,不会因为后执行音频而覆盖之前的视频或封面文件路径。
创建 SQLite 采集库
node {SKILL_DIR}/douyin-video.js db-init --db ./douyin_collection.sqlite
采集库包含:
What ships with it
9 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.
- assets/workflow.svg 2.4 KB
- scripts/examples/batch_download.ps1 600 B runs code
- scripts/examples/batch_download.sh 539 B runs code
- scripts/examples/collect_user.ps1 590 B runs code
- scripts/examples/collect_user.sh 576 B runs code
- scripts/examples/single_download.ps1 446 B runs code
- scripts/examples/single_download.sh 425 B runs code
- scripts/publish-check.mjs 5.2 KB runs code
- scripts/smoke-test.mjs 3.6 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.
- 21d ago Changed · +20 lines 4237bdfdc7b9
- 2mo ago First seen · 208 lines · 94 tokens per session scan A eea33f0610c3
douyin-video-downloader is a skill published in the GitHub repository chemny/douyin-video-downloader (6 stars, last pushed 21d ago), licensed MIT. It adds 94 tokens to every session and 2,969 once invoked, about $0.0004 per session on Opus 5.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.
douyin-video-downloader compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| douyin-video-downloaderchemny/douyin-video-downloader | Skill | 6 | 21d ago | MIT | A | 94 | Claude Code, Codex |
| mission-controlbuilderz-labs/mission-control | Skill | 6.5k | 6d ago | MIT | A | 34 | Claude Code, Codex |
| laohan-chuangzuohanzhcn/laohan-skills | Skill | 15 | today | MIT | A | 177 | Claude Code, Codex |
| laohan-yinsehanzhcn/laohan-skills | Skill | 15 | today | MIT | A | 110 | Claude Code, Codex |
| palaia-memorybyte5ai/palaia | Skill | 20 | 4d ago | MIT | A | 127 | Claude Code |
| laohan-xuantihanzhcn/laohan-skills | Skill | 15 | today | MIT | A | 172 | Claude Code |
| palaia-messengerbyte5ai/palaia | Skill | 20 | 4d ago | MIT | A | 82 | Claude Code |