YouTube Guide Command
Theyoutube-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
Theyoutube-guide command performs the following steps:
- Validates the YouTube URL
- Downloads the video using yt-dlp
- Extracts frames at the specified interval
- Analyzes the frames using AI
- Generates a step-by-step guide based on the analysis
- 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”