Index of every page on this site: llms.txt
All skills
botkitsdev avatar

/botkits-video-plan-page

@c282a38
by botkitsdevbotkitsdev/botkits10 stars
3
Run it yourself

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.

  • 19 files
  • 1.2 MB
  • Updated 5 days ago
  • GitHub
Use this Skill: https://skilld.dev/gh/botkitsdev/botkits/botkits-video-plan-page

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈122 tokens for metadata: the name and description. ≈1.4k when used: this file. ≈2k more on demand in 2 files.

Description uses 6.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈489 characters, or 6.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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.

    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

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 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.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at c282a38. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 5 days ago

README badge

README badge for botkitsdev/botkits/botkits-video-plan-page