agentleFS
gitroomhqgitroomhq/postiz-content-skills/skills/remotion-shorts/SKILL.md

remotion-shorts

Skill86 starsChanged 9 days agoMITView on GitHub

Render 1080x1920 vertical Shorts from clips with the bundled Remotion templates - one video fullscreen (center-cropped) or two videos stacked top/bottom (split screen). Use for "make a short", "split screen short", "fullscreen short", or when video-shorts assembles its shots.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every clip is center-cropped (object-fit: cover), never stretched.

    line 23
  2. Very specific:

    Don't pass --frames or --scale.

    line 38

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Remotion Shorts

The Remotion project lives at ~/.content-skills/remotion-template (install.sh copies it there from this skill's template/ folder and runs npm ci). If it is missing:

mkdir -p ~/.content-skills && cp -R "<this skill's base directory>/template" ~/.content-skills/remotion-template
cd ~/.content-skills/remotion-template && npm ci
CompositionUseProps
Fullscreenone clip fills 1080x1920videoSrc
SplitVerticaltwo clips, 1080x960 each, top + bottomtopVideoSrc, bottomVideoSrc

Every clip is center-cropped (object-fit: cover), never stretched. Duration follows the source (the longer clip for the split; the shorter one freezes on its last frame). 30 fps.

Render

  1. Local files go into public/inputs/ and are referenced as inputs/<name>. URLs work as-is.
T=~/.content-skills/remotion-template
mkdir -p $T/public/inputs && cp /tmp/short/top.mp4 /tmp/short/bottom.mp4 $T/public/inputs/
cd $T
npx remotion render SplitVertical /tmp/short/shot-03.mp4 --props='{"topVideoSrc":"inputs/top.mp4","bottomVideoSrc":"inputs/bottom.mp4"}'
npx remotion render Fullscreen /tmp/short/shot-01.mp4 --props='{"videoSrc":"inputs/talk.mp4"}'
  1. Don't pass --frames or --scale. Use absolute output paths.
  2. Clean public/inputs/ when the job is done.

Framing facts

  • A 16:9 clip in a split slot keeps only its central ~63% width (1215 of 1920 px). Keep subjects central.
  • In Fullscreen a 16:9 clip keeps only the central 32% width. That's fine for a centred talking head, not for wide b-roll.
  • A 1080p source shown full-screen is upscaled ~1.8x. Render talking heads at 2k when they go full-screen.

License note

Remotion is free for individuals and companies with up to 3 people. Bigger companies need a license: https://www.remotion.dev/license

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.