Skip to content
Projects

zenstory-ai/video-recap-skills

View on GitHub

About

An AI Agent skills package for narrated video recaps: automatically cuts scenes, watches the footage and writes narration, mixes the voice-over, and renders the finished video. Exports Jianying/CapCut drafts and requires no GPU. | Agent skills for narrated video recaps & CapCut drafts

Design & Media

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+11
in 15 days
+28
in 1 month
+70

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original

ZenStory AI

Video Recap Skills

Video editing and narration skill pack for coding agents: footage review, story cutting, voiceover mixing, subtitle & motion packaging, physical QC, and JianYing/CapCut draft export for Claude Code, Google Antigravity (AGY), Codex CLI, OpenCode, and OpenClaw.

Project page  ·  Editorial Craft  ·  Install  ·  Quick start  ·  Architecture  ·  中文

Stars Release Skills 2 Python 3.10%2B CI License MIT

https://github.com/user-attachments/assets/f3c2df0c-6869-4f5b-8f4c-cce70b58b667

The 59-second showcase above (Guohuo) was made with v0.7; see the archive note in examples/guohuo-60s/.

Editorial & Post-Production Craft

Most issues in automated video editing stem from missing editorial and post-production discipline rather than model capability. We encode real-world editing and narration practices directly into the skills and tooling—the multimodal Agent handles footage review, story structure, and visual framing, while local scripts handle exact cutting, voiceover timing, mixing, and QC:

1. Footage Review & Story Structure

  • Frame-grounded planning: The Agent inspects timestamped contact sheets (and zoomed crops when needed) alongside transcripts to verify characters, expressions, actions, and dialogue before outlining the cut.
  • Single-spine narrative & audio-visual division: Open with the core conflict in the first 3 seconds and follow one complete storyline. Narration supplies context and character motivation without repeating what is already shown or spoken; emotional beats land on original performances and key lines.

2. Narration & Original Audio Pacing

  • Block-based progression, fewer abrupt switches: Advance the story in coherent narration blocks (10–25s) and hand back intact original-audio scenes (5–15s) at key exchanges—roughly 2–4 switches per minute—without clipping dialogue mid-sentence.
  • Shot matching & track isolation: Cover narration with reaction shots, gestures, or cutaways rather than talking faces; mute narration-bed clips so source speech never bleeds through ducking release; use instrumental BGM when narration and dialogue coexist.

3. Voiceover Continuity & Timing Alignment

  • Whole-article synthesis & pronunciation control: With Fish Audio (default s2.1-pro-free), whole-article synthesis keeps vocal tone consistent across paragraphs and preserves subtle cues such as [chuckle] or [sigh]. spoken_text handles tricky pronunciations (years, acronyms, heteronyms) without altering clean on-screen captions.
  • Measured duration first: Measure actual voiceover length before locking picture timing; shorten copy or extend shots when lines run long instead of speeding up audio. Align cuts to natural sentence pauses and wrap 2-line subtitles at semantic breaks without trailing punctuation.

4. Aspect Ratio Framing & Shot Selection

  • Confirm aspect ratio upfront: Align on target aspect ratio (3:4, 9:16, or 16:9) and framing mode (cover vs. contain) before cutting.
  • Per-shot framing for vertical full-bleed: When adapting widescreen footage to 3:4 full-bleed, set per-shot focal coordinates from visual review; split shot/reverse-shot dialogue at source cuts so each frame stays centered on the speaker, dropping out-of-focus turns and filler transitions.

5. Motion Packaging & Sound Effects

  • Customizable Remotion transparent overlays: Includes clean editorial starting points (such as drama-recap frameless two-line callouts and subtle top/bottom scrims) whose typography, palette, and motion timing can be tailored to each video while staying clear of faces and subtitle safe zones.
  • Real SFX assets & offline fallback: Sound effects use real audio assets placed clear of narration and dialogue windows. Without Node.js, packaging falls back cleanly to local static PNG overlays.

6. Physical QC & Editorial Review

  • Hard errors vs. review hints: Deterministic physical breakage (corrupt streams, missing video/audio, invalid dimensions) fails outright. Context-dependent items—dark transitions, freeze holds, low loudness, edge audio, or possible overlaps—surface as non-blocking review_hints for visual inspection rather than failing on rigid word-rate or regex rules.

How it works

The pack ships two self-contained skills: video-recap (general-purpose video editing and narration) and video-reference (on-demand local analysis of reference videos into reusable, sanitized REFERENCE_NOTES.md).

  • Zero third-party Python dependencies, local by default: Core tools require only Python 3.10+ stdlib and ffmpeg / ffprobe—no pip install, no mandatory API keys. External requests occur only when you explicitly enable remote ASR or cloud TTS (see Remote Services).
  • Markdown for planning, timeline.json for execution: Briefs (BRIEF.md), footage notes (MEDIA_NOTES.md), edit plans (EDIT_PLAN.md), and promo copy (PROMO.md) live in readable Markdown. Cutting, voiceover, mixing, packaging, subtitles, QC, and JianYing export share one canonical timeline.json, allowing targeted re-runs after single-shot or single-line edits.
flowchart LR
    src(["Source Media"]) --> inspect["Review & Transcribe<br/>probe · frames · transcribe"]
    inspect --> plan["Agent Edit Plan<br/>MEDIA_NOTES.md · EDIT_PLAN.md"]
    plan --> tl["timeline.json"]
    tts["Voiceover Timing<br/>tts.py"] -.-> tl
    pkg["Packaging & SFX<br/>packaging.py"] -.-> tl
    tl --> render["Final Render (-14 LUFS)<br/>render.py → final.mp4"]
    tl --> check["Physical QC & Hints<br/>check.py → check.json"]
    tl --> jy["JianYing Multi-Track Draft<br/>export_jianying.py"]
    tl --> dash["Dashboard & Asset Library<br/>dashboard.py · library.py"]
