Generate short

From 45ck/content-machine · View interactive version

Generate short is an AI agent skill from the GitHub repository 45ck/content-machine. Build a full short from brief to reviewed MP4 while keeping script, audio, visuals, captions, and validation aligned as one edit.

How to use this skill

Skill file

Generate Short

Use When

in one call.

manually coordinating each stage itself.

inherit blueprint and archetype hints.

Remotion render, and publish review steps.

Do not feed already-captioned published shorts back in as raw visuals

or gameplay.

What This Skill Owns

use.

CODE0.

CODE0.

packaging, and metrics feedback as agent-facing quality layers around

the runtime path.

Workflow

  1. Start with the brief, not the render flags.
  2. Use CODE0 before scripting

when the title, cover, opening frame, or platform promise matters.

  1. Pick laneId separately from archetype when the brief implies a

visual/editing lane. archetype is the script shape;

laneId is the video format.

  1. Generate a script with enough punch to support chunked reading.
  2. Generate audio and timestamps cleanly enough that captions will not

be forced to compensate.

  1. Build visuals that leave caption room and avoid baked-in source text.
  2. Choose the caption family before render.
  3. Use

CODE0

when you need hook, pacing, visual-assembly, or rejection guidance

instead of only stage execution.

  1. Use CODE0 and

CODE0 before final approval

when the hook, retention, or payoff is a risk.

  1. Render.
  2. Use CODE0 for

platform-specific metadata and upload checklist work.

  1. Review. Reject bad outputs instead of rebranding them as acceptable.

Optional Runtime Surface

directly:

node --import tsx scripts/harness/generate-short.ts

src/harness/generate-short.ts,

src/render/captions/*,

src/visuals/*,

src/validate/*

Output Contract

outputDir/ingest unless referenceOutputDir is overridden.

treated as render-ready source footage.

final video files.

visuals/visual-quality.json, render/captions.remotion.json,

render/captions.srt, render/captions.ass, and

quality-summary.json.

ledger records generated script/audio/render artifacts, visual scene

assets, gameplay backgrounds, caption sidecars, file hashes when local

files exist, and review status for assets that still need rights

evidence.

into publish-prep so the final MP4 is checked for actual rendered

caption sync, not just for a valid caption plan on disk.

ledger is passed into publish-prep. publishPrep.mediaIndexPath

adds reusable media-index evidence. Any rights/provenance error fails

the final publish-ready result.

publishPrep.enabled is false.

Set publishPrep.requirePass to false only when you explicitly want

files written even though the review gate failed.

just the fact that files were produced.

Validation Checklist

duration.

preflight passed.

render/captions.ass exist when caption export is enabled.

readiness signals.

assets plus any visual, gameplay, audio mix, and caption assets that

entered the render.

a random default.

clear pass/fail outcome.

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.