Communitygithub.com

NeverSight/learn-skills.dev

AI 辅助视频编辑工作流,用于剪切、结构化和增强真实素材。覆盖从原始录制到 FFmpeg、Remotion、ElevenLabs、fal.ai 以及在 Descript 或 CapCut 中最终润色的完整流水线。当用户想要编辑视频、剪切素材、制作 Vlog 或构建视频内容时使用。

learn-skills.dev とは?

このスキルは、AI エージェント(Claude Code、Codex など)を使って実際のビデオ素材を効率的に編集・加工するためのワークフローを提供します。画像生成に頼るのではなく、素材の整理、トリミング、構造化、そして必要なアセット(ナレーション、音楽、視覚効果)の生成に AI を活用する点が特徴です。Screen Studio や生のカメラ映像から始まり、Claude/Codex による整理、FFmpeg による確定的なカット、Remotion によるプログラム可能な合成、ElevenLabs や fal.ai によるアセット生成を経て、最終的に Descript や CapCut で人の手による仕上げを行います。このワークフローは、長尺録画からショート動画への変換、Vlog 作成、チュートリアル動画制作、ソーシャルメディア向けのリフレーミングなど、多様なシナリオで活用でき、プラットフォームごとの最適な設定もサポートします。

対応✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/NeverSight/learn-skills.dev/tree/HEAD/data/skills-md/aaione/everything-claude-code-zh/video-editing

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

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

プレビュー

スキル README より

ドキュメント

ビデオ編集

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)",
          }}>
            AI 編集スタック
          </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": "テック Vlog プロフェッショナルサムネイル、暗い背景、画面上のコード",
  "image_size": "landscape_16_9"
})

VideoDB によるオーディオ生成

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

voiceover = coll.generate_voice(text="ここにナレーション", voice="alloy")
music = coll.generate_music(prompt="コーディング Vlog 用のローファイ背景音楽", duration=120)
sfx = coll.generate_sound_effect(prompt="かすかなスウッというトランジション効果音")

レイヤー 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確定的カット、バッチ処理、フォーマット変換ビジュアル編集インターフェースなし
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.

NeverSight/learn-skills.dev

Use when generating or modifying Remotion video code, creating demo videos, or working with the demo-video/ directory

NeverSight/learn-skills.dev

Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC dialogue. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human, ugc, ugc video, ugc ad, avatar ugc

NeverSight/learn-skills.dev

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video

NeverSight/learn-skills.dev

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse

NeverSight/learn-skills.dev

ElevenLabs automatic dubbing - translate and dub audio/video into 29 languages while preserving speaker voice via inference.sh CLI. Capabilities: auto speaker detection, voice-preserving translation, video dubbing, audio localization. Use for: content localization, video translation, multilingual content, international distribution. Triggers: dubbing, dub video, translate audio, video translation, audio translation, localize content, elevenlabs dubbing, eleven labs dub, multilingual dub, voice translation, auto dub, language dub, content localization

NeverSight/learn-skills.dev

Explainer video production guide: scripting, voiceover, visuals, and assembly. Covers script formulas, pacing rules, scene planning, and multi-tool pipelines. Use for: product demos, how-it-works videos, onboarding videos, social explainers. Triggers: explainer video, how to make explainer, product video, demo video, video production, video script, animated explainer, product demo video, tutorial video, onboarding video, walkthrough video, video pipeline

NeverSight/learn-skills.dev

Still-to-video conversion guide: model selection, motion prompting, and camera movement. Covers Wan 2.5 i2v, Seedance, Fabric, Grok Video with when to use each. Use for: animating images, creating video from stills, adding motion, product animations. Triggers: image to video, i2v, animate image, still to video, add motion to image, image animation, photo to video, animate still, wan i2v, image2video, bring image to life, animate photo, motion from image

NeverSight/learn-skills.dev

Generate talking head avatar videos with Pruna P-Video-Avatar via inference.sh CLI. Turn a portrait image into a realistic speaking video with built-in TTS. 18x faster and 6x cheaper than competitors. Models: P-Video-Avatar, P-Image (for portrait generation). Capabilities: text-to-avatar, audio-driven avatars, 30 voices, 10 languages, 720p/1080p, built-in TTS, dynamic backgrounds, full-body control. Use for: AI presenters, product demos, explainer videos, virtual influencers, marketing, education, multilingual content, UGC, gaming avatars. Triggers: avatar video, talking head, ai avatar, p-video-avatar, pruna avatar, video avatar, ai presenter, digital human, virtual presenter, lipsync, talking avatar, ai spokesperson, heygen alternative, synthesia alternative, veed alternative, fabric alternative, omnihuman alternative

NeverSight/learn-skills.dev

