youtube-shorts-generator
Skill by Anil-matcha
Generate 9:16 vertical clips from a long YouTube video or local mp4. Creators and teams use it to make TikTok, Reels or Shorts clips from podcasts, interviews and lectures.
Install youtube-shorts-generator
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Anil-matcha/awesome-generative-ai-apps /tmp/awesome-generative-ai-apps && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-generative-ai-apps/video_generation/AI-Youtube-Shorts-Generator/.claude/skills/youtube-shorts-generator ~/.claude/skills/youtube-shorts-generatorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install youtube-shorts-generator in Claude Code
git clone --depth 1 https://github.com/Anil-matcha/awesome-generative-ai-apps /tmp/awesome-generative-ai-apps && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-generative-ai-apps/video_generation/AI-Youtube-Shorts-Generator/.claude/skills/youtube-shorts-generator ~/.gemini/antigravity-cli/skills/youtube-shorts-generatorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install youtube-shorts-generator in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The youtube-shorts-generator skill turns one long video into several vertical, short-form clips. You give it a YouTube URL or a local mp4. It downloads the source, transcribes the audio with MuAPI's /openai-whisper endpoint, and asks an LLM to rank candidate highlights. Each clip gets a viral score from 0 to 100, an opening hook line, and a one-sentence reason it should perform.
The ranking follows a virality framework that covers hooks, emotional peaks, opinion bombs, revelations, conflict, quotable lines, story peaks and practical value. Overlapping candidates are deduplicated, and the top N clips are vertically auto-cropped to the chosen aspect ratio as mp4 files. It is meant for creators and teams who want short clips from podcasts, interviews, lectures and similar long-form videos.
Written from the project's SKILL.md and checked against it.
What it can do
- Download sourcePulls the source video at a chosen resolution, from 360 to 1080, default 720.
- Transcribe audioRuns MuAPI /openai-whisper to return timestamped transcript segments.
- Classify content typeTags the video as podcast, interview, tutorial, vlog, lecture or monologue.
- Rank highlightsScores candidate moments against the virality criteria with an LLM, from 0 to 100.
- Dedupe candidatesDrops the lower-scoring clip when two candidates overlap by more than 50%.
- Vertical auto-cropRenders the top clips as mp4 files at 9:16, 1:1 or 4:5 with face tracking.
- Batch modeProcesses a urls.txt file with one URL per line through the CLI.
- Python APIExposes generate_shorts() for use inside another pipeline.
What you need
- MuAPI API key set as MUAPI_API_KEY in .env
- Python 3.10 or newer
- A venv with requirements.txt installed via pip
Try asking
- Make 5 vertical shorts from this YouTube interview at 9:16.
- Find the most viral 60-second clips in this podcast episode.
- Auto-crop this lecture to 9:16 and give me the hook for each clip.
Good to know
- Whisper transcription is billed per minute of audio.
- If no speech is detected, Whisper may return no segments; retry with a language code.
- After deduplication the ranker can return fewer clips than requested.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: video_generation/AI-Youtube-Shorts-Generator/.claude/skills/youtube-shorts-generator/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to youtube-shorts-generator
All alternatives →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
Compare with intelligence-vocabulary, media-use or media_library
youtube-shorts-generator: common questions
What transcribes the audio in youtube-shorts-generator?
Audio is transcribed by MuAPI's /openai-whisper endpoint, which runs Whisper server-side. You can pass an ISO-639-1 language code or leave it empty for auto-detection.
How does it decide which moments become shorts?
An LLM scores each chunk against a virality framework that includes hooks, emotional peaks, opinion bombs and revelations. Each clip gets a score from 0 to 100 and a short reason.
Does it handle long videos?
Yes. Videos longer than 1800 seconds are split into 1200-second windows with 60 seconds of overlap so highlights at the boundaries are not missed.
How do I install youtube-shorts-generator?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is youtube-shorts-generator free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is youtube-shorts-generator safe to use?
It scores 83 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to youtube-shorts-generator?
Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.
