agentleFS
oztenozten/skills/youtube-transcript/SKILL.md

youtube-transcript

Skill7 starsChanged 9 months agoMITView on GitHub

Extract transcripts from YouTube videos. Zero dependencies - just Node.js. No npm install needed. No dependencies. None required. Uses YouTube's public APIs.

  • Installs packages

59 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use research-prompt, ship-learn-next and 10 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.
  • matyasstochSkill

    research-prompt

    Write a single-paragraph Deep Research prompt to hand to a human researcher (or a deep-research AI). Use when the user wants a research brief, a "deep research prompt", a one-paragraph task for a researcher, or asks "what should our researcher look for". Produces ONE tight paragraph with full context, numbered sub-questions, and per-finding output format.

    Also in 3 projects that use this

  • michalparkolaSkill

    ship-learn-next

    Transform learning content (like YouTube transcripts, articles, tutorials) into actionable implementation plans using the Ship-Learn-Next framework. Use when user wants to turn advice, lessons, or educational content into concrete action steps, reps, or a learning quest.

    Also in 4 projects that use this

  • huskerjeffSkill

    youtube-search

    Search YouTube and extract video metadata and captions using yt-dlp. Use when the user wants to search YouTube, find video transcripts, research topics via YouTube, or feed video content into other tools like NotebookLM.

    Also in 4 projects that use this

  • michalparkolaSkill

    article-extractor

    Extract clean article content from URLs (blog posts, articles, tutorials) and save as readable text. Use when user wants to download, extract, or save an article/blog post from a URL without ads, navigation, or clutter.

    Also in 3 projects that use this

  • MicrosoftSkill

    web-search

    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

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 50 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No npm install needed. No dependencies.

    line 42
  2. Distinctive:

    Only works for videos with captions (manual or auto-generated)

    line 67

“Common” is measured: kept by at least 6 in 10 of the 50 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

Extract transcripts from YouTube videos. Zero dependencies - just Node.js.

When to Use

  • "Get the transcript from this YouTube video"
  • "Extract transcript from this video"
  • "What does this YouTube video say?"

Usage

# Extract plain text transcript
node get-transcript.js "https://www.youtube.com/watch?v=VIDEO_ID"

# With timestamps
node get-transcript.js "https://youtu.be/VIDEO_ID" --timestamps

# JSON output (includes offset/duration for each segment)
node get-transcript.js "https://youtube.com/watch?v=VIDEO_ID" --json

# Save to file
node get-transcript.js "https://youtu.be/VIDEO_ID" --save transcript.txt

# Specific language
node get-transcript.js "https://youtu.be/VIDEO_ID" --lang es

Supported URL Formats

  • https://www.youtube.com/watch?v=VIDEO_ID
  • https://youtu.be/VIDEO_ID
  • https://www.youtube.com/watch?v=VIDEO_ID&t=123
  • https://youtube.com/shorts/VIDEO_ID
  • Just the video ID: dQw4w9WgXcQ

Requirements

  • Node.js 18+

No npm install needed. No dependencies.

How It Works

  1. Tries YouTube's Innertube API first (Android client - faster)
  2. Falls back to web page scraping if needed
  3. Extracts caption track URL from response
  4. Fetches XML captions
  5. Parses segments with timestamps
  6. Returns clean text

API Keys

None required. Uses YouTube's public APIs.

Output Formats

FlagOutput
(default)Plain text, all segments joined
--timestamps[0:00] First line\n[0:05] Second line...
--json[{text, offset, duration, lang}, ...]

Limitations

  • Only works for videos with captions (manual or auto-generated)
  • Private or age-restricted videos will fail
  • YouTube may require CAPTCHA if too many requests from same IP

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.