youtube-to-markdown

youtube-to-markdown is a skill for Claude Code from vre/flow-state. It costs 35 tokens per session (1,757 once invoked), scanned A, a copy of youtube-to-markdown, MIT.

A workflow for turning YouTube videos into structured Markdown files. YouTube is a video-sharing website, and a transcript is the written version of spoken video content.

In plain words
What is it for?
Use it to collect video details, transcripts, summaries, comments, chapters, and other structured Markdown files.
Why use it?
It removes repeated manual extraction work and checks whether earlier output is complete before updating it.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

Good fit Use it to collect video details, transcripts, summaries, comments, chapters, and other structured Markdown files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vre/flow-state/full
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 vre/flow-state --skill full
Clone the repo
git clone --depth 1 https://github.com/vre/flow-state

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 youtube-to-markdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/vre/flow-state/full/github.svg)](https://agentmods.dev/skills/vre/flow-state/full)
Your own site
<a href="https://agentmods.dev/skills/vre/flow-state/full"><img src="https://agentmods.dev/badge/skills/vre/flow-state/full/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 youtube-to-markdown

Your own site · 80×15
<a href="https://agentmods.dev/skills/vre/flow-state/full"><img src="https://agentmods.dev/badge/skills/vre/flow-state/full.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,757 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.
Origin 100% copy Near-identical to another mod 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.00035 $0.01757
Opus 5.5 $0.00014 $0.00703
Sonnet 5.5 $0.00007 $0.00351
Haiku 4.5 $0.00003 $0.00176

Measured 1mo ago against content hash 22ab5ecd5b77, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

youtube-to-markdown 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 1mo ago.

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.

Origin

This is a copy

100% identical to youtube-to-markdown — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

docs/youtube-to-markdown/research/2026.01.14 token usage test/code/full/SKILL.md · 216 lines

How it starts

The opening of the file, as written. The whole thing — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.

YouTube to Markdown

Multiple videos: Process one video at a time, sequentially. Do not run parallel extractions. Execute all steps sequentially without asking for user approval. Use TodoWrite to track progress.

Step 0: Check extracted before

python3 ./check_existing.py "<YOUTUBE_URL>" "<output_directory>"

Integrity check:

  • If summary_valid: false: Show issues to user, ask "Tiedosto epätäydellinen: [issues]. Prosessoidaanko uudelleen?" If yes, continue to Step 1.
  • If transcript_valid: false: Ask user, if yes re-run Steps 2-3, 7-9.
  • If comments_valid: false: Ask user, if yes re-run comment analysis.

If returns exists: true AND all valid fields are true: Read and follow UPDATE_MODE.md for update workflow.

Step 1: Extract data (metadata, description, chapters)

python3 extract_data.py "<YOUTUBE_URL>" "<output_directory>"

Creates: youtube_{VIDEO_ID}metadata.md, youtube{VIDEO_ID}description.md, youtube{VIDEO_ID}_chapters.json

IMPORTANT: If you ask which language transcript to extract then do not translate that language to english and require that subagent do not translate either. Only if the user requests another language that the original then translate.

Step 2: Extract transcript

Primary method (if transcript available)

If video language is en, proceed directly. If non-English, ask user which language to download.

python3 extract_transcript.py "<YOUTUBE_URL>" "<output_directory>" "<LANG_CODE>"

Creates: youtube_{VIDEO_ID}_transcript.vtt

IMPORTANT: All file output must be in the same language as discovered in Step 2. If language is not English, explicitly instruct all subagents to preserve the original language.

The download may fail if a video is private, age-restricted, or geo-blocked.

Fallback (only if transcript unavailable)

Ask user: "No transcript available. Proceed with Whisper transcription?

  • Mac/Apple Silicon: Uses MLX Whisper if installed (faster, see SETUP_MLX_WHISPER.md)
  • All platforms: Falls back to OpenAI Whisper (requires: brew install openai-whisper OR pip3 install openai-whisper)"

Read the full file on GitHub · 216 lines

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. 1mo ago First seen · 216 lines · 35 tokens per session scan A 22ab5ecd5b77

Subscribe to this mod's changes

youtube-to-markdown is a skill published in the GitHub repository vre/flow-state (11 stars, last pushed 25d ago), licensed MIT. It adds 35 tokens to every session and 1,757 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to youtube-to-markdown, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

myslide

Create professional AWS-themed PowerPoint presentations with dark gradient backgrounds, AWS brand colors, and rich visual elements (SVG diagrams, architecture diagrams, icons). Uses the official AWS reInvent 2023 template design system. Supports creating from scratch, editing specific slides conversationally, and…

kyopark2014/agent-plugins · 117 tokens

notion

Notion API for creating and managing pages, databases, and blocks.

kyopark2014/agent-plugins · 17 tokens

pptx

Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary)…

kyopark2014/agent-plugins · 171 tokens

docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page…

kyopark2014/agent-plugins · 184 tokens

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…

kyopark2014/agent-plugins · 92 tokens

code-to-diagram

Analyze codebases and automatically generate architecture diagrams, flowcharts, and org charts. Uses AST parsing to map import dependencies for Python, JS/TS, Go, and Java, outputting Mermaid or SVG files. Triggered when users ask to visualize code architecture, understand dependencies, draw a flowchart, or create a…

zebbern/claude-code-guide · 74 tokens