Catalog
affaan-m/video-editing

affaan-m

video-editing

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

NewUpdated Sep 10, 2026

Video Editing

AI-assisted editing for real footage. Not generation from prompts. Editing existing video fast.

When to Activate

  • User wants to edit, cut, or structure video footage
  • Turning long recordings into short-form content
  • Building vlogs, tutorials, or demo videos from raw capture
  • Adding overlays, subtitles, music, or voiceover to existing video
  • Reframing video for different platforms (YouTube, TikTok, Instagram)
  • User says "edit video", "cut this footage", "make a vlog", or "video workflow"

Core Thesis

AI video editing is useful when you stop asking it to create the whole video and start using it to compress, structure, and augment real footage. The value is not generation. The value is compression.

The Pipeline

For measured reference-driven work, chain taste-distillation into taste-application, then return here for the editor and final-output review. The standalone taste skills can use existing footage; generation is optional.

Before live editor or DAW changes, save a versioned project checkpoint and verify the file exists. Save and verify another checkpoint after the changes. An API readback proves the current in-memory state, not that it was saved. Keep rendered media, editable projects, and creative approval as separate states in the handoff.

For MIDI-driven audio, check pitches against the receiving rack's note mapping and audition the result; successful clip creation can still produce silence. For reconstructed projects, validate through native load and save, sort events in timeline order, verify sample links and mute states, then check and audition the exact exported audio for unintended silence. XML parsing alone does not prove that the DAW accepted every clip or produced audible output. Check a bridge's capability handshake before invoking newer commands. Do not enable upload or training-data telemetry as a side effect of a creative task; use a supported local control path when consent or capability is absent.

Screen Studio / raw footage
  → Claude / Codex
  → FFmpeg
  → Remotion
  → ElevenLabs / fal.ai
  → Descript or CapCut

Each layer has a specific job. Do not skip layers. Do not try to make one tool do everything.

Layer 1: Capture (Screen Studio / Raw Footage)

Collect the source material:

  • Screen Studio: polished screen recordings for app demos, coding sessions, browser workflows
  • Raw camera footage: vlog footage, interviews, event recordings
  • Desktop capture via VideoDB: session recording with real-time context (see videodb skill)

Output: raw files ready for organization.

Layer 2: Organization (Claude / Codex)

Use Claude Code or Codex to:

  • Transcribe and label: generate transcript, identify topics and themes
  • Plan structure: decide what stays, what gets cut, what order works
  • Identify dead sections: find pauses, tangents, repeated takes
  • Generate edit decision list: timestamps for cuts, segments to keep
  • Scaffold FFmpeg and Remotion code: generate the commands and compositions
Example prompt:
"Here's the transcript of a 4-hour recording. Identify the 8 strongest segments
for a 24-minute vlog. Give me FFmpeg cut commands for each segment."

This layer is about structure, not final creative taste.

Layer 3: Deterministic Cuts (FFmpeg)

FFmpeg handles the boring but critical work: splitting, trimming, concatenating, and preprocessing.

Extract segment by timestamp

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

Batch cut from edit decision list

#!/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

Concatenate segments

# Create file list
for f in segments/*.mp4; do echo "file '$f'"; done > concat.txt
ffmpeg -f concat -safe 0 -i concat.txt -c copy assembled.mp4

Create proxy for faster editing

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

Extract audio for transcription

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

Normalize audio levels

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

Layer 4: Programmable Composition (Remotion)

Remotion turns editing problems into composable code. Use it for things that traditional editors make painful:

When to use Remotion

  • Overlays: text, images, branding, lower thirds
  • Data visualizations: charts, stats, animated numbers
  • Motion graphics: transitions, explainer animations
  • Composable scenes: reusable templates across videos
  • Product demos: annotated screenshots, UI highlights

Basic Remotion composition

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

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

  return (
    <AbsoluteFill>
      {/* Main footage */}
      <Sequence from={0} durationInFrames={300}>
        <Video src="/segments/intro.mp4" />
      </Sequence>

      {/* Title overlay */}
      <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>

      {/* Next segment */}
      <Sequence from={300} durationInFrames={450}>
        <Video src="/segments/demo.mp4" />
      </Sequence>
    </AbsoluteFill>
  );
};

