YouTube Transcript Extractor

SkillMedia

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.

Then ask your AI: use the YouTube Transcript Extractor skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.

What this skill tells your AI

The instructions your AI receives, as published by qa-aman/claude-skills in skills/shared/youtube-transcript/SKILL.md and read by Ahel’s review.

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

Signals

GitHub stars
20
Forks
3
Last commit
Sep 2026

Ahel review

  • K6low
    bundled executables the agent is told to run

Automated review, not a security audit. Ruleset v1+k2.

Advanced
Item type
skill
Key
youtube-transcript-qa-aman
Source
github.com/qa-aman/claude-skills