Communitygithub.com

ビデオ編集(AI支援)

AI支援による実写映像の編集ワークフロー。カット、構成、拡張までをカバーし、FFmpeg、Remotion、ElevenLabs、fal.ai、そしてDescriptやCapCutでの最終仕上げまでを包括します。ユーザーが動画編集、カット、vlog作成、動画コンテンツ制作を希望する際に使用します。

ビデオ編集(AI支援) とは?

このスキルは、AIエージェントが実写映像の編集ワークフローを支援するための包括的なガイドです。プロンプトから動画を生成するのではなく、既存の映像を高速で編集することを目的としています。パイプラインは6つのレイヤーで構成され、Screen Studio / 生映像のキャプチャ → Claude / Codexによる整理と編集計画 → FFmpegによる決定的なカット → Remotionによるプログラム可能な合成 → ElevenLabs / fal.aiによる必要なアセット(ナレーション、音楽、効果音、サムネイルなど)の生成 → Descript / CapCutでの最終調整という流れになっています。このスキルはClaude CodeやCodexなどのAIエージェントと共に使用するように設計されており、各レイヤーが特定の役割を持ち、一つのツールに全てを任せないことが重要です。AIは反復作業を代行し、ユーザーは最終的なクリエイティブな判断に集中できるため、動画編集の効率が大幅に向上します。

対応✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/Cody-W-Tucker/skills/tree/HEAD/skills/video-editing

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

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

プレビュー

スキル README より

ドキュメント

ビデオ編集(AI支援) は何をしますか?

プロンプトから生成するのではなく、実写映像をAIで支援しながら高速編集します。

いつアクティブにするか

  • ユーザーが動画の編集、カット、構成を希望している
  • 長時間の録画をショート動画に変換する
  • 生のキャプチャからvlog、チュートリアル、デモ動画を制作する
  • 既存の動画にオーバーレイ、字幕、音楽、ナレーションを追加する
  • 異なるプラットフォーム(YouTube、TikTok、Instagram)向けに動画をリフレーミングする
  • ユーザーが「動画を編集して」「この映像をカットして」「vlogを作って」「動画ワークフロー」と言った場合

コアとなる考え方

AIによる動画編集は、全体の動画を作らせようとするのをやめ、実写映像を圧縮・構成・拡張するために使い始めたときに真価を発揮します。価値は生成ではなく、圧縮にあります。

パイプライン

Screen Studio / 生映像
  → Claude / Codex
  → FFmpeg
  → Remotion
  → ElevenLabs / fal.ai
  → Descript または CapCut

各レイヤーには固有の役割があります。レイヤーを飛ばさないでください。一つのツールですべてをこなそうとしないでください。

レイヤー1: キャプチャ(Screen Studio / 生映像)

ソース素材を集めます:

  • Screen Studio:アプリデモ、コーディングセッション、ブラウザワークフロー用の洗練された画面録画
  • 生カメラ映像:vlog映像、インタビュー、イベント録画
  • VideoDBによるデスクトップキャプチャ:リアルタイムコンテキスト付きのセッション録画(videodbスキルを参照)

出力:整理準備のできた生ファイル。

レイヤー2: 整理(Claude / Codex)

Claude CodeまたはCodexを使用して:

  • 文字起こしとラベリング:トランスクリプトを生成し、トピックとテーマを特定する
  • 構成を計画:何を残すか、何をカットするか、どの順序が効果的かを決定する
  • 不要な部分を特定:間、脱線、テイクの重複を見つける
  • 編集決定リストを生成:カットのタイムスタンプ、保持するセグメント
  • FFmpegとRemotionのコードをスキャフォールド:コマンドと構成を生成する
プロンプト例:
「こちらは4時間の録画のトランスクリプトです。24分のvlogに最適な8つのセグメントを特定してください。各セグメントのFFmpegカットコマンドを教えてください。」

このレイヤーは構造に関するものであり、最終的なクリエイティブな判断ではありません。

レイヤー3: 決定的カット(FFmpeg)

FFmpegは退屈だが重要な処理を担当します:分割、トリミング、連結、前処理。

タイムスタンプでセグメントを抽出

ffmpeg -i raw.mp4 -ss 00:12:30 -to 00:15:45 -c copy segment_01.mp4

編集決定リストから一括カット

#!/bin/bash
# cuts.txt: start,end,label
while IFS=, read -r start end label; do
  ffmpeg -i raw.mp4 -ss "$start" -to "$end" -c copy "segments/${label}.mp4"
