Paw cra video longform

From pawbytes/skill-suites · View interactive version

Paw cra video longform is an AI agent skill from the GitHub repository pawbytes/skill-suites. Long-form and episodic video production pipeline (1-10 min, YouTube/web). Use when user requests 'long-form video', 'YouTube video', 'episodic video', or 'video series'.

How to use this skill

Skill file

Long-Form Video Production

Overview

This workflow produces finished long-form video (1-10 minutes, 1920x1080 horizontal) for YouTube and web platforms. It handles the full production pipeline: brief intake, script development, multi-scene generation, voiceover synthesis, B-roll integration, assembly with transitions, subtitle burn-in, and branded intro/outro. Supports both single videos and episodic series with consistent style across episodes.

Act as a technical video producer who understands both creative storytelling and video engineering. You orchestrate multiple tools in sequence -- AI video generation, voiceover synthesis, stock footage, and ffmpeg assembly -- to deliver upload-ready video files.

Args: Accepts --headless / -H for non-interactive execution. For episodic mode, accepts --episodes N to specify episode count.

Outputs: MP4 (1920x1080, H.264) + video-manifest.json saved to {suite-root}/brands/{brand-name}/videos/long-form/{video-slug}/ (or the campaign's videos/long-form/{video-slug}/)

On Activation

Load available config from {project-root}/.pawbytes/config/config.yaml and {project-root}/.pawbytes/config/config.user.yaml (root level and cra section). If config is missing, let the user know paw-cra-setup can configure the module at any time. Resolve and apply throughout the session (defaults in parens):

Load shared agency memory from {suite-root}/_memory/index.md to understand active brands and campaigns. Load brand guidelines from {suite-root}/brands/{active-brand}/guidelines.md if an active brand is set.

Tool Verification

Before starting production, verify availability of required tools:

| Tool | Purpose | Required |

|------|---------|----------|

| ffmpeg | Assembly, transitions, audio mixing, subtitle burn-in | Yes |

| egaki CLI | AI video scene generation (multi-provider) | Yes (or fal.ai direct) |

| fal.ai API | Veo 3.1, Kling v3 video generation | Yes (needs fal_key) |

| ElevenLabs API | Voiceover generation | Yes (needs elevenlabs_api_key) |

| Pexels API | B-roll stock footage | Recommended (needs pexels_api_key) |

| Remotion | Programmatic video creation | Optional |

If critical tools are missing, inform the user which production capabilities are unavailable and suggest alternatives.

Routing

If --headless or -H is passed, execute the full pipeline without interaction using provided brief/script and sensible defaults.

Otherwise, proceed interactively through the production stages below.


Production Pipeline

Stage 1: Brief Intake

Parse the incoming brief or accept one interactively. Extract:

If any critical information is missing (topic, duration, brand), ask before proceeding. In headless mode, infer from context or use defaults.

Stage 2: Script Development

If a full script is provided, validate it has sufficient scene-level detail for production.

If no script is provided, invoke the Strategist (paw-cra-agent-strategist) for a full script with:

The script is the production blueprint -- every downstream step depends on it.

Stage 3: Scene Planning

Load ./references/scene-planning.md for detailed guidance.

Break the script into a scene plan (typically 10-30+ scenes for long-form). For each scene, define:

Write the scene plan to {suite-root}/brands/{brand}/videos/long-form/{video-slug}/scene-plan.json for compaction survival.

Stage 4: Brand Context

Load brand guidelines and extract video-relevant elements:

Stage 5: Scene Generation

Load ./references/scene-generation.md for model selection and prompting guidance.

Generate video clips for each scene using the appropriate approach:

AI-Generated Scenes: Use egaki CLI or fal.ai API directly (Veo 3.1 for cinematic quality, Kling v3 for motion-heavy scenes). Craft prompts that include:

Stock Footage Scenes: Pull from Pexels API when stock footage is more appropriate (generic establishing shots, nature, cityscapes, etc.).

Motion Graphics: Use Remotion or ffmpeg filter chains for data visualizations, text animations, or branded graphic sequences.

Save all raw scene clips to the working directory. Track generation status per scene.

Stage 6: Voiceover Generation

Load ./references/voiceover-generation.md for ElevenLabs integration details.

Generate the full voiceover narration:

Stage 7: B-Roll Integration

For scenes flagged as needing B-roll in the scene plan:

Stage 8: Assembly

Load ./references/assembly-guide.md for ffmpeg commands and transition patterns.

Assemble the final video using ffmpeg:

  1. Scene concatenation -- join all scene clips in sequence
  2. Transitions -- apply crossfade/xfade between scenes per the scene plan
  3. Audio mixing -- layer voiceover as primary audio track; add background music at reduced volume if provided
  4. Overlay graphics -- apply lower thirds, brand watermarks, or on-screen text as specified

Write intermediate assembly output for checkpoint recovery.

Stage 9: Subtitle Generation

Generate and burn in styled subtitles:

  1. Create full transcript from the voiceover script (or use speech-to-text if needed)
  2. Generate SRT file with accurate timestamps aligned to the assembled video
  3. Style subtitles using brand typography (font, size, color, background)
  4. Burn subtitles into the video using ffmpeg's subtitles or ass filter

Stage 10: Intro/Outro

Add branded sequences:

If the brand has existing intro/outro assets at {suite-root}/brands/{brand}/brand-assets/intro.* or outro.*, use those. Otherwise, generate simple branded sequences using ffmpeg or Remotion.

Stage 11: Validation Gate

Run ./scripts/validate-video.py on the assembled video to verify:

If validation fails, report specific issues. In interactive mode, offer to fix automatically. In headless mode, attempt auto-fix and re-validate (up to 2 retries).

Stage 12: Export

Save final deliverables to {suite-root}/brands/{brand}/videos/long-form/{video-slug}/. Inside a campaign, use the same sub-folder under {suite-root}/brands/{brand}/campaigns/{campaign}/videos/ instead. Episodic series go to videos/series/{series-slug}/:

Stage 13: Episodic Mode

For episodic series (--episodes N or format=episodic):

Stage 14: Status Update

Log production results to shared memory:


References

| Reference | Purpose |

|-----------|---------|

| ./references/scene-planning.md | Scene breakdown methodology and visual direction |

| ./references/scene-generation.md | AI model selection, prompting, and generation workflow |

| ./references/voiceover-generation.md | ElevenLabs integration and timing alignment |

| ./references/assembly-guide.md | ffmpeg assembly commands, transitions, audio mixing |

| ./references/manifest-schema.md | video-manifest.json schema definition |

Scripts

| Script | Purpose |

|--------|---------|

| ./scripts/validate-video.py | Verify codec, resolution, duration, audio levels |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.