Communitygithub.com

duckreel

Make short vertical promo reels (Reels, Shorts, TikTok) about a feature of your mobile app in a motion-design style, phone with real app screenshots, UI elements flying out as cards, karaoke captions, synthesized voice, sound effects and music, using the Remotion engine in the `videos/` directory next to this skill. The brand (colours, font, logo, domain, voice, language) is one project config; DuckBug is the worked example. Use when asked to make, redo or fix a promo video or reel for a feature ("make a promo reel for the feature", "сделай ролик / промо / рилс про фичу"), make an existing reel more dynamic, change its script, screenshots or voice, add a new reel to the catalog, set the engine up for a new app, or check the quality of a render. Not for store screenshots, screen recordings or long-form video.

What is duckreel?

duckreel is a Claude Code agent skill that make short vertical promo reels (Reels, Shorts, TikTok) about a feature of your mobile app in a motion-design style, phone with real app screenshots, UI elements flying out as cards, karaoke captions, synthesized voice, sound effects and music, using the Remotion engine in the `videos/` directory next to this skill. The brand (colours, font, logo, domain, voice, language) is one project config; DuckBug is the worked example. Use when asked to make, redo or fix a promo video or reel for a feature ("make a promo reel for the feature", "сделай ролик / промо / рилс про фичу"), make an existing reel more dynamic, change its script, screenshots or voice, add a new reel to the catalog, set the engine up for a new app, or check the quality of a render. Not for store screenshots, screen recordings or long-form video.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/duckbugio/duckreel/tree/HEAD/skills/duckreel

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Promo video

A reel is a folder of data; the engine is shared code. You write a script, capture screens, describe scenes in JSON, and the engine renders a 1080×1920, 30 fps video with voice and sound.

videos/
  engine/                 Remotion project: shots, components, presets, scripts
  brand/                  the project: brand.json, logo, README.md (glossary, brand rules)
  reels/<name>/           reel.json, screens/, voice/, voice.json, values.json, <name>.mp4
  out/                    scratch (QA sheets, cutout previews); never committed

Run every command from videos/engine. Every command takes --reel <name>. videos/README.md has the setup and the full reel.json and brand.json reference. If this skill was installed without the repository, clone the skills repository first: the engine is not part of the skill folder.

Your project

The engine and these rules know nothing about a product. Everything about yours is in videos/brand/:

  • brand.json: colours, font, logo, domain, CTA button, voice, language, pronunciations. The engine reads it; a reel never repeats it.
  • README.md: the brand notes. The product's own words (a "say / not / meaning" glossary), how the name is written and spoken, where the colours come from. Read it before writing a line. If it is missing, ask the user and write it.

First reel for a new app: follow "Set up for your app" in videos/README.md before the pipeline below. If DUCKREEL_PROJECT is set, brand/ and reels/ live in that folder instead of videos/. The repository ships DuckBug as the worked example in examples/duckbug/: its brand notes and one reel script (reels/pull-requests, a "one journey" told from the end). Read its reel.json before writing your own; do not copy its words into your reel.

Language: Russian is the path this skill is tuned for (voice, Humanizer phrase lists, the number check of asrcheck). Another language is a config value, language in brand.json; what degrades is listed under Language in references/script.md. Say in the report which checks ran in the reduced mode.

Contract

  1. Data, not code. Screens live in reels/<name>/screens/; every word, scene, beat and rectangle lives in reels/<name>/reel.json. Swapping a screenshot or a sentence never needs a code change. A new reel is a new folder; the engine finds it.
  2. New motion is a new shot in engine/src/shots/, registered in shots/index.ts, documented in references/shots.md. Do not special-case one reel in the engine.
  3. The voice is the clock. Beats are word indexes ("at": 2), never frames or seconds.
  4. Callouts are transparent cutouts of the UI element itself, generated from the screenshot and a rectangle. Never a rectangle of page, never a hand-edited image.
  5. Numbers come from the screen ({"fromScreen": ...}, {"sum": [...]}), and every claim in the script is visible in the captured data.
  6. Tokens only. Colours, shadows and the caption highlight come from STYLE and HIGHLIGHTS in engine/src/timeline.ts; the colours themselves are colors of brand.json. App colours that differ from a token are mapped with the reel's recolor rule.
  7. Read-only capture. Navigate, scroll, open and close sheets. Never tap anything that changes data (merge, close, delete, send). Actions in the reel are drawn.
  8. Real data needs the owner's consent. Screenshots show real names, titles and avatars. Ask before capturing an account, and say which committed files contain it.

Pipeline

  1. Brief. One feature, one promise, 25 to 40 s. Write three candidate structures and pick one (references/script.md); it must not be the previous reel again.
  2. Capture. npm run capture -- <screen>: clean 9:41 status bar, 1206×2622 (iOS simulator; screenshots from elsewhere work at that size). Capture every screen of the story in one go: the account is live and lists change between captures. npm run grid -- <screen> gives pixel coordinates for callouts.
  3. Script. references/script.md: shape, house style, Humanizer pass. Show the user the before and after and the tells you removed.
  4. Voice. npm run voice [-- s3 s7]. Clips and timings are committed.
  5. Scenes. One line is one scene. Pick shots from references/shots.md, wire beats to words, follow references/motion.md.
  6. Render. npm run render. It runs validate first and stops on errors; fix the JSON, never bypass it. Output: reels/<name>/<output>.mp4, mastered to -16 LUFS. OUTPUT=<name> npm run render writes a new cut next to the accepted one; render masters to a temp file and moves it in only when loudness and peak pass.
  7. QA. npm run deadframes, readcheck, blankframes, soundsheet, asrcheck -- --mix, sheets, then references/qa.md line by line. Never report a render you have not looked at.

