Borrowing it
Nothing to install: this file belongs to DemonDamon/AgenticX. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/DemonDamon/AgenticX/main/.cursor/skills/yt-dlp-downloader/SKILL.mdgit clone --depth 1 https://github.com/DemonDamon/AgenticXWrote 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/demondamon/agenticx/yt-dlp-downloader)<a href="https://agentmods.dev/skills/demondamon/agenticx/yt-dlp-downloader"><img src="https://agentmods.dev/badge/skills/demondamon/agenticx/yt-dlp-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/demondamon/agenticx/yt-dlp-downloader"><img src="https://agentmods.dev/badge/skills/demondamon/agenticx/yt-dlp-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.00057 | $0.09799 |
| Opus 5.5 | $0.00023 | $0.03920 |
| Sonnet 5.5 | $0.00011 | $0.01960 |
| Haiku 4.5 | $0.00006 | $0.00980 |
Grade B, and why
yt-dlp-downloader scanned grade B with 3 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 4d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt-get install ffmpeg Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl --proxy http://127.0.0.1:33210 https://www.google.com Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
version = subprocess.check_output(["yt-dlp", "--version"], text=True).strip() How it starts
The opening of the file, as written. The whole thing — 1,219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
yt-dlp Video Downloader
Download videos and audio from YouTube, Bilibili, Vimeo, and 1000+ other websites using yt-dlp.
Quick Start
When the user provides a video URL, automatically:
-
检测环境
- 检测操作系统(macOS/Linux/Windows)
- 检测 Python 和 pip 是否可用
- 检测包管理器(brew/apt-get 等)
-
检查 yt-dlp 是否已安装
yt-dlp --version如果已安装,会显示版本号;如果未安装,继续下一步。
-
如果未安装,根据环境自动安装
# macOS/Linux: 优先使用 pip3 pip3 install yt-dlp # 如果没有 pip3,使用 pip pip install yt-dlp # macOS 也可以使用 Homebrew brew install yt-dlp -
(可选)检查并安装 FFmpeg
# 检查 FFmpeg ffmpeg -version # macOS brew install ffmpeg # Linux (Debian/Ubuntu) sudo apt-get install ffmpeg -
检测代理配置(如果需要)
# 安装脚本会自动检测代理 python3 .cursor/skills/yt-dlp-downloader/install_yt_dlp.py # 或手动检测 echo $HTTP_PROXY # 检查环境变量 networksetup -getwebproxy Wi-Fi # macOS 系统代理 -
下载视频
# 基本下载 yt-dlp <视频URL> # 如果需要代理 yt-dlp --proxy http://127.0.0.1:33210 <视频URL> # 如果需要 cookies yt-dlp --cookies cookies.txt <视频URL> # 代理 + cookies yt-dlp --proxy http://127.0.0.1:33210 --cookies cookies.txt <视频URL>
完整自动化流程示例:
# 1. 检测环境
import platform
import subprocess
import shutil
os_name = platform.system()
has_pip3 = shutil.which("pip3") is not None
has_pip = shutil.which("pip") is not None
# 2. 检查安装
try:
version = subprocess.check_output(["yt-dlp", "--version"], text=True).strip()
print(f"yt-dlp 已安装: {version}")
except FileNotFoundError:
# 3. 自动安装
pip_cmd = "pip3" if has_pip3 else "pip"
subprocess.run([pip_cmd, "install", "yt-dlp"], check=True)
print("yt-dlp 安装完成")
# 4. 下载视频
subprocess.run(["yt-dlp", video_url])
Installation
快速安装(推荐)
使用提供的安装脚本:
# Python 脚本(跨平台)
python3 .cursor/skills/yt-dlp-downloader/install_yt_dlp.py
# Shell 脚本(macOS/Linux)
bash .cursor/skills/yt-dlp-downloader/install_yt_dlp.sh
# 或
chmod +x .cursor/skills/yt-dlp-downloader/install_yt_dlp.sh
./.cursor/skills/yt-dlp-downloader/install_yt_dlp.sh
What ships with it
5 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.
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.
- 4d ago First seen · 1,219 lines · 57 tokens per session scan B 5a87b1b351ce
yt-dlp-downloader is a skill published in the GitHub repository DemonDamon/AgenticX (988 stars, last pushed yesterday), licensed Apache-2.0. It adds 57 tokens to every session and 9,799 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 3 findings (asks for root, makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-02.
yt-dlp-downloader compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| yt-dlp-downloaderDemonDamon/AgenticX | Skill | 988 | yesterday | Apache-2.0 | B | 57 | Cursor |
| skill-creatorHKUDS/nanobot | Skill | 50k | yesterday | MIT | A | 13 | Claude Code, Codex |
| tmuxHKUDS/nanobot | Skill | 50k | yesterday | MIT | A | 20 | Claude Code, Codex |
| weatherHKUDS/nanobot | Skill | 50k | yesterday | MIT | A | 8 | Claude Code, Codex |
| githubHKUDS/nanobot | Skill | 50k | yesterday | MIT | A | 19 | Claude Code, Codex |
| nanobot-documentHKUDS/nanobot | Skill | 50k | yesterday | MIT | A | 19 | Claude Code, Codex |
| memoryHKUDS/nanobot | Skill | 50k | yesterday | MIT | A | 12 | Claude Code, Codex |