ClawHub - YouTube Downloader & Clipper
by @sandeepyadav1478
Clip and download specific time ranges or full YouTube videos in various qualities, including audio-only MP3 extraction, using precise timestamps.
clawhub install youtube-downloader-clipperπ About This Skill
ClawHub - YouTube Video Clipper & Downloader
Extract specific sections from YouTube videos with precise timestamps. A powerful ClawHub skill that makes video clipping effortless - just provide a URL and time range.
Overview
ClawHub is designed primarily for video clipping - extracting specific time ranges from YouTube videos. Whether you need a 30-second highlight, a 5-minute tutorial segment, or any custom time range, ClawHub handles it with precision. It also supports full video downloads, audio extraction, and quality selection when needed.
Key Features
Primary: Video Clipping
Secondary: Full Downloads
Usage
Basic Syntax
/clawhub [options]
Clipping Examples (Primary Use)
Clip a specific section
/clawhub https://youtube.com/watch?v=dQw4w9WgXcQ --clip 00:30-02:15
Extracts from 30 seconds to 2 minutes 15 seconds.Clip with quality selection
/clawhub https://youtube.com/watch?v=dQw4w9WgXcQ --clip 01:00-03:30 --quality 1080p
Extracts a 1080p clip from 1 minute to 3 minutes 30 seconds.Clip audio only
/clawhub https://youtube.com/watch?v=dQw4w9WgXcQ --clip 00:10-01:00 --audio-only
Extracts audio from 10 seconds to 1 minute as MP3.Clip with custom filename
/clawhub https://youtube.com/watch?v=dQw4w9WgXcQ --clip 02:00-04:30 --output highlight.mp4
Clip tutorial section
/clawhub https://youtube.com/watch?v=tutorial123 --clip 05:20-12:45 --quality 720p
Perfect for extracting specific tutorial steps.Clip music section
/clawhub https://youtube.com/watch?v=music456 --clip 01:15-02:30 --audio-only --output chorus.mp3
Download Examples (Secondary Use)
Download full video
/clawhub https://youtube.com/watch?v=dQw4w9WgXcQ
Download in specific quality
/clawhub https://youtube.com/watch?v=dQw4w9WgXcQ --quality 720p
Extract full audio
/clawhub https://youtube.com/watch?v=dQw4w9WgXcQ --audio-only
Available Options
| Option | Description | Example |
|--------|-------------|---------|
| --clip | PRIMARY FEATURE - Clip from start to end time | --clip 00:30-02:15 |
| --quality | Specify quality (720p, 1080p, best) | --quality 1080p |
| --audio-only | Extract audio as MP3 | --audio-only |
| --output | Custom output filename | --output my_clip.mp4 |
| --format | Output format (mp4, mkv, webm, mp3) | --format mkv |
Time Format for Clipping
The skill accepts flexible timestamp formats:
01:30 (1 minute 30 seconds)01:15:30 (1 hour 15 minutes 30 seconds)1:30 (same as 01:30)90 (converted to 01:30)How Clipping Works
1. You provide a YouTube URL and time range 2. Claude parses your timestamps 3. The skill extracts just that section using optimized methods: - Method 1: yt-dlp's native clipping (fastest) - Method 2: ffmpeg precise cutting (fallback) 4. Your clip is saved to the current directory
Use Cases
Content Creators
Educators
Musicians
Researchers
Output Location
All clips and downloads are saved to your current working directory. You can specify a custom path using the --output flag.
Important Notes
Technical Details
Troubleshooting
Clip not extracting correctly
The skill will automatically try alternate methods if the first approach fails.Invalid timestamps
Use format: MM:SS or HH:MM:SS (e.g.,01:30 or 01:15:30)Video unavailable
Verify the YouTube URL is correct and the video is publicly accessible.License
MIT License
Support
For issues or questions, visit the project repository or submit feedback through ClawHub.
β‘ When to Use
π‘ Examples
Basic Syntax
/clawhub [options]
π Tips & Best Practices
Clip not extracting correctly
The skill will automatically try alternate methods if the first approach fails.Invalid timestamps
Use format: MM:SS or HH:MM:SS (e.g.,01:30 or 01:15:30)