{"slug":"botkits-shorts-reframe","title":"botkits-shorts-reframe","summary":"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.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-11-29T00:42:20.316304Z","repo":{"url":"https://github.com/botkitsdev/botkits","stars":11,"forks":3,"license":"MIT","updatedAt":"2026-11-28T23:42:07Z"},"bodyHtml":"<p></p>\n<h1>botkits-shorts-reframe</h1>\n<p>Turn a 16:9 video into a 1080×1920 Short. Center crop, audio kept, length and resolution checked.</p>\n<p>Use this when turning one landscape (16:9) clip into a vertical (9:16) clip with a fixed center crop.</p>\n<h2>Install</h2>\n<pre><code>npx skills add botkitsdev/botkits --skill botkits-shorts-reframe\n</code></pre>\n<p>To list every skill in the repo: <code>npx skills add botkitsdev/botkits --list</code>.</p>\n<p>No CLI? Copy this folder into the skills folder your agent uses, and keep <code>SKILL.md</code> inside it.</p>\n<h2>What it does</h2>\n<ul>\n<li>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.</li>\n<li>Copies the audio as-is with <code>-c:a copy</code>. If the source has no audio, drop that flag. Video is re-encoded because a crop changes the pixels.</li>\n<li>Stays on a fixed crop. It does not pan, zoom, or pad with letterboxing. If the subject sits off-center, set <code>x</code> explicitly, for example <code>crop=ih*9/16:ih:(iw-ih*9/16)/3:0</code>.</li>\n<li>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 <code>-t</code>, <code>-ss</code>, or a mismatched <code>-shortest</code> flag.</li>\n</ul>\n<h2>Before / after (example)</h2>\n<p>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.</p>\n<p>Run this command:</p>\n<pre><code>ffmpeg -i input.mp4 -vf \"crop=ih*9/16:ih,scale=1080:1920\" -c:a copy output.mp4\n</code></pre>\n<p>ffprobe must then show width <code>1080</code>, height <code>1920</code>, and a duration that matches the source within a frame or two. If the subject was off-center, set <code>x</code> yourself instead of using the default.</p>\n<p><img src=\"../../../assets/top3-shorts-reframe.png\" alt=\"A 16:9 frame with a centered 9:16 crop box, and the 1080x1920 result next to it\"></p>\n<h2>Use it in</h2>\n<ul>\n<li>Used daily: Grok Bot.</li>\n<li>Installs with <code>npx skills add</code> (tested 18 Nov 2026): Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and Grok Build.</li>\n<li>Supports the SKILL.md format (vendor docs): Claude apps (upload), ChatGPT (Business, Enterprise, Edu, Healthcare upload), and the other clients listed at <a href=\"https://agentskills.io/clients\">agentskills.io</a>.</li>\n<li>Other agents that support the Agent Skills format can load it. We have not run it there.</li>\n<li>No direct install yet in ChatGPT dots or Meta Muse. Paste the instructions from <a href=\"SKILL.md\">SKILL.md</a> into a chat.</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>Agent</th>\n<th>Put this folder here</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Grok Bot</td>\n<td>Paste <a href=\"SKILL.md\">SKILL.md</a> in a 1:1 chat and ask the Bot to save it as a skill.</td>\n</tr>\n<tr>\n<td>Claude Code</td>\n<td><code>.claude/skills/botkits-shorts-reframe/</code> or <code>~/.claude/skills/botkits-shorts-reframe/</code></td>\n</tr>\n<tr>\n<td>Codex</td>\n<td><code>.agents/skills/botkits-shorts-reframe/</code> or <code>~/.agents/skills/botkits-shorts-reframe/</code></td>\n</tr>\n<tr>\n<td>Cursor</td>\n<td><code>.agents/skills/botkits-shorts-reframe/</code> or <code>.cursor/skills/botkits-shorts-reframe/</code></td>\n</tr>\n<tr>\n<td>Gemini CLI</td>\n<td><code>.gemini/skills/botkits-shorts-reframe/</code> or <code>.agents/skills/botkits-shorts-reframe/</code> (one folder deep only)</td>\n</tr>\n<tr>\n<td>GitHub Copilot</td>\n<td><code>.github/skills/botkits-shorts-reframe/</code> or <code>.agents/skills/botkits-shorts-reframe/</code></td>\n</tr>\n<tr>\n<td>Grok Build</td>\n<td><code>.grok/skills/botkits-shorts-reframe/</code> or <code>~/.grok/skills/botkits-shorts-reframe/</code></td>\n</tr>\n<tr>\n<td>Claude apps</td>\n<td>Turn on code execution. ZIP this folder and upload it in Customize, Skills.</td>\n</tr>\n</tbody>\n</table>\n<p>Install tested is not run tested.</p>\n<h2>Premium</h2>\n<p>The free skill works by itself. The <a href=\"https://daniacostaai.gumroad.com/l/ommvol\">Shorts Builder Kit</a> adds eased pan and zoom, a loudness check and a jitter check. Price: $14.</p>\n<h2>Links</h2>\n<ul>\n<li><a href=\"https://botkits.dev\">botkits.dev</a></li>\n<li>Instructions: <a href=\"SKILL.md\">SKILL.md</a></li>\n<li>Inspired by: <a href=\"https://ffmpeg.org/ffmpeg-filters.html#crop\">FFmpeg crop filter docs</a> and the <a href=\"https://mediacodec.dev/how-to/crop-video/\">mediacodec.dev crop guide</a>. The docs are a filter reference and the guide has the centered crop. This skill adds the scale to 1080x1920 and the duration and resolution checks.</li>\n</ul>\n<p>License: MIT</p>\n","files":[{"path":"README.md","sizeBytes":4461,"isText":true},{"path":"SKILL.md","sizeBytes":2199,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-29T00:43:08.058795Z","sha256":"7C69596FF05376178AB6048727639E77A849AC93E8465B0AEFF2CD6C64F031B3","sizeBytes":3137},"review":null,"source":{"repositoryUrl":"https://github.com/botkitsdev/botkits","path":"skills/video/botkits-shorts-reframe","license":"MIT","commit":"de6c58eb846904a61a8cf771c7498d8281206bae","subtreeSha":"18D469124D068393469316C773D6F0C901ADD446AF628E1BA8E17C6CEC85E05B","lastSyncedAt":"2026-11-29T00:42:17.316741Z"},"reviewedAt":"2026-11-29T00:45:15.907925Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/botkitsdev/botkits/tree/main/skills/video/botkits-shorts-reframe"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install botkitsdev-botkits@llmmart"},{"target":"git","command":"git clone https://github.com/botkitsdev/botkits.git"}]}