Agent skill

Get Youtube Transcript

by Abilityai in Abilityai/cornelius

Extract the transcript from a YouTube video by URL or video ID.

MITAuto-check: notesKnowledge Management

Install Get Youtube Transcript

skills CLI
$ npx skills add Abilityai/cornelius --skill get-youtube-transcript -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Abilityai/cornelius get-youtube-transcript --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/get-youtube-transcript .claude/skills/get-youtube-transcript && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
get-youtube-transcript
GitHub stars
109
Token cost
~525 tokens
SKILL.md length
201 words
Files
1
Skills in repo
56
Repo updated
First seen
Licence
MIT

At a glance

Extract the transcript from a YouTube video by URL or video ID.

  • Works in 3 steps: Extract the transcript → Handle errors → Present the transcript
  • The user shares a YouTube link and wants the transcript
  • SKILL.md covers State Dependencies, Process, Example and Notes
  • Reaches youtu.be

What it does

Get Youtube Transcript is an agent skill from Abilityai/cornelius. Extract the transcript from a YouTube video by URL or video ID. Use when the user shares a YouTube link and wants the transcript, captions, or text content of the video. Falls back automatically if the requested language isn't available.

Its SKILL.md is about 530 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Knowledge Management, covering Video and podcast notes. It works with YouTube. The repository describes itself as: AI-powered second brain template for Claude Code + Obsidian. The licence is MIT.

When your agent uses it

  • The user shares a YouTube link and wants the transcript
  • Text content of the video

Example prompts

  • “/get-youtube-transcript”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Extract the transcript
  2. Handle errors
  3. Present the transcript

What it can do on your machine

Read from SKILL.md and the folder at commit fd5e9a4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • youtu.be

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Get Youtube Transcript loads about 525 tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 201 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~525

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Abilityai/cornelius at commit fd5e9a4, republished under its MIT licence (© Abilityai). 201 words, ~525 tokens.

