AgenticX: Skill for Cursor

.cursor/skills/yt-dlp-downloader/SKILL.md

yt-dlp-downloader is a skill for Cursor from DemonDamon/AgenticX. It costs 57 tokens per session (9,799 once invoked), scanned B, original, Apache-2.0.

A guide for downloading video and audio from YouTube and many other video websites with yt-dlp, a command-line download tool. It also covers checking or installing the required tools and using proxies or cookies when needed.

In plain words
What is it for?
Use it when given a video URL or asked to download video or audio from services such as YouTube, Bilibili, or Vimeo.
Why use it?
It removes the need to work out the downloader setup and command options manually for supported video sites.

Skill for Cursor

Written for Cursor: installed under .cursor/. Also seen: positional $N argument.

This is DemonDamon/AgenticX's own configuration. It tells Cursor how to work on AgenticX itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AgenticX configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/DemonDamon/AgenticX/main/.cursor/skills/yt-dlp-downloader/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/DemonDamon/AgenticX

Made for: Cursor.

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 yt-dlp-downloader

README.md
[![agentmods](https://agentmods.dev/badge/skills/demondamon/agenticx/yt-dlp-downloader/github.svg)](https://agentmods.dev/skills/demondamon/agenticx/yt-dlp-downloader)
Your own site
<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.

agentmods 80×15 button for yt-dlp-downloader

Your own site · 80×15
<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>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,799 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00057 $0.09799
Opus 5.5 $0.00023 $0.03920
Sonnet 5.5 $0.00011 $0.01960
Haiku 4.5 $0.00006 $0.00980

Measured 4d ago against content hash 5a87b1b351ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 3 executable files (check_proxy.py, install_yt_dlp.py, install_yt_dlp.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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()
.cursor/skills/yt-dlp-downloader/SKILL.md · 1,219 lines

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:

  1. 检测环境

    • 检测操作系统(macOS/Linux/Windows)
    • 检测 Python 和 pip 是否可用
    • 检测包管理器(brew/apt-get 等)
  2. 检查 yt-dlp 是否已安装

    yt-dlp --version
    

    如果已安装,会显示版本号;如果未安装,继续下一步。

  3. 如果未安装,根据环境自动安装

    # macOS/Linux: 优先使用 pip3
    pip3 install yt-dlp
    
    # 如果没有 pip3,使用 pip
    pip install yt-dlp
    
    # macOS 也可以使用 Homebrew
    brew install yt-dlp
    
  4. (可选)检查并安装 FFmpeg

    # 检查 FFmpeg
    ffmpeg -version
    
    # macOS
    brew install ffmpeg
    
    # Linux (Debian/Ubuntu)
    sudo apt-get install ffmpeg
    
  5. 检测代理配置(如果需要)

    # 安装脚本会自动检测代理
    python3 .cursor/skills/yt-dlp-downloader/install_yt_dlp.py
    
    # 或手动检测
    echo $HTTP_PROXY  # 检查环境变量
    networksetup -getwebproxy Wi-Fi  # macOS 系统代理
    
  6. 下载视频

    # 基本下载
    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

Read the full file on GitHub · 1,219 lines

Files

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.

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. 4d ago First seen · 1,219 lines · 57 tokens per session scan B 5a87b1b351ce

Subscribe to this mod's changes

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.

Related

yt-dlp-downloader compared with skills from other repositories

yt-dlp-downloader next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
yt-dlp-downloaderDemonDamon/AgenticXSkill988yesterdayApache-2.0B57Cursor
skill-creatorHKUDS/nanobotSkill50kyesterdayMITA13Claude Code, Codex
tmuxHKUDS/nanobotSkill50kyesterdayMITA20Claude Code, Codex
weatherHKUDS/nanobotSkill50kyesterdayMITA8Claude Code, Codex
githubHKUDS/nanobotSkill50kyesterdayMITA19Claude Code, Codex
nanobot-documentHKUDS/nanobotSkill50kyesterdayMITA19Claude Code, Codex
memoryHKUDS/nanobotSkill50kyesterdayMITA12Claude Code, Codex