Skip to main content

YouTube Guide Command

The youtube-guide command combines the functionality of process-youtube and generate-guide into a single command. It downloads a YouTube video, processes it, and generates a step-by-step guide, all in one operation.

Usage

Arguments

Options

Examples

Generate a guide from a YouTube video

Generate a guide with custom directive

Generate a guide with specific model and format

Generate a guide with custom frame interval

Output

The command creates a complete directory structure with both the processed video data and the generated guide:

Guide Format

The generated guide has the following structure:

Processing Pipeline

The youtube-guide command performs the following steps:
  1. Validates the YouTube URL
  2. Downloads the video using yt-dlp
  3. Extracts frames at the specified interval
  4. Analyzes the frames using AI
  5. Generates a step-by-step guide based on the analysis
  6. Saves the guide in the specified format

Customizing Guide Generation

You can customize the guide generation process using the --user-directive option. This allows you to specify what aspects of the video to focus on or what style to use for the guide. Examples of user directives:
  • “Focus on technical details and tools used”
  • “Emphasize beginner-friendly explanations”
  • “Highlight safety considerations”
  • “Include more detailed steps for complex parts”