Render output

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

See the Remotion docs for detailed patterns and API reference.

Layer 5: Generated Assets (ElevenLabs / fal.ai)

Generate only what you need. Do not generate the whole video.

Voiceover with 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)

Music and SFX with fal.ai

Use the fal-ai-media skill for:

  • Background music generation
  • Sound effects (ThinkSound model for video-to-audio)
  • Transition sounds

Generated visuals with fal.ai

Use for insert shots, thumbnails, or b-roll that doesn't exist:

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 generative audio

If VideoDB is configured:

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")

Layer 6: Final Polish (Descript / CapCut)

The last layer is human. Use a traditional editor for:

  • Pacing: adjust cuts that feel too fast or slow
  • Captions: auto-generated, then manually cleaned
  • Color grading: basic correction and mood
  • Final audio mix: balance voice, music, and SFX levels
  • Export: platform-specific formats and quality settings

This is where taste lives. AI clears the repetitive work. You make the final calls.

Social Media Reframing

Different platforms need different aspect ratios:

Platform Aspect Ratio Resolution
YouTube 16:9 1920x1080
TikTok / Reels 9:16 1080x1920
Instagram Feed 1:1 1080x1080
X / Twitter 16:9 or 1:1 1280x720 or 720x720

Reframe with FFmpeg

# 16:9 to 9:16 (center crop)
ffmpeg -i input.mp4 -vf "crop=ih*9/16:ih,scale=1080:1920" vertical.mp4

# 16:9 to 1:1 (center crop)
ffmpeg -i input.mp4 -vf "crop=ih:ih,scale=1080:1080" square.mp4

Reframe with VideoDB

from videodb import ReframeMode

# Smart reframe (AI-guided subject tracking)
reframed = video.reframe(start=0, end=60, target="vertical", mode=ReframeMode.smart)

Scene Detection and Auto-Cut

FFmpeg scene detection

# Detect scene changes (threshold 0.3 = moderate sensitivity)
ffmpeg -i input.mp4 -vf "select='gt(scene,0.3)',showinfo" -vsync vfr -f null - 2>&1 | grep showinfo

Silence detection for auto-cut

# Find silent segments (useful for cutting dead air)
ffmpeg -i input.mp4 -af silencedetect=noise=-30dB:d=2 -f null - 2>&1 | grep silence

Highlight extraction

Use Claude to analyze transcript + scene timestamps:

"Given this transcript with timestamps and these scene change points,
identify the 5 most engaging 30-second clips for social media."

What Each Tool Does Best

Tool Strength Weakness
Claude / Codex Organization, planning, code generation Not the creative taste layer
FFmpeg Deterministic cuts, batch processing, format conversion No visual editing UI
Remotion Programmable overlays, composable scenes, reusable templates Learning curve for non-devs
Screen Studio Polished screen recordings immediately Only screen capture
ElevenLabs Voice, narration, music, SFX Not the center of the workflow
Descript / CapCut Final pacing, captions, polish Manual, not automatable

Key Principles

  1. Edit, don't generate. This workflow is for cutting real footage, not creating from prompts.
  2. Structure before style. Get the story right in Layer 2 before touching anything visual.
  3. FFmpeg is the backbone. Boring but critical. Where long footage becomes manageable.
  4. Remotion for repeatability. If you'll do it more than once, make it a Remotion component.
  5. Generate selectively. Only use AI generation for assets that don't exist, not for everything.
  6. Taste is the last layer. AI clears repetitive work. You make the final creative calls.

Native Fusion Presets

ITO Production v1 provides restrained highlight bloom, opposing RGB spatial offsets and a luminance/edge halo. The exact files passed prior native import, save/reopen and short motion-render checks after two-source visual review. These are starting values requiring shot-specific review; the halo does not detect or track subjects.

ITO V28 contains preserved, native-verified Fusion graph snippets and an idempotent Lua installer. These are technical compatibility examples, not recommended production defaults: their documented visual limitations require tuning and taste review before use. See the bundle provenance for the scope of prior import and render checks.

  • fal-ai-media — AI image, video, and audio generation
  • videodb — Server-side video processing, indexing, and streaming
  • content-engine — Platform-native content distribution
