Skip to content
Back to skills

Use Youtube

ASecurity

Get a YouTube video's transcript, description and chapters as text. Read before fetching anything from YouTube, because yt-dlp's subtitle download is refused with HTTP 429 and a page fetch returns only the title.

  • 24 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 23, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

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

Scanned November 23, 2026

npx -y skills add ooloth/dotfiles --skill use-youtube --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Use Youtube?

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

Security grade badge for Use Youtube
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ooloth-use-youtube/badge)](https://www.skillsdirectory.com/skills/ooloth-use-youtube)

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: use-youtube
description: Get a YouTube video's transcript, description and chapters as text. Read before fetching anything from YouTube, because yt-dlp's subtitle download is refused with HTTP 429 and a page fetch returns only the title.
---

## Transcript

`uv run ~/.claude/skills/use-youtube/scripts/transcript.py <url-or-video-id> > <file>` writes the
transcript as plain text, preferring English and falling back to any language. It exits non-zero
with a message on stderr when the video has none. Write it to a file in a folder from `mktemp -d`
and read the file, because a talk's transcript runs to tens of thousands of characters.

An auto-generated transcript mangles names: one talk's product came out as "Grokbot", "Graph Bot"
and "Gulp bot". Check every name against the description before you repeat it.

## Title, description and chapters

These work when subtitles are refused:

```
yt-dlp --skip-download --print "%(title)s | %(channel)s | %(duration_string)s | %(upload_date)s" <url>
yt-dlp --skip-download --print description <url>
```

The description often holds chapter timestamps and links to what the video cites.

## Don't

- Don't fetch the watch page with WebFetch. It returns the title and site navigation, not the
  description or the transcript.
- Don't download subtitles with `yt-dlp --write-auto-subs`. YouTube refuses it with HTTP 429, and
  retrying with other player clients did not help.

Files in this skill

  • SKILL.md1.4 KB
  • scripts/test_transcript.py2.8 KB
  • scripts/transcript.py2.3 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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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