Index of every page on this site: llms.txt
All skills
botkitsdev avatar

/botkits-shorts-reframe

@c282a38
by botkitsdevbotkitsdev/botkits10 stars
3
Run it yourself

Use this when turning a 16:9 video into 9:16 with a fixed center crop, scaling to 1080x1920, keeping the audio, and checking duration and resolution.

Use this Skill: https://skilld.dev/gh/botkitsdev/botkits/botkits-shorts-reframe

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈993 tokens on demand. Your agent reads this file only when SKILL.md points to it.

botkits-shorts-reframe

Turn a 16:9 video into a 1080×1920 Short. Center crop, audio kept, length and resolution checked.

Use this when turning one landscape (16:9) clip into a vertical (9:16) clip with a fixed center crop.

Install

npx skills add botkitsdev/botkits --skill botkits-shorts-reframe

To list every skill in the repo: npx skills add botkitsdev/botkits --list.

No CLI? Copy this folder into the skills folder your agent uses, and keep SKILL.md inside it.

What it does

  • Crops the full height to a centered 9:16 slice, then scales to 1080×1920. The crop expression works at any 16:9 source size, including 1920×1080 and 1280×720.
  • Copies the audio as-is with -c:a copy. If the source has no audio, drop that flag. Video is re-encoded because a crop changes the pixels.
  • Stays on a fixed crop. It does not pan, zoom, or pad with letterboxing. If the subject sits off-center, set x explicitly, for example crop=ih*9/16:ih:(iw-ih*9/16)/3:0.
  • After the encode, checks that the output is 1080×1920 and that its duration matches the source within a frame or two. If duration drifted, re-run and check you did not add -t, -ss, or a mismatched -shortest flag.

Before / after (example)

This example starts with a 16:9 file, such as 1920×1080. The source is a full landscape frame. A default center crop keeps the middle and cuts the sides. If the subject sits off-center, that default window misses them.

Run this command:

ffmpeg -i input.mp4 -vf "crop=ih*9/16:ih,scale=1080:1920" -c:a copy output.mp4

ffprobe must then show width 1080, height 1920, and a duration that matches the source within a frame or two. If the subject was off-center, set x yourself instead of using the default.

A 16:9 frame with a centered 9:16 crop box, and the 1080x1920 result next to it

Use it in

  • Used daily: Grok Bot.
  • Installs with npx skills add (tested 18 Nov 2026): Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and Grok Build.
  • Supports the SKILL.md format (vendor docs): Claude apps (upload), ChatGPT (Business, Enterprise, Edu, Healthcare upload), and the other clients listed at agentskills.io.
  • Other agents that support the Agent Skills format can load it. We have not run it there.
  • No direct install yet in ChatGPT dots or Meta Muse. Paste the instructions from SKILL.md into a chat.
Agent Put this folder here
Grok Bot Paste SKILL.md in a 1:1 chat and ask the Bot to save it as a skill.
Claude Code .claude/skills/botkits-shorts-reframe/ or ~/.claude/skills/botkits-shorts-reframe/
Codex .agents/skills/botkits-shorts-reframe/ or ~/.agents/skills/botkits-shorts-reframe/
Cursor .agents/skills/botkits-shorts-reframe/ or .cursor/skills/botkits-shorts-reframe/
Gemini CLI .gemini/skills/botkits-shorts-reframe/ or .agents/skills/botkits-shorts-reframe/ (one folder deep only)
GitHub Copilot .github/skills/botkits-shorts-reframe/ or .agents/skills/botkits-shorts-reframe/
Grok Build .grok/skills/botkits-shorts-reframe/ or ~/.grok/skills/botkits-shorts-reframe/
Claude apps Turn on code execution. ZIP this folder and upload it in Customize, Skills.

Install tested is not run tested.

Premium

The free skill works by itself. The Shorts Builder Kit adds eased pan and zoom, a loudness check and a jitter check. Price: $14.

Links

License: MIT

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2d3 checks · Risk SAFE
  • Gen Agent Trust Hub2d

    This skill provides instructions for reframing landscape videos into vertical formats using standard ffmpeg commands. It contains no malicious code or suspicious patterns.

  • Socket2d

    No alerts

  • Snyk2d

    Risk: MEDIUM · 1 issue

Signed by skilld at c282a38. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 5 days ago

README badge

README badge for botkitsdev/botkits/botkits-shorts-reframe