Communitygithub.com

SingleGrain-Team/video-skills

プレゼンターの背後に特大コンデンス見出し(2~4語)が飛び込み、背景除去したプレゼンターのカットアウトを重ねた5~6秒のモーショングラフィックをレンダリングします。

video-skills とは?

このスキルは、トーキングヘッドのイントロ、チャプターオープナー、ローンチ告知、ソーシャルフックに最適な、5~6秒の動画を生成するためのものです。HyperFramesをベースに構築されており、1920×1080のH.264 MP4と編集可能なプロジェクトファイルを出力します。ビート1では見出しがプレゼンターの背後に飛び込み(奥行き)、ビート2ではハードカットでプレゼンターが消え、同じ見出しがそのままの位置とサイズで保持され、サポートラインが表示されて読みやすくなります(明瞭さ)。スキルの入出力は、プレゼンタークリップ(人物、顔・肩が中央、4秒以上)、2~4語の大文字見出し(約16文字/行)、1行のサポートライン(約50文字以内)、カラーパレット(背景、インク、アクセント)、フォント(Anton + Inter)など、明確に定義されています。タイミングルールは非常に厳密で、カット時に見出しが移動しないこと、カットアウトとフッテージがフレームロックされることなどが不変条件として定められています。検証工程では、HyperFramesのチェック、特定フレームの抽出と目視確認、ffprobeによるプロパティ確認が含まれ、品質を保証します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SingleGrain-Team/video-skills/tree/HEAD/skills/title-takeover

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

title-takeover

1つのアイデア、2つのビート。ビート1:見出しがスピーカーの背後に飛び込む(奥行き)。ビート2:ハードカットでスピーカーが消え、同じ文字がそのまま残り、1行のコピーが表示される(明瞭さ)。カット前後で同じ要素;カットだけが唯一の変化です。

入力

入力ルール
プレゼンタークリップ1人、カメラ正面、頭と肩がほぼ中央、1920x1080横長、使用可能な映像が最低4秒。無音で可。自身またはライセンス済みの映像のみ。
見出し2~4語、大文字、1行あたり最大約16文字。2行が最適(例:ADOPT AI / SKILLS)。アクセントワードは1つ任意。
サポートライン1文、4~9語が理想、最大約50文字(60pxで1行に収まる必要あり)。
パレット背景、インク、アクセント。暗い背景+クリームインク+1つのアクセントが最も読みやすい;WCAG AA以上を維持。
フォントローカルファイルとして配布するコンデンス太字ディスプレイフェイス(デフォルトはAnton、OFL)+サポートライン用のクリーンなサンセリフ(Inter)。

ワークフロー

  1. クリップの準備。 プレゼンターがカメラ正面でフレームから外れていない6秒のウィンドウをトリミング。音声を削除し、30fps、1920x1080に正規化: ffmpeg -ss <in> -i src.mp4 -t 6 -an -r 30 -c:v libx264 -crf 14 -pix_fmt yuv420p assets/presenter.mp4
  2. カットアウト。 npx --yes hyperframes remove-background assets/presenter.mp4 -o assets/presenter-cutout.webm(透明VP9 WebM、ソースと同じフレーム数と解像度;Appleシリコンで180フレームあたり約25秒)。モデルのダウンロードがタイムアウトした場合は再実行;モデルは~/.cache/hyperframesにキャッシュされます。
  3. コンポジション。 template/をプロジェクトにコピーし、presenter.mp4、presenter-cutout.webm、フォント、ロゴをassets/に配置。その後、マークされたパレット変数、2行の見出し、サポートコピーのみを編集。レイヤー順(下から上):
    1. 背景(ベタ+ソフトなアクセントグロー)
    2. プレゼンター映像+暗いスクリム(忙しい背景を暗くして文字を際立たせる)
    3. 見出し
    4. プレゼンターカットアウト(映像と同じdata-start / data-media-start / data-duration)
    5. サポートライン、ブランドマーク
  4. チェックとレンダリング。 npx --yes hyperframes check、その後 npx --yes hyperframes render --workers 2 --quality delivery --output final.mp4。

タイミングルール(6.0秒のフィルム、30fps)

瞬間時間ルール
パンチイン0.30秒(行1)、0.45秒(行2)スケール1.4から1.0、不透明度0から1、0.45秒、expo.out。行を0.15秒ずらす。見出しがライブフレームに着地するよう、最初に0.3秒間プレゼンターのみ表示。
プレゼンター背後でのホールド0.75秒~カットスピーカーが文字の上に表示された状態を少なくとも2.4秒。
ハードカット3.4秒(フレーム102)映像、スクリム、カットアウトがすべて同じフレームで終了。フェード、トランジション、ズームなし。
サポートライン3.75秒、0.55秒かけて28px上昇、アクセントルールがワイプインカット後、約0.35秒間は見出しだけを表示し、「ホールド」を認識させる。
読みホールド4.3秒~6.0秒少なくとも1.5秒間完全に静止。フルロックアップで終了;フェードアウトしない。

不変条件:

  • 見出しは1つの要素。パンチインが落ち着いた後(フレーム~24)は、スケール、位置、サイズ、文字間隔を再度トゥイーンしない。カットによって1文字も動かしてはなりません。
  • 見出しを2番目のシーンで再作成しない。
  • カットアウトと映像はフレームロックされていること;両方にmuted playsinlineを設定し、crossoriginは設定しない。
  • 見出し行ではtransformとopacityのみアニメーション化(これらは静的なラッパー内に配置)。.clip要素はトゥイーンしない。
  • プレゼンターの顔が一部の文字を隠すことがあります。これは意図的です;単語間の空白と、両側で判別可能な特徴的な文字ペアを維持し、見出しを380~440pxにして単語が判読可能であることを保ちます。
  • 行1の上に140pxのヘッドルームを確保し、グリフがキャンバスからはみ出さないようにします。

