Communityコーディング&開発github.com

ショーケース動画

ゲームMODのショートショーケース動画やクリップ集を録画・編集し、X/YouTubeに投稿できる状態にします。ゲームウィンドウのみを録画します。

ショーケース動画 とは?

このスキルは、ゲームMODのショーケース動画を30秒程度にまとめてSNSに投稿するためのツールチェーンを提供します。`um win record`によるウィンドウキャプチャ、`um video contact`によるシーン確認、`um video compile`によるEDL編集というワークフローを、ffmpegとPillowを利用して実現します。録画はGPUフレームキャプチャ(NVENC/AMF/QSV対応)でゲームウィンドウのみを対象とし、音声はWASAPIプロセスループバックでゲームの音だけを録音します。編集はJSON形式のEDL(Edit Decision List)を用いて、トランジション、音楽、透かし、クリップごとの速度・拡大・トリミングなどを柔軟に設定可能です。Claude Code, Cursor, CodexなどのAIエージェントと連携し、コマンドライン操作で完結するため、手動編集ツールを開くことなく高速な動画制作が可能です。実ユーザーのフィードバックに基づいた効果的な編集スタイル(タイトル表記、ペース配分、サウンドデザイン)もガイドラインとして提供されています。

対応~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/rehan-remade/universal-modder/tree/main/skills/showcase-video

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

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

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

ドキュメント

ショーケース動画 は何をしますか?

MODは30秒で見せられなければ完成とは言えません。ツールチェーンは um win record(キャプチャ)、um video contact(確認)、um video compile(編集)で、すべてffmpeg + Pillowを使用します。

1. テイクを再現可能にする

  • アクションをスクリプト化する。 MOD側のタイムラインまたはコマンドシーケンス(敵を出現させる、武器を発射する、ボスを呼び出す)、トリガーとカメラ移動を備えたシナリオ、WinDriveコマンドリストを使用します。最初のクリーンテイクが正確に再現可能であるべきなので、修正後に再撮影できます。
  • 各テイクの前に世界を復元する。 爆発は世界にクレーターを作ります。ユニットは死にます。um backup で pristine なコピーを保持し、毎テイク復元します。
  • クリーンなフレーム。 デバッグテキストを非表示にし、カメラズームを修正し(Terrariaのショーケースでは1.5倍を使用し、1080pフレームが720pカットのように読めるようにしました)、非フォーカス時にフルスピードで実行し、カーソルを非表示にします(キャプチャでは capture_cursor=0 を使用)。

2. ウィンドウとゲーム自身の音声を録画する

um win record --exe Game.exe --out C:\caps\take1 --seconds 40      # -> take1.mkv, take1.audio.raw, take1.json
um video first-frame C:/caps/take1.mkv                              # ゲームプレイ開始位置を特定(ローディング画面をスキップ)
um video mux C:/caps/take1.mkv C:/caps/take1.audio.raw C:/caps/take1.json take1.mp4 [--offset 0.25]
  • 動画: そのウィンドウのみのffmpeg gfxキャプチャ(GPUフレーム、デスクトップなし)。利用可能な場合はNVENC、AMF、QSVでエンコードします。NVENC H.264は最大 4096 px幅 なので、レコーダーはそれを超えるとスケーリングします。32:9画面の場合は --crop で中央の16:9にクロップします。
  • 音声: ゲームのPIDのWASAPI プロセスループバック(um/ps1/ProcLoopback.ps1)。ゲームのみ録音され、Spotifyや通知は録音されません。タイムスタンプが付与されるため、ファイル位置は実時間です。マルチプレクサは記録されたオフセットを使用します。視覚/音声同期イベント(フラッシュとその爆発音など)で微調整し、--offset を指定します。
  • MOD内から(オプション): フレーム正確なテイクのためにMODから録画の開始と停止を行います。ffmpegを停止する際にゲームのメインスレッドをブロックしないでください。q を送信した後、オフスレッドで待機します。.mkv で書き込むことで、レコーダーが強制終了されても再生可能なファイルが残ります(examples/terraria-tmodloader/reference/InModRecorder.cs を参照)。

3. カットする前に確認する

um video probe clip.mp4
um video contact clip.mp4 sheet.png --every 1.5 --cols 6     # タイムスタンプ付きグリッド。読み取ってin/outポイントを選択
um video contact clip.mp4 zoom.png --start 20 --end 30 --every 0.5

山場の瞬間(爆発、ボスの登場、隊列を組むユニット)を選びます。in/out時間をEDLに書き込みます。

4. EDLで編集する

um video compile edl.json out.mp4(--preview は半分のサイズで高速レンダリング)。完全なフォーマットは um video --help で確認できます。

