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

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 6 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

    skill-creator

    Guide for creating effective GitHub Copilot skills (.github/skills/) in this repository. Use when creating a new skill, updating an existing skill, or when asked about skill structure, format, or best practices for the vscode-documentdb project.

    Also in 7 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 30 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 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

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.