/shotkit:visual-prompt-forgefrom shotkit
Generates model-specific image and video prompts from storyboard shot lists (shots.json). Supports Midjourney, Flux, Ideogram, GPT Image, Kling, Veo, and more. Includes revision mode that re-prompts only failed shots from critiques.
Ships in shotkit. 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.
Read when SKILL.md points to them.
You are turning structured shot data into prompts that work in production. Each image generator rewards a different prompting style, short and high-signal for Midjourney, natural-language for Flux, paragraph-form for GPT Image, text-aware for Ideogram. A prompt that crushes in one will produce slop in another.
This skill adapts. Same shot, different syntax.
Trigger when the user:
shots.json (or any structured shot list) and asks for promptsNaming a generator is not enough on its own. A request to generate an image, or to use one of these models for something other than storyboard shots, belongs to another tool.
If the user wants to build a storyboard from scratch (no shots.json yet), use storyboard-architect first, then chain into this skill.
After ./install.sh, the validators and helpers are in ~/.claude/shotkit-tools/ and the
brand packs are in ~/.claude/shotkit-brand-packs/. A --project install puts both
under ./.claude/ instead. From a repo clone they are tools/ and brand-packs/. The
commands below give the installed path first and the clone path second. They need no
setup: sk runs each tool and supplies the two Python packages the validators use.
For a given shots.json and a list of target generators, produce one file per generator,
inside a directory named for the round:
output/prompts/round-1/
├── midjourney.txt # If targeted
├── flux.txt
├── ideogram.txt
├── gpt-image.txt
├── nano-banana.txt
├── seedream.txt
├── kling.txt # Motion-aware video, default
├── veo.txt # Motion, dialogue/lipsync + native audio
├── seedance.txt # Motion, multi-shot sequences
└── hailuo.txt # Motion, budget iteration
Round 1 is the first pass. Revision mode writes output/prompts/round-2/, and so on.
The round in the path keeps every round's prompts on disk, so the prompt that produced a
frame is always there to check against it.
Each file is plain text, one prompt per shot, separated by a blank line and a # shot_NN comment. Designed for copy-paste workflows, drop into the generator's UI or pipe into an API.
Every prompt is composed from these layers. Read references/prompt-anatomy.md for the full theory. Quick version:
The first four come from shots.json and the brand-lock. The fifth is what this skill applies.
You need:
shots.json (required), the structured shot listbrand-lock.snapshot.md (required), referenced from shots.jsonValidate before composing:
~/.claude/shotkit-tools/sk validate_shots.py output/
# from a repo clone:
# tools/sk validate_shots.py output/
If the brand-lock is missing or shots.json does not validate, stop and tell the user.
Don't try to forge prompts from incomplete data.
If the tools are not on hand (a Claude.ai upload, or a single-skill install), read the
schema from ../storyboard-architect/templates/shots.schema.json and check by hand. That
relative path only resolves when the skills sit side by side; when they don't, ask the
user for the schema rather than composing from memory of it.
For each target generator, read the matching adapter file:
adapters/midjourney.mdadapters/flux.mdadapters/ideogram.mdadapters/gpt-image.mdadapters/nano-banana.mdadapters/seedream.mdadapters/kling.md (motion video, default)adapters/veo.md (motion video, dialogue/lipsync + native audio)adapters/seedance.md (motion video, multi-shot sequences)adapters/hailuo.md (motion video, budget iteration)Each adapter file documents the prompting style, parameter syntax, and known pitfalls for that generator. You must read the adapter before writing prompts for it. Don't guess from training data, image-gen syntax has churned multiple times.
adapters/_capabilities.json is the single source of truth for per-generator limits (max_prompt_words, supports_text_render, supports_motion, aspect_param, and so on). Read it once at the start and respect those values when composing, and do not target motion on a stills-only generator.
max_prompt_words is a ceiling. The range in an adapter .md is the recommended target
and always sits inside that ceiling, so a .md saying "40 to 70 words" under a ceiling of
120 is guidance, not a conflict. Where a fact in a .md and a fact in the JSON genuinely
disagree, the JSON wins.
That rule is now enforced rather than trusted. validate_capabilities.py fails the
build when an adapter advertises more words than its ceiling, or when an adapter never
documents the aspect_param the JSON tells you to send. A parameter name that differs
between the two files would otherwise send the wrong name on every prompt.
For each shot in shots.json, for each target generator:
One file per generator, into output/prompts/round-{N}/. Format:
# Storyboard: {project title}
# Generator: midjourney
# Model: {model_version from _capabilities.json}
# Aspect: 9:16
# Brand-lock: brand-lock.snapshot.md
# Run: {run_id from run.json}
# Round: 1
# shot_01, hook, 0.0-2.0s, MCU eye-level static
# params: {generator parameters, from the adapter}
{the prompt}
# shot_02, pain, 2.0-6.0s, MS eye-level push
# params: {generator parameters}
{the prompt}
...
The # lines are comments; the user copies just the prompt body. copy-prompt.py
parses this format, treating a comment line that names a shot as a block header and any
other comment inside a block as an annotation it will not copy.
Every adapter uses this one block format. Parameters go on a # params: line under the
block header. Never write them as a second # shot_NN, ... line: every line that starts
with # shot_NN opens a new block, and validate_prompts.py fails the file for a
duplicate block. Other annotation lines are # variant: (a variant template, nano-banana),
# covers: shot_03, shot_04 (the other shots a multi-shot sequence renders, seedance) and
# refs: (the pictures passed with the prompt, see Long form below).
Record the run and round in the header, not a wall-clock "Generated" line. A timestamp in the header made every file differ between two otherwise identical runs, which is a strange thing to put in an artifact whose selling point is determinism.
After writing the files, append an entry to run.json's rounds array: the round number,
started_at, a reason, and for each file its generator, path, SHA-256, and the shot ids
it covers.
shasum -a 256 output/prompts/round-1/*.txt
rounds is append-only. Add the new entry at the end and never edit an earlier one.
Everything else in run.json was written once by the architect and is never edited.
Tell the user where the files are. Offer the next step:
"Want me to QA the generated images against the storyboard? Use
visual-asset-criticonce you have the renders."
For paste-into-generator workflows, the user can pipe individual shots to the clipboard with the bundled helper:
~/.claude/shotkit-tools/sk copy-prompt.py output/prompts/round-1/midjourney.txt
~/.claude/shotkit-tools/sk copy-prompt.py output/prompts/round-2/revised-midjourney.txt --shot shot_03
# from a repo clone:
# tools/sk copy-prompt.py output/prompts/round-1/midjourney.txt
# tools/sk copy-prompt.py output/prompts/round-2/revised-midjourney.txt --shot shot_03
This is optional. The .txt files are also directly readable, and the user can copy any block by hand. The helper exists for the case where the operator is bouncing between the terminal and a generator UI repeatedly.
This is what visual-asset-critic's structured output is for. When the user hands you shots.json plus one or more critique.json files (the machine-readable verdict the critic writes), don't re-forge the whole storyboard, re-emit prompts for only the shots that failed, with the fix already applied.
The user says "apply the critique", "revise the failed shots", "re-roll what didn't pass", or hands over an output tree containing critiques/.
output/critiques/round-{N}/, where N is the highest round
present. Each file is one shot's verdict (shot_id, verdict, issues[]).verdict: ACCEPT. Those are done.REJECT. A REJECT means the critic found a blocking issue, or three or more
major ones: a failure with no clear fix path. Re-emitting a prompt for it pretends
otherwise. List the rejected shots, say what the critic said about them, and ask the
user how to proceed. Common answers are a change to the shot spec, a change to the
brand-lock, or a different generator, and all three are decisions above this skill's
pay grade.REVISE shot, walk its issues[] and branch on fix_type:
prompt-level, recompose that shot's prompt with the change in fix applied
(e.g. add the missing series_lock anchor). Re-emit it.re-roll, keep the prompt identical; the generation was just a bad sample.
Re-emit it with a # fix [Technical, re-roll] annotation saying to take 2-3 samples
and pick the cleanest.post-level, do not re-emit. The fix happens in compositing, not a new
generation.post-level needs no new prompt. Leave it out of the
revised file and add its id to post_only_shots on the new round entry in run.json.
Saying it in chat is not recording it: that obligation has to exist on disk or the
compositing step is a memory.Write output/prompts/round-{N+1}/revised-{generator}.txt containing only the revised
shots, then append the round to run.json. Annotate each shot with what changed and why,
citing the issue:
# shot_03, reframe, 11.0-16.0s, MCU eye-level push, revision (was REVISE)
# fix [Series Lock, major]: added 'salt-and-pepper hair' to the character anchor (was missing)
# fix [Shot Spec, minor]: medium shot -> medium close-up
{the revised prompt}
The block header leads with the shot id, same as a full pass. copy-prompt.py
identifies a block by the shot id near the start of the line, and the revision file is the
one the operator pastes from most.
Tell the user which shots were revised, which need only post work, which were rejected,
and which were already ACCEPT. Then they generate the revised shots and run
visual-asset-critic again.
Given the same shots.json, the same brand-lock, and the same critique, this should
produce the same revised prompt. Nothing in the file format fights that any more: no
wall-clock stamps, no random ordering.
What the format cannot guarantee is the judgement in between. Applying a fix field means
reading a sentence of English and editing prose, so hold yourself to the narrowest edit
that satisfies the fix and leave every other layer byte-identical. If you find yourself
rewriting a prompt the critique did not ask you to touch, stop: that is drift, and it will
read as a mystery six shots later.
A plan from long-form-architect has scenes and locks. A shot that belongs to a scene
is held by its locks and its scene, not by the series_lock: the place and the light change
from scene to scene, so one environment string cannot describe every frame. Rule 3 below
still holds for a shot with no scene.
Work in the order long-form-architect/references/making.md gives: lock pictures first,
then each scene's master, then the coverage as edits of the master, then clips from the
approved stills.
List them on a # refs: line under the block header, in the order they are passed. Paths
are relative to the output folder:
# shot_004, The exchange, 16.0-22.0s, over-shoulder 40mm
# refs: frames/round-1/shot_003.png, locks/lock_tomas.png
Move the camera behind her right shoulder, onto him. Keep the room, the lamp and the
light as they are. He does not look up from the letter.
A lock picture is locks/<lock id>.<ext>, or the path the lock's image names. A frame
is frames/round-N/<shot id>.<ext>. A ref that is neither is warned. It stands in for no
sentence and does not carry the look. A shot's own frame that is not on disk stands in
for nothing. Refs on a still for a generator whose capability entry takes no reference
pictures are warned: that prompt has to carry every sentence itself.
| What | The rule |
|---|---|
| Every lock the shot names | Its sentence word for word, or its picture under # refs:, or a frame of the same scene that already shows it |
| A lock in a new state | The state's text word for word. The lock picture shows the thing before the change. A frame of the same scene that shows the lock already carries the state |
| The look | The look lock's sentence word for word, unless a lock picture or a frame of the run is listed under # refs:. Those carry the look, because both were made in it. Any other picture does not |
| The scene's light | scenes[].light word for word, or a frame of the same scene. A place lock shows the place at one hour only |
Coverage (derives_from) | Start from the master's frame. Coverage that does not list it under # refs: is warned, not failed. Say what the camera does and what changes. Do not describe the room again: that is guidance, and no tool checks it on a still |
Word for word means what Rule 3 means: the whole string, no synonym, no dropped clause. The sentence may start with a capital letter. A lock sentence, a state, the look or the light may wrap across lines in the file. Whitespace is collapsed before the match.
A clip starts from the shot's accepted still, listed under # refs:. The tool checks
only that a still is listed. It does not check that the still was accepted. A clip that
starts from a still of another scene is warned.
Its prompt says what moves, in what order, how many times, and what the camera does. It does not repeat a lock sentence or the look: describing them again invites the generator to redraw them, and the tool warns. Leave the light out too. No tool checks that.
A line spoken on camera goes in the prompt word for word. A clip prompt without it is warned. Put the line in quotes. The quotes are not checked. The line stays in the prompt even when a subtitle overlay has the same words.
A clip with no first frame is an error when the shot names a character lock, because a video generator may take no reference pictures and the face then has nothing to hold it. For any other shot it is a warning.
One file per generator per round: prompts/round-N/<generator>.txt. It holds the blocks
of every scene. There is no file name per scene. To make the piece scene by scene, add
# Scenes: scene_02 to the header, and the file is a full pass for that scene only.
Several scenes are separated by commas. Without the line, a file that is not revised-
covers every generated shot in the plan.
Their prompts go in output/prompts/locks/<generator>.txt, one block per lock:
# Storyboard: {project title}
# Generator: gpt-image
# Brand-lock: brand-lock.snapshot.md
# Run: {run_id from run.json}
# lock_mara, two views in one picture
{the look sentence} {Mara's lock sentence} Two views at the same scale, ...
Each block names a lock in the plan, once, and carries that lock's sentence word for
word. A block that lists no picture under # refs: carries the look too. The look
lock's own block needs only its own sentence. A lock made as an edit of another lock's
picture lists that picture under # refs: and needs no look paragraph. A prop is made
that way, in its place, so the table under it is the same table.
long-form-architect/references/continuity.md has the rules for what a lock picture
shows.
validate_prompts.py checks the rules in this section that name an error or a warning.
sk validate runs it, also when only prompts/locks/*.txt exists. It does not check
that a lock picture shows two views, or that every lock has a prompt.
These are non-negotiable. Violating them produces broken output even if the prompt looks fine.
If the shot has on_screen_text: "text_03", the prompt does NOT contain the text content. Text is composited separately. The only exception: Ideogram, where text-in-image is the reason you'd choose it, but even then, treat it as an explicit override flagged in rationale.
Colors come from the series_lock color_grade and the brand_lock palette. They get rendered into the prompt by the adapter. Don't write "deep navy blazer" in the shot subject if "deep navy" is already in the palette, that's a duplicated description and produces oversaturation.
The series_lock environment, lighting, and color_grade strings flow into every
prompt verbatim. This is what produces visual consistency across shots. If you
paraphrase or vary, shots stop matching each other.
Verbatim means the whole string, unedited. Not "the same idea in better prose". The
failure mode is specific and easy to walk into: you are writing fluent descriptive
English, environment is "minimalist home office, white walls, oak desk, single
houseplant", and it reads more naturally as "a minimal home office with white walls and
an oak desk". That is drift. The frames stop matching, and it stays invisible until you
line up six shots and see six different rooms.
Capitalising the first letter to start a sentence is fine, because the check is case-insensitive. "Minimalist home office, white walls, oak desk, single houseplant." satisfies the rule and reads like a sentence. Nothing else may change: no reordering, no dropped clause, no synonym, no inserted adjective.
character is a warning rather than an error, because a shot with no person in it can
legitimately leave it out. When the shot has a person, it is verbatim too.
In a long piece, a shot that belongs to a scene follows the Long form rules above instead: its lock sentences and its scene's light take the place of these three anchors.
A shot may override environment_ref or lighting_ref, with its reason in the rationale.
Then that shot's prompt carries the override text verbatim in place of the series anchor.
The validator checks the override text for that shot and skips the series anchor.
This rule is enforced now, not trusted:
~/.claude/shotkit-tools/sk validate_prompts.py output/
# from a repo clone:
# tools/sk validate_prompts.py output/
Paraphrasing an anchor reads as good writing, which is why this rule needs a check rather than care alone.
If your training data says Midjourney uses --style 4a and the adapter file says --style raw, the adapter wins. Image-gen syntax changes monthly. The adapter is current; your training is not.
Every prompt is composed from the same inputs the same way. If two consecutive runs produce different prompts for the same shot, the skill is broken. Determinism is the whole point.
references/prompt-anatomy.md, the five-layer model in depthreferences/consistency-locks.md, how series_lock prevents shot driftreferences/failure-modes.md, common image-gen failures and their prompt-side fixesOne file per generator. Read these on demand, only for the generators being targeted.
| File | Generator | Strength |
|---|---|---|
adapters/midjourney.md | Midjourney v7+ | Aesthetic, cinematic |
adapters/flux.md | Flux 2 / Flux 1.1 Pro | Photorealism |
adapters/ideogram.md | Ideogram v3 | Text in image (override only) |
adapters/gpt-image.md | GPT Image 1.5 / 2 | Prompt accuracy, spatial reasoning |
adapters/nano-banana.md | Nano Banana 2 (Gemini 3.1 Flash Image) | Edit fidelity, inpainting |
adapters/seedream.md | Seedream 4.5 | High-volume, cost-efficient |
adapters/kling.md | Kling 3.0 | Motion video, default (best camera motion per dollar) |
adapters/veo.md | Veo 3 | Motion video, dialogue/lipsync + native audio |
adapters/seedance.md | Seedance 2.0 | Motion video, multi-shot sequences |
adapters/hailuo.md | Hailuo 02 Pro | Motion video, budget iteration |
After every pass, re-render the board so the user sees the result without opening files:
~/.claude/shotkit-tools/sk board output/
# from a repo clone:
# tools/sk board output/
A live board (sk board output/ --serve) reloads by itself. If no board is open yet,
add --open.
Run the validator. Do not eyeball this list.
~/.claude/shotkit-tools/sk validate_prompts.py output/
~/.claude/shotkit-tools/sk copy-prompt.py output/prompts/round-1/flux.txt --list
# from a repo clone:
# tools/sk validate_prompts.py output/
# tools/sk copy-prompt.py output/prompts/round-1/flux.txt --list
validate_prompts.py checks the mechanical half:
_capabilities.jsonproject.aspectmax_prompt_words ceilingenvironment, lighting, and color_grade appear verbatim, with the
character anchor as a warningWhat it cannot check, and you still have to:
run.json with a hash per prompt fileexamples/one-shot-all-adapters/ contains a single shot rendered across seven adapters
side-by-side: the six stills generators plus Kling. Use it to calibrate output quality.
The three remaining motion adapters (Veo, Seedance, Hailuo) have no worked example yet;
their .md files carry a worked prompt each in the meantime.
For a complete two-round output tree, prompts and frames and critiques together, see
../visual-asset-critic/examples/worked-run/.
adapters/_capabilities.json (opens in a new tab)adapters/capabilities.schema.json (opens in a new tab)adapters/flux.md (opens in a new tab)adapters/gpt-image.md (opens in a new tab)adapters/hailuo.md (opens in a new tab)adapters/ideogram.md (opens in a new tab)adapters/kling.md (opens in a new tab)adapters/midjourney.md (opens in a new tab)adapters/nano-banana.md (opens in a new tab)adapters/seedance.md (opens in a new tab)adapters/seedream.md (opens in a new tab)adapters/veo.md (opens in a new tab)examples/one-shot-all-adapters/README.md (opens in a new tab)examples/one-shot-all-adapters/flux.txt (opens in a new tab)examples/one-shot-all-adapters/gpt-image.txt (opens in a new tab)examples/one-shot-all-adapters/ideogram.txt (opens in a new tab)examples/one-shot-all-adapters/kling.txt (opens in a new tab)examples/one-shot-all-adapters/midjourney.txt (opens in a new tab)examples/one-shot-all-adapters/nano-banana.txt (opens in a new tab)examples/one-shot-all-adapters/seedream.txt (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/brand-lock-extractorExtract a production-ready brand-lock.md from a brand's existing assets. Point it at a website URL, a brand book PDF, screenshots, or a written description and it produces the nine-section brand-lock the rest of shotkit consumes, with a confidence and source noted for every value. Use when the user wants to onboard a brand, says "build a brand lock", "extract my brand", "make a brand pack from my site", or hands over brand assets. The cold-start killer that turns a blank brand-pack template into a filled, validate-ready file. Pairs with storyboard-architect downstream./long-form-architectPlan a long video from an idea, a treatment or a script. Use for a trailer, a short film, a single scene with dialogue, an episode opening, a documentary short, a brand film or a music video, or any video past about 90 seconds, and when the user says "plan the film", "break down this script", "shot list for this scene", "plan the shoot" or "storyboard the trailer". Asks its questions first, then writes the story, the sections, the scenes with their coverage, the lock list for people, places and props, and a shot list with a source for every shot (to film, own footage, to generate). Produces story.md plus the same run files as storyboard-architect, so the board, the prompts and the checks work on it unchanged. It plans the piece; it does not render it.npx claudepluginhub whystrohm/shotkit --plugin shotkitOther plugins' skills for the same job