get-youtube-transcript

get-youtube-transcript is a skill for Claude Code from Abilityai/cornelius. It costs 53 tokens per session (630 once invoked), scanned A, original, MIT.

A tool that turns a YouTube video's captions into readable text from its URL or video ID. It can return plain text or text with timestamps, and can try another available language.

In plain words
What is it for?
Use it to read, search, quote, or process the transcript of a YouTube video, including transcripts with timestamps.
Why use it?
It saves you from watching or manually transcribing a video when you need its spoken content in text form.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to read, search, quote, or process the transcript of a YouTube video, including transcripts with timestamps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abilityai/cornelius/get-youtube-transcript
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Abilityai/cornelius --skill get-youtube-transcript
Clone the repo
git clone --depth 1 https://github.com/Abilityai/cornelius

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for get-youtube-transcript

README.md
[![agentmods](https://agentmods.dev/badge/skills/abilityai/cornelius/get-youtube-transcript/github.svg)](https://agentmods.dev/skills/abilityai/cornelius/get-youtube-transcript)
Your own site
<a href="https://agentmods.dev/skills/abilityai/cornelius/get-youtube-transcript"><img src="https://agentmods.dev/badge/skills/abilityai/cornelius/get-youtube-transcript/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for get-youtube-transcript

Your own site · 80×15
<a href="https://agentmods.dev/skills/abilityai/cornelius/get-youtube-transcript"><img src="https://agentmods.dev/badge/skills/abilityai/cornelius/get-youtube-transcript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 630 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.00630
Opus 5.5 $0.00021 $0.00252
Sonnet 5.5 $0.00011 $0.00126
Haiku 4.5 $0.00005 $0.00063

Measured 5d ago against content hash 389a63c96148, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

get-youtube-transcript scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/get_youtube_transcript.py, scripts/yt-transcript.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/get-youtube-transcript/SKILL.md · 65 lines

What it actually says

Get YouTube Transcript

Extract a full transcript from any YouTube video using the local youtube-transcript-api (no rate limits, no API key required).

State Dependencies

Source Location Read Write
Script .claude/skills/get-youtube-transcript/scripts/yt-transcript.sh ✓ -
Python deps a venv at scripts/yt_transcript_venv/ if present, otherwise uv run --with youtube-transcript-api ✓ -
YouTube External (via youtube-transcript-api) ✓ -

Process

Step 1: Extract the transcript

Run the wrapper script with the URL or video ID the user provided:

"$(git rev-parse --show-toplevel)/.claude/skills/get-youtube-transcript/scripts/yt-transcript.sh" "<url-or-id>"

Options:

  • -l <lang> — language code (default: en). If user specifies a language, pass it.
  • -f text — plain text output (default, best for reading)
  • -f json — structured output with timestamps (use when user needs timestamps)

Step 2: Handle errors

If the script fails:

  1. Language not found — retry without -l flag (auto-selects any available language)
  2. Video unavailable — inform user the video may be private, deleted, or region-restricted
  3. No transcript available — inform user the video has no captions

Step 3: Present the transcript

Return the full transcript text to the user. If it's long (>500 lines), summarize what the video covers first, then provide the full text.

Example

User: "get me the transcript of https://youtu.be/abc123"

"$(git rev-parse --show-toplevel)/.claude/skills/get-youtube-transcript/scripts/yt-transcript.sh" "https://youtu.be/abc123"

Notes

  • Uses youtube-transcript-api Python package — works locally with no quota
  • Falls back to any available language if English isn't found
  • The MCP youtube-transcript tool hits rate limits; always prefer this script
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · +4 lines 389a63c96148
  2. 1mo ago Changed · +1 lines 16b0e014475e
  3. 3mo ago First seen · 60 lines · 53 tokens per session scan A 08b592b4b049

Subscribe to this mod's changes

get-youtube-transcript is a skill published in the GitHub repository Abilityai/cornelius (123 stars, last pushed 2d ago), licensed MIT. It adds 53 tokens to every session and 630 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

get-youtube-transcript compared with skills from other repositories

get-youtube-transcript next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
get-youtube-transcriptAbilityai/corneliusSkill1232d agoMITA53Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code