cs-video-download SKILL.md skillA
cs-video-download from chenshuo2004/cs-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add chenshuo2004/cs-skills/cs-video-download@git:20261006.b67acf6Pins git:20261006.b67acf6 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- chenshuo2004/cs-skills
- Path
cs-video-download/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261006.b67acf6, committed Oct 6, 2026
- Size
- 2,476 bytes
- Repository stars
- 204
- License
- MIT
下载用户提供的抖音或其他在线视频链接,统一保存并校验媒体文件。用于“帮我下载视频”、Videdown 下载、视频链接归档;不自动扩展为转写、发布或视频制作。.
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
# CS 视频下载 接到明确的视频下载请求直接执行,无需再次确认。默认保存到 `~/Downloads/Videdown`;用户指定目录时遵从用户。文件命名为 `标题-平台视频ID.mp4`,重复文件先验证再复用,不覆盖已有文件。 ## 获取媒体 1. 用户指定 Videdown 时先通过可用的原生 UI 工具操作 Videdown。解析完成才点击下载,检查真实保存文件,不把解析中或下载按钮当成完成。 2. Videdown 或 yt-dlp 返回抖音 403 / fresh cookies 时,不循环重试。用浏览器控制工具打开原链接,在可播放页面读取 DOM 中 `video.currentSrc`,同时记录标题、原始页面地址和视频 ID。只读取浏览器当前实际加载的媒体地址,不复用旧的临时地址。 3. 使用下方脚本下载读取到的 HTTP(S) 媒体地址。默认 Referer 是原视频页面。`blob:` 地址不能传给 curl,改用浏览器支持的媒体下载接口;若仍无法获取则报告具体阻碍。 4. 若浏览器要求登录,保留页面请用户完成登录;不绕过验证码、安全提示、付费或访问权限。 ```bash python3 <skill-dir>/scripts/download_media.py --media-url '浏览器读取的媒体地址' --source-url '原始视频页面' --title '视频标题' --video-id '平台视频ID' ``` 依赖:Python 3.10+、curl、FFmpeg(含 ffprobe);缺少时报告具体依赖,不自动安装。将 `<skill-dir>` 替换为当前 Skill 的真实路径。可用 `--output-dir` 指定其他目录,或用 `CS_VIDEO_DOWNLOAD_DIR` 设置默认归档位置。 脚本创建统一目录、下载到临时文件、检查音视频流、完整解码,通过后才生成最终文件和 `.source.json` 来源记录。下载失败不留下伪装成完成的 MP4。来源记录不保存临时签名 URL、Cookie 或凭据。 浏览器交互遵守当前工具文档,脚本仅负责下载已经获取的媒体地址。不要用脚本提取浏览器私有存储。 ## 交付 返回可点击的绝对路径、时长、分辨率、文件大小和验证结果。下载与转写分开:此 skill 的完成条件是媒体归档成功,后续内容任务按用户请求和适用限制处理。
Read the whole file at its exact version.
How to install
mdr add chenshuo2004/cs-skills/cs-video-download@sha256:24c2be13e47b916eThe line at the top of this page pins the label git:20261006.b67acf6, 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_3i2rooi3k5azzpfn)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 6, 2026.
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 (2476 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
chenshuo2004/cs-skills · 204 stars · license MIT · pushed 2026-10-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_3i2rooi3k5azzpfn GET https://markdownregistry.com/api/v1/resolve?ref=chenshuo2004/cs-skills/cs-video-download GET https://markdownregistry.com/api/v1/blob/24c2be13e47b916e5437bc385a9fd987bbaedf119ce307a6376dd4e8403b7a3b
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.