---
name: botkits-video-plan-page
description: >-
  Use this before you render a video, when the script is written and someone has to approve it. It turns a script file into one self-contained HTML page with a playable animatic (timed captions, a HUD, key frames or "to paint" cards), a scrubbable timeline, the hook versions, the shot list, title and thumbnail options, the order of work, and the open choices with a copy-ready approval reply. Use it to get a yes on the plan before you spend time or GPU on shots.
title: botkits-video-plan-page
canonical_url: https://skilld.dev/gh/botkitsdev/botkits/botkits-video-plan-page
last_updated: 2026-11-22T01:30:43.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [example/keys/s01.jpg](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys/s01.jpg), [example/keys/s02.jpg](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys/s02.jpg), [example/keys/s03.jpg](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys/s03.jpg), [example/keys/s04.jpg](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys/s04.jpg), [example/keys/s05.jpg](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys/s05.jpg), [example/keys/s06.jpg](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys/s06.jpg), [example/keys/s07.jpg](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys/s07.jpg), [example/keys/s08.jpg](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys/s08.jpg), [example/keys/s09.jpg](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys/s09.jpg), [example/keys/s10.jpg](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys/s10.jpg), [example/keys/s11.jpg](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys/s11.jpg), [example/keys/thumb-a.jpg](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys/thumb-a.jpg), [example/keys/thumb-b.jpg](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys/thumb-b.jpg), [example/plan.json](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/plan.json), [example/script.json](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/script.json), [scripts/plan_page.py](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/scripts/plan_page.py), [scripts/template.html](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/scripts/template.html), [scripts/test_plan_page.py](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/scripts/test_plan_page.py).
>
> If the user asked to install this Skill, run `npx skilld install botkitsdev/botkits/botkits-video-plan-page`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/botkits-video-plan-page`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/botkitsdev/botkits/botkits-video-plan-page) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/botkits-video-plan-page`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/botkits-video-plan-page --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/botkits-video-plan-page --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Video Plan Page

A script in a chat message is hard to judge. You can't feel the pacing, and nobody can see
which shot goes with which line. This skill builds one HTML file that plays the script as
an animatic. Each caption shows for its estimated read time. Each shot shows its key frame,
or a card that describes the picture still to make. Below the animatic, the reviewer reads
the plan, answers a few choices, and copies a single reply back to you.

Build nothing until that reply arrives.

## When to use

- A script is written and the next step costs real time: key frames, animation, voice, edit.
- Someone else signs off (a client, a channel owner, a teammate) and reads on a phone.
- You want one link that holds the whole plan, not five messages.

Skip it for a single-shot clip or a script with no picture notes.

## Steps

1. **Write `script.json`.** Required: `title` and `lines`. Each line has a `who` code (`C` caption,
   `N` narrator, `S` the enemy or inner voice, `X` picture only) and `text`. A `|` splits the
   caption into two rows. Add `see` to any line that starts a new shot: one sentence about the
   picture. Add `level` and `beat` for the structure bar, and `hud` for an on-screen counter.
   Leave out `t` and `dur`. The script times each line at 2.6 words a second (at least 2.4 s,
   or `min` if you set it).
2. **Write `plan.json` (optional).** It holds everything that is not the script: header chips,
   level names, speaker labels, `colours` for the `knows` dots, the order of work, a Gantt chart
   in hours, extra cards, and the `decisions`. Mark one option per decision `rec: true`. Put key
   frames under `keys` (`"S03": "keys/s03.png"` or a start time such as `"12.5"`). Paths are
   relative to `plan.json`.
3. **Build.**

   ```sh
   python3 scripts/plan_page.py example/script.json --plan example/plan.json --out plan.html
   ```

   Add `--no-webfonts` if the page must not call outside servers. Missing images print a warning,
   and those shots stay "to paint".
4. **Check it yourself.** Open it at desktop and phone width (390 px). Press play once at 4×.
   Click a shot row, check that the animatic jumps to it, then change one choice and read the
   reply.
5. **Send one link.** Host the file anywhere static. It has no other files. Ask for the reply,
   and treat "approve" as all recommended choices.
6. **Build from the reply only.** Apply the choices to the script before you make any shot.

## Rules

- Keep private or unreleased material out of a page you host in public. Images are embedded,
  so anyone with the link sees them.
- Each image is shrunk to 960 px JPEG (when Pillow is installed). The page refuses to build
  over 15 MB.
- Fonts: the page asks Google Fonts for its display, body, mono, and handwriting faces. Every
  font stack ends in system fonts, so offline (or with `--no-webfonts`) it still reads well.
- The output is generated. Edit `script.json` and `plan.json`, then rebuild.
- Hook check letters (optional, on `quest.hooks[].checks`): M mirrors the viewer, H leaves a
  half guess, S has one surprise, N uses an exact number, B fits in one breath.

## Files

- [scripts/plan_page.py](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/scripts/plan_page.py): the builder. The docstring lists every field.
- [scripts/template.html](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/scripts/template.html): the page; the builder fills in the data.
- [scripts/test_plan_page.py](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/scripts/test_plan_page.py): `python3 -m pytest -q skills/video/botkits-video-plan-page/scripts`
- [example/script.json](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/script.json) and [example/plan.json](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/plan.json): a made-up
  45-second film, *Seven Days to One Loaf*. Its 11 key frames and 2 thumbnails are AI-generated
  stills in [example/keys/](https://skilld.dev/api/skills-raw/botkitsdev/botkits/botkits-video-plan-page/example/keys) (960 px JPEG), so a fresh clone builds the page with pictures.

## Checklist

- [ ] Every shot line has a `see` sentence
- [ ] Each decision has exactly one recommended option
- [ ] Page opened at desktop and 390 px; play, scrub, tabs and copy work
- [ ] No private names, emails or account IDs in the inputs or images
- [ ] Nothing built until the reply came back

> **Next step: from approved plan to Shorts.** When the long cut is done, the free
> [botkits-shorts-reframe](../botkits-shorts-reframe/SKILL.md) skill crops it to 9:16 Shorts.

## Inspired by

Dani Acosta's storytelling-video plan page in a private channel repo (yt-daniacostaai, pull
request #204): a single page that plays the script as an animatic, lists the shots, and ends
with choices and a copy-ready approval reply. That version was built for one channel. It
named that channel's characters in code, its example film pointed at image files on one
machine, a missing image stopped the build, and the page had no doctype or viewport, so
phones got a scaled-down desktop layout.

## What this version adds

- A real HTML document (doctype, charset, viewport), so the phone layout works, and the
  "to paint" note no longer runs under the caption at 390 px.
- Hidden tabs and cards now actually hide (`[hidden]` wins over the grid layout).
- No character names in code: dot colours come from `plan.json` or a neutral palette.
- A missing image warns and leaves the shot "to paint". The build continues.
- System-font fallbacks for every face, plus `--no-webfonts`.
- UTF-8 reads and writes, a byte-accurate size limit, safer escaping of script text, and
  tolerance for hooks without checks and lines without a level.
- The approval reply names every picked option by its label (recommended ones marked), not by a
  separate reply code, so the reply always matches what was ticked.
- A neutral demo that builds from a fresh clone, and tests that cover each fix.