Cover

Frame 0 of the video is the cover: feeds show it as the still preview, without motion or sound. It is set in reel.json as cover and drawn by the engine. The example is DuckBug's.

"cover": {
  "kicker": "DuckBug · пулл-реквесты",
  "headline": "Ревью и фиксы без тебя",
  "accent": "без тебя",
  "sub": "столько ушло у агентов на один PR",
  "hero": {"type": "big", "text": "11 минут"},
  "around": [{"id": "runFixer", "x": 0.7, "y": 0.95, "w": 700, "tilt": 4}],
  "hold": 0.5
}
  • Complete on frame 0: nothing fades in. It stands for hold seconds (0.5 to 0.8) with a slow drift, then the words leave up and the hero leaves forward while the first scene starts. The voice starts right after. deadframes must still pass.
  • One hero: card (a cutout, optionally in its new state, with cards behind), phone (a screen in a pose), big (a number or a word with a label), chips (three steps), chat (a question and an answer with a tag).
  • Fill the whole 9:16 frame: around places cutouts (frame fractions, they may run off the edge) above and below the centre square, so the full frame is not half empty while the square still holds the message.
  • Headline of 7 words or fewer, the key word under the marker stroke (accent), no long dashes, no full stop, no question in the sub-line. Numbers only if the reel shows them. No promise the reel does not keep.
  • Everything readable sits in the centre square (a feed crops the preview to 1:1 or 3:4); the headline is at least 92 px, about 18 px on a 210 px thumbnail.
  • npm run cover -- --reel <name> writes <output>-cover.png (1080×1920) next to the mp4 and checks all of the above. --variants renders every entry of coverVariants into videos/out/cover-variants/<name>/ with _compare.png (full frame, 1:1 crop, thumbnail). Show the variants to the user before choosing.

House rules that are easy to break

  • Captions: no long dashes, no full stop shown on screen, two lines at most.
  • Caption highlight: preset C (marker stroke). No boxes with saturated borders.
  • Parts of a card (marks): small elements get the same marker stroke, large ones a light 2 px outline (markStyle: {"preset": "auto", "large": "outlineLight"}, the owner's choice). No saturated outline boxes.
  • Brand on screen is the domain (domain in brand.json); the voice says the spoken name from pronunciations (DuckBug: DuckBug.io on screen, «Дакбаг» in the voice).
  • The reel ends with one cta slide about the feature of this reel: its name as the headline, one line saying what it does, the domain, a button. No "free" («бесплатно») badge or line: it pulls the ending away from the feature. Never a slogan of the whole service.
  • One payoff element per beat. A button that changes state is the message; no toast or second pill repeating it.
  • The main positive action (DuckBug: merge) uses STYLE.positive; once done, the element changes state on screen (DuckBug: purple «Слито»), it does not just disappear.
  • Shadows are crisp: the STYLE.shadow preset, never a wide soft glow.
  • Counter digit accentDeep, its label accent.
  • No rhetorical questions and no slang the voice stresses wrongly (Russian: «Тапнул») in voice-over: the voice reads both wrong.
  • Every text the engine draws holds letters / 15 + 1.5 s (npm run readcheck).
  • At least two near-silences (hush) before key moments, the first sound after each is the key one, and two cuts carried by sound (J/L-cut); see Sound in references/motion.md.
  • One acceleration and one declared breath per reel; motion may land on the word (anticipate); see Timing in references/motion.md.

Common requests

RequestDo
new textedit caption, npm run voice -- <ids>, re-check every at in those scenes, render, QA
new screenshotscapture, npm run validate, look at out/cutouts/<name>/_all.png and the "from screen" lines, render, QA
"more dynamic"npm run deadframes, add beats where it points (callout, mark, camera.then); do not just speed up
new app"Set up for your app" in videos/README.md: brand.json, the logo, the brand notes, then a new reel
new reelthree structures first (references/script.md), then mkdir reels/<name>, start from a reel.json but rebuild the scenes for the chosen structure, capture, voice, validate, render; reels/<name>/README.md with the script, the structures, the signature scene and the six-axis comparison
new effectnew shot with its JSON documented in the file header and a default sfx(), plus a row in references/shots.md

Report back

Duration, loudness, script before and after, shot list with timings, the validate, deadframes, readcheck, blankframes and asrcheck results, where the two hushes and the two sound-carried cuts are (from soundsheet), the six-axis comparison with the last reel, and what you could not verify. You cannot hear: say so about pronunciation, music and sound balance, and ask the user to listen.

References

  • references/script.md: narration shape, house style, Humanizer pass, what depends on the language
  • references/motion.md: timing, presets, camera, transitions, colour, shadows, sound
  • references/shots.md: shot catalog and recipes, mapped to JSON
  • references/qa.md: checklist and commands
  • references/sources.md: where the rules come from
  • videos/brand/README.md: the project's glossary and brand rules (examples/duckbug/brand/README.md is a filled-in one)

Related Skills