Video Short Makerのロゴ

Video Short Maker

コミュニティ
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.

概要

公開者Kappaemme-git
リポジトリcodex-video-short-maker-skill
スキル名video-short-maker
スター
35
フォーク
4
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    Kappaemme-gitがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Video Short Maker」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Kappaemme-git/codex-video-short-maker-skill/tree/main/video-short-maker
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでVideo Short Makerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にVideo Short Makerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Video Short Makerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでVideo Short Makerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Video Short Makerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにVideo Short Makerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Kappaemme-git/codex-video-short-maker-skill/tree/main/video-short-makerを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Video Short Makerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Video Short Makerで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもVideo Short Makerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Video Short Maker」は無料ですか?

はい。Kappaemme-gitがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