SkillsReviewed · zenstory-ai

video-reference

video-reference is an assistant skill for recap video editors who want reusable production guidance, but it requires careful visual review and audio annotation. Local Python and FFmpeg scripts measure editing rhythm and loudness, check structured annotations, and export production_reference.json.

Researched 15 Nov 2026

In short.

video-reference is an assistant skill for recap creators and developers who want reusable editing guidance from a finished video, but its reliability depends on visual review and accurate annotation. Its scripts analyze media locally without calling a language-model API; an editor or assistant supplies the interpretation. The export separates source-story facts from transferable methods and distinguishes automatically measured, reviewed and annotation-dependent metrics. Runtime behavior, detection accuracy and downstream integration are untested.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope contains eight captured files under skills/video-reference: SKILL.md, references/reference-schema.md and scripts/lib.py, reference.py, reference_check.py, reference_frames.py, reference_measure.py and reference_profile.py. The repository-root LICENSE is included as a related notice outside that folder. Other skills, downstream production code, assistant hosts, installed binaries and media assets are outside scope. No commands or code were executed; compatibility, accuracy, runtime and downstream behavior remain unassessed.

The overview

Identity

video-reference is a user-invocable skill within zenstory-ai/video-recap-skills. It turns a completed narrated recap into editing measurements, local breakdown notes and reusable production guidance. The original folder is [https://github.com/zenstory-ai/video-recap-skills/tree/main/skills/video-reference].

The resource combines SKILL.md instructions, a JSON schema reference and six Python files. Its command-line entry point provides measure, frames, check and export commands. The output is production guidance rather than a newly edited video.

Assessment

The strongest use case is studying how an effective recap combines shot rhythm, narration, original dialogue and narrative structure, then preserving useful methods for another project. Numeric targets are drawn from measurement paths rather than manually copied into the exported methods.

The main commitment is editorial work: inspecting suspected cuts, listening for actual audio boundaries and writing evidence-supported methods. Passing validation establishes structural consistency and certain text restrictions; it does not establish that the creative advice is correct. The reference is optional guidance, and the documentation says it does not score finished videos or control production approval.

Users

The intended users are editors and creators producing narrated recaps, plus developers connecting structured reference files to an assistant-driven production process. It is particularly relevant when a creator wants to explain why a reference works across pacing, narrative structure, shot editing, narration and audiovisual coordination.

Beginners need some command-line and JSON familiarity, along with the ability to inspect images and listen closely to the video. Experienced developers get explicit schemas, evidence references and provenance fields. The instructions and schema explanations are primarily in Chinese; a graphical interface and a host-specific installation process are not established.

Capabilities

Measurement covers detected cut times, shot counts and duration distributions, cuts per minute and a ten-second cut-density curve. Audio measurements include overall loudness in LUFS, loudness range, true peak and a sampled short-term loudness series.

Contact sheets support reviewing suspected cuts, inspecting the longest detected shots and sampling an arbitrary time range. Annotations identify the dominant sound in each interval, narrative functions such as hook and payoff, and subtitle characteristics. These are editorial labels, not automatic separation of dialogue, music and narration into audio stems.

Derived metrics include narration share, coarse narration character rate, cut density by sound owner or narrative function, relative narrative structure and the share of audio changes near picture cuts. The exporter produces production_reference.json with reusable methods, numeric targets and measured, reviewed or labeled provenance.

Using it

Requirements

The scripts require Python 3, FFmpeg and FFprobe, a readable finished video and a writable working directory. The documentation lists MP4, MOV, MKV and WebM inputs; actual codec support depends on the installed FFmpeg build. The code uses Python standard-library modules and local imports, with no third-party Python dependency shown.

FFmpeg must support the scene-detection, loudness and contact-sheet filters used by the scripts. Exact supported Python and FFmpeg versions, operating systems, hardware minimums and storage requirements are unknown.

Existing speech-recognition results, timing evidence and background research are optional. Without speech-recognition results, narration speed is unavailable and source-text matching has less coverage. The scripts do not supply the assistant capabilities needed to inspect images, listen to audio or write the annotations.

Mechanism

FFprobe reads media properties. FFmpeg analyzes the first video stream, scaled to 320 pixels wide by default, and the first audio stream when present. Default cut detection accepts scene-change scores of at least 10, or scores of at least 4 that are sufficiently isolated peaks within a 0.3-second neighborhood. Additional frame-difference peaks become review candidates rather than automatic cuts.

The measurement cache identifies a video by file size and modification time. Cached scores allow threshold changes without decoding the video again. Cut corrections recorded in reference_breakdown.json are applied before the relevant statistics and exports are calculated.

Facts must cite time ranges or measurement paths, while methods must cite facts or measurements. Numeric targets name approved measurement paths, and export resolves their values. Text matching checks recorded names and overlapping sequences of eight Chinese characters or five English words against available source material. Export removes source-only fields and rescans the resulting user-controlled text and keys.

Setup

Keep SKILL.md, references/ and scripts/ together. Install suitable Python, FFmpeg and FFprobe executables, then use script paths relative to the skill directory. SKILL.md alone does not contain the implementation needed for the commands.

The documented sequence starts with python3 scripts/reference.py measure finished.mp4 --work-dir U. Inspect suspected cuts with python3 scripts/reference.py frames finished.mp4 --work-dir U --review, and inspect long shots with python3 scripts/reference.py frames finished.mp4 --work-dir U --longest 5.

Write U/reference_breakdown.json according to the schema, including audio spans, narrative sections, facts and transferable methods. After visual review, record cut additions and removals, or an explicit empty cut_fixes object when no changes are needed. Run python3 scripts/reference.py check --work-dir U, then python3 scripts/reference.py export --work-dir U --out next_project/production_reference.json when there are no errors. Warnings still require attention because they do not block export.

Example

An illustrative use is comparing dialogue-led conflict with narration-led exposition. After reviewing cuts and labeling the dominant audio, compare derived.by_owner.original_dialogue.cuts_per_min with derived.by_owner.narration.cuts_per_min. If the data supports the distinction, a method could describe quicker reverse shots during face-to-face conflict and steadier imagery while narration supplies context.

The method would state suitable and unsuitable footage, cite its supporting fact or measurement, and reference derived.by_owner.narration.cuts_per_min as a target. Export fills in the measured value. This example describes the intended process; no video was analyzed and no numeric result is asserted.

Assessment & evidence

Limitations

Cut detection requires visual review. The documentation identifies slow dissolves, rapid consecutive cuts, dark scenes and cuts following strong motion as difficult cases. Some candidates are routed to review windows, but detection accuracy and review coverage are not established by test results.

Narration rate depends on manually labeled audio and coarse speech-recognition windows. Only windows covered at least 80 percent by narration contribute. The implementation counts alphanumeric characters, so this is not word-level speech alignment or a language-independent words-per-second measure.

The leakage scanner detects literal overlap, not paraphrased plot details or semantic copying. Missing names or transcripts weaken coverage. Missing cut review and mismatched speech-recognition video identity produce warnings rather than necessarily blocking export. The reviewed provenance label follows the presence of cut_fixes, including an empty object; it does not independently prove that review occurred.

The cache uses file size and modification time rather than a content hash. Also, the documentation describes a sliding ten-second cut-density window, while shot_stats implements consecutive ten-second bins. Users interpreting the curve should follow the implementation and avoid treating those descriptions as equivalent.

Fit rationale

The useful design choice is linking editorial guidance to measurable observations while keeping source-specific facts separate. Automatically filled targets reduce manual copying, and provenance helps distinguish direct measurements from values dependent on annotation.

This structure fits creators who want reusable guidance they can inspect and explain. Its value depends on the quality of the source breakdown and the willingness to adapt each method to new footage. The documentation explicitly treats reference values as guidance rather than mandatory quotas, with later adoption, adaptation or skipping left to the new production.

Alternatives

For measurement alone, FFmpeg's scdet and ebur128 filters are the underlying components visible in the implementation. Using them directly is a narrower option, but would require assembling the statistics, visual review aids and export structure separately.

A manual shot-and-audio log is a conceptual alternative when structured downstream reuse is unnecessary. No competing products or comparative evaluations are supplied, so relative accuracy, effort and cost are not assessed.

Evidence

The available evidence contains SKILL.md, the schema reference, all six Python files in the selected skill folder and the repository-root MIT License. It supports describing the documented process and inspecting how measurement, validation and export are implemented.

No sample video results, automated test results or execution logs are supplied. Nothing was executed. Numeric examples in the schema are illustrative rather than demonstrated outcomes. The downstream writing-stage integration described in SKILL.md is outside the supplied implementation and remains unverified.

Access & freshness

Costs

The MIT notice grants software permissions without charge, and the supplied scripts show no paid API or model-service dependency. That does not establish a zero-cost production process. Computer time, storage, editorial labor, assistant-host charges and the cost of generating optional speech-recognition or video-understanding artifacts are unknown.

Initial measurement decodes the complete video, and contact-sheet generation adds processing and storage work. Caching can reduce repeated decoding. No measured runtime, hardware-specific benchmark or end-to-end cost is available.

Rights

The repository-root MIT License names PiteChen as the 2026 copyright holder. It permits use, copying, modification, publication, distribution, sublicensing and sale of the software and associated documentation, provided the copyright and permission notices accompany copies or substantial portions. It supplies the software without warranty.

That software license does not establish permission to reuse an input video's footage, audio, subtitles or other third-party material. The documentation says local breakdown notes and extracted frames contain source-story facts and images and should remain local. Text matching and field removal do not establish clearance for exported material.

Source version

The source snapshot is commit 36df69fe9e702dc2f15ccd05fac878ad623cf346, captured on 15 November 2026 at 22:58:11.185 UTC. The pinned folder is [https://github.com/zenstory-ai/video-recap-skills/tree/36df69fe9e702dc2f15ccd05fac878ad623cf346/skills/video-reference]. Changes after that snapshot are unknown.

The implementation declares video-reference.breakdown.v1, video-reference.production.v1 and video-reference.measurements.v3 data formats, with the scdet-isolated-v1 detector identifier. These identify internal formats and detection logic; they do not establish compatibility with particular Python, FFmpeg or assistant-host versions.

Next steps

Start with one completed video you have permission to analyze. Confirm the required executables and filters are available, measure it, inspect suspected cuts and the longest shots, and align audio labels to audible starts and stops. Compare narrative claims with the calculated metrics before writing reusable methods.

Read warnings as well as errors before export, especially warnings about missing review, incomplete transcripts or mismatched video identity. Repeat visual review after measurement changes affect the candidate windows; the existing review marker is not proof of a fresh review. Keep source facts and extracted frames local, inspect the exported methods for story details, and adapt each reference to the next video's actual evidence.

Evidence for this report

LICENSEnotice · checked 2026-11-15
skills/video-reference/SKILL.mdselected · checked 2026-11-15
skills/video-reference/scripts/lib.pyselected · checked 2026-11-15
skills/video-reference/scripts/reference.pyselected · checked 2026-11-15