DEDUPED Hot AI repos, turned into use cases Get 5 a day

How to cut a YouTube video or podcast into vertical shorts with Khan Explainer

Clip the best moments of a long video into vertical shorts with the speaker's own voice.

  • Content
  • Advanced
  • 1 hour
  • From the README
  • Claude Code

Who it is forA creator or marketer who has a long YouTube video or podcast and needs short vertical clips for social channels.

The problemFinding the strongest moments in a long recording and cutting them by hand takes hours.

The outcomeVertical short clips in which the speaker's own voice plays while the board is drawn to their words, rendered in light or dark theme.

What you need first

  • macOS
  • Node 20 or newer
  • ffmpeg (install with brew install ffmpeg)
  • Claude Code, since the repo installs as a Claude Code skill

Steps

  1. Complete the base install: brew install ffmpeg, then git clone https://github.com/haiderfarooq3/khan-explainer ~/.claude/skills/khan-explainer, then cd ~/.claude/skills/khan-explainer/scripts && npm install && npx playwright install chromium.
  2. Install uv from https://docs.astral.sh/uv/ so the clip pipeline can run.
  3. Ask Claude Code: Khanify this YouTube video: find the best moments and clip them, light and dark, and give it the video URL as <video URL>.
  4. Review each generated short and its contact sheet before publishing.

Prompt for your agent

Using the khan-explainer clip pipeline, find the strongest moments in <video URL> and render vertical shorts in light and dark themes. Expected output is a set of vertical MP4 clips with the speaker's audio. Verify that each clip's audio and board drawing stay in sync using the contact sheet.

Caveat. The README does not say how YouTube sources are downloaded, so confirm the source setup in SKILL.md and make sure you have rights to reuse the footage before publishing clips.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page