Generate videos with Pruna P-Video and WAN models via inference.sh CLI. Models: P-Video, WAN-T2V, WAN-I2V. Capabilities: text-to-video, image-to-video, audio support, 720p/1080p, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna video, p-video, pruna ai video, fast video generation, optimized video, wan t2v, wan i2v, economic video generation, cheap video generation, pruna text to video, pruna image to video

NeverSight/learn-skills.dev

Render videos from React/Remotion component code via inference.sh. Pass TSX code, get MP4. Supports all Remotion APIs: useCurrentFrame, useVideoConfig, spring, interpolate, AbsoluteFill, Sequence. Configurable resolution, FPS, duration, codec. Use for: programmatic video generation, animated graphics, motion design, data-driven videos, React animations to video. Triggers: remotion, render video from code, tsx to video, react video, programmatic video, remotion render, code to video, animated video, motion graphics code, react animation video

NeverSight/learn-skills.dev

Video ad creation with exact platform-specific specs for TikTok, Instagram, YouTube, Facebook, LinkedIn. Covers dimensions, duration limits, AIDA framework, and caption requirements. Use for: video ads, social media ads, paid media creative, video marketing, ad production. Triggers: video ad, social media ad, tiktok ad, instagram ad, youtube ad, facebook ad, linkedin ad, video creative, ad specs, paid media, video marketing, ad production, reels ad, stories ad, pre roll, bumper ad

NeverSight/learn-skills.dev

Best practices and techniques for writing effective AI video generation prompts. Covers: Veo, Seedance, Wan, Grok, Kling, Runway, Pika, Sora prompting strategies. Learn: shot types, camera movements, lighting, pacing, style keywords, negative prompts. Use for: improving video quality, getting consistent results, professional video prompts. Triggers: video prompt, how to prompt video, veo prompts, video generation tips, better ai video, video prompt engineering, video prompt guide, video prompt template, ai video tips, video prompt best practices, video prompt examples, cinematography prompts

NeverSight/learn-skills.dev

YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image

NeverSight/learn-skills.dev

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

NeverSight/learn-skills.dev

Configure and use the hosted YouTube Data MCP end-to-end with minimal user input. Use when users want the agent to verify Node.js and `npx`, configure MCP server config (Windows/macOS, Cursor/Codex/OpenClaw/OpenCode), request API key at setup time, run post-install capability discovery (`tools/list` and `get_patch_notes`), and then strongly recommend helper skill and Python setup for full local document and spreadsheet workflows.

NeverSight/learn-skills.dev

Creates 120fps GPU-accelerated animations with Motion.dev (Framer Motion successor) for React, Next.js, Svelte, and Astro projects. Use when user requests animation, motion, scroll effects, parallax, hero animations, gestures, drag interactions, spring physics, whileHover effects, whileInView animations, animated UI, micro-interactions, page transitions, or layout animations. Generates production TypeScript/JSX code with accessibility (prefers-reduced-motion) and performance validation (≥60fps). Supports entrance animations, gesture interactions (hover/tap/drag), scroll-based reveals, and layout transitions using spring physics and natural timing. Do NOT use for CSS-only transitions (use native CSS), static sites without JavaScript, Vue animations (use motion-v variant instead), or SVG/Canvas complex animations (GSAP better suited).

NeverSight/learn-skills.dev

Static artifact craft skill for self-contained HTML/CSS/JS documents: docs, sheets, dashboards, explainers, slides, tools, and landing pages. Use when the user asks for a durable, openable, shareable web deliverable they'll keep or hand off — a report, a dashboard, a slide deck, a data table, a page. Local folder first, temporary public link via tunnel (localhost.run), optional durable publish to Surge, GitHub Pages, or Cloudflare. Not for quick look renders, inline snippets, or throwaway scratch. Not for SPA frameworks, backend APIs, database apps, or production product UI.

NeverSight/learn-skills.dev

FFmpeg commands for video/audio conversion, trimming, compression, and processing. Use when user mentions "ffmpeg", "convert video", "compress video", "extract audio", "trim video", "gif from video", "video codec", "transcode", "screen recording", "merge videos", "video to mp4", "reduce file size", or any media processing task.

NeverSight/learn-skills.dev

Vim keybindings, motions, text objects, and operators for efficient text editing. Use when user asks about "vim commands", "vim motions", "text objects", "vim keybindings", "vim cheat sheet", "learn vim", "vim in VS Code", or any Vim editing tasks.

NeverSight/learn-skills.dev

Grok Build ONLY. Turn a 2D character still into smooth animation sprites via image_gen/image_edit base → image_to_video (6s/10s run-in-place) → ffmpeg frames → magenta chroma-key → dense sampled sprites (strip/grid/GIF). Use when the user wants video-to-sprite, motion capture from generated video, smoother run/walk cycles from dense frames, or runs /video2dsprite. Do NOT use on Codex/Claude — only Grok Build has image_to_video. Prefer generate2dsprite for crisp pixel sheets without video.

関連スキル