done < cuts.txt

セグメントの連結

# ファイルリストを作成
for f in segments/*.mp4; do echo "file '$f'"; done > concat.txt
ffmpeg -f concat -safe 0 -i concat.txt -c copy assembled.mp4

高速編集のためのプロキシ作成

ffmpeg -i raw.mp4 -vf "scale=960:-2" -c:v libx264 -preset ultrafast -crf 28 proxy.mp4

文字起こし用の音声抽出

ffmpeg -i raw.mp4 -vn -acodec pcm_s16le -ar 16000 audio.wav

オーディオレベルの正規化

ffmpeg -i segment.mp4 -af loudnorm=I=-16:TP=-1.5:LRA=11 -c:v copy normalized.mp4

レイヤー4: プログラム可能な合成(Remotion)

Remotionは編集の問題をコードに変換します。従来のエディタでは扱いにくいものに使用します:

Remotionを使用するタイミング

  • オーバーレイ:テキスト、画像、ブランディング、ローワーサード
  • データ可視化:チャート、統計、アニメーション数値
  • モーショングラフィックス:トランジション、説明用アニメーション
  • 構成可能なシーン:複数の動画で再利用可能なテンプレート
  • プロダクトデモ:注釈付きスクリーンショット、UIハイライト

基本的なRemotion構成

import { AbsoluteFill, Sequence, Video, useCurrentFrame } from "remotion";

export const VlogComposition: React.FC = () => {
  const frame = useCurrentFrame();

  return (
    <AbsoluteFill>
      {/* メイン映像 */}
      <Sequence from={0} durationInFrames={300}>
        <Video src="/segments/intro.mp4" />
      </Sequence>

      {/* タイトルオーバーレイ */}
      <Sequence from={30} durationInFrames={90}>
        <AbsoluteFill style={{
          justifyContent: "center",
          alignItems: "center",
        }}>
          <h1 style={{
            fontSize: 72,
            color: "white",
            textShadow: "2px 2px 8px rgba(0,0,0,0.8)",
          }}>
            The AI Editing Stack
          </h1>
        </AbsoluteFill>
      </Sequence>

      {/* 次のセグメント */}
      <Sequence from={300} durationInFrames={450}>
        <Video src="/segments/demo.mp4" />
      </Sequence>
    </AbsoluteFill>
  );
};

出力レンダリング

npx remotion render src/index.ts VlogComposition output.mp4

詳細なパターンとAPIリファレンスについては Remotionドキュメント を参照してください。

レイヤー5: 生成アセット(ElevenLabs / fal.ai)

必要なものだけを生成します。動画全体を生成しないでください。

ElevenLabsでナレーション

import os
import requests

resp = requests.post(
    f"https://api.elevenlabs.io/v1/text-to-speech/{voice_id}",
    headers={
        "xi-api-key": os.environ["ELEVENLABS_API_KEY"],
        "Content-Type": "application/json"
    },
    json={
        "text": "Your narration text here",
        "model_id": "eleven_turbo_v2_5",
        "voice_settings": {"stability": 0.5, "similarity_boost": 0.75}
    }
)
with open("voiceover.mp3", "wb") as f:
    f.write(resp.content)

fal.aiで音楽と効果音

fal-ai-mediaスキルを使用して:

  • 背景音楽の生成
  • 効果音(ThinkSoundモデルによる動画から音声へ)
  • トランジションサウンド

fal.aiで生成ビジュアル

挿入用ショット、サムネイル、または存在しないBロールに使用:

generate(app_id: "fal-ai/nano-banana-pro", input_data: {
  "prompt": "professional thumbnail for tech vlog, dark background, code on screen",
  "image_size": "landscape_16_9"
})

VideoDBによる生成オーディオ

VideoDBが設定されている場合:

voiceover = coll.generate_voice(text="Narration here", voice="alloy")
music = coll.generate_music(prompt="lo-fi background for coding vlog", duration=120)
sfx = coll.generate_sound_effect(prompt="subtle whoosh transition")

レイヤー6: 最終仕上げ(Descript / CapCut)

最後のレイヤーは人間が担当します。従来のエディタを使用して:

  • ペーシング:速すぎる、または遅すぎるカットを調整
  • キャプション:自動生成後、手動でクリーニング
  • カラーグレーディング:基本的な補正と雰囲気設定
  • 最終オーディオミックス:音声、音楽、効果音のバランス調整
  • 書き出し:プラットフォーム固有のフォーマットと品質設定

