reference-video-fetch SKILL.md skillA
reference-video-fetch from shenrui-ma/video-regen-recipes is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add shenrui-ma/video-regen-recipes/reference-video-fetch@git:20260916.bd0eb26Pins git:20260916.bd0eb26 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- shenrui-ma/video-regen-recipes
- Path
skills/reference-video-fetch/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260916.bd0eb26, committed Sep 16, 2026
- First version recorded
- Sep 16, 2026
- Size
- 6,913 bytes
- Repository stars
- 9
- License
- MIT
用 yt-dlp 匿名(不登录、不传 cookie)获取 B 站 / YouTube 参考视频页面并写出抓取记录,供模板在需要动作、节奏或镜头参考时使用;含画质上限、失败分类和“只留本机、不再分发”边界。.
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
# 参考视频获取(B 站 / YouTube) 目标:用户只给了一个视频链接、没有文件时,让 Agent 把参考视频取到本机,并留下可核对的抓取记录。**默认匿名**,不使用任何登录态。 本目录可独立安装:`SKILL.md` + `scripts/fetch_reference.py`。依赖只有 `yt-dlp`(和可选的 `ffprobe`)。 ## 何时使用,何时不要用 - **使用**:模板需要动作、运镜、节奏、台词或镜头参考,用户没有自备文件,只给了公开页面链接。 - **不要使用**:用户已经提供文件(用户文件优先);素材是作者自有或已获授权(应走固定版本的媒体库,例如 `video-regen-assets`);目标是番剧、付费内容或需要大会员的清晰度。 - **不要用它替代来源记录**:抓到的是第三方作品,只在用户本机用于分析,不进入仓库、媒体库或其他再分发渠道。 ## 能力与限制(先讲给用户听) - **默认取匿名能给到的最高画质**。不传 `--max-height` 时按站点匿名上限来(实测有视频可到 1080p30,也有更高的只在登录后才放开)。`1080p60`、`1080p+`、4K、番剧与付费内容通常需要登录或大会员;本工具**不传 cookie**,所以只能取匿名可得的画质,不会偷偷降级也不假装拿到了更高画质。需要控制体积或后续算力时,用 `--max-height` 显式设上限。 - **站点内容会变**。同一个 BV 号可能被删除、替换或改画质;记录里的 SHA-256 只代表本次抓到的版本,**不能当作 pinned 素材**,也不能承诺跨时间复现。 - **只取片段不可靠**。CDN 直链缺少 Referer,`--download-sections` 一类的分段抓取会失败;要么整条下载,要么改用更低画质。 - **竖屏按短边算**。格式选择用分辨率短边(1080×1920 记为 1080p),避免竖屏视频被误判成“超过 1080p”。 ## 步骤 1. **先探测**,不要直接下载: ```bash python3 scripts/fetch_reference.py --url "<视频页面链接>" --probe --out <项目参考目录> ``` 把打印出的**标题、作者、时长、匿名可用画质**回给用户确认,确认是同一支视频再继续。 2. **下载**(默认写 `<out>/<视频ID>.mp4` 与同名 `.fetch.json`): ```bash python3 scripts/fetch_reference.py --url "<视频页面链接>" --out <项目参考目录> \ …
Read the whole file at its exact version.
How to install
mdr add shenrui-ma/video-regen-recipes/reference-video-fetch@sha256:3a86e5122ea7f804The line at the top of this page pins the label git:20260916.bd0eb26, 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_7lfhdl75uepxfm4u)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, all committed on Sep 16, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260916.bd0eb26 latest | 2026-09-16 | bd0eb26 | 6,913 B | A | view · diff |
| git:20260916.a8f8119 | 2026-09-16 | a8f8119 | 5,307 B | A | view · diff |
| git:20260916.3af5275 | 2026-09-16 | 3af5275 | 5,037 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 (6913 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
shenrui-ma/video-regen-recipes · 9 stars · license MIT · pushed 2026-09-18 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_7lfhdl75uepxfm4u GET https://markdownregistry.com/api/v1/resolve?ref=shenrui-ma/video-regen-recipes/reference-video-fetch GET https://markdownregistry.com/api/v1/blob/3a86e5122ea7f804b3de5289ae1c4ef02d57595f6b0546000a39672bc39b1da7
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.