Video Fetch And Summarize logo

Video Fetch And Summarize

Community
maystudios
video-fetch-and-summarize

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.

Overview

Publishermaystudios
Repositoryclaude-skills
Skill namevideo-fetch-and-summarize
Stars
26
Forks
2
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by maystudios on GitHub. Read the source before you install it.

Installation

Install the Video Fetch And Summarize AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/maystudios/claude-skills/tree/main/video-fetch-and-summarize
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/maystudios/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/video-fetch-and-summarize .claude/skills/video-fetch-and-summarize
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Video Fetch And Summarize in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Video Fetch And Summarize on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Video Fetch And Summarize is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 path/to/file.txt.
  3. If the user gives no specific instructions, run without --prompt to use the default format.
  4. A custom prompt completely replaces the default — it does not add to it.

Workflow

  1. Extract all URLs from provided arguments and/or files (regex-based, works with any text format)
  2. For each URL: a. Fetch video metadata via yt-dlp --dump-json to get the title for the folder name b. Download the video as best-quality MP4 into <output>/<Title>/ c. Upload MP4 to the Gemini Files API, wait for ACTIVE state d. Generate Markdown summary (using custom or default prompt), delete file from Gemini storage e. Save summary as <output>/<Title>/summary.md
  3. Skip videos where both MP4 and summary.md already exist (idempotent re-runs)

Download Details (yt-dlp)

  • Format: bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best — best quality, always MP4
  • Filename pattern: {uploader}_{video_id}.mp4 — e.g. DesignMotion_DUf3nehjIg7.mp4
  • --no-playlist is set by default (single videos only)
  • Supported platforms: YouTube, Instagram (posts/reels), TikTok, Twitter/X, Facebook, Vimeo, Reddit, and 1000+ more

Authentication for private/login-required content

bash
py scripts/fetch_and_summarize.py links.txt --cookies-from-browser chrome
# also works with: firefox, edge, safari

The user must be logged in to the platform in the specified browser.

Summarization Details (Gemini)

  • Model: gemini-3-flash-preview
  • Upload via Gemini Files API (supports large video files)
  • Uploaded files are auto-deleted from Gemini storage after generation (48h max limit anyway)
  • Summary language matches the language spoken/shown in the video

Default output format (when no custom prompt is given)

markdown
# [Video Title]

## Summary
[2-3 sentence description of the video and its main topic]

## Key Points
- key point 1
- key point 2
- ...

## Core Content & Takeaways
[Central message and most important insight, 2-4 sentences]

---
*Auto-generated with Gemini API*

Notes

  • Output directory defaults to the current working directory
  • Folder names are sanitized from the video title (max 80 chars, special chars replaced)
  • Already-processed videos are skipped on re-runs
  • If the Gemini API returns 503 (overloaded), re-run the script — already-done videos are skipped automatically

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Video Fetch And Summarize AI skill do?

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 t...

Why use Video Fetch And Summarize on TypingMind?

Because you install it once and use it with any model. Video Fetch And Summarize is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Video Fetch And Summarize in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/maystudios/claude-skills/tree/main/video-fetch-and-summarize. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Video Fetch And Summarize?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Video Fetch And Summarize?

As many as you like. As long as a model supports skills, you can use Video Fetch And Summarize with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Video Fetch And Summarize AI skill free?

Yes. It is published on GitHub by maystudios under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