← ClaudeAtlas

video-fetch-and-summarizelisted

Downloads videos from URLs and generates a Markdown summary for each one using the Gemini API. Supports custom prompts to extract specific information instead of the default summary. Each video is saved in its own subfolder containing the MP4 file and a summary.md. Use this skill when the user provides video URLs directly, or a file (Markdown, TXT, or any text file) containing video URLs, and wants both the video downloaded and summarized. Triggers on requests like "download and summarize these videos", "fetch these links and summarize", "process this list of video links", "extract X from these videos", or when given a file with URLs and asked for summaries. Supports Instagram, YouTube, TikTok, Twitter/X, Facebook, and 1000+ other platforms. Requires GEMINI_API_KEY environment variable.
maystudios/claude-skills · ★ 21 · AI & Automation · score 79
Install: claude install-skill maystudios/claude-skills
# Video Fetch & Summarize Downloads videos from URLs and generates a Markdown summary per video via Gemini. Fully self-contained — no other skills required. ## Output Structure ``` <output_dir>/ <Video_Title>/ <uploader>_<id>.mp4 summary.md ``` ## Prerequisites - `GEMINI_API_KEY` env var set - `yt-dlp` and `google-genai` — **auto-installed** on first run if missing - Python available as `py` (Windows) or `python3` ## Script `scripts/fetch_and_summarize.py` ## Usage ```bash # Direct URLs — default summary py scripts/fetch_and_summarize.py "https://..." "https://..." -o ./output # File containing URLs (TXT, Markdown, or any text file) py scripts/fetch_and_summarize.py links.txt -o ./output # Custom prompt (inline) — replaces default summary format py scripts/fetch_and_summarize.py "https://..." --prompt "Extract all mentioned tools and prices" # Custom prompt (from file) — replaces default summary format py scripts/fetch_and_summarize.py links.txt --prompt-file my-prompt.txt # With browser cookies (for private/login-required content) py scripts/fetch_and_summarize.py links.txt --cookies-from-browser chrome ``` ## How Claude should handle user arguments When the user invokes this skill: 1. If the user specifies a **custom prompt or extraction goal** (e.g., "extract all tools mentioned", "summarize focusing on pricing", "list action items"), pass it via `--prompt "..."`. 2. If the user provides a **prompt file path**, pass it via `--prompt-file pa