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.
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-transcriptRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/youtube-transcript ~/.gemini/antigravity-cli/skills/youtube-transcriptAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
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.
