Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 83
  • 858 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-generator

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install youtube-shorts-generator in Claude Code

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

A

No 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 →

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.

youtube-shorts-generator Install

Add to stack

Loading.