Files13
13 files · 19.3 KB

Select a file to preview

Overall Score

82/100

Grade

B

Good

Grades are signals, not a certification. Always review a skill yourself before use.

Safety

82

Quality

83

Clarity

85

Completeness

78

Summary

A comprehensive guide to AI-assisted video editing workflows for cutting and structuring real footage. The skill chains deterministic tools (FFmpeg for cutting, Remotion for overlays, ElevenLabs for voiceover) with AI-assisted organization and planning, emphasizing compression and augmentation of existing material rather than generation. Includes production-tested Fusion presets with verified native compatibility and detailed documentation of their visual limitations and safe wiring patterns.

Detected Capabilities

file read (transcript, metadata, source video)FFmpeg execution (cutting, trimming, concatenating, format conversion, audio extraction, normalization)HTTP requests (ElevenLabs API for voiceover generation, fal.ai for asset generation)code generation (Remotion TSX compositions, FFmpeg batch scripts)environment variable read (ELEVENLABS_API_KEY)shell command execution (FFmpeg, bash batch processing)Python subprocess/API calls for audio generation

Trigger Keywords

Phrases that agents use to match this skill to user intent.

edit videocut footagevideo editing workflowvlog creationcreate short-form contentadd video overlaysbatch video processingvideo transcriptionreframe for social mediavideo composition

Risk Signals

INFO

ElevenLabs API key accessed via environment variable (ELEVENLABS_API_KEY)

Layer 5, Voiceover with ElevenLabs section
INFO

HTTP POST to api.elevenlabs.io with request body

Layer 5, Voiceover example code
INFO

Network request to fal.ai for generative assets

Layer 5, Generated visuals section

Referenced Domains

External domains referenced in skill content, detected by static analysis.

api.elevenlabs.iowww.remotion.dev

Use Cases

  • Editing long-form recordings into short-form content (YouTube, TikTok, Instagram)
  • Creating vlogs and tutorials from raw camera or screen capture footage
  • Adding overlays, subtitles, and voiceover to existing video with programmable templates
  • Batch processing video segments using FFmpeg cut lists and automation
  • Reframing video content for different social media platforms and aspect ratios
  • Scene detection and highlight extraction from multi-hour footage
  • Applying consistent visual effects and color grading presets across video projects

Quality Notes

  • Clear six-layer architecture with well-defined responsibilities for each tool; helps agents understand when to use which tool
  • Excellent use of concrete examples (FFmpeg commands, Remotion TSX, Python API calls) that agents can execute or adapt
  • Strong pedagogical structure: thesis section explains the philosophy (compression, not generation) before diving into tools
  • Detailed table documentation of tool strengths/weaknesses aids decision-making
  • Provenance JSON files for Fusion presets demonstrate thorough vetting and reproducibility standards
  • Good scope boundaries: explicitly separates edit workflow from generation-focused skills (fal-ai-media, videodb, content-engine)
  • Comprehensive platform-specific reframing guidance (aspect ratios, resolutions) for cross-platform publishing
  • Thoughtful warnings about project state management (checkpoint before/after changes, validate exports, check for silent audio)
  • Includes practical scene detection and silence detection patterns for automation
  • Supporting Fusion preset bundles include native verification evidence and realistic visual limitations documentation
  • Pipeline glosses over some implementation details (transcript generation, how to invoke Claude for planning) that agents may need elaboration on
Model: claude-haiku-4-5-20251001Analyzed: Sep 10, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Version History

  1. v1.3

    Content updated

    ✦ AIAdds two Fusion preset bundles with installer scripts and 11 supporting asset files; expands pipeline guidance on checkpoints, audio verification, and telemetry control.

    2026-09-10

    LATEST
  2. v1.2

    Content updated

    ✦ AISKILL.md content and supporting files unchanged; safety grade moved from A to B.

    2026-07-14

    View This Version
  3. v1.1

    Content updated

    ✦ AIAdds LICENSE file.

    2026-04-20

    View This Version
  4. v1.0

    Seeded from github.com/affaan-m/everything-claude-code

    2026-03-16

    View This VersionInitial version

Use affaan-m/video-editing in your dev environment

Command Palette

Search for a command to run...

affaan-m/video-editing | SkillRepo