Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

youtube-transcript

Skill by sickn33

Fetches YouTube transcripts through DeepAPI, with yt-dlp as a local fallback, and saves clean text files. Built for users who need captions or spoken content from videos for research.

  • Score 90
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install youtube-transcript

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/youtube-transcript ~/.claude/skills/youtube-transcript

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install youtube-transcript in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The youtube-transcript skill fetches the transcript of a YouTube video and saves it as a clean raw .txt file. The primary path calls the DeepAPI transcript endpoint, which runs server-side. The source says this avoids the local IP bot flagging that affects yt-dlp. If DeepAPI is unavailable or fails, the skill falls back to yt-dlp, downloads captions in json3 format, and flattens them into plain text.

Files are named Channel_Title, using metadata from yt-dlp, or the video ID if metadata is unavailable. The save location is the current project directory or ~/Downloads. The skill can also return timed segments when the user wants timestamps. It is aimed at users who need YouTube transcripts, captions, or subtitles for research or spoken-content extraction. The source is adapted from davidondrej/skills under the MIT license.

Written from the project's SKILL.md and checked against it.

What it can do

  • Fetch transcript via DeepAPICalls the DeepAPI YouTube transcript endpoint, which runs server-side.
  • Local yt-dlp fallbackDownloads captions with yt-dlp when DeepAPI is missing, out of credits, or fails twice.
  • Clean text outputFlattens json3 captions into a single raw .txt file.
  • Timed segmentsProvides startSecs, durationSecs and text segments when timestamps are wanted.
  • Named output filesNames files Channel_Title, or the video ID if metadata is missing.
  • Non-English transcriptsAccepts a language code such as de for non-English videos.

What you need

  • DEEPAPI_API_KEY set in the environment
  • yt-dlp installed for the fallback path and filename metadata
  • python3 for flattening json3 captions
  • jq and curl for the DeepAPI commands

Try asking

  • Get the transcript of this YouTube video and save it as a text file.
  • Fetch the German transcript of this video with timestamps.
  • Save the captions of this YouTube link to my project folder.

Good to know

  • Falls back to yt-dlp when DEEPAPI_API_KEY is missing, credits are unavailable, or DeepAPI fails twice.
  • Videos without captions return empty output, which is reported rather than retried.
  • On 429 or bot-check errors, the skill stops instead of retrying.
  • The source says to verify local paths, tools and credentials before acting.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/youtube-transcript/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to youtube-transcript

All alternatives →

Compare with intelligence-vocabulary, media-use or media_library

youtube-transcript: common questions

Why use DeepAPI instead of yt-dlp?

The source says DeepAPI runs server-side, which avoids the local IP bot flagging that affects yt-dlp.

Where are transcripts saved?

In the current project directory if one is given, otherwise in ~/Downloads.

Why does the skill use json3 format?

The source says auto VTT or SRT captions repeat every line twice because of rolling captions, so json3 is always used.

How do I install youtube-transcript?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is youtube-transcript free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is youtube-transcript safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to youtube-transcript?

Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.

youtube-transcript Install

Add to stack

Loading.