youtube

youtube is a skill for Claude Code from martinemde/dotfiles. It costs 13 tokens per session (1,163 once invoked), scanned A, original, ISC.

A workflow that downloads the transcript of a YouTube video and turns it into organized, easy-to-scan notes. YouTube is a video-sharing site where videos may include spoken-content transcripts or subtitles.

In plain words
What is it for?
Creating notes from a YouTube URL or video ID, including the title, uploader, date, duration, and available English transcript.
Why use it?
It removes the need to watch or manually transcribe a video to find its main information. The result provides a structured reference document with video details.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents.

Good fit Creating notes from a YouTube URL or video ID, including the title, uploader, date, duration, and available English transcript.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/martinemde/dotfiles/youtube"><img src="https://agentmods.dev/badge/skills/martinemde/dotfiles/youtube.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,163 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 warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 10
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 153
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Excessive Agency · line 6
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
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.00013 $0.01163
Opus 5.5 $0.00005 $0.00465
Sonnet 5.5 $0.00003 $0.00233
Haiku 4.5 $0.00001 $0.00116

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

Security

Grade A, and why

youtube 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.

home/dot_agents/skills/youtube/SKILL.md · 172 lines

How it starts

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

YouTube Transcript to Structured Notes

Arguments

$ARGUMENTS

Instructions

This workflow fetches a YouTube video transcript and transforms it into a structured, skimmable reference document. Prefer an isolated worker because raw transcript processing does not need to consume the main conversation's context.

1. Parse Video Input

  • Full URL: Use directly (supports youtube.com, youtu.be)
  • Video ID: Construct https://youtube.com/watch?v={id}
  • If missing: Ask for the video URL

2. Fetch Video Metadata

uvx yt-dlp --print "%(title)s" --print "%(channel)s" --print "%(uploader)s" --print "%(upload_date)s" --print "%(duration)s" --skip-download "VIDEO_URL"

Capture:

  • Title — for filename and frontmatter
  • Channel/Uploader — for attribution (use uploader if personal, channel if organizational)
  • Upload Date — format as YYYY-MM-DD
  • Duration — for context

3. Download Transcript

mkdir -p tmp
uvx yt-dlp --skip-download --write-auto-subs --sub-langs "en" --sub-format "srt" --convert-subs srt -o "tmp/transcript" "VIDEO_URL"

Saves to tmp/transcript.en.srt. If no English subs, try en-orig or check --list-subs.

4. Determine Output Filename

Use APA-style title capitalization with creator:

Format: Reference/Full Title Here (Creator Name).md

APA rules:

  • Capitalize first word and all major words
  • Capitalize words of 4+ letters
  • Lowercase: a, an, the, and, but, or, for, nor, on, at, to, by (unless first)

Examples:

  • No Vibes Allowed - Solving Hard Problems in Complex Codebases (Dex Horthy).md
  • The Art of Doing Science and Engineering (Richard Hamming).md

5. Process in an Isolated Context

Delegate the following task to a general-purpose worker when the harness supports subagents. Otherwise process it directly without copying the raw transcript into the final response.

## Task: Convert Video Transcript to Structured Written Document

**Input file:** `tmp/transcript.en.srt`

**Video Metadata:**
- Title: [VIDEO TITLE]
- Speaker/Creator: [CREATOR NAME]
- Channel: [CHANNEL NAME]
- Upload Date: [YYYY-MM-DD]
- URL: [VIDEO URL]
- Duration: [DURATION]

## Your Mission

Transform this SRT transcript into a **structured written document** optimized for speed-reading and reference.

## Key Principles

1. **Structure, don't summarize.** Convert spoken word to written form — don't condense. The human brain can skim structured text far faster than watching video.

2. **Preserve density.** Don't pad with filler, but don't cut substantive points. If the speaker made a point, include it.

3. **Use document structure liberally:**
   - Clear hierarchical headings (H2, H3, H4)
   - Blockquotes for key quotes or memorable phrasings
   - Bullet lists for enumerations
   - Code blocks for technical examples
   - Bold for key terms/concepts
   - Horizontal rules between major sections

4. **Write for skimmability.** Someone should get the gist from headings alone, then dive deeper as needed.

## Output Format

Write to: `Reference/[FILENAME].md`

Start with YAML frontmatter:
```yaml
---
title: "[Full Video Title]"
speaker: [Speaker/Creator Name]
organization: [Organization if applicable, omit if none]
event: [Event name if applicable, omit if none]
date: YYYY-MM-DD
source: [VIDEO URL]
type: talk-notes
tags:
  - [relevant-tag-1]
  - [relevant-tag-2]
  - [add 2-4 more based on content]
---

After frontmatter, include attribution: Video by [Creator]. Watch the original.

Quality Checklist

Before finishing, verify:

  • All substantive points from the talk are represented
  • Headings create a scannable outline
  • Key quotes preserved as blockquotes
  • Technical terms properly formatted
  • Reads as coherent written piece (not transcript-like)
  • Someone could understand the content without watching

Read the full file on GitHub · 172 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 Changed · -6 lines 9f6bf0610a02
  2. 3mo ago First seen · 178 lines · 13 tokens per session scan A 1ab6121e336b

Subscribe to this mod's changes

youtube is a skill published in the GitHub repository martinemde/dotfiles (10 stars, last pushed today), licensed ISC. It adds 13 tokens to every session and 1,163 once invoked, about $0.0001 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-31.

Related

youtube compared with skills from other repositories

youtube next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
youtubemartinemde/dotfilesSkill10todayISCA13Claude Code
course-developmentfmind/dotfilesSkill43mo agoMITA28Claude Code, Codex
dotfiles-bootstrapsebastienrousseau/dotfilesSkill84yesterdayApache-2.0A89Claude Code, Codex
vibesebastienrousseau/dotfilesSkill84yesterdayApache-2.0A137Claude Code
web-frontendfmind/dotSkill14yesterdayMITA29Claude Code, Codex
calibratefmind/dotSkill14yesterdayMITA37Claude Code, Codex
gwsfmind/dotSkill14yesterdayMITA41Claude Code, Codex