Video Short Maker logo

Video Short Maker

Community
Kappaemme-git
video-short-maker

Create short clips from local video files using ffmpeg, with optional local Whisper subtitles. Use when Codex is asked to turn a long local video into a short, trim boring pauses, remove dead air, cut silence, create a 30-60 second clip, export a vertical 9:16 MP4, generate captions/subtitles, burn subtitles into a video, or generate a simple edit report. Base editing is ffmpeg-based; subtitles use local whisper.cpp and do not require an API key.

Overview

PublisherKappaemme-git
Repositorycodex-video-short-maker-skill
Skill namevideo-short-maker
Stars
35
Forks
4
Bundled files
3
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.

  • 3 bundled files

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

  • Open source

    Published by Kappaemme-git on GitHub. Read the source before you install it.

Installation

Install the Video Short Maker 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/Kappaemme-git/codex-video-short-maker-skill/tree/main/video-short-maker
  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/Kappaemme-git/codex-video-short-maker-skill.git /tmp/codex-video-short-maker-skill
mkdir -p .claude/skills
cp -r /tmp/codex-video-short-maker-skill/video-short-maker .claude/skills/video-short-maker
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Video Short Maker 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 Video Short Maker 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 Video Short Maker 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.

Video Short Maker

Overview

Use this skill to turn a local video into a shorter MP4 by detecting silence and keeping the strongest non-silent parts. The base workflow depends only on ffmpeg and ffprobe. Captions are optional and use local whisper.cpp.

Requirements

Check dependencies first:

bash
ffmpeg -version
ffprobe -version

If missing on macOS, tell the user:

bash
brew install ffmpeg

For subtitles, set up local Whisper once:

bash
python3 /Users/francescomistero/.codex/skills/video-short-maker/scripts/setup_captions.py

This installs whisper.cpp with Homebrew when needed, installs Pillow for burned-in captions when needed, and downloads the default tiny.en model to ~/.cache/video-short-maker/models/.

Workflow

  1. Identify the input video path and output goal.

    • Default target duration: 45s.
    • Default format: landscape/same aspect ratio.
    • Default quality: high for crisp text in screen recordings.
    • Use vertical 9:16 only when the user asks for TikTok/Reels/Shorts/vertical.
    • Use captions only when the user asks for subtitles/captions.
  2. Run the bundled script:

bash
python3 /Users/francescomistero/.codex/skills/video-short-maker/scripts/make_short.py INPUT_VIDEO --duration 45

For vertical output:

bash
python3 /Users/francescomistero/.codex/skills/video-short-maker/scripts/make_short.py INPUT_VIDEO --duration 45 --vertical

For a custom output path:

bash
python3 /Users/francescomistero/.codex/skills/video-short-maker/scripts/make_short.py INPUT_VIDEO --duration 45 --output ./short.mp4

For smaller files:

bash
python3 /Users/francescomistero/.codex/skills/video-short-maker/scripts/make_short.py INPUT_VIDEO --duration 45 --quality small

For local captions:

bash
python3 /Users/francescomistero/.codex/skills/video-short-maker/scripts/make_short.py INPUT_VIDEO --duration 45 --vertical --captions
  1. Report the result succinctly:
    • output file path
    • duration target
    • number of segments kept
    • report path
    • whether vertical crop was applied
    • quality preset
    • subtitle and captioned video paths when captions were used

Quality Presets

  • high: CRF 18, slower encode, sharper text, larger file. Default.
  • balanced: CRF 20, faster encode, good quality/size balance.
  • small: CRF 24, smaller file, visibly more compression.

Captions

Captions are optional and local. They do not require an API key.

When the user asks for subtitles/captions:

  1. Check whether whisper-cli or whisper-cpp exists.
  2. If missing, run or suggest:
bash
python3 /Users/francescomistero/.codex/skills/video-short-maker/scripts/setup_captions.py
  1. Run make_short.py with --captions.

Caption outputs:

  • *.srt: generated subtitle file
  • *.captioned.mp4: final video with burned-in subtitles

Burned-in captions are rendered with Python/Pillow so they work even when the local ffmpeg build does not include the subtitles filter.

Default caption model: tiny.en.

For Italian or non-English speech, use the multilingual model and language:

bash
python3 /Users/francescomistero/.codex/skills/video-short-maker/scripts/setup_captions.py --model base
python3 /Users/francescomistero/.codex/skills/video-short-maker/scripts/make_short.py INPUT_VIDEO --captions --caption-model ~/.cache/video-short-maker/models/ggml-base.bin --caption-language it

Editing Behavior

The script:

  • detects silent ranges with ffmpeg silencedetect
  • converts them into non-silent candidate segments
  • supports --cut-style light|normal|aggressive
  • keeps 0.5s of silence on both sides of each cut by default in normal, so speech feels less abrupt
  • drops very short fragments
  • keeps earlier non-silent segments until the target duration is reached
  • concatenates selected segments
  • optionally crops/scales to 9:16
  • exports H.264 MP4 with AAC audio
  • optionally extracts audio, transcribes with local Whisper, writes SRT, and burns captions
  • writes an edit report JSON next to the output

This is not content-aware yet. It removes dead air and compresses the video, but it does not understand the spoken content.

Output Guidance

Keep responses short. Do not paste full ffmpeg logs unless the command fails.

Use this format:

markdown
Created short:
`/path/to/output.short.mp4`

- Target: 45s
- Kept segments: 6
- Vertical: yes/no
- Quality: high/balanced/small
- Report: `/path/to/output.report.json`
- Subtitles: `/path/to/output.srt` if used
- Captioned video: `/path/to/output.captioned.mp4` if used

If the result is rough, say so plainly and suggest the next useful option:

  • use --cut-style aggressive if it barely cut anything
  • use --cut-style light if cuts feel too jumpy
  • increase --keep-silence to make cuts feel softer
  • increase --duration if context is missing
  • use --vertical for Shorts/Reels/TikTok
  • use --quality balanced or --quality small if the file is too large
  • use --captions when subtitles are needed

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 Video Short Maker AI skill do?

Create short clips from local video files using ffmpeg, with optional local Whisper subtitles. Use when Codex is asked to turn a long local video into a short, trim boring pauses, remove dead air, cut silence, create a 30-60 second clip, export a vertical 9:16 MP4, generate captions/subtitles, burn subtitles into a video, or generate a simple edit report. Base editing is ffmpeg-based; subtitles use local whisper.cpp and do not require an API key.

Why use Video Short Maker on TypingMind?

Because you install it once and use it with any model. Video Short Maker 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 Video Short Maker in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Kappaemme-git/codex-video-short-maker-skill/tree/main/video-short-maker. 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 Video Short Maker?

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 Video Short Maker?

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

Is the Video Short Maker AI skill free?

Yes. It is published on GitHub by Kappaemme-git 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 👇