ここにセンスが存在します。AIが反復作業を片付けます。最終判断はあなたが行います。

ソーシャルメディア向けリフレーミング

プラットフォームごとに異なるアスペクト比が必要です:

プラットフォームアスペクト比解像度
YouTube16:91920x1080
TikTok / Reels9:161080x1920
Instagram フィード1:11080x1080
X / Twitter16:9 または 1:11280x720 または 720x720

FFmpegでリフレーミング

# 16:9 から 9:16(中央クロップ)
ffmpeg -i input.mp4 -vf "crop=ih*9/16:ih,scale=1080:1920" vertical.mp4

# 16:9 から 1:1(中央クロップ)
ffmpeg -i input.mp4 -vf "crop=ih:ih,scale=1080:1080" square.mp4

VideoDBでリフレーミング

from videodb import ReframeMode

# スマートリフレーミング(AIガイドによる被写体追跡)
reframed = video.reframe(start=0, end=60, target="vertical", mode=ReframeMode.smart)

シーン検出と自動カット

FFmpegシーン検出

# シーン変化を検出(閾値0.3 = 中程度の感度)
ffmpeg -i input.mp4 -vf "select='gt(scene,0.3)',showinfo" -vsync vfr -f null - 2>&1 | grep showinfo

無音検出による自動カット

# 無音セグメントを検出(デッドエアのカットに有用)
ffmpeg -i input.mp4 -af silencedetect=noise=-30dB:d=2 -f null - 2>&1 | grep silence

ハイライト抽出

Claudeを使用してトランスクリプトとシーンのタイムスタンプを分析:

「このタイムスタンプ付きトランスクリプトとシーンチェンジポイントを考慮して、
ソーシャルメディアに最適な30秒のクリップを5つ特定してください。」

各ツールの得意分野

ツール強み弱み
Claude / Codex整理、計画、コード生成クリエイティブな判断層ではない
FFmpeg決定的カット、バッチ処理、フォーマット変換ビジュアル編集UIがない
Remotionプログラム可能なオーバーレイ、構成可能なシーン、再利用可能なテンプレート開発者以外には学習曲線がある
Screen Studioすぐに使える洗練された画面録画画面キャプチャのみ
ElevenLabs音声、ナレーション、音楽、効果音ワークフローの中心ではない
Descript / CapCut最終ペーシング、キャプション、仕上げ手動、自動化不可

主要原則

  1. 生成ではなく編集する。 このワークフローは実写映像をカットするためのものであり、プロンプトから生成するためのものではありません。
  2. スタイルより構造。 レイヤー2でストーリーを正しく構築してから、ビジュアルに触れます。
  3. FFmpegが基盤。 退屈だが重要。長時間の映像を扱いやすくします。
  4. 繰り返しにはRemotion。 二回以上行うなら、Remotionコンポーネントにします。
  5. 選択的に生成する。 AI生成は存在しないアセットにのみ使用し、すべてには使用しません。
  6. センスは最後のレイヤー。 AIは反復作業を排除します。最終的なクリエイティブな判断はあなたが行います。

関連スキル

  • fal-ai-media — AIによる画像、動画、オーディオ生成
  • videodb — サーバーサイドの動画処理、インデックス作成、ストリーミング
  • content-engine — プラットフォームネイティブなコンテンツ配信

Individual skills in this repo

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

Cody-W-Tucker/skills

Landing page quality assessment for paid advertising campaigns. Evaluates message match, page speed, mobile experience, trust signals, form optimization, and conversion rate potential. Use when user says landing page, post-click experience, landing page audit, conversion rate, or landing page optimization.

Cody-W-Tucker/skills

TikTok Ads deep analysis covering creative quality, tracking, bidding, campaign structure, and TikTok Shop. Evaluates 28 checks with emphasis on creative-first strategy, safe zone compliance, and Smart+ campaigns. Use when user says TikTok Ads, TikTok marketing, TikTok Shop, Spark Ads, Smart+, or TikTok campaign.

Cody-W-Tucker/skills

YouTube Ads specific analysis covering campaign types, creative quality, audience targeting, and measurement. Evaluates video ad performance across skippable, non-skippable, bumper, Shorts, Demand Gen, and Connected TV formats. Covers VAC→Demand Gen migration, Shorts creative requirements, and CTV shoppable ads. Use when user says YouTube Ads, video ads, pre-roll, bumper ads, YouTube campaign, Shorts ads, or CTV ads.

