Longform To Shorts logo

Longform To Shorts

Community
nidhi-singh02
longform-to-shorts

Cut standalone vertical Shorts/Reels (1080x1920) out of ONE finished long-form talking-head + screen-share video (a "N tools" walkthrough, tutorial, review, demo), one Short per topic/tool, then write per-Short YouTube + Instagram metadata. Use this whenever the user hands over a finished long-form video and wants short-form clips from it, even if they don't say the word "shorts": "cut shorts/reels from this video", "trim the short-form videos out of my long-form", "make reels from my youtube video", "turn each tool in my video into its own clip", "clip this up for tiktok/reels". Uses ffmpeg + a transcription skill for word timings. Do NOT use for raw multi-take footage (use shorts-from-takes) or a single freeform edit; this is specifically finished-long-form -> many standalone verticals.

Overview

Publishernidhi-singh02
Repositoryskills
Skill namelongform-to-shorts
Stars
23
Forks
4
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by nidhi-singh02 on GitHub. Read the source before you install it.

Installation

Install the Longform To Shorts AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/nidhi-singh02/skills/tree/main/skills/longform-to-shorts
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nidhi-singh02/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/longform-to-shorts .claude/skills/longform-to-shorts
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Longform To Shorts in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Longform To Shorts on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Longform To Shorts is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

longform-to-shorts

Turn one finished long-form video into several standalone vertical Shorts, then write their metadata. Each Short must stand fully alone (no "first/next", no cross-reference), open on a clean full sentence, end clean, and look native to Reels: face zoomed, screen zoomed + scrolling, burned subtitles, a hook, a whoosh, a small speed-up.

This was distilled from a long real edit. The exact ffmpeg commands, the two-phase build, and the gotchas that each cost hours live in references/ffmpeg-recipes.md — read it before building any clip. The phases below are the plan and the judgment calls.

Setup

Source = one finished .mp4 (talking-head + screen-share, ~1080p). Needs ffmpeg/ffprobe and a transcription skill that can return word-level timings (this pairs with the watch/claude-video skill + a Groq/OpenAI Whisper key in ~/.config/watch/.env; line-level transcripts are too coarse to cut cleanly). Provide a short whoosh sound effect for transitions. Work in a shorts/ folder next to the video; keep _ref/ for frames + words.json.

The pipeline

1. Transcribe twice. Full clean transcript for reading/segmenting; word-level JSON for exact cut points. Commands in the reference.

2. Segment + trim (editorial). One Short per topic; target ~30–45s (pre-speedup; see Configuration). Every Short is standalone — cut all sequencing ("first/next", "moving on", "second one") and cross-references. Never open on a dangling connective ("but/so/and/that/okay"); start on a clean full sentence (an earlier sentence start often reads best). End on a complete sentence without clipping the last word. Mid-cuts to drop a redundant clause are fine — pick boundaries with a real gap, else remove the whole clause rather than leave a leftover fragment.

3. Face vs screen. Sample frames (~every 8s) to map talking-head vs screen-share spans. The critical rule: switch to the screen crop only when the screen content actually appears, not when the speaker starts mentioning it — otherwise you crop an empty room for a few seconds while they lean to bring the window up. Confirm the real appearance time with 2s-interval frames at the boundary.

4. Reframe to fill 1080x1920. Face → center-crop on the face. Screen → zoom + slow vertical scroll (a static screen under voiceover looks dead). Screen-only (no face) → split-screen: screen scroll + a full-face PIP bubble. Transition dead-zone → freeze the first clean target frame over the audio. Filters in the reference.

5. Captions. Top hook (short, viewer-workflow tension). Burned subtitles: generate an SRT with scripts/gen_subs.py (maps word timings onto the edited timeline incl. gaps), then HAND-REVIEW and correct every SRT — raw Whisper drops words, mis-hears names, and duplicates; it is not postable. Chunk into natural phrases. Burn recipe in the reference.

6. Polish. Whoosh SFX at each face→screen transition; a small speed-up with pitch preserved (as a final pass so subtitles stay synced); fade in/out.

7. Verify before saying done (non-negotiable). Re-transcribe each Short: clean opening, clean end, no sequencing words, mid-cuts read naturally. Sample frames: face in-frame everywhere (no empty chair), subtitles positioned + readable, screen scrolls, no leftover tag. Confirm the sped audio is intelligible.

8. Per-Short metadata. For each Short: 3–4 tension/curiosity title options (Title Case, no emoji, no overclaim — don't credit a tool with a capability it doesn't have), a YouTube description that complements the clip (never restates the spoken lines) + link + hashtags + #Shorts, and a platform caption in the creator's voice. Write to shorts/METADATA.md.

Configuration (opinionated defaults, change to taste)

Baked into the recipes as defaults; edit for your style:

  • Subtitles: color/size/position via force_style (default white, bottom). See the reference.
  • Speed-up: default atempo=1.1 (pitch preserved). Set to 1.0 to disable.
  • Clip length: ~30–45s target.
  • Hook font: default Impact; change the hardcoded fontfile= (macOS path by default — swap for your OS).
  • Whoosh SFX: set the path in the phase-2 command.

Files

  • references/ffmpeg-recipes.md — every ffmpeg command + the gotchas. Read before building.
  • scripts/gen_subs.py — word-timings → per-Short SRT (edit the CLIPS dict; always hand-review output).

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Longform To Shorts AI skill do?

Cut standalone vertical Shorts/Reels (1080x1920) out of ONE finished long-form talking-head + screen-share video (a "N tools" walkthrough, tutorial, review, demo), one Short per topic/tool, then write per-Short YouTube + Instagram metadata. Use this whenever the user hands over a finished long-form video and wants short-form clips from it, even if they don't say the word "shorts": "cut shorts/reels from this video", "trim the short-form videos out of my long-form", "make reels from my youtube video", "turn each tool in my video into its own clip", "clip this up for tiktok/reels". Uses ffmpe...

Why use Longform To Shorts on TypingMind?

Because you install it once and use it with any model. Longform To Shorts is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Longform To Shorts in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/nidhi-singh02/skills/tree/main/skills/longform-to-shorts. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Longform To Shorts?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Longform To Shorts?

As many as you like. As long as a model supports skills, you can use Longform To Shorts with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Longform To Shorts AI skill free?

Yes. It is published on GitHub by nidhi-singh02 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