horizon-montage-generic
English | 简体中文
An Agent Skill for making 20–25 second brand films out of 30–40 still images. Every still shows one curved edge (a planet limb, a loaf of bread, a chalk drawing, a petal), and all of those edges are registered to the same arc in frame, so hard cuts between unrelated worlds read as one continuous camera move. A three-beat serif line sits on the horizon, the cuts accelerate from about 1 s to 5 frames, and the film resolves on a planet-limb end card that loops seamlessly.
It works with any image model and any agent that reads SKILL.md. The skill writes one prompt per shot; you (or a small adapter) generate the stills with whatever model you like. Horizon registration, the timeline, a cut-synced procedural score, the Remotion render and the QA sheets are all included.

Honey, the Sun, a chalk drawing, a thermal image, a paper collage, clouds, agate and crayon: different materials, one horizon.
What you get
Horizon registration sheet

scripts/register_horizons.py finds the curved edge in every still, fits a parabola, extends the sky where needed and scales/offsets each shot so the edges coincide. The sheet overlays the target arc (green) and the detected arc (magenta) on every tile, so a bad detection is obvious at a glance. Fix those with data/registration_overrides.json.
QA contact sheet

scripts/qa_sheet.py samples the rendered MP4: one frame per shot, the title beats ("Every word / becomes / a world", with the l growing in), the end beats and the loop seam. Your agent reads this sheet to check the film before handing it over.
End card

The film resolves to a code-drawn planet limb with the brand mark and name. This frame doubles as the poster. The example uses the placeholders "Your Brand" and "Your tagline here."
All images come from the worked example in examples/every-word-becomes-a-world/ (23.5 s, 34 shots).
Install
With the skills CLI (any agent)
npx skills add y-wi/horizon-montage-generic
skills detects the agents you have installed and copies or symlinks the skill into each one's skills folder. Useful flags: -g installs for your user instead of the current project, -a <agent> picks agents (claude-code, codex, cursor, gemini-cli, github-copilot, …), and -y skips the prompts. For example:
npx skills add y-wi/horizon-montage-generic -g -a codex -a cursor -y
Manual copy
The skill is the repository root (SKILL.md sits at the top), so cloning it into a skills folder is enough. The folder name must stay horizon-montage-generic.
git clone --depth 1 https://github.com/y-wi/horizon-montage-generic <skills-folder>/horizon-montage-generic
| Agent | Personal (all projects) | Per project |
|---|
| Claude Code | ~/.claude/skills/ | .claude/skills/ |
| OpenAI Codex | ~/.agents/skills/ | .agents/skills/ |
| Cursor | ~/.cursor/skills/ or ~/.agents/skills/ | .cursor/skills/ or .agents/skills/ |
| Gemini CLI | ~/.gemini/skills/ or ~/.agents/skills/ | .gemini/skills/ or .agents/skills/ |
| GitHub Copilot | ~/.copilot/skills/ or ~/.agents/skills/ | .github/skills/, .claude/skills/ or .agents/skills/ |
Any other agent that supports the Agent Skills format works the same way. If yours doesn't load skills at all, clone the repo anywhere and tell the agent to read SKILL.md and follow it.
Claude Code plugin (optional)
The repo is also a Claude Code plugin marketplace:
/plugin marketplace add y-wi/horizon-montage-generic
/plugin install horizon-montage-generic@y-wi
Quick start
Ask your agent for something like "make a 23-second horizon-montage launch film for my app". It follows SKILL.md; the steps it runs are:
# 0. copy the template into your project (<skill-dir> = the folder holding SKILL.md)
cp -r <skill-dir>/template promo/my-film && cd promo/my-film && npm install
# 1. (optional) measure a reference video: cut rhythm, arc height, palette
python3 scripts/analyze_reference.py ref.mp4 out/reference
# 2. write data/shotlist.json + data/film.config.json, then export the prompts
python3 scripts/gen_shots.py # -> out/prompts.json, out/prompts.md
# 3. generate each still with ANY image model, save as public/shots_raw/<id>.png
# 4. register the horizons, then look at out/registration_sheet.jpg
python3 scripts/register_horizons.py