Skip to content
Back to skills

Youtube Transcript

ASecurity

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.

  • 20 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 4, 2026
ai-agentspythonbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 4, 2026

npx -y skills add qa-aman/claude-skills --skill youtube-transcript --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Youtube Transcript?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Youtube Transcript
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qa-aman-youtube-transcript/badge)](https://www.skillsdirectory.com/skills/qa-aman-youtube-transcript)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: youtube-transcript
description: 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.
---

# 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:

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

For timestamped output:

```bash
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

Files in this skill

  • SKILL.md2.1 KB
  • scripts/get_transcript.py2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…