Download SKILL.mdSave it as .claude/skills/get-youtube-transcript/SKILL.md (or your agent's skills folder).
name
get-youtube-transcript
description
Extract the transcript from a YouTube video by URL or video ID. Use when the user shares a YouTube link and wants the transcript, captions, or text content of the video. Falls back automatically if the requested language isn't available.
allowed-tools
Bash
user-invocable
true
argument-hint
<youtube-url-or-video-id>

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

SourceLocationReadWrite
Scriptscripts/utilities/yt-transcript.sh✓-
Venvscripts/utilities/yt_transcript_venv/✓-
YouTubeExternal (via youtube-transcript-api)✓-

Process

Step 1: Extract the transcript

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

bash
$PROJECT_ROOT/scripts/utilities/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"

bash
$PROJECT_ROOT/scripts/utilities/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

© Abilityai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/get-youtube-transcript of Abilityai/cornelius.

Open the folder on GitHubat commit fd5e9a4

Compare with similar skills

Get Youtube Transcript next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Get Youtube Transcript compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Get Youtube Transcript this skillAbilityai/cornelius109—~525Automated safety check: NotesMIT
Multi-Source to NotebookLM Processorjoeseesun/qiaomu-anything-to-notebooklm6.2k—~3.6kAutomated safety check: PassMIT
Youtube FetcherJimmySadek/youtube-fetcher-to-markdown485—~1.8kAutomated safety check: PassMIT
YouTube Transcript FetcherZeroPointRepo/youtube-skills1k1 repos~1.1kAutomated safety check: PassMIT
Subscription Videos MetadataEfficientStreet/youtube-subscriptions-ingest178—~7.1kAutomated safety check: NotesMIT
YouTube Video TranscriptZeroPointRepo/youtube-skills1k1 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Multi-Source to NotebookLM Processor

    joeseesun/qiaomu-anything-to-notebooklm

    Collects content from WeChat articles, web pages, YouTube, podcasts, documents and more, uploads it to NotebookLM and generates podcasts, slides or mind maps.

    6.2k GitHub stars~3.6k tokensUpdated 2 days ago
    Knowledge ManagementAuto-check passed
  • Youtube Fetcher

    JimmySadek/youtube-fetcher-to-markdown

    Retrieve YouTube transcripts and subtitles, summarize or analyze what was said, or save an Obsidian-ready Markdown knowledge-base note with captions, creator metadata, chapters, language, and source…

    485 GitHub stars~1.8k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check passed
  • YouTube Transcript Fetcher

    ZeroPointRepo/youtube-skills

    Fetches the transcript of a YouTube video through TranscriptAPI.com so the agent can summarize, quote, translate or fact-check what was said.

    1k GitHub starsUsed in 1 repo~1.1k tokens
    Knowledge ManagementAuto-check passed
  • Subscription Videos Metadata

    EfficientStreet/youtube-subscriptions-ingest

    Pull metadata from YouTube subscription videos into a second-brain vault as a real cross-linked knowledge graph — not just a flat archive.

    178 GitHub stars~7.1k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check: notes
  • YouTube Video Transcript

    ZeroPointRepo/youtube-skills

    Fetches YouTube transcripts through TranscriptAPI.com so an agent can summarize, quote or translate a video from a link or ID.

    1k GitHub starsUsed in 1 repo~1.1k tokens
    Knowledge ManagementAuto-check passed
  • Video Lens Gallery

    kar2phi/video-lens

    Open or rebuild the video-lens gallery index — your personal library of saved video summaries.

    112 GitHub stars~608 tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check: notes

More from Abilityai/cornelius

All 56 skills in this repo
  • Nano Banana Image Generator

    Abilityai/cornelius

    Generate images using Google's Nano Banana (Gemini 2.5 Flash Image).

    109 GitHub stars~1.2k tokensUpdated 15 days ago
    Auto-check: notes
  • Changelog Protocol

    Abilityai/cornelius

    Protocol for creating dated changelog files after significant agent sessions.

    109 GitHub stars~555 tokensUpdated 15 days ago
    Auto-check passed
  • Create Article

    Abilityai/cornelius

    Create long-form articles from knowledge base insights. An agent skill from Abilityai/cornelius.

    109 GitHub stars~2.1k tokensUpdated 15 days ago
    Auto-check: notes
  • Epistemic Classification

    Abilityai/cornelius

    Framework for distinguishing research findings from hypotheses and speculative synthesis.

    109 GitHub stars~1.5k tokensUpdated 15 days ago
    Auto-check passed
  • Insight Capture Format

    Abilityai/cornelius

    Standard format for capturing and documenting insights in the knowledge base.

    109 GitHub stars~616 tokensUpdated 15 days ago
    Auto-check passed
  • Multi Format Book Extractor

    Abilityai/cornelius

    Extract chapters from PDF, MOBI, and AZW3 book files into individual markdown files.

    109 GitHub stars~872 tokensUpdated 15 days ago
    Auto-check: notes

Works with

Questions about Get Youtube Transcript

What does Get Youtube Transcript do?

Extract the transcript from a YouTube video by URL or video ID. Get Youtube Transcript is an agent skill from Abilityai/cornelius. Extract the transcript from a YouTube video by URL or video ID.

When should I use Get Youtube Transcript?

Get Youtube Transcript fits situations like: the user shares a YouTube link and wants the transcript; text content of the video.

How do I install Get Youtube Transcript in Claude Code?

Run `npx skills add Abilityai/cornelius --skill get-youtube-transcript -a claude-code`. Or copy the skill folder (.claude/skills/get-youtube-transcript in Abilityai/cornelius) into .claude/skills/get-youtube-transcript in your project. Claude Code loads it when a task matches its description.

How do I install Get Youtube Transcript in Codex?

Run `npx skills add Abilityai/cornelius --skill get-youtube-transcript -a codex`. Or copy the skill folder (.claude/skills/get-youtube-transcript in Abilityai/cornelius) into .agents/skills/get-youtube-transcript in your project. Codex loads it when a task matches its description.

Can I use Get Youtube Transcript in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Abilityai/cornelius --skill get-youtube-transcript -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/get-youtube-transcript, .gemini/skills/get-youtube-transcript, .github/skills/get-youtube-transcript and .opencode/skills/get-youtube-transcript in your project.

What does Get Youtube Transcript need to run?

SKILL.md names no scripts, command-line tools or credentials: Get Youtube Transcript is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash.

Does Get Youtube Transcript access the network?

SKILL.md names 1 domain. In commands or code: youtu.be; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Get Youtube Transcript safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Get Youtube Transcript use?

Get Youtube Transcript is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Get Youtube Transcript use?

About 525 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Get Youtube Transcript?

Skills that share tags, products or a category with Get Youtube Transcript: Multi-Source to NotebookLM Processor (joeseesun/qiaomu-anything-to-notebooklm, 6.2k stars), Youtube Fetcher (JimmySadek/youtube-fetcher-to-markdown, 485 stars), YouTube Transcript Fetcher (ZeroPointRepo/youtube-skills, 1k stars) and Subscription Videos Metadata (EfficientStreet/youtube-subscriptions-ingest, 178 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Get Youtube Transcript?

Abilityai (a GitHub organization) maintains it in Abilityai/cornelius, which has 109 GitHub stars. The repository holds 56 skills in this directory. The repository was last updated on September 22, 2026.

Source: Abilityai/cornelius on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.