Index of every page on this site: llms.txt
All skills
redfox-data avatar

/youtube-video-downloader

@e5375fe
Run it yourself

YouTube video downloader — paste a YouTube video link (regular videos, Shorts, or youtu.be) and get watermark-free direct download URLs in multiple resolutions. Use when the user wants to download YouTube videos, save YouTube videos offline, or get direct YouTube video/audio links. Trigger words: YouTube video download, yt video downloader, save YouTube video, YouTube video parser, YouTube Shorts download.

  • 4 files
  • 21.7 KB
  • MIT
  • Updated 2 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/redfox-data/redfox-agent-plugins/youtube-video-downloader

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈109 tokens for metadata: the name and description. ≈1.3k when used: this file. ≈1.8k more on demand in 2 files.

Description uses 5.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈436 characters, or 5.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Note: {SKILL_DIR} in the commands below means the absolute path of the directory containing this SKILL.md — resolve it before execution.

Channel attribution: when running this skill's commands, prefix them with REDFOX_CHANNEL=<client> where <client> is the AI client you are currently running in: claude (Claude Code), codex (OpenAI Codex), cursor (Cursor), gemini (Gemini CLI). Example: REDFOX_CHANNEL=claude python3 .... If the client is unknown, omit the prefix — the script auto-detects the client from environment markers and falls back to github.

YouTube Video Downloader

Parse YouTube video links through the redfox.hk API and return watermark-free direct download URLs (resources may include both video and audio files in different formats).


Overview

  • Platform: YouTube
  • Content type: Video / audio (mp4 / webm / m4a etc.; resources may contain both video and audio files)
  • Input: Paste a YouTube video link (one link per call; batch input is not supported)
  • Output: Direct download URLs — copy into a browser or download manager to save
  • Link display rule: Always show the full original download and cover URLs — never truncate them with ... or any other form
  • Field display rules: The result must show all of the following fields:
    • Description (desc): full original text, line by line, never truncated
    • Resource list: for each resource object show its type (type), duration (durationSeconds), download URL (downloadUrl) and cover URL (coverUrl)
    • When the API returns no resources array, automatically fall back to the top-level fields of the same name for compatibility

Usage

Example Command

Download a YouTube video:

REDFOX_CHANNEL=claude python3 "{SKILL_DIR}/scripts/downloader.py" "https://www.youtube.com/watch?v=xxxxx"

First-Time Setup

Configure your API key, then run:

# Set the environment variable
export REDFOX_API_KEY=ark_your_key

# Parse the video and get the download links
REDFOX_CHANNEL=claude python3 "{SKILL_DIR}/scripts/downloader.py" "https://www.youtube.com/watch?v=xxxxx"

Sign up at redfox.hk to get your API key.

Configuration Options

Choose any one:

Method Command
Environment variable (recommended) export REDFOX_API_KEY=ark_your_key
CLI argument REDFOX_CHANNEL=claude python3 "{SKILL_DIR}/scripts/downloader.py" "<url>" --api-key ark_your_key
Config file echo '{"api_key":"ark_your_key"}' > ~/.redfox/apis/redfox.json

Features

Feature Description
Watermark-free direct links The API returns clean download URLs automatically — no manual processing
Multiple resources Returns several resources (video files, audio files, etc.); all download links are listed in order — pick the ones you need by type
Paste and parse Just paste the video link, nothing else required
Instant results Download URLs returned immediately after parsing

Common Use Cases

Scenario Example link Notes
Save a video from YouTube https://www.youtube.com/watch?v=xxxxx Get watermark-free video/audio download URLs
Offline Shorts collection https://www.youtube.com/shorts/xxxxx Parse, copy the link, download and keep
Content remixing Any YouTube video link Download footage for editing and creation
Personal backup Any YouTube video link Back up videos you like to local storage

Supported Link Formats

Platform Format Example
YouTube regular video https://www.youtube.com/watch?v=<videoId> Standard video link
YouTube Shorts https://www.youtube.com/shorts/<videoId> Shorts vertical video
YouTube short link https://youtu.be/<videoId> Share short link

FAQ

Q: How do I get my own API key? A: Sign up at redfox.hk to get your token.

Q: Do downloaded videos have watermarks? A: No. The API returns watermark-free direct video URLs.

Q: Will multiple resources be returned? A: Yes. The API usually returns several resources, possibly including video and audio files in different formats (mp4, webm, m4a, etc.). Every resource's download link is listed in full — choose what you need.

Q: Can I pass multiple links at once? A: No. One link per call — batch input will fail parsing.

Q: What if a link fails to parse? A: Make sure the link is complete, the video still exists, and it is not region-restricted. Deleted or restricted videos cannot be parsed.


Learn More

This tool is built on the parseWork/videoDownload/youtube endpoint of redfox.hk. Visit the website for more API capabilities and documentation.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at e5375fe. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 2 months ago

README badge

README badge for redfox-data/redfox-agent-plugins/youtube-video-downloader