Skip to content
Agentmart
Submit a tool

youtube-transcript

Use when the user provides a YouTube URL and needs the spoken content (captions) as text for analysis, summarization, quoting, or search.

Skill by victorhg

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/victorhg-youtube-transcript

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when the user provides a YouTube URL and needs the spoken content (captions) as text for analysis, summarization, quoting, or search. Fetches the video title and full transcript as JSON.

Use cases: writing, research

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/youtube-transcript

What's inside

Skill name
youtube-transcript
Description
Use when the user provides a YouTube URL and needs the spoken content (captions) as text for analysis, summarization, quoting, or search. Fetches the video title and full transcript as JSON.
License
MIT
Instructions
39 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • fetch_transcript.py

SKILL.md (first lines)

# YouTube Transcript

Fetches a YouTube video's title and full transcript by pulling captions via `yt-dlp`. Prefers manual English subtitles, falls back to auto-generated English.

> **Skill directory:** `SKILL_DIR` below refers to the directory containing this `SKILL.md`. When you read this file, note the path shown by the `read` tool and substitute it for `SKILL_DIR` in the command below.

## Requirements

- `yt-dlp` on PATH (`brew install yt-dlp`)
- Python 3

## Usage

```bash
python3 SKILL_DIR/fetch_transcript.py "<youtube_url>"
```

## Output

Prints a JSON object to stdout:

```json
{
  "title": "Video title",
  "transcript": "full transcript text as a single string"
}
```

Progress/info logs go to stderr. On failure (no English captions, network error, bad URL), the script exits non-zero with a message on stderr.

## Notes

- Only English captions are attempted (`en`, `en-US`, `en-GB`, then any `en*`). Manual captions are preferred over auto-generated.
- Transcript is plain text with timing/formatting stripped — not timestamped.
- For non-English videos or videos with captions disabled, the script will fail; consider a vision-based video extraction tool with a Gemini prompt as a fallback.

> Adapted from `amosblomqvist/pi-config` (MIT).

From victorhg/pi-dev, MIT.

More from victorhg/pi-dev

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 25, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from victorhg

Cite this page

youtube-transcript skill. Agent Mart. https://agentmart.dev/skills/victorhg-youtube-transcript (last updated 2026-10-24)