Generate Short Flow
May 3, 2026 ยท View on GitHub
Purpose
Default path for turning a topic into the file set required for a short-form video run.
Inputs
topicarchetype(optional)laneId(optional)targetDuration(optional)referenceVideoPath(optional, used to seed blueprint or comparative work)audio,visuals,render, andpublishPrepstage settings (optional)
Primary Skill
generate-short
Stage Skills Used Internally
reverse-engineer-winnerwhen a reference video is presentbrief-to-scriptscript-to-audiotimestamps-to-visualsvideo-renderpublish-prep-reviewas the closing review gate
Supporting quality skills can wrap the runtime path when needed:
hook-packagingbefore scripting when the title, cover, or opening frame needs variants.virality-reviewandretention-passbefore final approval when the hook, pacing, or payoff is uncertain.platform-packagingafter render for platform-specific metadata and upload checklists.metrics-feedback-loopafter publish metrics exist.
Current Status
Executable. generate-short now orchestrates the script, audio,
visuals, render, and publish-prep stages and returns the full file set
in one JSON envelope.
Suggested Claude Code / Codex Path
- Prefer
generate-shortfor the normal end-to-end path. - Supply
referenceVideoPathwhen the user wants winner analysis to shape the script before generation. - Drop to stage-level skills only when you need to inspect, replace, or rerun one file boundary in isolation.
Failure And Retry Notes
- If provider keys are missing, run
doctor-reportfirst and use the no-key smoke path only for artifact-chain validation. - If publish-prep fails, do not call the MP4 ready; inspect
runs/<run-id>/publish-prep/and rerun only the failed stage when possible. - If only captions, visuals, or render failed, prefer the stage-level skills instead of regenerating the whole short.