agentleFS
maystudiosmaystudios/claude-skills/link-download/SKILL.md

link-download

Skill21 starsChanged 7 months agoMITView on GitHub

Download videos as MP4 or extract audio as MP3 from Instagram, YouTube, TikTok, Twitter/X, Facebook, and 1000+ other platforms using yt-dlp. Use this skill when the user wants to download, save, or grab a video or audio/song/music from any URL. Supports MP4 (default) and MP3 (with --mp3 flag). Handles authentication via browser cookies when needed.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If user asks for audio/MP3/song/music: use --mp3

    line 23
  2. Distinctive:

    No folder specified: use the current working directory

    line 25
  3. Distinctive:

    Run the download script

    line 27
  4. Distinctive:

    If a video requires login (private Instagram posts, age-restricted YouTube, etc.):

    line 53
  5. Very specific:

    Add --cookies-from-browser chrome (or firefox, edge, safari)

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Video & Audio Download Skill

Download videos as MP4 or extract audio as MP3 from Instagram, YouTube, TikTok, Twitter/X, and 1000+ sites.

Tool

Script: scripts/download.py -- wraps yt-dlp, handles install check, MP4 merging, MP3 extraction, folder creation.

Workflow

  1. Collect all URLs from the user's request (can be a single URL or a list)
  2. Determine the format:
    • Default: MP4 video
    • If user asks for audio/MP3/song/music: use --mp3
  3. Determine the output directory:
    • No folder specified: use the current working directory
    • Folder specified: use it as-is (will be created if missing)
  4. Run the download script
  5. Report which files were saved and where

Usage

# Single video as MP4, current directory
python scripts/download.py "https://www.youtube.com/watch?v=..."

# Extract audio as MP3
python scripts/download.py "https://www.youtube.com/watch?v=..." --mp3

# Multiple URLs as MP3 to a specific folder
python scripts/download.py "URL1" "URL2" --mp3 -o "/path/to/output"

# With browser cookies (for private/login-required content)
python scripts/download.py "URL" --cookies-from-browser chrome

Output Filename Pattern

  • MP4: {uploader}_{video_id}.mp4 -- e.g. DesignMotion_DUf3nehjIg7.mp4
  • MP3: {uploader}_{video_id}.mp3 -- e.g. DesignMotion_DUf3nehjIg7.mp3

Authentication

If a video requires login (private Instagram posts, age-restricted YouTube, etc.):

  • Add --cookies-from-browser chrome (or firefox, edge, safari)
  • The user must be logged in to that platform in the specified browser

Supported Platforms (examples)

  • YouTube (including playlists -- use --no-playlist disabled for full playlists)
  • Instagram (posts, reels)
  • TikTok
  • Twitter / X
  • Facebook
  • Vimeo
  • Reddit
  • And 1000+ more via yt-dlp

Notes

  • yt-dlp is auto-installed if not present
  • --no-playlist is set by default; remove it from the script call for full playlists
  • MP4: best quality video + audio merged automatically
  • MP3: extracts audio and converts to MP3 (192 kbps) via ffmpeg; ffmpeg must be installed

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.