Clip Machineのロゴ

Clip Machine

コミュニティ
Enriquemarq1
clip-machine

Turn ONE long video into native TikTok + Reels + Shorts posts — the four stations: CUT (word-level transcript, best moments, 9:16 reframe), CAPTION (burned word captions + per-platform caption text), COVER (per-platform cover rules), POST (one Zernio request per clip). Use when the user hands a long video and wants short clips selected, produced, and published natively everywhere. Triggers: 'run the clip machine', 'turn this video into clips', 'repurpose this video', 'post clips to tiktok reels shorts'.

概要

公開者Enriquemarq1
リポジトリzernio-library-skills
スキル名clip-machine
スター
50
フォーク
13
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 3個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Clip Machine — one long video in, native posts out

Four stations. Claude runs the first three, Zernio ships the fourth. No timeline software ever opens.

LONG VIDEO → [1 CUT] → [2 CAPTION] → [3 COVER] → [4 POST] → native posts live

The math this kills: 1 video → 3 clips × 3 platforms = 9 manual uploads, every week, forever. With the machine it's 3 requests.

Starting from zero? Copy-paste reference/initiation-prompt.md to Claude Code in an empty folder — it sets up the whole system for you.

STATION 1 — CUT

  1. Transcribe with word timestamps. WhisperX is the reference model — open source, free, runs on your machine (pip install whisperx, needs ffmpeg): whisperx video.mp4 --model large-v3 --output_format json The JSON gives every word a start/end timestamp via forced alignment (GPU: add --device cuda; CPU works with --compute_type int8). Any word-level transcription service works too — the machine only needs words with millisecond timing. No ground truth, no clean cut.
  2. Pick the best moments with the selection framework in reference/best-moments-prompt.md. That file IS the prompt — paste it with the transcript. Core law: finish the point — a clip starts at the beginning of a thought and ends after the payoff, never mid-sentence.
  3. Cut on word boundaries. Start ~0.15s before the first word, end ~0.25s after the last (never past the next word's start). ffmpeg: ffmpeg -ss {start} -to {end} -i long.mp4 -c:v libx264 -crf 18 -c:a aac clip.mp4
  4. Reframe to 9:16 (1080×1920). Crop to the speaker (face-tracking via MediaPipe if available; a fixed crop works when the framing is static). Screen-share sources: stack the screen crop on top, the face cam below.

STATION 2 — CAPTION (there are TWO captions — that's the teach)

  1. Burned-in word captions on the video. Most people watch muted. Word-synced from the transcript timestamps (that's why Station 1 needs millisecond words), 3-4 words per line, high-contrast, inside the caption-safe band (keep out of the bottom ~20% and top ~12% — platform UI lives there).
  2. Caption TEXT per platform — never the same text three times. Copy-pasting one caption everywhere is the amateur tell. Claude writes all three from the transcript:
    • TikTok: conversational hook + 3-5 niche hashtags.
    • Reels: the first ~125 chars must stop the scroll (that's all that shows before "...more").
    • Shorts: barely displays text — put the value in the TITLE instead. Full rules per platform: reference/platform-cheat-sheet.md.

STATION 3 — COVER

The first impression is platform-specific — one cover does not fit all:

  • Reels: the grid shows a 1:1 CENTER crop of your cover. Title text must live inside the center square or it gets amputated.
  • TikTok: pick the cover frame + big readable cover text (profile grid is how binge-viewers navigate).
  • Shorts: pulls a frame — make frame 0 count (cover-as-first-frame: the cover IS frame 0, the video starts on frame 1; no 1-second intro card — it kills retention). Details and dimensions: reference/platform-cheat-sheet.md.

STATION 4 — POST (the one-request money shot)

One request per clip through Zernio — the video + the per-platform captions

  • the platform list. Zernio uploads NATIVE to each platform (platforms bury links and reward native uploads — that's the whole reason the treadmill exists).
json
POST https://api.zernio.com/api/v1/posts
{
  "title": "Clip title (YouTube uses this)",
  "content": "fallback caption",
  "mediaItems": [{ "type": "video", "url": "https://.../clip.mp4",
                   "filename": "clip.mp4", "mimeType": "video/mp4" }],
  "platforms": [
    { "platform": "tiktok",    "accountId": "...", "customContent": "TikTok caption + hashtags",
      "platformSpecificData": { "privacy": "PUBLIC_TO_EVERYONE" } },
    { "platform": "instagram", "accountId": "...", "customContent": "Reels caption, hook in line 1" },
    { "platform": "youtube",   "accountId": "...", "customContent": "Shorts description",
      "platformSpecificData": { "title": "Value-first title #Shorts", "visibility": "public",
                                 "categoryId": "27", "madeForKids": false } }
  ],
  "scheduledFor": "2026-08-20T18:30:00Z"
}

Media upload for local files: POST /v1/media/presign → PUT the file → use the returned publicUrl in mediaItems. The full publishing flow (approval gates, scheduling, verification) lives in the zernio-publish skill — this station rides it.

Hard-won gotchas:

  • Post platforms SERIALLY, never two multi-platform posts in parallel.
  • A timeout does NOT mean the post wasn't created — GET the post before retrying (blind retries create 409s or duplicates).
  • Space clips out: 1-2 per day beats 9 in one hour.

The loop

Clips point viewers to the long video. The long video feeds the machine. Every clip carries an end-card or caption line back to the source — the machine is a circle, not a pipe.

同梱ファイル

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

よくある質問

AIスキル「Clip Machine」では何ができますか?

Turn ONE long video into native TikTok + Reels + Shorts posts — the four stations: CUT (word-level transcript, best moments, 9:16 reframe), CAPTION (burned word captions + per-platform caption text), COVER (per-platform cover rules), POST (one Zernio request per clip). Use when the user hands a long video and wants short clips selected, produced, and published natively everywhere. Triggers: 'run the clip machine', 'turn this video into clips', 'repurpose this video', 'post clips to tiktok reels shorts'.

TypingMindでClip Machineを使うメリットは何ですか?

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

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

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

Clip Machineを使えるAIモデルはどれですか?

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

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

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

AIスキル「Clip Machine」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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