Skip to main content
ClaudeWave
Skill867 repo starsupdated yesterday

download-anything

This Claude Code skill provides a collection of command-line scripts and reference guides for downloading various digital resources including videos, audio, images, torrents, and ebooks from numerous platforms. Use it when needing to batch download media from social networks, extract audio from videos, download Spotify playlists, mirror websites, or locate specific content across multiple online sources with automated tool selection and optimization.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/hAcKlyc/MyAgents /tmp/download-anything && cp -r /tmp/download-anything/bundled-skills/download-anything ~/.claude/skills/download-anything
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Download Anything

Find it. Download it. Any resource, any format.

## Toolkit

```bash
# Install all tools at once
bash scripts/install-toolkit.sh
```

| Tool | Install | Purpose |
|------|---------|---------|
| `yt-dlp` | `brew install yt-dlp` | Video/audio from 1800+ sites |
| `aria2c` | `brew install aria2` | Multi-thread downloads, torrents |
| `gallery-dl` | `pip3 install gallery-dl` | Batch image/media, 170+ sites |
| `spotdl` | `pip3 install spotdl` | Spotify playlists → local files |
| `wget` | `brew install wget` | Recursive downloads, site mirroring |
| `curl` | pre-installed | HTTP requests, API calls |
| `ffmpeg` | `brew install ffmpeg` | Media conversion |
| `jq` | `brew install jq` | JSON parsing for automation |

## Decision Tree

| Want to download... | Tool / Approach |
|---------------------|----------------|
| YouTube / social media video | `scripts/dl-video.sh URL` (auto-detects Bilibili cookies) |
| Audio from any video URL | `scripts/dl-audio.sh URL` |
| Spotify playlist/album/track | `spotdl URL` |
| Images from gallery/artist page | `scripts/dl-gallery.sh URL` |
| A direct file URL (fast) | `scripts/dl-file.sh URL` (aria2, 16 connections) |
| A torrent or magnet link | `scripts/dl-torrent.sh "magnet:..."` |
| Subtitles for a video | `scripts/dl-subtitle.sh QUERY` |
| An ebook or paper | → [references/ebooks.md](references/ebooks.md) |
| A movie or TV show | → [references/video.md](references/video.md) |
| Music / game soundtracks / OST | → [references/music.md](references/music.md) |
| Software or app | → [references/software.md](references/software.md) |
| Stock images/video/audio/fonts | → [references/media-assets.md](references/media-assets.md) |
| Chinese cloud drive resources | → [references/cloud-search.md](references/cloud-search.md) |
| Online courses | → [references/education.md](references/education.md) |
| Something else / not sure | → [references/search-techniques.md](references/search-techniques.md) |

## Scripts

All in `scripts/`. Each does one thing. Compose as needed.

| Script | What it does | Key args |
|--------|-------------|----------|
| `install-toolkit.sh` | Install all CLI tools | — |
| `dl-video.sh URL [QUALITY]` | Download video (auto cookies for Bilibili) | `best`/`1080`/`720`/`480` |
| `dl-audio.sh URL [FORMAT]` | Extract audio | `mp3`/`opus`/`flac`/`best` |
| `dl-file.sh URL [OUTPUT]` | Fast multi-thread download | 16 connections via aria2 |
| `dl-gallery.sh URL [DIR] [ARGS...]` | Batch download images | extra args passed to gallery-dl |
| `dl-torrent.sh MAGNET [DIR]` | Download torrent/magnet | via aria2 |
| `dl-subtitle.sh QUERY [LANG]` | Search & download subtitles | `en`/`zh`/`ja` etc. |

## Quick One-Liners

```bash
# Best quality video
yt-dlp -f "bv*+ba/b" "URL"

# 1080p video + subtitles
yt-dlp -f "bv[height<=1080]+ba/b" --write-subs --sub-langs "en,zh" "URL"

# Extract audio as MP3
yt-dlp -x --audio-format mp3 "URL"

# Download YouTube playlist
yt-dlp --yes-playlist "URL"

# Fast file download (16 connections)
aria2c -x16 -s16 -k1M "URL"

# Download magnet
aria2c --seed-time=0 "magnet:?xt=..."

# Batch images from gallery
gallery-dl "URL"

# Spotify album → local MP3s
spotdl "SPOTIFY_URL"

# All PDFs from a page
wget -r -l1 -A "*.pdf" "URL"

# Video metadata as JSON (automation)
yt-dlp -j "URL"

# Get direct URL without downloading
yt-dlp -g "URL"
```

## Agent Automation Patterns

**Video pipeline:** `yt-dlp -j URL` → parse JSON → select format → `yt-dlp -f FORMAT URL -o OUTPUT`

**Ebook search:** Search Anna's Archive / Z-Library / 鸠摩搜书 → get download page → extract link → `aria2c`

**Bulk media:** `gallery-dl --dump-json URL` → review items → `gallery-dl -d OUTPUT URL`

**Music:** `spotdl SPOTIFY_URL` (auto YouTube match + metadata) or `yt-dlp -x --audio-format mp3 YOUTUBE_URL`

## Domain Instability

Many resource sites rotate domains. When a URL fails:
1. Search: `[site name] mirror 2026` or `[站名] 最新地址`
2. Check Reddit/Twitter for community mirror lists
3. Anna's Archive = most resilient ebook meta-search
4. For Chinese cloud search: check 网盘之家导航 for latest links

## References

| File | Content |
|------|---------|
| [ebooks.md](references/ebooks.md) | Ebook sites, academic papers, audiobooks, manga, Chinese books |
| [video.md](references/video.md) | Torrent sites, DDL, subtitles, anime, Chinese video |
| [music.md](references/music.md) | Free music, download tools, Chinese music, podcasts |
| [software.md](references/software.md) | Software archives, package managers, Chinese sites |
| [media-assets.md](references/media-assets.md) | Stock images, video, audio, fonts |
| [cloud-search.md](references/cloud-search.md) | Chinese cloud drive search (百度/阿里/夸克) |
| [education.md](references/education.md) | Free courses and MOOCs |
| [tools-reference.md](references/tools-reference.md) | Detailed CLI syntax and advanced flags |
| [search-techniques.md](references/search-techniques.md) | Google dorks, search strategies |
supportSkill

>-

agent-browserSkill

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

docxSkill

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

myagents-cliSkill

>-

pdfSkill

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

pptxSkill

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

skill-creatorSkill

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

task-alignmentSkill

Alignment conversation starting from a 想法/idea. Co-decides with the user whether the idea should be acted on directly in the current session, or fixed into a formal Task for independent dispatch (one-off or recurring). Handles lightweight 'do it now while we talk', heavyweight 'define precisely, run later or on a schedule', and 'just help me think about this' — all on the same skill. Use when the user arrives via the 想法 panel's 'AI 讨论' button (parameter dictionary in the first message), or says 'let's think this through', 'help me plan this', 'I want to explore X', 'I have an idea', '/task-alignment'. Also use proactively when a user jumps into a complex task without defining scope or success criteria — pause, align, and help them pick the right vessel (this session vs. a task).