About youtube-transcript
A skill that retrieves timestamped transcripts from YouTube videos when captions or transcripts are available. It accepts a video ID or URL and supports both manual and automatically generated transcripts.
Key features
- 01Accepts video IDs or full URLs
- 02Retrieves timestamped transcript entries
- 03Supports manual and auto-generated transcripts
Use cases
- 01Getting text from a video for review
- 02Finding a spoken passage by timestamp
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ badlogic/ pi-skills --skill youtube-transcriptAfter installing, type/youtube-transcriptin Claude Code to confirm it loaded.
Bundled filespackage.jsontranscript.js
Details
From the project READMEYouTube Transcript
Fetch transcripts from YouTube videos.
Setup
cd {baseDir}
npm install
Usage
{baseDir}/transcript.js <video-id-or-url>
Accepts video ID or full URL:
EBw7gsDPAYQhttps://www.youtube.com/watch?v=EBw7gsDPAYQhttps://youtu.be/EBw7gsDPAYQ
Output
Timestamped transcript entries:
[0:00] All right. So, I got this UniFi Theta
[0:15] I took the camera out, painted it
[1:23] And here's the final result
Notes
- Requires the video to have captions/transcripts available
- Works with auto-generated and manual transcripts
Comments
Markdown supported