Longform To Shortsのロゴ

Longform To Shorts

コミュニティ
nidhi-singh02
longform-to-shorts

完成済みの長尺トーク動画+画面共有動画(「N個のツール」紹介、チュートリアル、レビュー、デモなど)から、単独で公開できる縦型Shorts/Reels(1080x1920)を切り出します。トピックやツールごとにShortを1本作成し、各ShortのYouTubeとInstagram用メタデータも作成します。完成済みの長尺動画からショート動画を作りたい場合は、「shorts」という言葉がなくても、このスキルを使ってください。「この動画からshorts/reelsを切り出して」「長尺動画からショート動画を作って」「YouTube動画からreelsを作って」「動画内の各ツールをそれぞれ別のクリップにして」「TikTok/reels用に分割して」などの依頼が対象です。ffmpegと、単語ごとのタイミングを取得する文字起こしスキルを使用します。複数テイクの未編集映像には使用せず、shorts-from-takesを使ってください。また、自由形式の単一動画編集にも使用しないでください。このスキルの対象は、完成済みの長尺動画から複数の独立した縦型動画を作ることです。

概要

公開者nidhi-singh02
リポジトリskills
スキル名longform-to-shorts
スター
23
フォーク
4
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

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

同梱ファイル

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

よくある質問

AIスキル「Longform To Shorts」では何ができますか?

完成済みの長尺トーク動画+画面共有動画(「N個のツール」紹介、チュートリアル、レビュー、デモなど)から、単独で公開できる縦型Shorts/Reels(1080x1920)を切り出します。トピックやツールごとにShortを1本作成し、各ShortのYouTubeとInstagram用メタデータも作成します。完成済みの長尺動画からショート動画を作りたい場合は、「shorts」という言葉がなくても、このスキルを使ってください。「この動画からshorts/reelsを切り出して」「長尺動画からショート動画を作って」「YouTube動画からreelsを作って」「動画内の各ツールをそれぞれ別のクリップにして」「TikTok/reels用に分割して」などの依頼が対象です。ffmpegと、単語ごとのタイミングを取得する文字起こしスキルを使用します。複数テイクの未編集映像には使用せず、shorts-from-takesを使ってください。また、自由形式の単一動画編集にも使用しないでください。このスキルの対象は、完成済みの長尺動画から複数の独立した縦型動画を作ることです。

TypingMindでLongform To Shortsを使うメリットは何ですか?

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

TypingMindにLongform To Shortsをインストールするにはどうすればよいですか?

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

Longform To Shortsを使えるAIモデルはどれですか?

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

Longform To Shortsで使えるAIモデルの数に制限はありますか?

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

AIスキル「Longform To Shorts」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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