SkillsGrove
SkillsGrove/Videoproduktion/TheMattBerman/scrollclaw/scrollclaw-broll

scrollclaw-broll

Installation

$npx skills add https://github.com/TheMattBerman/scrollclaw --skill scrollclaw-broll
$git clone --depth 1 https://github.com/TheMattBerman/scrollclaw.git /tmp/scrollclaw && mkdir -p ~/.claude/skills && cp -r /tmp/scrollclaw/b-roll ~/.claude/skills/scrollclaw-broll
Bitte installiere diesen Agent Skill für mich: https://github.com/TheMattBerman/scrollclaw/tree/ea175d4b62fda3c14f45684bfad519070bd4e7af/b-roll – lies zuerst seine SKILL.md und seine Skripte und installiere ihn erst dann in meinen Skills-Ordner, wenn du bestätigt hast, dass er sicher ist.

Zusammenfassung

Originalbeschreibung · MITGenerate B-roll environment and product shots with Kling 3 via fal.ai. Environment matching, cut timing, and visual-only clips that play under continuous voice.
Die folgende SKILL.md ist aus TheMattBerman/scrollclaw (Commit ea175d4) unter der Lizenz MIT wiedergegeben. Der Text ist unverändert; lediglich die Metadaten im Dateikopf sind weggelassen, Bilder werden als Links angezeigt und sehr lange Dateien werden gekürzt. Copyright 2026 Matt Berman / Emerald Digital. Lizenz: LICENSE. Es wird nur die Anleitungsdatei angezeigt; etwaige Skripte finden Sie im Original-Repository.

B-Roll (Kling 3)

Kling 3 generates B-roll — environment shots, product close-ups, lifestyle moments. These are visual-only clips that play under the continuous voice track. Voice never cuts. B-roll swaps visuals only.

Prerequisites

  • Script with [B-ROLL] segments tagged (from /persona)
  • A-roll clips generated (from /animate) — needed for environment matching

Environment Matching

Extract a frame from the A-roll and use it as Kling's start image. This ensures B-roll looks like the same room — same floor, same lighting, same vibe. See references/orchestrator.md.

Generate context-specific first frames per scene. Don't use the podcast frame (headphones) for gym B-roll.

Cut Timing

Cut from A-roll to B-roll at a script BEAT point — not mid-sentence. The viewer should see the face deliver the setup, then cut to B-roll for the payoff visual.

Example: If Sarah says "she finishes the whole bowl" → cut to dog finishing the bowl. Match the visual to the words. Leave 0.5-1s buffer before the cut so the face isn't visible in a non-talking state.

Generation

USE scripts/generate-broll.sh — do NOT construct Kling API calls manually.

# B-roll with environment-matched start frame (RECOMMENDED)
bash scripts/generate-broll.sh \
  --provider fal \
  --image workspace/campaigns/<slug>/frames/environment-frame.png \
  --prompt-file workspace/campaigns/<slug>/broll-prompt.txt \
  --output workspace/campaigns/<slug>/clips/b-roll-01.mp4 \
  --log-file workspace/campaigns/<slug>/output-log.md \
  --label b-roll-01 \
  --seconds 5

# Faceless B-roll (no start frame needed)
bash scripts/generate-broll.sh \
  --provider fal \
  --prompt-file workspace/campaigns/<slug>/broll-prompt.txt \
  --output workspace/campaigns/<slug>/clips/b-roll-02.mp4 \
  --log-file workspace/campaigns/<slug>/output-log.md \
  --label b-roll-02 \
  --seconds 5

API Reference

Read references/kling-api.md for Kling 3 endpoint details, field names, and queue workflow on fal.ai.

Key Findings

  • Kling generates in ~100s vs Sora's 5-10 min. Use Kling for ALL B-roll.
  • Same character face image feeds both engines for identity consistency
  • AI cannot generate realistic app screens or UI text. For product/app demos: use real screenshots or screen recordings.
  • The orchestrator doc (references/orchestrator.md) has the full A/B-roll split methodology

Brand Memory Integration

Reads

File Purpose
workspace/campaigns/<slug>/frames/environment-frame.png Environment-matched start frame for Kling i2v
workspace/campaigns/<slug>/clips/a-roll-*.mp4 Source clips to extract environment frames from
workspace/campaigns/<slug>/scripts/<format>-script.md B-roll segments and visual cues

Writes

File Notes
workspace/campaigns/<slug>/clips/b-roll-01.mp4 One file per B-roll segment
workspace/campaigns/<slug>/output-log.md Kling prompt, duration, provider (append-only)

Context loading

🎞️ B-Roll context loaded:
  ✓ Environment frame: workspace/campaigns/ridge-q1/frames/environment-frame.png
  ✓ A-roll clips: 3 found (workspace/campaigns/ridge-q1/clips/)
  ✓ Script: talking-head (B-roll segments: 2)
  ✓ Campaign: ridge-q1

Contract

Input

  • Required: [B-ROLL] script segments plus either an environment frame or usable A-roll clips for extraction
  • Optional: product screenshots, faceless B-roll prompts, campaign brief for scene grounding
  • Format: workspace image/video files plus B-roll prompt text
  • Source: /animate, /persona, and references/orchestrator.md

Output

  • Produces: one visual-only B-roll clip per segment plus append-only generation logs
  • Format: MP4 files in workspace/campaigns/<slug>/clips/ and rows in output-log.md
  • Default behavior: use Kling with an environment-matched start frame; for app demos, use real screenshots or recordings instead of AI UI generation
  • Downstream use: /assemble

Validation

  • Pre-conditions: the cut point is clear in the script and there is enough scene context to match the A-roll environment
  • Post-conditions: clip visually fits the voice beat, feels like the same world as the A-roll, and saves locally
  • Failure checks: do not accept stock-looking B-roll, mismatched rooms, or fake app UI when the product needs a real screen

Output

  • B-roll clips (MP4) in workspace/campaigns/<slug>/clips/
  • Each clip named b-roll-<segment>.mp4 corresponding to a [B-ROLL] script segment
  • Clips are visual-only — no dialogue
  • Generation params logged to workspace/campaigns/<slug>/output-log.md

Next Step

B-roll done → run /assemble to stitch everything together with unified audio.

Vollständigen Lizenztext ansehen (MIT)
MIT License

Copyright (c) 2026 Matt Berman / Emerald Digital

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.