clips-machine
Transform long videos into viral short-form clips. Auto-detect best moments, add trendy captions, export for TikTok/Reels/Shorts.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- clips-machine
- tags
- video, clips, tiktok, reels, shorts, viral, captions, transcription
- author
- mayankgupta
- version
- 1.0.0
- metadata
- { "openclaw": { "requires": { "bins": [ "ffmpeg", "yt-dlp", "whisper-cpp" ] } } }
- description
- Transform long videos into viral short-form clips. Auto-detect best moments, add trendy captions, export for TikTok/Reels/Shorts.
02 资源文件 2
- 参考文档_meta.json282 B
- 脚本clips_machine.py20.7 KB
03 SKILL.md 正文
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.
What This Skill Does
- Input any long video (YouTube URL, podcast, stream, local file)
- Transcribe with timestamps using Whisper (free, local)
- Detect viral-worthy moments using AI analysis
- Cut the best 30-60 second segments
- Caption with animated, trendy text styles
- 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 Viralminimal- Clean white textkaraoke- Word-by-word color changenews- Lower third stylememe- Impact font, top/bottom
How Viral Detection Works
The AI analyzes the transcript looking for:
- Hook Potential - Strong opening statements
- Emotional Peaks - Passion, excitement, surprise
- Quotable Lines - Memorable one-liners
- Controversial Takes - Debate-worthy opinions
- Surprising Facts - "Did you know" moments
- 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
# 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
Built for OpenClaw | Powered by Whisper + FFmpeg | 100% Free
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.