Skill Components Core Deliverables
video-recap 6 core atomic CLIs (probe.py, frames.py, transcribe.py, tts.py, render.py, check.py) + 5 optional companion tools (packaging.py, export_jianying.py, dashboard.py, library.py, plan.py) out/final.mp4, timeline.json, check.json, out/review.html, out/jianying_draft/
video-reference 1 local-only analyzer CLI (analyze_reference.py): measures cuts, shot-length stats, loudness/audio density, and renders a contact sheet reference_metrics.json, contact_sheet.jpg, REFERENCE_NOTES.md

Install

1. Prerequisites

Only Python 3.10+ and ffmpeg / ffprobe on PATH are required (100% local by default):

brew install ffmpeg          # macOS (for burned-in libass subtitles, install ffmpeg-full)

For optional remote ASR or TTS backends, set the corresponding environment variables (ASR_API_URL + ASR_API_KEY, or FISH_API_KEY / OPENAI_API_KEY / INDEX_TTS_ENDPOINT); see Remote Services.

2. Add to your coding agent

In Claude Code:

/plugin marketplace add zenstory-ai/video-recap-skills
/plugin install video-recap-skills@video-recap
Google Antigravity (AGY) · Codex CLI · OpenCode · OpenClaw installation

Google Antigravity (AGY): install via the agy CLI (imports .claude-plugin/plugin.json into ~/.gemini/config/plugins/, syncs across Antigravity CLI and Antigravity App, and exposes /video-recap and /video-reference; see the official Agent Skills docs):

agy plugin install https://github.com/zenstory-ai/video-recap-skills
agy plugin list

Alternatively, place skills/video-recap and skills/video-reference in <workspace>/.agents/skills/ (workspace-scoped) or ~/.gemini/config/skills/ (global across Antigravity App, CLI, and IDE).

Codex CLI

codex plugin marketplace add zenstory-ai/video-recap-skills
codex plugin add video-recap-skills@video-recap

OpenCode: per the official Agent Skills documentation, project skills live under .opencode/skills/<name>/SKILL.md:

git clone https://github.com/zenstory-ai/video-recap-skills.git
cd video-recap-skills
mkdir -p .opencode
ln -s ../skills .opencode/skills
opencode debug skill

OpenClaw: clone the repository and import the plugin bundle:

openclaw plugins install ./video-recap-skills
openclaw skills list

ClawHub packages are tracked in .clawhub/publish.json; release history lives in CHANGELOG.md.

Quick start

Describe your footage paths and editing goals in plain language:

# 1. Multi-source story recap (contact-sheet review, block narration + intact dialogue)
Use /path/to/ep1.mp4 and /path/to/ep2.mp4 to make a 3-minute narrated recap with a single story spine, preserving key original dialogue and reactions.

# 2. Original-audio highlight cut / podcast clip (local only, no voiceover)
Cut /path/to/interview.mp4 into a 90-second 9:16 vertical highlight with blurred backdrop and safe-zone captions, no narration.

# 3. 3:4 full-bleed drama packaging (Remotion motion callouts + JianYing/CapCut draft)
Edit /path/to/clip.mp4 as a 3:4 full-bleed recap with Remotion frameless stacked callouts and transition SFX, render the final video, and export a JianYing draft.

# 4. Local screening & review
Build an offline review.html or launch the read-only local dashboard to inspect the cut, synced subtitles, and review hints.

# 5. Reference video breakdown (video-reference)
Analyze /path/to/reference.mp4 for shot pacing, dialogue balance, and visual layout, and distill reusable notes into REFERENCE_NOTES.md.

Screening dashboard & JianYing export preview

Beyond rendering the final MP4, export a multi-track JianYing/CapCut draft for fine-tuning or open the zero-server screening dashboard in your browser:

Exported JianYing multi-track draft: source clips, narration, BGM, SFX, and captions on separate tracksScreening dashboard film view: playback synced with shot and subtitle timelinesScreening dashboard library view: cross-project materials, audio preview, and themes

Documentation

Category Links
Editorial Craft & Skill Specs Editorial Craft · Long-Form Recap & plan.py · Long-Form Script & Read-Through · Packaging & SFX · timeline.json v3 Contract · JianYing Export · Dashboard & Library · Remote Services
Architecture & Boundaries Architecture Overview (ZH) · Production Boundaries (ZH) · Multi-track Timeline & JianYing Protocol · Test Suite (ZH)
Case Study & Guides Guohuo Archived Showcase · Recap Script Writing (ZH) · Grounding Analysis Without Invented Plot (ZH)

Acknowledgements & License

Part of ZenStory AI

Project What it does
oh-story-claudecode Web-fiction writing skill pack: chart scanning, deconstruction, drafting, de-AI-flavor polish, and cover design
drama-skills AI short-drama / motion-comic suite: scripts, character assets, storyboards, prompts, and independent review
novel-to-game Agent skills for source-grounded novel adaptation, runtime builds, and blind-playtest QA
video-recap-skills General-purpose AI video editing & recap skill pack with editorial craft, local execution tools, motion packaging, and JianYing export (this repo)
oh-story-dsh Community DeepSeek Harness plugin integrating novel, short-drama, game, and video-recap workbenches
zenstory Chat-to-create AI novel-writing workbench (app.zenstory.ai)

Explore related projects

Loading…