About youtube-transcript
youtube-transcript is a command-line skill for retrieving timestamped transcripts from YouTube videos. It accepts a video ID or URL and works with available manual or auto-generated captions.
Key features
- 01Fetch transcripts by video ID or URL
- 02Include timestamps with transcript entries
- 03Support manual and auto-generated captions
Use cases
- 01Review a video's spoken content with timestamps
- 02Prepare transcript text for later reference
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ nicepkg/ ai-workflow --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