agentleFS
ElliotJLTElliotJLT/Claude-Skill-Potions/skills/youtube-transcript/SKILL.md

youtube-transcript

Skill60 starsChanged 10 months agoMITView on GitHub

Extracts YouTube video transcripts and saves them as structured markdown files with metadata and timestamped content. When a user shares a YouTube URL, IMMEDIATELY runs the extraction script, creates a local folder, and saves the transcript. Handles both manual and auto-generated captions.

36 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use markdown-converter, context7 and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • bongartzdiazSkill

    markdown-converter

    Convert documents and files to Markdown using markitdown. Use when converting PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls), HTML, CSV, JSON, XML, images (with EXIF/OCR), audio (with transcription), ZIP archives, YouTube URLs, or EPubs to Markdown format for LLM processing or text analysis.

    Also in 3 projects that use this

  • bongartzdiazSkill

    context7

    Retrieve up-to-date documentation for software libraries, frameworks, and components via the Context7 API. This skill should be used when looking up documentation for any programming library or framework, finding code examples for specific APIs or features, verifying correct usage of library functions, or obtaining current information about library APIs that may have changed since training.

    Also in 4 projects that use this

  • LangChainSkill

    file-organizer

    Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.

    Also in 3 projects that use this

  • ttmouseSkill

    notebooklm

    Automate Google NotebookLM - create notebooks, add sources, generate podcasts/videos/quizzes, download artifacts. Supports browser-based content extraction for anti-crawler platforms (Twitter/X, LinkedIn, etc.). Activates on explicit /notebooklm or intent like "create a podcast about X

    Also in 3 projects that use this

  • ArogyaReddySkill

    changelog-generator

    Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

    Also in 3 projects that use this

  • MicrosoftSkill

    mcp-builder

    Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 30 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If missing, install it:

    line 36
  2. Distinctive:

    Run the extraction script:

    line 44
  3. Distinctive:

    Create a folder and markdown file:

    line 57
  4. Distinctive:

    If the video is relevant to a specific context (e.g., interview prep), add a relevance table mapping insights to actions.

    line 124
  5. Distinctive:

    When used inside the Boulot vault for job research:

    line 130
  6. Very specific:

    Add a link to the transcript in the company's research.md

    line 132
  7. Distinctive:

    Run without checking yt-dlp exists first

    line 140
  8. Distinctive:

    Use kebab-case lowercase filenames

    line 144
  9. Distinctive:

    Use the paragraph-merged format for readability (not raw segments)

    line 146

“Common” is measured: kept by at least 6 in 10 of the 30 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

YouTube Transcript

<purpose> Extract transcripts from YouTube videos and save them as structured, searchable markdown files. Used for research, interview prep, company analysis, and building reference material from video content. </purpose>

When To Activate

<triggers> - User shares a YouTube URL (youtube.com/watch, youtu.be, youtube.com/embed) - User says "transcript", "youtube transcript", or "pull transcript" - User asks to research a video or extract content from YouTube </triggers>

Instructions

Step 1: Check yt-dlp

<check_dep> yt-dlp must exist at /tmp/yt-dlp or on PATH.

If missing, install it:

curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_macos -o /tmp/yt-dlp && chmod +x /tmp/yt-dlp

</check_dep>

Step 2: Extract Transcript

Run the extraction script:

node <skill-path>/scripts/fetch-transcript.mjs "<youtube-url>"

The script outputs JSON with:

  • title, channel, url, duration, uploadDate, description
  • segments — individual timestamped lines
  • paragraphs — segments merged into ~30-second blocks for readability

Step 3: Save Output

<output_format> Create a folder and markdown file:

Folder: transcripts/ in the current working directory (create if needed) Filename: YYYY-MM-DD-kebab-case-title.md

---
type: transcript
source: youtube
video_id: <id>
channel: <channel>
duration: <duration>
date_published: <upload-date>
date_extracted: <today>
url: <url>
---

# <Title>

**Channel:** <channel>
**Duration:** <duration>
**Published:** <upload-date>
**URL:** <url>

---

## Summary

<2-3 sentence overview of what this video covers and why it matters>

---

## Key Takeaways

### 1. <First key theme>
- Bullet points summarising the core argument
- Include specific claims, frameworks, or advice given
- Attribute to the speaker where relevant

### 2. <Second key theme>
...repeat for each major theme (typically 3-7 themes for a 30-60 min video)

---

## Full Transcript

[0:00] <Brief topic label>. First paragraph of merged text...

[4:30] <Brief topic label>. Second paragraph continues...

The transcript section should be the full paragraph-merged output from the script, with each timestamp block prefixed by a short topic label (2-5 words) for scannability. </output_format>

Step 4: Summarise

<summarisation> IMPORTANT: Do NOT just dump raw transcript. The primary value is the AI-generated summary and key takeaways. Read the full transcript and produce:
  1. Summary — 2-3 sentences on what the video covers
  2. Key Takeaways — grouped by theme, with specific claims and quotes
  3. Full Transcript — paragraph-merged with topic labels (kept as reference/source)

The summary and takeaways should be written in clean, scannable prose. Extract the actual insights — not just "they discussed X" but what they specifically said about X. If the video is relevant to a specific context (e.g., interview prep), add a relevance table mapping insights to actions. </summarisation>

Integration with Boulot Vault

When used inside the Boulot vault for job research:

  • Save to {user}/active/{company}/research/transcripts/ if the video relates to an active application
  • Add a link to the transcript in the company's research.md
  • Tag with relevant company/role context in frontmatter

NEVER

  • Download the video itself — subtitles only
  • Fabricate or hallucinate transcript content
  • Skip saving to file — always persist the transcript
  • Run without checking yt-dlp exists first

ALWAYS

  • Use kebab-case lowercase filenames
  • Include full YAML frontmatter
  • Use the paragraph-merged format for readability (not raw segments)
  • Include timestamps at paragraph boundaries
  • Provide a content summary after extraction

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.