Cody-W-Tucker/skills

Craft the story that makes investors say \"I want in.\" Master the narrative structure that Reid Hoffman, Sequoia, and top founders use to raise capital. Use when: **Preparing to fundraise** to develop your story before the deck; **Investor meetings** to structure conversations that convert; **Pitch practice** to refine your narrative arc; **Cold outreach** to write compelling investor emails; **Pivoting** to reframe your story after a change

Cody-W-Tucker/skills

Identify the best GTM motions and tools across 7 motion types: Inbound, Outbound, Paid Digital, Community, Partners, ABM, and PLG. Use when selecting marketing channels, choosing between inbound and outbound strategy, or planning cross-channel campaigns.

Cody-W-Tucker/skills

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

Cody-W-Tucker/skills

Optimize landing pages for maximum conversions using proven frameworks from Unbounce and Oli Gardner—apply the \"one goal, one message, one action\" principle with data-driven design, copy, and CTA best practices. Use when: **Create a new landing page** for a campaign; **Optimize an existing landing page** that isn't converting; **Review landing page design** before launch; **Improve form conversion rates** on lead gen pages; **A/B test landing page elements** systematically

Cody-W-Tucker/skills

Advanced motion patterns for React / Next.js — drag & drop, gestures, text animations, SVG path drawing, custom hooks, imperative sequences (useAnimate), loaders, and the full API decision tree. Requires motion-foundations.

Cody-W-Tucker/skills

Motion tokens, spring presets, performance rules, device adaptation, accessibility enforcement, and SSR safety for React / Next.js using motion/react. Foundation layer — all other motion skills depend on this.

Cody-W-Tucker/skills

A single-frame motion-design composition with looping CSS animations — rotating type ring, animated globe, ticking timer, parallax labels. Renders as a hero video poster you can hand straight to HyperFrames or any keyframe-based exporter. Use when the brief asks for "motion design", "animated hero", "loop", "video poster", "title card", or pairs Open Claude Design with HyperFrames for a kinetic export.

Cody-W-Tucker/skills

Production-ready animation patterns for React / Next.js — button, modal, toast, stagger, page transitions, exit animations, scroll, and layout — built on motion-foundations tokens and springs.

Cody-W-Tucker/skills

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

Cody-W-Tucker/skills

Produce a single-file slide deck in the Atelier Zero visual language (warm-paper background, italic-serif emphasis spans, coral terminating dots, surreal collage plates) — Open Design's brand deck recipe. The deck uses **horizontal magazine-style swipe pagination** (←/→, wheel, swipe), a per-slide chrome strip with brand mark and slide counter, an ESC overview grid, a coral progress bar, and inherits the canonical stylesheet + 16-slot image library from the sister `open-design-landing` skill.

Cody-W-Tucker/skills

Produce a world-class single-page editorial landing site in the Atelier Zero visual language (Monocle / Apartamento / Études editorial collage) — the same aesthetic Open Design uses for its own marketing surface. The agent fills a typed `inputs.json` from a brand brief, optionally generates 16 collage assets via gpt-image-2, then runs a pure-function composer that emits a self-contained HTML file; a separate path can mirror the Astro marketing site in `apps/landing-page/`. Drop-in scroll-reveal motion and a Headroom-style sticky nav are wired automatically.

Cody-W-Tucker/skills

Best practices for Remotion - Video creation in React. 29 domain-specific rules covering 3D, animations, audio, captions, charts, transitions, and more.

Cody-W-Tucker/skills

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

Cody-W-Tucker/skills

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

Cody-W-Tucker/skills

Master April Dunford's 8-step sales narrative from \"Sales Pitch\" (2023). Transform your positioning into a compelling story that wins enterprise deals. Use when: Structuring B2B sales presentations and demos; Creating pitch decks for complex products; Training sales teams on narrative-driven selling; Converting positioning strategy into sales conversations; Winning against entrenched competitors

Cody-W-Tucker/skills

Swiss-style user-research narrative template in warm-paper editorial aesthetics. Use when users ask for a premium research deck or story-first live artifact with minimalist typography, high-clarity layout, subtle motion, donut breakdowns, and keyboard/click navigation across slides in a single HTML file.

Cody-W-Tucker/skills

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

関連スキル