Hook Splitterのロゴ

Hook Splitter

コミュニティ
mrpaidsocial
hook-splitter

多くのフック/テイクを含む1本の長い録画を、フックごとに独立した動画へ分割し、無音、言いよどみ、重複発言がないように各動画を整えます。ユーザーから1本の長いファイルを渡され、素材を切り出したいと言われた場合に使います。「これらのフックを切り出して」「20個以上のフックが入っているので、それぞれ別の動画にして」「個別のクリップに分けて」「例ごとに1本の動画にして」「この複合動画を分割して」「整えて送って」などの依頼が対象です。レビュー用キャンバスに書かれたタイムラインのメモを読み取り、反映するフォローアップ作業にも使います。プロンプトを提示してAI生成動画を再生し、クリエイターが感想を述べるデモ形式を想定していますが、複数回のテイクを含む長時間録画全般に対応します。バナーや字幕で完成済みのリール1本を装飾する場合(reel-recut)、ブランド案件向けのグラフィック編集(branded-ad-edit)、1カット用のキャンバス(video-review-canvas)には使いません。このスキルには21本を一度に確認できる独自のギャラリー版が付属します。

Add to TypingMind

概要

公開者mrpaidsocial
リポジトリmrpaidsocial-video-editor-agent
スキル名hook-splitter
スター
114
フォーク
34
同梱ファイル
17
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 17個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mrpaidsocial/mrpaidsocial-video-editor-agent.git /tmp/mrpaidsocial-video-editor-agent
mkdir -p .claude/skills
cp -r /tmp/mrpaidsocial-video-editor-agent/.claude/skills/hook-splitter .claude/skills/hook-splitter
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

hook-splitter — one long recording → N tight standalone hooks

Cuts a composite into one MP4 per hook, removes every gap and flub, and delivers the whole set on a here.now gallery canvas where each video has its own comment box.

Built and proven on Rough Cut - Composite.mov (16:26, 21 hooks): 946s of hook spans became 627s across 21 videos, then three feedback rounds off the canvas.

The two rules that matter most

1. Never trim copy for pacing. Remove dead air, stumbles, aborted takes and repeats. Do NOT shorten what the speaker actually said to hit a runtime. If a hook runs long because the setup is long, ship it long and say so — the trim is the user's call. (Approved copy on a paid deliverable is never trimmed for pacing.)

2. Transcribe the RENDER, not just the source. This is the single highest-value step in the pipeline. Whisper smooths a repeated take into one clean line on a full-file pass, so real doubles are invisible in every source-side transcript — but they show up immediately in a transcript of the cut. Four of the flubs the reviewer caught on the proving run were of exactly this kind. scripts/qa.py exists to catch them before the reviewer does.

Pipeline

Everything is driven by one hooks.json (see assets/hooks.example.json). Scripts take its path as $1 and default to ./hooks.json.

#ScriptWhat it does
1probe.pyreads the source, extracts one wav per audio stream, computes 10 ms dB envelopes, and tells you which stream is the mic and which is the system capture
2video_regions.pythe "a video is playing" mask (see below)
3detect_loops.pywhere each played video restarts (players loop)
4build_mix.pywork/mixed.mov: video stream-copied, audio tracks summed, loop tails muted
5plan.pycuts.json — speech map, gap collapse, your hook table + kills
6render.pyfinal/hook-NN.mp4, one per hook
7qa.pyre-transcribes every render and scans for repeats (never skip)
8build_canvas.pythe gallery canvas → publish with here-now
9map_notes.pyround 2+: pull the reviewer's notes back and map them to source time

The spine: a clean "video is playing" mask

A screen recording made with a mic plus system-audio capture has two audio streams, and the system one is digital silence whenever nothing is playing. That gives an exact, free mask, and the entire edit hangs off it:

  • inside a video region → never cut. That is the only silence the brief allows.
  • outside one → the speaker is talking; every gap collapses to a fixed residual.

probe.py identifies the streams by their silence fraction (the system track is

50% digital silence; the mic never is). Verify alignment before trusting it — transcribe the same 45s window from both near the start and near the end. It has been exact so far, but a drifting mask would corrupt all 21 outputs silently.

Only one audio stream? Then there is no free mask. Mark the video regions by hand in hooks.json ("video_regions": [[13.2,16.45], …]), reading them off scripts/probe.py --map output plus the transcript. Everything downstream is unchanged. Do not try to infer them from the mic track alone — the ad audio bleeds in ~22 dB down and sits right on the speech threshold.

Delivery

build_canvas.py + the here-now publish script. It is a 21-up gallery, not the single-video canvas: the comments collection carries a hook field so each video gets its own box, and a note stamps that player's current frame.

Reply LEADS with the canvas URL, every round (see video-review-canvas).

Bump version every round so answered notes stop cluttering, and version-stamp the filename of every hook whose bytes changed (hook-04-v2.mp4) so no one gets a cached old cut. Delete the superseded files; verify the old name 404s.

Read next

  • references/workflow.md — the step-by-step, including the feedback rounds
  • references/gotchas.md — the measured numbers and the traps that cost real time

Requires: ffmpeg/ffprobe (PATH, or FFMPEG/FFPROBE env vars), whisper-cli + ggml-large-v3.bin (WHISPER_CLI/WHISPER_MODEL), whisper-vad-speech-segments + a silero VAD model (VAD_BIN/VAD_MODEL), numpy, OPENAI_API_KEY for transcribe.py, and here.now credentials for the gallery canvas. If an agent sandbox kills ffmpeg, re-run with the sandbox disabled.

同梱ファイル

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

よくある質問

AIスキル「Hook Splitter」では何ができますか?

多くのフック/テイクを含む1本の長い録画を、フックごとに独立した動画へ分割し、無音、言いよどみ、重複発言がないように各動画を整えます。ユーザーから1本の長いファイルを渡され、素材を切り出したいと言われた場合に使います。「これらのフックを切り出して」「20個以上のフックが入っているので、それぞれ別の動画にして」「個別のクリップに分けて」「例ごとに1本の動画にして」「この複合動画を分割して」「整えて送って」などの依頼が対象です。レビュー用キャンバスに書かれたタイムラインのメモを読み取り、反映するフォローアップ作業にも使います。プロンプトを提示してAI生成動画を再生し、クリエイターが感想を述べるデモ形式を想定していますが、複数回のテイクを含む長時間録画全般に対応します。バナーや字幕で完成済みのリール1本を装飾する場合(reel-recut)、ブランド案件向けのグラフィック編集(branded-ad-edit)、1カット用のキャンバス(video-review-canvas)には使いません。このスキルには21本を一度に確認できる独自のギャラリー版が付属します。

TypingMindでHook Splitterを使うメリットは何ですか?

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

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

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

Hook Splitterを使えるAIモデルはどれですか?

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

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

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

AIスキル「Hook Splitter」は無料ですか?

mrpaidsocialがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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