Agent skill

Youtube Transcript

by glebis in glebis/claude-skills

Extract YouTube video transcripts with metadata and save as Markdown to Obsidian vault.

MITAuto-check passedKnowledge Management

Install Youtube Transcript

skills CLI
$ npx skills add glebis/claude-skills --skill youtube-transcript -a claude-code

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

GitHub CLI
$ gh skill install glebis/claude-skills 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/glebis/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/youtube-transcript .claude/skills/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
youtube-transcript
GitHub stars
388
Token cost
~613 tokens
SKILL.md length
225 words
Files
4 (incl. scripts)
Skills in repo
91
Repo updated
First seen
Licence
MIT

At a glance

Extract YouTube video transcripts with metadata and save as Markdown to Obsidian vault.

  • Works in 6 steps: Extract metadata and subtitles using… → Parse VTT subtitle format to extract… → Group transcript segments by video… → …
  • The user requests downloading YouTube transcripts
  • SKILL.md covers Overview, Quick Start, Output Format and Workflow, plus 3 more sections
  • Runs Python scripts from its folder; calls python and pip

What it does

Youtube Transcript is an agent skill from glebis/claude-skills. Extract YouTube video transcripts with metadata and save as Markdown to Obsidian vault. Use this skill when the user requests downloading YouTube transcripts, converting YouTube videos to text, or extracting video subtitles. Does not download video/audio files, only metadata and subtitles.

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `.claude-plugin/plugin.json`, `scripts/deduplicate_transcript.py` and `scripts/extract_transcript.py`).

It sits in Knowledge Management, covering Video and podcast notes, Transcription and Video production. It works with YouTube and Obsidian. The repository describes itself as: Collection of Claude Code skills for enhanced AI workflows. The licence is MIT.

When your agent uses it

  • The user requests downloading YouTube transcripts
  • Converting YouTube videos to text
  • Extracting video subtitles

Example prompts

  • “/youtube-transcript”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Extract metadata and subtitles using yt-dlp
  2. Parse VTT subtitle format to extract timestamps and text
  3. Group transcript segments by video chapters (if present)
  4. Format as Markdown with YAML frontmatter
  5. Save to ~/Brains/brain/ with sanitized filename based on video title
  6. Clean up temporary subtitle files

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pip

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

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    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

Youtube Transcript loads about 613 tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 225 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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); the scripts in this folder are not scanned.

SKILL.md

The full file from glebis/claude-skills at commit 7524dff, republished under its MIT licence (© glebis). 225 words, ~613 tokens.

Download SKILL.mdSave it as .claude/skills/youtube-transcript/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
youtube-transcript
description
Extract YouTube video transcripts with metadata and save as Markdown to Obsidian vault. Use this skill when the user requests downloading YouTube transcripts, converting YouTube videos to text, or extracting video subtitles. Does not download video/audio files, only metadata and subtitles.

YouTube Transcript

Overview

Extract YouTube video transcripts, metadata, and chapters using yt-dlp. Output formatted as Markdown with YAML frontmatter, saved to ~/Brains/brain/ (Obsidian vault).

Quick Start

To extract a transcript from a YouTube video:

bash
python scripts/extract_transcript.py <youtube_url>

Optional: Specify custom output filename:

bash
python scripts/extract_transcript.py <youtube_url> custom_filename.md

Output Format

YAML Frontmatter

The generated Markdown includes comprehensive metadata:

  • title - Video title
  • channel - Channel name
  • url - YouTube URL
  • upload_date - Upload date (YYYY-MM-DD)
  • duration - Video duration (HH:MM:SS)
  • description - Video description (truncated to 500 chars)
  • tags - Array of video tags
  • view_count - View count
  • like_count - Like count
Body Structure

Transcript organized by video chapters (if available):

markdown
## Chapter Title

**00:05:23** Transcript text for this segment.

**00:05:45** Next segment text.

If no chapters exist, all content appears under "## Transcript" heading.

Timestamps formatted as HH:MM:SS for consistency.

Workflow

  1. Extract metadata and subtitles using yt-dlp
  2. Parse VTT subtitle format to extract timestamps and text
  3. Group transcript segments by video chapters (if present)
  4. Format as Markdown with YAML frontmatter
  5. Save to ~/Brains/brain/ with sanitized filename based on video title
  6. Clean up temporary subtitle files

Deduplication

To remove duplicates from existing transcript files:

bash
python scripts/deduplicate_transcript.py <markdown_file>

This removes transcript entries that are prefixes of subsequent entries (common in VTT files where subtitles accumulate).

Requirements

Ensure yt-dlp is installed:

bash
pip install yt-dlp

Limitations

  • Extracts subtitles in English first, falls back to Russian if English unavailable
  • Requires video to have subtitles (auto-generated or manual)
  • Does not download video or audio files
  • Description truncated to 500 characters in frontmatter

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

Files

SKILL.md and 3 other files (scripts) in youtube-transcript of glebis/claude-skills.

  • SKILL.md
  • .claude-plugin/plugin.json
  • scripts/deduplicate_transcript.py
  • scripts/extract_transcript.py