{
  "size": [1920, 1080], "fps": 30,
  "theme": {"accent": "#B6FF3B"},
  "transition": {"type": "fade", "duration": 0.3},
  "clip_volume": 0.8,
  "music": {"path": "music.mp3", "volume": 0.5},
  "watermark": {"path": "logo.png", "height": 54, "corner": "br"},
  "segments": [
    {"clip": "take1.mp4", "in": 9.0, "dur": 3.0, "hook": "Terraria、でも戦術核兵器付き。"},
    {"clip": "take1.mp4", "in": 24.2, "dur": 4.5, "title": "戦術核兵器", "transition": {"type": "pixelize"}},
    {"clip": "take2.mp4", "in": 3.0, "dur": 5.0, "title": "ドローン母船ボス"},
    {"card": {"title": "Fal Arsenal", "sub": "Terraria MOD"}, "dur": 2.5}
  ]
}
  • トランジション: 任意のffmpeg xfadeタイプ(fade, pixelize, slideleft, smoothleft, circleopen, zoomin, radial...)または cut。
  • フィル: 16:9でないクリップには、fill: blur(ぼかし背景)、crop、pad が使用可能。
  • クリップごと: speed と volume、UI越しにズームする zoom、リフレームするための crop [x, y, w, h]。
  • 音楽: um fal music "..." --seconds 60 でBGMを作成します。bpm を設定し、dur の代わりに beats を使用してビートに合わせてカットできます。um video beats music.mp3 はテンポと最初のビートを推定します。

実際のフィードバックに基づく効果的なスタイル

  • タイトル: 画面に表示されているものを1行で説明する(「ワンダー:トランスアメリカ・ピラミッド」、「ロボタクシーと配達ドローン」)。制作方法に関する小さな説明キャプションは付けず、投稿本文に記載します。
  • ペース: 2~3秒以内にゲームプレイに入る。メニューやセットアップは3秒以内。クリップはそれぞれ3~5秒。最後はMOD名またはURLでフェードアウト。
  • サウンド: ゲームの音声を維持します。インパクトを演出します。コンピレーションでは音楽を、クリップ音量は0.5~0.8程度に。
  • 他の人のクリップのコンピレーション: すべてのクリエイターを画面上(credit: "@handle")と投稿内でクレジットし、プロモーション目的の場合は許可を得ます。彼らのクリップがあなたのツールで作られたと示唆しないでください。公開投稿のみをダウンロードし、使用するものだけをダウンロードします。
  • 最後のステップ: 完成した動画を共有する前に、コンタクトシートで確認します。

Individual skills in this repo

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

asset-pipeline

Turn generated or hand-made art into exactly what a game engine loads. Covers sprite cutout, trim and nearest-neighbour fitting to frame sizes, pixelation to a palette, sprite sheets and strips, player/team-colour masks, seamless textures, and rendering a 3D model into sprite frames from the game

fal-assets

Generate game assets with fal (fal.ai) through the fal MCP server, the `um fal` CLI (REST) or `fal api`. Covers sprites and icons with transparent backgrounds, consistent variants and animation frames, pixel art, seamless textures, PBR material maps, image-to-3D models, remeshing, auto-rigging, sound effects, music, voice lines, and trailer or cutscene video. Use whenever a mod needs new art, audio or 3D models, or the user mentions fal, generating sprites, textures, models, SFX or music for a game.

game-automation

Launch, see and drive a real game so an agent can test its own mods. Covers launching via Steam or the exe, windowed mode at a fixed size, screenshots of the game window (GPU-safe capture), clicking and typing into menus, holding keys, relative mouse, crash-reporter cleanup, killing by PID, reading logs, scripted test scenes, and an in-game JSON bridge that lets an agent observe and act. Windows-first (also from WSL), with notes for Linux and macOS. Use when a mod must be verified in game, when navigating menus automatically, or when building a repeatable test or demo scene.

game-recon

Figure out how a specific installed game can be modded, before writing any mod code. Covers where it

game-research-websearch

Research a game, engine or modding technique on the open web with archive-aware, rate-limit-safe searches — Wayback Machine/archive.today for dead forums (XeNTaX, Zenhax, old threads), GitHub code/repo search, Nexus/Steam Workshop/Thunderstore APIs, Reddit JSON, YouTube transcripts, plus archive snapshots as evidence. Use when starting work on a game (

mashup-mods

Build cross-game mashups and total conversions, the

mod-any-game

Mod a PC game the user owns, taking an idea to working in the real game and recorded. It covers new items, weapons, enemies, bosses, units, civilizations, mechanics, art, sound, VR and cross-game mashups. Use when the user wants to mod, extend, hack on, reverse engineer or mash up a game (

port-a-mod

Port an existing mod to a newer game version or another mod loader while keeping its behaviour, values and quirks. Typical cases are an old Forge 1.7.10 or 1.12 Minecraft mod moving to modern Fabric or NeoForge, a Skyrim LE plugin moving to SE/AE, or a tModLoader 1.3 mod moving to 1.4. It covers pinning one source version, a private decompiled reference, an adaptation matrix, extracting the mod

publish-mod

Package and release a finished game mod. Covers the pre-release lint (no game files, decompiled code or leaked keys), README and install steps, credits and AI disclosure, versioning, where to upload (Nexus Mods, Steam Workshop, Thunderstore, mod.io, GitHub releases), and the post with a video. Use when the user wants to ship, share, upload, release or post a mod.

reverse-engineering

Read how a game actually works so a mod can hook it. Decompile .NET/Mono (ILSpy), IL2CPP (Cpp2IL, Il2CppDumper), Java (Vineflower) and native code (Ghidra, IDA, via MCP servers); dump data and asset formats; reverse-engineer a binary file format and prove it with a round trip; read live memory (Cheat Engine, Frida, x64dbg); find render passes (RenderDoc). Use when a mod needs game internals, e.g.

share-field-notes

Search and contribute to the shared AI-modding knowledge base, where field notes record how specific games were modded, decompiled or reverse-engineered (exact versions, route, engine facts, verification, gotchas). Use before starting work on a game (

関連スキル