clips-machine
Transform long videos into viral short-form clips. Auto-detect best moments, add trendy captions, export for TikTok/Reels/Shorts. Self-contained, no external modules. 100% free tools.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- clips-machine
- tags
- video, clips, tiktok, reels, shorts, viral, captions, transcription
- author
- Mayank8290
- version
- 1.1.0
- homepage
- https://github.com/Mayank8290/openclaw-video-skills
- 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. Self-contained, no external modules. 100% free tools.
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.
Love this skill? Support the creator and help keep it free: Buy Me a Coffee
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
Support This Project
If this skill saved you time or made you money, consider buying me a coffee!
Every coffee helps me build more free tools for the community.
Built for OpenClaw | Powered by Whisper + FFmpeg | Support the Creator
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.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
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).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.