Longform to shorts

From 45ck/content-machine · View interactive version

Longform to shorts is an AI agent skill from the GitHub repository 45ck/content-machine. Turn a podcast, interview, talk, screen recording, or long YouTube video into strong vertical shorts by selecting moments, snapping cut boundaries, reframing to 9:16, and rendering with native captions.

How to use this skill

Skill file

Longform To Shorts

Use When

not a net-new faceless script.

captioning.

commentary video where transcript quality matters more than stock

sourcing.

Core Approach

  1. Start with transcript and structure, not with random timestamps.
  2. Score candidate clips on hook, coherence, value density, emotional

intensity, and payoff.

  1. Snap cut points to speech boundaries, sentence endings, and silences.
  2. Reframe for portrait based on source type: speaker, cursor, or

general center-safe crop.

  1. Use aggressive captions only after clip quality is proven.

Inputs

screen-recording, mixed

Outputs

Runtime Surface

CODE0 when

a Claude Code, Codex CLI, Cursor, or similar harness needs the

selection path in one run-scoped call.

is enough and the flow manifest is not needed.

directly only when you need to inspect or replace the selection stage

in isolation.

for reference analysis only, not raw clipping.

CODE0 for final

output and review.

approval to cut source ranges and write clip-local render inputs.

for the concrete boundary-snap, reframe, and review sequence.

not call video-render directly; run longform-clip-extract first,

then reframe if needed.

Invocation

Inside a harness, prefer outcome prompts such as:

Use Content Machine to turn this longform video into candidate shorts.

Run the longform-to-shorts flow, show me the candidate plan, and do

not render until I approve a candidate.

Repo-local command form:

cat skills/longform-to-shorts/examples/request.json | \
  node --import tsx scripts/harness/longform-to-shorts.ts

Technical Notes

when available.

speaker, face, and cursor signals should be added after candidate

moment selection is stable.

strategy.

moment selection and reframing are stable.

Aggregated From

Validation Checklist

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.