Timestamps To Visuals
Use When
- The user already has
timestamps.jsonand wants the visuals step
only.
- The agent needs a stable step before render or media generation work.
- Claude Code or Codex should produce
visuals.jsoninstead of
freeform shot suggestions.
- The agent needs to route clean local footage, stock, gameplay, or
generated shots into the render plan without sneaking already-captioned
shorts into visuals.json.
What This Skill Owns
- Translating spoken beats into visual beats.
- Picking footage that leaves room for caption treatment.
- Balancing clarity, pace, and motion across scenes.
- Enforcing the rule that winner shorts are references, not raw assets.
Core Approach
- Read the spoken timing as edit rhythm, not just timestamps.
- Choose the archetype before choosing providers. Visual routing must
obey the archetype.
- Choose visuals that support the line being spoken instead of merely
illustrating keywords.
- Leave caption space intentionally. The frame is not full just because
it can be.
- Prefer raw, clean footage over already-finished internet shorts.
- Escalate to generated media only when stock, local, or gameplay
footage is the wrong fit.
Archetype Routing Rules
reddit-post-over-gameplay: gameplay only. Do not select stock
footage, generated scenes, local B-roll, top-lane support clips, or
keyword wallpaper. The visual plan should route one full-screen
gameplay source plus Reddit/card and caption overlays.
reddit-story-split-screen: use a Reddit opener, then top-lane
story support plus bottom gameplay. Top-lane clips must be relevant
receipts, screens, faces, or story-support motion.
gameplay-confession-split: non-Reddit story support on top plus
gameplay on bottom. Do not add Reddit chrome unless the source is
actually Reddit-native.
Inputs
timestamps.json- optional provider preferences
- optional local footage, gameplay, or routing hints
- orientation and framing constraints
Outputs
- one
visuals.jsonplan with enough scene metadata for render
Output Contract
- Reads an existing
timestamps.jsonfile without modifying it. - Writes one
visuals.jsonfile to the requestedoutputPath. - Writes
visual-quality.jsonbesidevisuals.jsonby default unless
visual quality export is disabled.
- Provider selection comes from explicit
provider/providers
fields plus repo configuration, not ad hoc prompt interpretation.
- Local footage and gameplay are expected to be caption-clean raw media.
If the only source is an already-published short, treat it as a
reverse-engineer-winner input instead of reusing it as visual stock.
- Returns a JSON envelope with the final visuals path and generated
scene count plus visual quality pass/score fields when exported.
- The main output is a usable cut plan, not keyword wallpaper.
Optional Runtime Surface
- Repo-side runner:
node --import tsx scripts/harness/timestamps-to-visuals.ts
- Supporting code:
src/harness/timestamps-to-visuals.ts,
src/visuals/*
Validation Checklist
outputPathexists and points to a validvisuals.jsonfile.visual-quality.jsonexists by default and reports the metadata
preflight result.
- The visuals plan covers the scenes implied by
timestamps.json. - Each visual entry includes enough metadata for downstream render work.
- Any local video assets are free of persistent burned-in source text.
- The planned visuals leave enough room for the caption treatment.
- The visuals plan still matches the chosen archetype.