No slash command · from video-recap-skills
Analyzes a video into a structured understanding index: scene detection, ASR transcript, per-scene VLM analysis, silence windows, fused timeline, and narration brief. For summarizing or indexing video content.
Ships in video-recap-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turns a source video into an understanding index an agent (or a downstream stage) can read:
scenes.json (cut points, durations) + junk-scene filtering.asr_result.json (timestamped dialogue) via MiMo mimo-v2.5-asr.silence_periods.json (quiet windows, has_speech flag).vlm_analysis.json (per-scene description, depth analysis, frame_facts).timeline_fusion.json, asr_writing_chunks.json, agent_narration_brief.md.Stateless: reusable stages are skipped only when their output and provenance sidecar match
the current source video plus output-affecting settings. --force recomputes.
# ffmpeg: brew install ffmpeg | apt install ffmpeg | choco install ffmpeg
export MIMO_API_KEY=*** # one key drives ASR (mimo-v2.5-asr) + VLM (mimo-v2.5)
ASR uses MiMo mimo-v2.5-asr; pass --skip-asr to skip dialogue transcription. The full understanding run still requires MIMO_API_KEY for VLM scene analysis.
Optional MiMo scene-chunk video understanding: --mimo-video-overview.
If work_dir/background_research.json exists (story research the agent did first, see
references/research-guide.md), its synopsis and named characters are folded into the VLM
context, so scene descriptions can name people and read scenes with plot knowledge. Combine with
--context for a quick inline hint.
Running the scripts below — the
scripts/…paths are relative to this skill's own directory (the folder containing thisSKILL.md). Claude Code runs commands from there, so they work as written. If your harness runs commands from the project root instead (opencode / Codex / OpenClaw commonly do), prefix this skill's absolute directory — e.g.<skill-dir>/scripts/…, using the directory your harness reports when it loads the skill. The scripts self-locate from their own path, so once started by the correct path they resolve their sibling skills and assets regardless of the working directory.
python3 scripts/understand.py <video> --work-dir <work_dir> \
[--context "节目名/角色名"] [--scene-threshold 0.1] [--skip-asr] [--mimo-video-overview] [--force]
| File | Content |
|---|---|
scenes.json | scene cut list (start/end/duration) |
asr_result.json | [{start, end, text}] timestamped transcript |
vlm_analysis.json | per-scene description / depth / frame_facts |
silence_periods.json | [{start, end, duration, has_speech}] quiet windows |
timeline_fusion.json | VLM + ASR + silence overlap, unified timeline |
asr_writing_chunks.json | ASR split at sentence boundaries, scene-aligned |
agent_narration_brief.md | the human/agent-facing writing brief (read this first) |
Downstream, video-script reads the brief + index to write narration.json.
references/research-guide.md (writes background_research.json).references/data-schema.md.references/data-schema.md (opens in a new tab)references/prompt-templates.md (opens in a new tab)references/research-guide.md (opens in a new tab)scripts/asr.py (opens in a new tab)scripts/brief.py (opens in a new tab)scripts/consolidate.py (opens in a new tab)scripts/detect.py (opens in a new tab)scripts/extract.py (opens in a new tab)scripts/lib.py (opens in a new tab)scripts/storyboard.py (opens in a new tab)scripts/understand.py (opens in a new tab)scripts/vlm.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
video-analysis, scene-detection, asr, vlm, timeline-fusion, narration-generation
npx claudepluginhub ops120/video-recap-skills-plus --plugin video-recap-skills6 skills in this plugin
/video-assembleAssemble a final recap video: mux narration audio over the source video, duck the original audio under the narration, render subtitles (SRT/ASS, optionally burned in), and loudness- normalize. Use as the last stage of the video-recap bundle. Consumes the source video + tts_meta.json (+ narration placement); produces recap_<name>.mp4 + subtitles.srt/.ass. 触发词: 视频合成, 混音, 字幕, 压字幕, assemble video, mux, ducking, subtitles, 成片.
/video-cutCut a long video down to selected source ranges (montage / clip assembly). Part of the video-recap bundle: in the orchestrated (two-pass) flow, consumes clip_plan.json + the source video, produces edited_source.mp4; the agent then writes narration.json against the output timeline. When invoked standalone WITHOUT --no-narration-map, also remaps an existing narration.json → narration_mapped.json (legacy single-pass path). 触发词: 视频剪辑, 剪辑式解说, video cut, clip plan, 拼剪.
/video-recapGenerate a Chinese-narration recap video from an input video, end to end. Use when the user gives a video file (.mp4 / .mov / .mkv / .webm) and asks to add narration, generate voiceover, dub, summarize, or produce a recap (短剧 / 电视剧 / 电影 / 纪录片 / 科普). Orchestrates the video-* skill bundle: understanding → (agent writes narration) → cut → voiceover → assemble. 触发词: 视频解说, 视频旁白, 生成解说, 视频recap, video recap, voiceover, narration, auto-dub, recap.
/video-scriptWrite a timestamped Chinese narration script (解说词 / 旁白) for an already-analyzed video, then lint/validate it. Use after video-understanding has produced agent_narration_brief.md + vlm_analysis.json, when you need to author the recap narration (style, anti-hallucination, 字数公式, density, hook/throughline). Input: the understanding index in work_dir. Output: narration.json (validated). 触发词: 解说词, 写解说, 视频旁白, narration script, 写稿, 解说文案.
/video-voiceoverSynthesize Chinese narration audio (TTS voiceover) from a timestamped narration.json. Use to turn a written narration script into per-segment speech audio, with MiMo TTS (mimo-v2.5-tts), dynamic speed fitting, and loudness handling. Part of the video-recap bundle: consumes narration.json (output-timeline time), produces tts_segments + tts_meta.json. In the legacy direct-cut path, narration_mapped.json may be passed explicitly instead. 触发词: 配音, 语音合成, TTS, 解说配音, voiceover, text to speech, 旁白配音.
Other plugins' skills for the same job