SkillsGrove
SkillsGrove/영상 제작/TheMattBerman/scrollclaw/scrollclaw-animate

scrollclaw-animate

설치

$npx skills add https://github.com/TheMattBerman/scrollclaw --skill scrollclaw-animate
$git clone --depth 1 https://github.com/TheMattBerman/scrollclaw.git /tmp/scrollclaw && mkdir -p ~/.claude/skills && cp -r /tmp/scrollclaw/animate ~/.claude/skills/scrollclaw-animate
이 Agent Skill을 설치해 주세요: https://github.com/TheMattBerman/scrollclaw/tree/ea175d4b62fda3c14f45684bfad519070bd4e7af/animate — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITAnimate first frames into A-roll talking head clips. Uses Sora 2 via fal.ai (primary) with Kling 3 auto-fallback when Sora is unavailable or sunset.
아래 SKILL.md는 TheMattBerman/scrollclaw(커밋 ea175d4)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 Matt Berman / Emerald Digital. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

Animate (A-Roll)

Turns first frames into talking head clips with synced lip movement and audio. Image-to-video is the default — text-to-video is the fallback.

Fallback chain: Sora 2 (fal.ai) -> Kling 3 (fal.ai) -> Kling 3 (Replicate). Use --provider kling to skip Sora entirely (for when Sora is sunset).

Prerequisites

  • First frame approved (from /first-frame)
  • Script with [A-ROLL] segments tagged (from /persona)

Motion Prompting

Read references/motion-prompting.md for the structured prompt format. Use labeled fields — not prose paragraphs:

  • Camera — handheld energy, micro-shake, slight reframe
  • Subject — keep generic (first frame defines appearance). Detailed facial descriptions trigger content safety filters
  • Dialogue — include actual script lines. Sora generates synced lip movement + audio
  • Audio — describe the RESULT not the gear. "Clean natural podcast audio, voice close and present, subtle room tone" works. Naming specific mics doesn't.
  • Environment & light — practical light, deep focus, real-world setting
  • Style & mood — iPhone selfie-camera realism, not cinematic

Generation

USE THE SCRIPTS. DO NOT construct API calls manually. Scripts handle provider routing, field names, polling, downloading, and error handling.

# Image-to-video (RECOMMENDED — first frame locks the face)
bash scripts/generate-clip.sh \
  --provider fal \
  --image workspace/campaigns/<slug>/frames/frame1.png \
  --prompt-file workspace/campaigns/<slug>/motion-prompt.txt \
  --output workspace/campaigns/<slug>/clips/a-roll-01.mp4 \
  --log-file workspace/campaigns/<slug>/output-log.md \
  --label a-roll-01 \
  --seconds 8 --aspect-ratio portrait

# Text-to-video (fallback — no first frame)
bash scripts/generate-clip.sh \
  --provider fal \
  --prompt-file workspace/campaigns/<slug>/scene-prompt.txt \
  --output workspace/campaigns/<slug>/clips/a-roll-01.mp4 \
  --log-file workspace/campaigns/<slug>/output-log.md \
  --label a-roll-01 \
  --seconds 8 --aspect-ratio portrait

# Kling direct (skip Sora — use when Sora is sunset)
bash scripts/generate-clip.sh \
  --provider kling \
  --image workspace/campaigns/<slug>/frames/frame1.png \
  --prompt-file workspace/campaigns/<slug>/motion-prompt.txt \
  --output workspace/campaigns/<slug>/clips/a-roll-01.mp4 \
  --log-file workspace/campaigns/<slug>/output-log.md \
  --label a-roll-01 \
  --seconds 8 --aspect-ratio portrait

# Replicate Sora (legacy — may stop working when Sora is sunset)
bash scripts/generate-clip.sh \
  --provider replicate \
  --image workspace/campaigns/<slug>/frames/frame1.png \
  --prompt-file workspace/campaigns/<slug>/motion-prompt.txt \
  --output workspace/campaigns/<slug>/clips/a-roll-01.mp4 \
  --log-file workspace/campaigns/<slug>/output-log.md \
  --label a-roll-01 \
  --seconds 8 --aspect-ratio portrait

API Reference

Read references/sora-api.md for endpoint details, queue workflow, field names, and duration options. Sora fal.ai supports 4/8/12/16/20s. Kling supports 3-15s (durations >15s are auto-clamped). Replicate Sora is limited to 4/8/12.

Content Filter Handling

Sora's content filter runs AFTER generation — can fail at 99%. If blocked:

  • Soften the motion prompt (keep first frame)
  • Remove any potentially sensitive descriptions
  • Retry with adjusted prompt
  • Or use --provider kling — Kling has no content safety filter

Key Findings

  • Include actual script in Dialogue field — Sora generates synced lip movement
  • For podcast audio: describe the RESULT, not the gear
  • Keep Subject descriptions generic — the first frame already defines appearance
  • fal.ai is primary provider; Kling 3 is auto-fallback when Sora fails or is sunset
  • Use --provider kling to skip Sora entirely

Brand Memory Integration

Reads

File Purpose
workspace/campaigns/<slug>/frames/frame1.png Canonical face — fed to Sora i2v to lock creator identity
workspace/campaigns/<slug>/scripts/<format>-script.md A-roll segments, dialogue, shot timing
workspace/campaigns/<slug>/creators/creator-<name>.md Creator energy/vibe reference for motion prompting
workspace/creators/creator-<name>.md Fallback if no campaign-specific profile exists

Writes

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

Context loading

🎥 Animate context loaded:
  ✓ First frame: workspace/campaigns/ridge-q1/frames/frame1.png
  ✓ Script: talking-head (A-roll segments: 3)
  ✓ Creator: Maya
  ✓ Campaign: ridge-q1

Contract

Input

  • Required: approved frame1.png plus a script with [A-ROLL] segments
  • Optional: creator profile details, alternate prompt file, fallback provider
  • Format: workspace image and markdown files plus motion prompt text
  • Source: /first-frame, /persona, and references/motion-prompting.md

Output

  • Produces: one A-roll clip per [A-ROLL] segment plus append-only generation logs
  • Format: MP4 files in workspace/campaigns/<slug>/clips/ and rows in output-log.md
  • Default behavior: use Sora image-to-video with the approved first frame; use text-to-video only as a fallback when no usable frame exists
  • Downstream use: /b-roll and /assemble

Validation

  • Pre-conditions: first frame is approved, script is tagged correctly, and the prompt includes the actual dialogue
  • Post-conditions: local MP4 is saved, creator identity holds, and lip movement/audio feel believable enough to cut into a final video
  • Failure checks: reroll or adjust the prompt if content filters fail, the hands/face break realism, or the clip is too synthetic to pass downstream

Output

  • A-roll clips (MP4) in workspace/campaigns/<slug>/clips/
  • Each clip named a-roll-<segment>.mp4 corresponding to an [A-ROLL] script segment
  • Generation params logged to workspace/campaigns/<slug>/output-log.md

Next Step

A-roll done → run /b-roll for environment shots, or /assemble if no B-roll needed.

라이선스 전문 보기(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.