DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

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.

Short answer: 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; then install uv from https://docs.astral.sh/uv/ so the clip pipeline can run. All steps.

  • 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.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for haiderfarooq3/khan-explainer and "Cut a YouTube video or podcast into vertical shorts"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer