youtube-to-markdown

A selectable 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 when you want selected information from one or more videos, including summaries, cleaned transcripts, or comment analysis.
Why use it?
It avoids processing material you do not need by letting you choose summaries, transcripts, comments, or a combination.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/vre/flow-state/modules
Any agent
npx skills add vre/flow-state --skill modules
Clone the repo
git clone --depth 1 https://github.com/vre/flow-state

Made for: Claude Code, Codex.

Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 481 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00035 $0.00481
Opus 5 $0.00017 $0.00241
Sonnet 5 $0.00007 $0.00096
Haiku 4.5 $0.00003 $0.00048

Measured yesterday against content hash b01c9c4fc4ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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.

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

What it actually says

YouTube to Markdown

Multiple videos: Process one video at a time, sequentially. Do not run parallel extractions. Do not create your own scripts.

Step 0: Check if extracted before

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

If any *_valid: false: Show the issues to user and proceed.

Output JSON contains video_id. Set BASE_NAME = youtube_{video_id} for all subsequent steps.

Step 1: Choose output

AskUserQuestion:

  • question: "What do you want to extract from the video?"
  • header: "Output"
  • multiSelect: false
  • options: A. "Summary only" - Tight summary of video content B. "Transcript only" - Cleaned, formatted full transcript C. "Comments only" - Curated comments D. "Summary + Comments" - Summary with cross-analyzed comment insights E. "Full (Recommended)" - All: summary, transcript, comments

Step 2: Execute modules

Based on user's choice, read and follow each module instruction in ./modules/{file}. "|" marks possibility to run concurrently.

  • A: transcript_extract.md → transcript_summarize.md
  • B: transcript_extract.md → transcript_polish.md
  • C: comment_extract.md
  • D: transcript_extract.md → (transcript_summarize.md | comment_extract.md) → comment_summarize.md
  • E: transcript_extract.md → (transcript_summarize.md | transcript_polish.md | comment_extract.md) → comment_summarize.md

Step 3: Finalize

python3 finalize.py [flag] "${BASE_NAME}" "<output_directory>"

Flags: A=--summary-only, B=--transcript-only, C=--comments-only, D=--summary-comments, E=(none)

Use --debug to keep intermediate files.

Files

What ships with it

5 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. yesterday First seen · 59 lines · 35 tokens per session scan A b01c9c4fc4ee

Subscribe to this mod's changes

youtube-to-markdown is a skill published in the GitHub repository vre/flow-state (12 stars, last pushed 2mo ago), licensed MIT. It adds 35 tokens to every session and 481 once invoked, about $0.0002 per session on Opus 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

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

account-status

Generate a account status report by taking an account name, analyze spend trends and AWS account mappings, create an HTML report, render chart image for email compatibility, ask recipient email after report completion, and send immediately without reconfirmation. All analysis and email narrative must be in Korean.

kyopark2014/agent-plugins · 59 tokens

memory-manager

Comprehensive memory management for agents. Use when working with memory files (MEMORY.md, memory/.md), searching historical context, managing daily logs, or organizing long-term knowledge. Includes memorysearch and memoryget tools,file management utilities, and best practices for curating agent memory.

kyopark2014/agent-plugins · 59 tokens

source-management

Manages connected MCP sources for enterprise search. Detects available sources, guides users to connect new ones, handles source priority ordering, and manages rate limiting awareness.

kyopark2014/agent-plugins · 35 tokens

retrieve

Search a knowledge base using Amazon Bedrock RAG (Retrieval-Augmented Generation). Use when users want to find information from uploaded documents, ask questions about stored knowledge, or retrieve relevant content from the knowledge base. Returns matched content with source references and URLs.

kyopark2014/agent-plugins · 54 tokens

travel-planner

旅行/行程规划需求时使用:规划去某地旅行、X天X城、带老人孩子、自驾、假期安排等。产出逐日行程表、预算估算(经济/舒适/奢华三档)、交通住宿建议、景点美食清单。必须先问预算,预算未确认只输出问题清单;事实数据带来源和查询日期。.

saudademjj/luopan · 91 tokens