OmniGet Fetch
Download videos, audio, and media from social platforms and direct links to disk.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/omniget-fetch-tonhowtf/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
This skill should be used when the user pastes a video, audio or social-post URL (YouTube, TikTok, Instagram, X/Twitter, Reddit, Vimeo, Twitch, Bilibili, Threads, Pinterest, direct .mp4/.m3u8 links) and asks to "download this", "get this video", "save the audio", "grab this reel", "fetch this clip", "pull the mp4", or otherwise wants the media file on disk. Also covers "what tools do I have for downloading" and "why did the download fail".
What this skill does
Fetching media with OmniGet's tooling
Download media through the plugin's scripts instead of hand-writing yt-dlp
invocations. The scripts reuse whatever the user already has, in this order:
omniget-cli on PATH, the binaries OmniGet manages inside its app-data folder,
then system yt-dlp/ffmpeg. Every script prints one JSON line on success.
Scripts live in ${CLAUDE_PLUGIN_ROOT}/scripts/.
Workflow
- Run the download. Quote the URL.
Output:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/fetch.sh" "<url>" [--audio] [--quality 720] [--out DIR]{"file","title","duration","size","platform","engine","id"}.- Default output directory is
~/Downloads/omniget(override withOMNIGET_DIRor--out). --audiokeeps only the audio track as.m4a.--quality Ncaps the video height.- Instagram, Threads, X and Bilibili links go through
omniget-cliwhen it is installed, which brings OmniGet's native extractors and cookie accounts.
- Default output directory is
- Report the file path, size and duration in one or two sentences. Do not paste the JSON.
- If the user only wants to know what the media says, use the
omniget-transcribeskill instead of downloading video.
First run / missing tools
If fetch.sh reports yt-dlp not found (or a fresh machine has nothing set up),
do not hand the user raw install commands. Offer one step:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/setup.sh"
It detects the OS, lists what is missing, and installs it after a single confirmation
(Mac via brew, Windows via winget/scoop; Linux runs the distro manager when it can, else
prints the commands). Pass --yes to skip the prompt. If OmniGet (the desktop app) is
installed, yt-dlp and ffmpeg are already managed and nothing needs installing.
When something fails
Run the doctor first, then act on what it reports:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/doctor.sh" --check-keys
| Symptom in stderr | Meaning | Action |
|---|---|---|
yt-dlp not found | no engine available | show the doctor's install lines and ask before installing anything |
Sign in to confirm, login required, Private video, HTTP 401/403 | platform wants a session | use OmniGet's cookies (automatic when the app has an account for that site) or set OMNIGET_COOKIES_FROM_BROWSER=chrome and retry |
HTTP 429, rate-limit | too many requests | wait 30 s and retry once; then stop and tell the user |
empty media response, HTTP 400 (Instagram/X) | rate-limited or login-gated | wait a few minutes and retry; if private, provide cookies (see below). omniget-cli (installed by setup) handles these sites better than raw yt-dlp |
DRM, SAMPLE-AES, Widevine | protected stream | stop; explain that OmniGet does not bypass DRM |
Unsupported URL | no extractor | say so; suggest the page's direct media link if the user has one |
Requested format is not available | quality cap too strict | retry without --quality |
On failure the scripts print a plain-language -> hint line classifying the cause (rate-limit / login / DRM). If a site that used to work now fails for everyone, the fix is usually stale tools: bash "${CLAUDE_PLUGIN_ROOT}/scripts/setup.sh" --update.
Automatic login retry. When a fetch is blocked by a login wall or rate-limit, the scripts retry once on their own using the browser you're logged into (auto-detected: Chrome/Brave/Edge/Firefox/Safari). No flag needed. Two things to know: on macOS the first browser-cookie read raises a one-time Keychain prompt (allow it, or choose Always Allow); and if your browser has several profiles and the default one isn't logged in, pin the right one — OMNIGET_COOKIES_FROM_BROWSER=chrome:"Profile 3". If it's still blocked after the retry, it's a hard rate-limit — wait a few minutes.
Rules
- Downloads happen only when the user asked for the media. A bare URL with a question about its content is a transcription request, not a download request.
- Never run an install command (brew, winget, apt, pip, uv) without the user's explicit yes; the doctor prints the commands, the user decides.
- Cookies files and API keys are never printed, copied or committed.
- Prefer
--audiofor podcasts, talks and anything the user will only listen to or transcribe.
Environment variables
OMNIGET_DIR (output), OMNIGET_DATA_DIR (OmniGet app data, auto-detected per OS),
OMNIGET_TOOL_YT_DLP / OMNIGET_TOOL_FFMPEG (explicit binaries),
OMNIGET_COOKIES_FROM_BROWSER (chrome, firefox, safari, edge).
Related skills
Skill Builder & Optimizer
anthropics
Create, edit, and optimize Claude skills with performance testing and benchmarking.
Org Change Management
alirezarezvani
Guide teams through organizational changes using the ADKAR model and communication strategies.
Audio/Video Transcription
daymade
Transcribe audio and video files to text with fast local or remote processing.
Claude Export Conversation Fixer
daymade
Repair broken line wrapping in Claude Code exported conversation files.