Communitygithub.com

ComeOnOliver/skillshub

AI支援による動画編集ワークフロー。実写映像のカット、構成、拡張を、生のキャプチャからFFmpeg、Remotion、ElevenLabs、fal.ai、そしてDescriptまたはCapCutでの最終仕上げまでカバーします。ユーザーが動画編集、映像のカット、Vlog作成、動画コンテンツ制作をしたい場合に使用します。

skillshub とは?

このスキルは、AIを活用して実写映像を高速に編集するための完全なワークフローを提供します。プロンプトから動画を生成するのではなく、既存の映像素材をカット、構成、拡張することに重点を置いています。ワークフローは6つのレイヤーで構成され、生のキャプチャ(Screen Studioなど)から始まり、Claude/Codexによる組織化と構造化、FFmpegによる決定的なカット、Remotionによるプログラム可能な合成、ElevenLabs/fal.aiによるアセット生成、そしてDescriptやCapCutでの人間による最終仕上げへと進みます。このスキルは、長時間の録画からショート動画への変換、Vlog、チュートリアル、デモ動画の作成、字幕やナレーションの追加、異なるプラットフォーム向けのリフレーミングなど、さまざまなユースケースをカバーしています。各ツールの強みと弱みを明確に定義し、編集の原則(「編集、生成しない」「構造がスタイルに先立つ」「味は最終レイヤー」)を重視することで、反復作業をAIに任せ、人間は創造的な判断に集中できるように設計されています。

対応✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/affaan-m/everything-claude-code/video-editing

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

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

プレビュー

スキル README より

ドキュメント

動画編集(Video Editing)

AI支援による実写映像の編集。プロンプトからの生成ではありません。既存の動画を迅速に編集します。

いつアクティブにするか

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

核となる考え方

AIによる動画編集は、動画全体を作成するように依頼するのをやめ、実写映像を圧縮、構成、拡張するために使い始めたときに役立ちます。その価値は生成ではなく、圧縮にあります。

パイプライン

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

各レイヤーには固有の役割があります。レイヤーをスキップしたり、1つのツールにすべてを任せようとしたりしないでください。

レイヤー 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": "ここにナレーションテキスト",
        "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="ここにナレーション", 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 Feed1: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.

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

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.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Next.js 16+ uses App Router with Server Components by default. Client Components are only used when interactivity is needed (hooks, event handlers, browser APIs).

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

関連スキル