youtube-transcribe

Retrieve YouTube transcripts and timestamps from video URLs using ai-transcribe CLI.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/rajshah4/my-agent-skills --skill youtube-transcribe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-transcribe
Source: https://github.com/rajshah4/my-agent-skills/tree/main/skills/youtube-transcribe
Command: npx skills add https://github.com/rajshah4/my-agent-skills --skill youtube-transcribe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill retrieves YouTube transcripts with timestamps from video URLs, eliminating manual transcription work and speeding up content analysis.

Core Features & Use Cases

  • Transcript extraction: Download full transcripts with timestamps for any YouTube video.
  • Timestamp options: Retrieve timestamps in HH:MM:SS by default, or seconds with a flag.
  • Use Case: Researchers or content creators can obtain video transcripts for quick summaries and analysis.

Quick Start

ai-transcribe "https://youtu.be/VIDEO_ID" ai-transcribe "https://youtu.be/VIDEO_ID" --seconds ai-transcribe "https://youtu.be/VIDEO_ID" > transcript.txt

Frequently Asked Questions about youtube-transcribe

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download YouTube transcripts with timestamps from a video URL?

You download YouTube transcripts with timestamps by running the ai-transcribe CLI tool and passing the video URL. This retrieves the full text transcript with precise timelines, eliminating manual transcription work.

Can I get YouTube video transcripts in seconds instead of HH:MM:SS format?

Yes, you can retrieve YouTube video transcripts in seconds by adding the --seconds flag to your CLI command. By default, the tool formats timestamps in HH:MM:SS.

What is the best way to extract text from a YouTube video for content analysis?

The best way to extract text for content analysis is using a CLI transcription tool that fetches captions directly from the YouTube URL, providing accurate text and timestamps for research.

Do I need any specific Python libraries to extract video transcripts?

Yes, the transcript extraction process uses the hamel_tools library alongside the ai-transcribe CLI to fetch and format text data from YouTube videos.

How do I save a downloaded YouTube transcript to a text file?

You save a downloaded YouTube transcript to a text file by redirecting the CLI output using the greater-than symbol, such as ai-transcribe URL > transcript.txt.