Open the folder on GitHubat commit 7524dff

Compare with similar skills

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.

Youtube Transcript compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Youtube Transcript this skillglebis/claude-skills388—~613Automated safety check: PassMIT
Youtube FetcherJimmySadek/youtube-fetcher-to-markdown485—~1.8kAutomated safety check: PassMIT
Subscription Videos MetadataEfficientStreet/youtube-subscriptions-ingest178—~7.1kAutomated safety check: NotesMIT
Video Lenskar2phi/video-lens112—~8.2kAutomated safety check: NotesMIT
Youtube Transcript Extractor API Skillbrowser-act/skills6.1k1 repos~1.2kAutomated safety check: PassMIT
Youtube Transcriptintellectronica/agent-skills2952 repos~394Automated safety check: PassCC0-1.0

Similar skills

  • 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
  • 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
  • Video Lens

    kar2phi/video-lens

    Fetch a YouTube transcript and generate an executive summary, key points, and timestamped topic list as a polished HTML report.

    112 GitHub stars~8.2k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check: notes
  • This skill helps users automatically extract YouTube video transcripts and metadata via the BrowserAct API.

    6.1k GitHub starsUsed in 1 repo~1.2k tokens
    Knowledge ManagementAuto-check passed
  • Youtube Transcript

    intellectronica/agent-skills

    Extract transcripts from YouTube videos. An agent skill from intellectronica/agent-skills.

    295 GitHub starsUsed in 2 repos~394 tokens
    Knowledge ManagementAuto-check passed
  • Youtube Transcript

    aiskillstore/marketplace

    Download and process YouTube video transcripts using yt-dlp.

    430 GitHub starsUsed in 1 repo~553 tokens
    Knowledge ManagementAuto-check: notes

More from glebis/claude-skills

All 91 skills in this repo
  • Runs a human-first workflow for labeling PII spans in a transcript, then scores inter-annotator agreement and drafts an adjudicated gold set.

    388 GitHub stars~1.3k tokensUpdated 11 days ago
    Auto-check passed
  • Automates a dedicated, logged-in Chrome instance per profile without ever closing the user's own open tabs or browser windows.

    388 GitHub stars~973 tokensUpdated 11 days ago
    Auto-check passed
  • Deep Research

    glebis/claude-skills

    This skill should be used when conducting comprehensive research on any topic using the OpenAI Deep Research API.

    388 GitHub stars~2.6k tokensUpdated 11 days ago
    Auto-check: notes
  • Elimination Research

    glebis/claude-skills

    This skill should be used for elimination-style research where the user wants to choose from a shortlist of products, tools, services, vendors, or other options using explicit criteria, numeric…

    388 GitHub stars~1.6k tokensUpdated 11 days ago
    Auto-check passed
  • Narrated HTML Presentations

    glebis/claude-skills

    Generates a self-contained HTML presentation with article and slides modes, ElevenLabs voiceover narration and optional GPT Image 2 illustrations.

    388 GitHub stars~2.3k tokensUpdated 11 days ago
    Auto-check: notes
  • Writes fictional but realistic coaching or therapy session transcripts for evals, demos and few-shot examples, in several modalities and export formats.

    388 GitHub stars~2.9k tokensUpdated 11 days ago
    Auto-check passed

Works with

Questions about Youtube Transcript

What does Youtube Transcript do?

Extract YouTube video transcripts with metadata and save as Markdown to Obsidian vault. Youtube Transcript is an agent skill from glebis/claude-skills. Extract YouTube video transcripts with metadata and save as Markdown to Obsidian vault.

When should I use Youtube Transcript?

Youtube Transcript fits situations like: the user requests downloading YouTube transcripts; converting YouTube videos to text; extracting video subtitles.

How do I install Youtube Transcript in Claude Code?

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

How do I install Youtube Transcript in Codex?

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

Can I use 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 glebis/claude-skills --skill 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/youtube-transcript, .gemini/skills/youtube-transcript, .github/skills/youtube-transcript and .opencode/skills/youtube-transcript in your project.

What does Youtube Transcript need to run?

Going by SKILL.md and its folder, Youtube Transcript needs Python for the scripts in its folder and the command-line tools its instructions call (python and pip). Our summary lists: Python 3.

Does Youtube Transcript access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Youtube Transcript safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Youtube Transcript use?

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 Youtube Transcript use?

About 613 tokens (SKILL.md is roughly 2.5k 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 Youtube Transcript?

Skills that share tags, products or a category with Youtube Transcript: Youtube Fetcher (JimmySadek/youtube-fetcher-to-markdown, 485 stars), Subscription Videos Metadata (EfficientStreet/youtube-subscriptions-ingest, 178 stars), Video Lens (kar2phi/video-lens, 112 stars) and Youtube Transcript Extractor API Skill (browser-act/skills, 6.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Youtube Transcript?

glebis (a GitHub user) maintains it in glebis/claude-skills, which has 388 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on September 26, 2026.

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