検証

  1. npx --yes hyperframes checkでエラーが0であること。意図的な文字とプレゼンターの重なりは、カットアウトと見出し行にdata-layout-allow-occlusionで宣言済み(テンプレートに既にあります)。
  2. レンダリングされたMP4から以下のフレームを抽出して確認(単に数えるだけではなく目視):
    for n in 90 101 102 103 179; do ffmpeg -y -i final.mp4 -vf "select=eq(n\,$n)" -frames:v 1 qc_$n.png; done
    
    • 90:見出しがプレゼンターの背後に見える、カットアウトのエッジがクリーン(ハローや欠けなし)。
    • 101(最後のプレゼンターフレーム)と102(カット後の最初のフレーム):102でプレゼンターが消え、見出しのサイズと位置が両方で同一。
    • 103:まだサポートラインがないか、ちょうど始まったばかり;見出しは不変。
    • 179(最終):見出し+完全なサポートライン、完全に判読可能、クリップなし。
  3. カットアウトにフリンジやちらつきがある場合は、--quality bestを付けてremove-backgroundを再実行するか、よりクリーンなソースウィンドウを選択。カットで見出しがジャンプする場合、まだトゥイーンが実行中なので削除。
  4. ffprobeでh264、1920x1080、30fps、6.0秒と表示されること。

納品

final.mp4とプロジェクトフォルダ(index.html、assets/)を引き渡す。映像のソースURLとライセンスをNOTES.mdに記録。認識可能なクリエイターや有名人の映像、サードパーティのロゴは使用しないこと。

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

SingleGrain-Team/video-skills

Make a 30-45 second launch film for a product by staging it inside one persistent, neutral chat window. A user types a request, the assistant answers and calls the product as a connected tool, a progress card runs, a follow-up triggers a second tool action, and the result lands as a count-up headline number before closing on the logo, tagline and call to action. Use when you need a launch, feature or integration announcement video for something that plugs into AI assistants (a skill, MCP server, plugin, connector, CLI). Delivers a rendered 1920x1080 MP4 plus an editable single-file HyperFrames project.

SingleGrain-Team/video-skills

Build a motion graphic where a screen recording plays in a large frame beside a checklist, and each checklist item ticks off at the exact moment that step happens in the recording, ending with every item checked and a short hold. Use when someone has a screen recording (product walkthrough, tutorial, onboarding, install demo) plus a list of steps with timestamps and wants a "watch the steps get done" film. Input is a recording, step labels with timestamps, a title and an optional palette; output is a 1920x1080 H.264 MP4 and the editable HyperFrames project.

SingleGrain-Team/video-skills

Build a 15-20 second product launch film that shows the product's real screen on a laptop built from plain CSS (no 3D model, no generation model) in a dark studio, scrolls the page, zooms into the interface for one key action such as typing a search, and resolves to the logo lockup. Use when someone has a full-page screenshot or screen recording of their product, one action worth showing, and a logo, and wants a short silent-friendly launch teaser rendered as a 1920x1080 MP4 with an editable HyperFrames project.

SingleGrain-Team/video-skills

Builds a 6-8 second logo sting in which the brand mark rides inside a refracting liquid bead (distorted past legibility), the bead swells, holds still for a beat, then ruptures into droplets and leaves the logo lockup (mark plus wordmark) crisp and upright on screen. Delivered as a 1920x1080 H.264 MP4 plus the editable HyperFrames project, with no 3D model, stock footage or generation model. Use it for brand intros and outros, product-launch openers, channel stings and any "reveal our logo" moment, from an SVG or PNG logo (including raster-only logos), a wordmark string and a palette.

SingleGrain-Team/video-skills

Make a 20-30 second launch film for a product that is not tied to one interface, such as a CLI, package, plugin or agent skill. The identical prompt or command is typed into four visually different surfaces in turn (a wide terminal, a tall chat card, a floating palette, an editor cell), the film then hard-cuts into a fast reel of real outputs on a beat or fixed tempo grid, and it closes on the command in a large pill. Delivered as a rendered 1920x1080 MP4 plus the editable HyperFrames project. Music is optional - with a track the cuts land on detected beats, without one they land on a 120 bpm grid.

SingleGrain-Team/video-skills

Make a roughly 30-second film that explains a code change (a pull request, release or uncommitted diff) to people who will never read the diff. It opens by showing the real diff scrolling past too fast to follow, cuts to a plain-language summary, fires four capability beats each pinned to a real code snippet, and closes on how to get it (install command and URL). Delivered as a 1920x1080 H.264 MP4 plus the editable HyperFrames project. Use when asked to turn a PR, changelog or release into a launch or explainer video.

SingleGrain-Team/video-skills

Builds a 10-14 second product sting out of a short run of UI moments (an entry screen, a single counting metric, a navigation list, one click that opens a menu, then an endcard) cut together so every cut carries the previous motion forward and the piece reads as one continuous camera move. Delivered as a 1920x1080 H.264 MP4 plus an editable single-file HyperFrames project. Use it for app launches, feature teasers, social bumpers and site intros when you have a product's logo, a couple of screenshots, one headline number and its real nav labels, and want polished UI motion without narration.

関連スキル