Short form captions

From 45ck/content-machine · View interactive version

Short form captions is an AI agent skill from the GitHub repository 45ck/content-machine. Design and implement burned-in captions for short-form video across TikTok, Reels, Shorts, CapCut, Hormozi, karaoke, and educational styles using this repo's visual system and timing rules.

How to use this skill

Skill file

Short-Form Captions

Use When

instead of generic subtitles.

and sit against the frame.

this repo.

then implement it in the repo's render stack.

Non-Negotiables

styling.

once while the cut keeps moving.

fidelity.

Style Selection

explainers, product hooks, punchy commentary, and most general shorts.

caption treatment to feel obviously native and high-contrast.

is higher and you want less visual aggression.

or more aesthetic and the captions should feel less industrial.

numbers, and challenge/claim statements.

or spoken cadence is the point.

composition should dominate.

where impact matters more than density.

page-pop for talking-head or commentary phrases,

karaoke-chip for viral/high-energy active-word emphasis,

phrase-highlight for explainers and story lanes that need steadier

multi-word chunks.

Read style-recipes.md before changing the

caption treatment. That file is the fast map from content type to

layout, emphasis, and motion choices.

Visual Rules

Shorts is portrait 9:16, normally 1080x1920. Do not switch to a

square or landscape canvas to solve caption overflow.

x=96..984 and y=220..1540. Anything important outside that box

can be hidden by app chrome or edge cropping.

effects.

words do not.

demands impact.

to survive platform chrome.

is an explicitly slower educational layout. Prefer 18 to 26

characters per line for big center captions and 24 to 30 for

smaller bottom captions.

hook cards in roughly the top 15% to 20%,

subtitles in roughly the bottom 18% to 25%,

midpoint seam captions only when the split layout truly needs them.

valid. A dedicated black seam is optional, not required.

shadow, and highlight contrast before resorting to a separate caption

band.

instantly. Use color-only highlighting when the frame is already busy.

matters, not by default everywhere.

Technical Rules In This Repo

effective config into render.

captions.remotion.json, captions.srt, and captions.ass from the

final narration timings before review. Do not treat ad-hoc subtitle

burns as equivalent to the repo caption contract.

captionAssStyle.maxLines for any absolute-position caption overlay.

Absolute positionX/positionY is allowed for split-screen midpoint

captions, but it must stay inside the 1080x1920 safe box.

prefer boxed ASS captions with captionAssStyle.borderStyle: 3 and a

larger outline value before accepting an OCR caption-sync failure as

unavoidable.

node --import tsx scripts/harness/caption-export.ts

Read technical-map.md before changing the

implementation. It maps the repo files to the design choices and notes

what this repo already borrowed from other short-form caption systems.

Implementation Workflow

  1. Pick the caption role: native-social, educational, impact, karaoke,

or restrained.

  1. Pick the closest existing preset. Do not start from scratch unless

the preset family is genuinely wrong.

  1. Tune layout first:

maxCharsPerLine, maxLinesPerPage, maxWordsPerPage,

maxCharsPerSecond, minOnScreenMs.

  1. Tune emphasis second:

highlight mode, emphasis rules, word animation, stroke, shadow.

  1. Tune placement third:

position, edge distance, safe zones, badge spacing.

  1. Only then tune polish:

page animation, timing offset, font choice, special notation.

  1. Validate against actual rendered video, not just JSON or screenshots.

Failure Cases To Catch

interface chrome.

emphasis lands after the spoken punch.

validation and visual sync checks much less trustworthy.

Validation Checklist

demo footage.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.