Skip to content
Back to skills

Youtube Transcript

ASecurity

Fetch a YouTube video's auto-generated English subtitles with yt-dlp, strip the SRT timing markers to clean transcript text, and save it to the session workspace. Use when the user asks to get a transcript, subtitles, captions, or summary from a YouTube video URL.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentsbash

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add Erriccc/osborn --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/erriccc-youtube-transcript/badge)](https://www.skillsdirectory.com/skills/erriccc-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 a YouTube video's auto-generated English subtitles with yt-dlp, strip the SRT timing markers to clean transcript text, and save it to the session workspace. Use when the user asks to get a transcript, subtitles, captions, or summary from a YouTube video URL.
---

# Skill: YouTube Transcript

Fetch and save transcripts from YouTube videos.

## When to use
When the user asks to get a transcript, subtitles, captions, or summary from a YouTube video URL.

## How to execute

yt-dlp is installed on this system. Use this exact command:

```bash
yt-dlp --skip-download --write-auto-sub --sub-lang en --convert-subs srt -o "/tmp/yt-%(id)s" "<VIDEO_URL>"
```

This downloads auto-generated English subtitles as an SRT file to /tmp/yt-{video-id}.en.srt

Then read the SRT file and strip the timing markers to get clean transcript text.

## Output
Save the cleaned transcript to the session workspace as `library/youtube-{video-id}-transcript.md` with:
- Video title and URL at the top
- Cleaned transcript text (strip SRT timing markers and duplicate lines)
- Key timestamps preserved as section markers if meaningful breaks exist

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.