agentleFS
qa-amanqa-aman/claude-skills/skills/shared/youtube-transcript/SKILL.md

youtube-transcript

Skill24 starsChanged 8 months agoMITView on GitHub

Fetch transcripts from YouTube videos. Use when user says "get transcript", "fetch transcript", "YouTube transcript", "pull captions", "what does this video say", or pastes a YouTube URL and wants the text content extracted. Also use when user wants to research or summarize a YouTube video.

59 other projects use a version of this, 3 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use research-prompt, ship-learn-next and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • matyasstochSkill

    research-prompt

    Write a single-paragraph Deep Research prompt to hand to a human researcher (or a deep-research AI). Use when the user wants a research brief, a "deep research prompt", a one-paragraph task for a researcher, or asks "what should our researcher look for". Produces ONE tight paragraph with full context, numbered sub-questions, and per-finding output format.

    Also in 3 projects that use this

  • michalparkolaSkill

    ship-learn-next

    Transform learning content (like YouTube transcripts, articles, tutorials) into actionable implementation plans using the Ship-Learn-Next framework. Use when user wants to turn advice, lessons, or educational content into concrete action steps, reps, or a learning quest.

    Also in 4 projects that use this

  • huskerjeffSkill

    youtube-search

    Search YouTube and extract video metadata and captions using yt-dlp. Use when the user wants to search YouTube, find video transcripts, research topics via YouTube, or feed video content into other tools like NotebookLM.

    Also in 4 projects that use this

  • michalparkolaSkill

    article-extractor

    Extract clean article content from URLs (blog posts, articles, tutorials) and save as readable text. Use when user wants to download, extract, or save an article/blog post from a URL without ads, navigation, or clutter.

    Also in 3 projects that use this

  • MicrosoftSkill

    web-search

    Also in 3 projects that use this

  • ArogyaReddySkill

    changelog-generator

    Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 50 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the script with the video URL or ID:

    line 21
  2. Distinctive:

    Never modify the returned transcript text.

    line 42
  3. Distinctive:

    When timestamps are not used, arrange the raw text into coherent paragraphs by topic for readability.

    line 43
  4. Very specific:

    When timestamps are used, keep the [MM:SS] or [HH:MM:SS] format as-is.

    line 44
  5. Distinctive:

    If the user asks to save the transcript:

    line 48
  6. Distinctive:

    When given multiple URLs, run the script for each video sequentially.

    line 54

“Common” is measured: kept by at least 6 in 10 of the 50 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

YouTube Transcript Extractor

Fetch and return transcripts from YouTube videos using the bundled Python script.

When to Activate

  • User pastes a YouTube URL and wants the transcript
  • User asks to "get the transcript" or "fetch captions" for a video
  • User wants to research, summarize, or extract learnings from a YouTube video
  • User provides multiple YouTube URLs for batch transcript extraction

How It Works

Step 1: Extract the transcript

Run the script with the video URL or ID:

uv run .claude/skills/youtube-transcript/scripts/get_transcript.py "VIDEO_URL_OR_ID"

For timestamped output:

uv run .claude/skills/youtube-transcript/scripts/get_transcript.py "VIDEO_URL_OR_ID" --timestamps

Step 2: Handle the output

Supported URL formats:

  • https://www.youtube.com/watch?v=VIDEO_ID
  • https://youtu.be/VIDEO_ID
  • https://www.youtube.com/embed/VIDEO_ID
  • Raw 11-character video ID

Output rules:

  • Never modify the returned transcript text. Present it exactly as returned.
  • When timestamps are not used, arrange the raw text into coherent paragraphs by topic for readability.
  • When timestamps are used, keep the [MM:SS] or [HH:MM:SS] format as-is.

Step 3: Save if requested

If the user asks to save the transcript:

  • Default filename: {video_id}-transcript.txt
  • Save to the location the user specifies, or to the current working directory

Multiple Videos

When given multiple URLs, run the script for each video sequentially. Present each transcript with a clear heading identifying the video.

Limitations

  • Requires the video to have captions enabled (manual or auto-generated)
  • Will not work on videos with captions disabled
  • Auto-generated captions may contain transcription errors - flag this to the user
  • Requires Python 3.10+ and uv installed locally

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.