/horizon-montage-generic:horizon-montage-genericfrom horizon-montage-generic
Creates a 20–25s emotional brand film using the "shared horizon" match-cut style with 30–40 stills. Includes reference analysis, horizon registration, Remotion template, procedural score, and QA sheets. Useful for cinematic teasers, launch films, brand loops, or sizzle reels.
Ships in horizon-montage-generic. 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.
None: SKILL.md is the whole skill.
A 20–25 s film made of 30–40 stills. Every still shows one convex edge, registered
so that all edges coincide. A continuous virtual camera drifts across the hard
cuts. A three-beat line sits on the horizon. A synthesized score follows the cuts.
Worked example: examples/every-word-becomes-a-world/ (a brand film for an image-generation app, "Every word / becomes / a world",
23.5 s, 34 shots; brand name replaced with a placeholder): its config, shot list, overrides, registration sheet, QA sheet and poster
are the quality bar. Look at qa_sheet.jpg before starting.
Read references/style-bible.md first: it holds the measured rules (rhythm,
geometry, type, colour, sound). Use references/shot-prompting.md when writing
shots, and references/production-lessons.md for every gotcha met so far. Add a
note there whenever you learn something new.
Copy the template, then work inside the copy (<skill-dir> is the folder that contains this SKILL.md):
cp -r <skill-dir>/template <project>/promo/<film-name>
cd <project>/promo/<film-name> && npm install
python3 scripts/analyze_reference.py ref.mp4 out/reference. Read the contact sheets
and report.txt (shot lengths, arc apex/sagitta median, colours). Set
apex.yStart/yEnd/sagitta in data/film.config.json from the medians.l into "a world" (morph in the config). End card = tagline
beat + brand lockup (mark + name). Use the product's real name and real tagline.
Never invent claims, prices or features. Find copy in the product's own UI/i18n strings.data/shotlist.json: one entry per shot with act, subject, sky
(+ optional medium/light/finish). The act sizes must equal the frames arrays
in film.config.json. Order the worlds by feeling (cosmic → intimate → human → hidden →
imagined → cosmic) and alternate sky families. Preview prompts with
python3 scripts/gen_shots.py --print.python3 scripts/gen_shots.py writes
out/prompts.json and out/prompts.md: per shot the id, act, aspect, size (from
film.config.json width×height unless the shot list sets size), optional reference photo
(ref + refnote), the full prompt, and the target file. Generate each still with whatever
image tool you have (your own API, a local model, an agent tool, a web UI) at the film's
aspect ratio, and save it as public/shots_raw/<id>.png (.jpg/.webp also work; extra
takes as <id>__v2.png). To automate it, either
scripts/adapters/example_adapter.py, implement
generate(prompt, size, out_path, *, aspect, ref, refnote, shot)) and run
python3 scripts/gen_shots.py --adapter scripts/adapters/my_adapter.py --jobs 2, orpython3 scripts/gen_shots.py --cmd 'mytool --prompt-file {prompt_file} --size {size} -o {out}'.
Both skip shots that already exist (safe to rerun; --force regenerates) and log to
data/gen_log.jsonl. Keep --jobs within your provider's concurrency limit, and keep API
keys in your own environment, never in the project. Everything after this step is unchanged.python3 scripts/register_horizons.py, then look at
out/registration_sheet.jpg. The green line is the target arc, magenta is the
detected one. Fix wrong detections with data/registration_overrides.json
(minY, apex, a, ink, noExtend). Regenerate shots whose arc is ugly, that
contain text, or whose sky is busy where the title sits.acts[].frames (cut lengths) and the end beats in the config, then
python3 scripts/build_timeline.py. Keep the rhythm curve from the bible:
~1 s → ~0.55 s → ~0.4 s → ~0.3 s → 5–6 frames, then a 4 s calm resolve.python3 scripts/score.py (original, numpy-only, synced to
timeline.json), then python3 scripts/score_check.py. Read out/score_check.png
because you cannot listen: notes should land on the yellow cut ticks, the riser should
climb to the red resolve line, and the mids should go silent right after it. To use a
licensed track instead, put it in public/audio/ and point data/score.json at it.npx remotion still src/index.ts HorizonFilm out/f.jpg --frame=N
for the opening, the first title frame, the morph, the end beats and the last frame.npm run render (CRF 16, 90 s delayRender timeout; ~40 s for 23 s at 1080p).
Export a web copy: ffmpeg -i out/horizon-film.mp4 -c:v libx264 -crf 23 -preset slow -movflags +faststart -c:a aac -b:a 192k out/horizon-film-web.mp4. Then python3 scripts/qa_sheet.py out/<name>.mp4 and read
out/qa_sheet.jpg. Fix, re-render, and record lessons.| path | role |
|---|---|
data/film.config.json | size/fps, apex band + sagitta, type sizes/inks, act cut lengths, title beats, morph, end beats |
data/shotlist.json | prompt template + per-shot fields |
scripts/analyze_reference.py | cuts, rhythm, arc medians, palette, contact sheets for any reference video |
scripts/gen_shots.py | shot list → out/prompts.json / prompts.md; optional batch generation via --adapter (Python generate()) or --cmd (any CLI), skip-existing + retry |
scripts/adapters/example_adapter.py | documented stub of the adapter interface; copy and implement for your model |
scripts/register_horizons.py | border trim → arc detection → parabola fit → upper-envelope lift → sky extension → scale/offset → ink; writes data/registration.json |
scripts/build_timeline.py | config + shotlist → data/timeline.json (absolute frames for picture and sound) |
scripts/score.py, score_check.py | cut-synced procedural score + spectrogram QA |
scripts/qa_sheet.py | contact sheet of the rendered film (every shot, morph, end beats, loop seam) |
src/ | Remotion: Limb (code-drawn bookend), Shot (registered still + global camera), Headline (text on the horizon circle, morph), EndCard, Grain, OrbMark |
width/height (e.g. 1080×1920). Generate shots at the
same aspect, and expect a lower sagitta to look right on vertical.src/OrbMark.tsx with the brand's mark (monochrome,
~0.8 × cap height). Do not invent a logo for a real company. If the brand has none,
set the name alone.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
brand-film, match-cut, horizon-montage, remotion-template, ai-video, cinematic
npx claudepluginhub y-wi/horizon-montage-generic --plugin horizon-montage-genericOther plugins' skills for the same job