download-media

download-media is a skill for Claude Code from coroboros/agent-skills. It costs 48 tokens per session (2,204 once invoked), scanned A, original, MIT.

A skill for saving video or audio from URLs using yt-dlp, a command-line downloader that supports many websites. It can handle full media, playlists, subtitles, audio extraction, and selected time ranges.

In plain words
What is it for?
Use it for authorized downloads from supported sites, MP3 extraction, playlists, subtitles, resolution limits, and short clips.
Why use it?
It removes the need to manually convert or download supported media when you have permission to save it.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the media-skills plugin — 5 skills shipped together

Good fit Use it for authorized downloads from supported sites, MP3 extraction, playlists, subtitles, resolution limits, and short clips.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/coroboros/agent-skills/download-media
Install

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.

Any agent
npx skills add coroboros/agent-skills --skill download-media
Clone the repo
git clone --depth 1 https://github.com/coroboros/agent-skills

Made for: Claude Code.

Or install media-skills, the plugin that ships this one along with the rest of its 5 skills.

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 download-media

README.md
[![agentmods](https://agentmods.dev/badge/skills/coroboros/agent-skills/download-media/github.svg)](https://agentmods.dev/skills/coroboros/agent-skills/download-media)
Your own site
<a href="https://agentmods.dev/skills/coroboros/agent-skills/download-media"><img src="https://agentmods.dev/badge/skills/coroboros/agent-skills/download-media/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 download-media

Your own site · 80×15
<a href="https://agentmods.dev/skills/coroboros/agent-skills/download-media"><img src="https://agentmods.dev/badge/skills/coroboros/agent-skills/download-media.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,204 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00048 $0.02204
Opus 5 $0.00024 $0.01102
Sonnet 5 $0.00010 $0.00441
Haiku 4.5 $0.00005 $0.00220

Measured 3d ago against content hash 7e28a519dbc6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

download-media 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/download-media.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.

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.

skills/download-media/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Download Media

Download video or audio from any yt-dlp-supported site using the yt-dlp CLI. The skill validates the input, composes the right flags for the intent, downloads under ~/.agents/output/<project>/download-media/<slug>/ (or a -d destination), and reports the final file paths — fully expanded, no tilde, no magic.

The deterministic work — install checks, slug derivation, destination, flag composition, final-path capture — happens in scripts/download-media.sh. The skill parses $ARGUMENTS, hands them to the script, and turns the script's RESULT: lines into a human report.

Scope

Personal and authorized use: public content, the user's own uploads, Creative Commons and licensed material. yt-dlp cannot bypass DRM and this skill never attempts to; decline requests to rip paid streaming catalogs (Netflix, Disney+, Spotify…) or to evade a site's paywall. Downloading may still be restricted by a site's terms of service and local copyright law — when a request is plainly about piracy, say so and stop.

Install

brew install yt-dlp        # macOS
pipx install yt-dlp        # any platform
brew install ffmpeg        # strongly recommended — merging, mp3 extraction, clipping

Binaries for other setups: yt-dlp releases. For full YouTube support yt-dlp also wants a JavaScript runtime (deno recommended) — see the EJS wiki. Extractors break when sites change; a failing download is often fixed by updating: brew upgrade yt-dlp or pipx upgrade yt-dlp.

Parameters

Flag Default Effect
-a off Audio only, mp3 (yt-dlp preset -t mp3; needs ffmpeg; rejects the video flags -r/-b)
-b off Best native quality — skip the mp4 compatibility preset
-p off Full playlist into a <playlist title>/ subfolder, files named NNN - title [id].ext (default: single video)
-i off Inspect only — list available formats, no download; wins over the download flags
-c A-B Clip a time range, e.g. -c 10:15-12:30 (needs ffmpeg)
-u <langs> Subtitles as sidecar files, e.g. -u "en.*,fr" (includes auto-generated)
-r <height> Cap resolution, e.g. -r 1080
-d <dir> convention path Destination directory

Read the full file on GitHub · 120 lines

Files

What ships with it

1 file 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. 3d ago Changed · -62 tokens per session 7e28a519dbc6
  2. 11d ago First seen · 120 lines · 110 tokens per session scan A 0807c383953d

Subscribe to this mod's changes

download-media is a skill published in the GitHub repository coroboros/agent-skills (4 stars, last pushed 2d ago), licensed MIT. It adds 48 tokens to every session and 2,204 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

hive.image-generation

Required before calling imagegenerate. Create and edit images from a prompt — generate an image, make a picture / logo / illustration / icon / banner / poster / thumbnail / hero image / mockup / product shot / social graphic, or edit / restyle / combine existing images from reference images. Uses OpenAI gpt-image-2…

aden-hive/hive · 149 tokens

shogun-screenshot

A screenshot tool for getting images from a computer or web page and then cropping, resizing, or masking sensitive information. Playwright is a browser-automation tool used here to capture web pages.

yohey-w/multi-agent-shogun · 149 tokens

art-director

AI art direction system. Claude directs image generation models (Gemini, DALL-E, Flux) via structured prompts. Generate banners, diagrams, logos, screenshots, and social media visuals without leaving the terminal.

vibeeval/vibecosystem · 46 tokens

agent-tamagotchi

Terminal pet that lives in your statusline. 12 species, 5 stats (DEBUGGING, PATIENCE, CHAOS, WISDOM, SPEED). Reacts to your workflow - happy when tests pass, sad when builds fail, excited during swarm mode. Deterministic species from user ID.

vibeeval/vibecosystem · 68 tokens

product-showcase

Generate a comprehensive marketing website for a web app — multi-page with real screenshots, animated GIF walkthroughs, feature deep-dives, and workflow demonstrations. Browses the running app, captures screens and sequences, and produces a deployable site that actually teaches people what the product does. Especially…

jezweb/claude-skills · 117 tokens

audio-production

Professional audio production for music, podcasts, and sound design. Use when working with audio recording, mixing, mastering, or sound design for any medium.

travisjneuman/.claude · 33 tokens