clips-machine
Transform long videos into viral short-form clips.
Setup & Installation
Install command
clawhub install mayank8290/clips-machineIf the CLI is not installed:
Install command
npx clawhub@latest install mayank8290/clips-machineOr install with OpenClaw CLI:
Install command
openclaw skills install mayank8290/clips-machineor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/mayank8290/clips-machineWhat This Skill Does
Clips Machine takes long videos from YouTube, local files, TikTok, Twitter/X, or Twitch and cuts them into short vertical clips ready for TikTok, Reels, or Shorts. It transcribes audio locally with Whisper, scores each moment by virality criteria, and exports captioned 9:16 clips with multiple text style options.
Runs entirely on local tools with no cloud service, so there are no per-clip fees, upload limits, or API keys required.
When to Use It
- Clipping the top 5 moments from a 2-hour podcast
- Turning a Twitch gaming VOD into meme-captioned TikToks
- Extracting quotable segments from a conference keynote on YouTube
- Processing a local interview MP4 into Reels-ready highlights
- Batch-generating 10 short clips from a long YouTube interview for a client
View original SKILL.md file
# Clips Machine Transform long videos into viral short-form clips. Auto-detect the best moments, add trendy captions, export for TikTok/Reels/Shorts. **100% FREE tools** - Runs entirely on your machine. > **Love this skill?** Support the creator and help keep it free: **[Buy Me a Coffee](https://buymeacoffee.com/mayank8290)** ## What This Skill Does 1. **Input** any long video (YouTube URL, podcast, stream, local file) 2. **Transcribe** with timestamps using Whisper (free, local) 3. **Detect** viral-worthy moments using AI analysis 4. **Cut** the best 30-60 second segments 5. **Caption** with animated, trendy text styles 6. **Export** in vertical 9:16 format ready for upload ## Quick Start ``` Turn this podcast into viral clips: https://youtube.com/watch?v=xyz ``` ``` Extract the 5 best moments from my-interview.mp4 and add captions ``` ## Commands ### From YouTube URL ``` /clips-machine https://youtube.com/watch?v=VIDEO_ID ``` ### From Local File ``` /clips-machine /path/to/video.mp4 ``` ### Custom Number of Clips ``` /clips-machine VIDEO --clips 10 ``` ### Caption Styles ``` /clips-machine VIDEO --style [style] ``` Available styles: - `hormozi` - Alex Hormozi style (bold, word-by-word highlight) - **Most Viral** - `minimal` - Clean white text - `karaoke` - Word-by-word color change - `news` - Lower third style - `meme` - Impact font, top/bottom ## How Viral Detection Works The AI analyzes the transcript looking for: 1. **Hook Potential** - Strong opening statements 2. **Emotional Peaks** - Passion, excitement, surprise 3. **Quotable Lines** - Memorable one-liners 4. **Controversial Takes** - Debate-worthy opinions 5. **Surprising Facts** - "Did you know" moments 6. **Actionable Advice** - Clear takeaways Each moment gets a "virality score" from 1-100. ## Output Structure ``` ~/Videos/OpenClaw/clips-[video-name]/ ├── transcript.json # Full transcript with timestamps ├── viral_moments.json # Detected moments with scores ├── clip_001.mp4 # First viral clip (vertical, captioned) ├── clip_002.mp4 # Second viral clip ├── clip_003.mp4 # ... └── summary.md # Overview of all clips ``` ## Supported Sources | Source | Example | |--------|---------| | YouTube | `https://youtube.com/watch?v=...` | | TikTok | `https://tiktok.com/@user/video/...` | | Twitter/X | `https://twitter.com/user/status/...` | | Twitch VOD | `https://twitch.tv/videos/...` | | Local MP4 | `/path/to/file.mp4` | ## Requirements - FFmpeg (`brew install ffmpeg`) - yt-dlp (`brew install yt-dlp`) - Whisper.cpp (`brew install whisper-cpp`) ## Setup ```bash # Install dependencies brew install ffmpeg yt-dlp whisper-cpp # Or on Linux sudo apt install ffmpeg pip install yt-dlp # Build whisper.cpp from source ``` ## Monetization | Method | Potential | |--------|-----------| | Clip service for creators | $50-150/video | | Monthly retainer | $500-2,000/client | | Podcast clipping agency | $2,000-5,000/mo | | Sell this skill | $100-300 on ClawHub | ## Examples ### Podcast to Clips ``` Take this 2-hour podcast and find the 10 best moments: https://youtube.com/watch?v=PODCAST_ID Make them Hormozi-style with bold captions. ``` ### Interview Highlights ``` /clips-machine interview.mp4 --clips 5 --style minimal ``` ### Gaming Stream ``` Extract funny moments from my Twitch VOD: https://twitch.tv/videos/12345 Add meme-style captions ``` --- ## Support This Project If this skill saved you time or made you money, consider buying me a coffee! **[Buy Me a Coffee](https://buymeacoffee.com/mayank8290)** Every coffee helps me build more free tools for the community. --- Built for OpenClaw | Powered by Whisper + FFmpeg | [Support the Creator](https://buymeacoffee.com/mayank8290)
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Clipping the top 5 moments from a 2-hour podcast
- 1Clipping the top 5 moments from a 2-hour podcast
- 2Turning a Twitch gaming VOD into meme-captioned TikToks
- 3Extracting quotable segments from a conference keynote on YouTube
- 4Processing a local interview MP4 into Reels-ready highlights
- 5Batch-generating 10 short clips from a long YouTube interview for a client
Transform long videos into viral short-form clips.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.