[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DKPR2K3YJ1MAJG8XT815VP":3,"skill-same:01M6DKPR2K3YJ1MAJG8XT815VP":112},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":66,"commitSha":67,"skillDirectory":68,"forksCount":69,"repositoryHtmlUrl":70,"repositoryHomepageUrl":71,"ownerHtmlUrl":72,"ownerBlogUrl":73,"ownerDescription":74,"updatedAt":75,"install":76,"resources":89},"01M6DKPR2K3YJ1MAJG8XT815VP","video-content",null,"Three-tier video pipeline: ffmpeg Quick (5s, instant) → ffmpeg Enhanced with Ken Burns (15s, polished) → Remotion Animated (60-90s, production-grade). Takes static slides from Paper MCP or any PNGs and assembles them into platform-ready video. Make sure to use this skill whenever the user has slides, images, or PNGs and wants to turn them into video — even if they just say 'make a video from these', 'animate my slides', 'I have images and need a TikTok', or 'stitch these together'. Also use when they mention ffmpeg video assembly, Remotion-animated slide assembly, Ken Burns effects, or any slides-to-video pipeline. Owns the slides→MP4 assembly pipeline; for writing, debugging, or running `remotion render` on Remotion code itself, see \u002Fremotion-best-practices; for screen-recorded product demos, see \u002Fmarketing-demo. Works with any PNG source — Paper exports, Canva, screenshots, anything.","MoizIbnYousaf\u002Fmarketing-cli","MoizIbnYousaf","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F148609638?v=4","01M6DK31T63X0A4VD3HV88V5E4","Abdul Moiz Shahzad","01M6DK31ZWA28MZK3202BZRXAB",35,"MIT","https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf\u002Fmarketing-cli\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-content\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"video content","content","Video","Bash","screen","tiktok","stitch","images","ready","assemble","instant","marketing","MCP","Remotion","pipeline","product","code","debugging","status","writing","2026-11-10 10:12:30",false,"---\nname: video-content\ndescription: \"Three-tier video pipeline: ffmpeg Quick (5s, instant) → ffmpeg Enhanced with Ken Burns (15s, polished) → Remotion Animated (60-90s, production-grade). Takes static slides from Paper MCP or any PNGs and assembles them into platform-ready video. Make sure to use this skill whenever the user has slides, images, or PNGs and wants to turn them into video — even if they just say 'make a video from these', 'animate my slides', 'I have images and need a TikTok', or 'stitch these together'. Also use when they mention ffmpeg video assembly, Remotion-animated slide assembly, Ken Burns effects, or any slides-to-video pipeline. Owns the slides→MP4 assembly pipeline; for writing, debugging, or running `remotion render` on Remotion code itself, see \u002Fremotion-best-practices; for screen-recorded product demos, see \u002Fmarketing-demo. Works with any PNG source — Paper exports, Canva, screenshots, anything.\"\ncategory: creative\ntier: nice-to-have\nreads:\n  - marketing\u002Fhandoffs\u002F*-handoff.yaml\n  - marketing\u002Fcontent-specs\u002F*.yaml\n  - brand\u002Fcreative-kit.md\n  - brand\u002Fassets.md\nwrites:\n  - marketing\u002Fvideo\u002F*\u002F\n  - brand\u002Fassets.md\ndepends-on: []\ntriggers:\n  - make video\n  - video from slides\n  - animate slides\n  - render video\n  - video content\n  - assemble video\n  - ffmpeg video\nallowed-tools:\n  - Bash(mktg status *)\n  - Bash(ffmpeg *)\n  - Bash(bun *)\n  - Bash(bunx remotion *)\n---\n\n# \u002Fvideo-content — Video Assembly Pipeline\n\nThree-tier video pipeline from static slides to platform-ready video. ffmpeg bookends every tier — slicing at the start, post-processing at the end.\n\nFor three-tier details, see [rules\u002Fthree-tiers.md](rules\u002Fthree-tiers.md).\nFor Remotion slide archetypes, see [references\u002Fremotion-archetypes.md](references\u002Fremotion-archetypes.md).\nFor ffmpeg recipes, see [references\u002Fffmpeg-recipes.md](references\u002Fffmpeg-recipes.md).\n\n## ffmpeg Bookend Architecture\n\n```\nSTART (always): ffmpeg slice\n  Input:  tall artboard PNG (e.g., 2160×26880 @ 2x) OR individual slide PNGs\n  Output: individual slide PNGs at target resolution (1080×1920)\n  Method: crop=W:H:0:Y per slide, scale to target\n\nMIDDLE (tier-dependent):\n  v1 Quick:    ffmpeg crossfade stitch\n  v1.5 Enhanced: ffmpeg Ken Burns + audio\n  v2 Full:     Remotion animate with spring physics\n\nEND (always): ffmpeg post-process\n  - Audio mixing (background music, SFX from Remotion)\n  - Two-pass H.264 encode (CRF 18, movflags +faststart)\n  - Thumbnail extraction (best frame or slide 1)\n  - GIF preview (first 3 seconds, 480px wide)\n  - Platform-specific encode (TikTok, Instagram, YouTube presets)\n```\n\n## Workflow\n\n### Phase 1: Detect Input\n\nCheck for these artifacts (in order of preference):\n\n1. **Handoff YAML** at `marketing\u002Fhandoffs\u002F{name}-handoff.yaml` — written by \u002Fpaper-marketing\n2. **Content spec YAML** at `marketing\u002Fcontent-specs\u002F{name}.yaml` — written by \u002Fslideshow-script\n3. **Exported PNG** — user provides path to tall artboard export\n4. **Slide directory** — user provides path to individual slide PNGs\n\nIf handoff YAML exists, read it for:\n- `export_search_pattern` — filename pattern for the exported PNG\n- `artboard.width`, `artboard.height`, `artboard.slide_count` — for ffmpeg slice coordinates\n- `brand_snapshot` — full palette + fonts for Remotion `brand.ts` generation\n- `content_spec` — path to the content spec YAML for slide types and animation hints\n- `extracted_jsx` — optional HTML\u002FCSS per slide for pixel-perfect Remotion reference\n\nBoth handoff YAML and content spec YAML are needed for v2 Full tier. Handoff provides export\u002Fbrand info, content spec provides slide content and animation hints.\n\nIf no artifacts exist, ask the user:\n```\n\"What slides should I turn into a video?\"\n\nOptions:\n1. \"I have a Paper export PNG\" — provide path\n2. \"I have individual slide PNGs\" — provide directory\n3. \"Run \u002Fpaper-marketing first\" — go back to design phase\n```\n\n### Phase 2: ffmpeg Slice (START bookend)\n\nIf input is a tall artboard (not individual slides):\n\n**Where does SLIDE_COUNT come from?**\n- From `artboard.slide_count` in handoff YAML (preferred — exact value)\n- From content spec YAML `slides` array length\n- If neither exists, ask the user: \"How many slides are in this image?\"\n\n```bash\n# Detect slide count from image height\nSLIDE_HEIGHT=$((IMAGE_HEIGHT \u002F SLIDE_COUNT))\n\n# Slice each slide\nfor i in $(seq 0 $((SLIDE_COUNT - 1))); do\n  Y=$((i * SLIDE_HEIGHT))\n  ffmpeg -i input.png \\\n    -vf \"crop=${IMAGE_WIDTH}:${SLIDE_HEIGHT}:0:${Y},scale=${TARGET_W}:${TARGET_H}\" \\\n    slides\u002Fslide_$((i + 1)).png\ndone\n```\n\nIf input is already individual slides, skip to Phase 3.\n\n### Phase 3: Select Tier\n\nUse AskUserQuestion:\n```\n\"Which video tier?\"\n\n1. \"v1 Quick\" (~5 seconds) — ffmpeg crossfade, no animation. Good for draft review.\n2. \"v1.5 Enhanced\" (~15 seconds) — ffmpeg Ken Burns + background audio. Good enough to post.\n3. \"v2 Full\" (~90 seconds) — Remotion animated with spring physics, SFX, light leaks. Production quality.\n```\n\n### Phase 4: Assemble (tier-dependent)\n\n#### v1 Quick — ffmpeg Crossfade\n\n```bash\n# 3.5s per slide, 0.5s crossfade, H.264 CRF 18\nffmpeg -loop 1 -t 3.5 -i slide_1.png \\\n       -loop 1 -t 3.5 -i slide_2.png \\\n       ... \\\n       -filter_complex \"xfade=transition=fade:duration=0.5:offset=3.0,...\" \\\n       -c:v libx264 -crf 18 -pix_fmt yuv420p \\\n       -movflags +faststart output_v1.mp4\n```\n\n#### v1.5 Enhanced — Ken Burns + Audio\n\n```bash\n# Ken Burns: zoompan with subtle zoom + pan per slide\nffmpeg -loop 1 -t 4 -i slide_1.png \\\n  -vf \"zoompan=z='min(zoom+0.0015,1.3)':x='iw\u002F2-(iw\u002Fzoom\u002F2)':y='ih\u002F2-(ih\u002Fzoom\u002F2)':d=120:s=1080x1920:fps=30\" \\\n  ...\n# Then stitch with xfade + add background audio\n```\n\nSee [references\u002Fffmpeg-recipes.md](references\u002Fffmpeg-recipes.md) for full Ken Burns and audio mixing commands.\n\n#### v2 Full — Remotion Animate\n\n1. **Scaffold Remotion project** (if not exists):\n   ```bash\n   mkdir -p marketing\u002Fvideo\u002F{name}\n   cd marketing\u002Fvideo\u002F{name}\n   bun init -y\n   bun add remotion @remotion\u002Fcli @remotion\u002Ftransitions @remotion\u002Fgoogle-fonts @remotion\u002Flayout-utils\n   ```\n\n2. **Read content spec YAML** for slide content + archetypes\n\n3. **Generate slide components** using archetypes from [references\u002Fremotion-archetypes.md](references\u002Fremotion-archetypes.md):\n   - Map `type: stat` → StatSlide component\n   - Map `type: anchor_word` → AnchorWordSlide component\n   - Map `type: emotional_pivot` → EmotionalPivotSlide component\n   - etc.\n\n4. **Auto-include in every v2 project:**\n   - SFX on transitions: `@remotion\u002Fsfx` (whoosh, switch, page-turn mapped to archetype)\n   - Light leaks at emotional pivots: `@remotion\u002Flight-leaks` with `hueShift` for brand color\n   - `calculateMetadata` for dynamic duration based on slide count\n   - Zod parametrizable schema (colors, text editable in Studio)\n   - `fitText()` from `@remotion\u002Flayout-utils` for auto-sizing hero text\n\n5. **Opt-in features** (ask user):\n   - ElevenLabs voiceover + auto-subtitles\n   - Custom SFX beyond defaults\n\n6. **Render:**\n   ```bash\n   bunx remotion render src\u002Findex.ts TikTokSlideshow output_v2.mp4\n   ```\n\nRead the remotion-best-practices skill at `~\u002F.claude\u002Fskills\u002Fremotion-best-practices\u002FSKILL.md` for animation rules, and load specific rule files as needed (transitions.md, timing.md, text-animations.md, etc.).\n\n### Phase 5: ffmpeg Post-Process (END bookend)\n\nAlways runs, regardless of tier:\n\n```bash\n# 1. Audio mix (if background music provided)\nffmpeg -i video.mp4 -i music.mp3 \\\n  -filter_complex \"[1:a]volume=0.15[bg];[0:a][bg]amix=inputs=2\" \\\n  -c:v copy mixed.mp4\n\n# 2. Two-pass encode for optimal quality\u002Fsize\nffmpeg -i mixed.mp4 -c:v libx264 -b:v 4M -pass 1 -f null \u002Fdev\u002Fnull\nffmpeg -i mixed.mp4 -c:v libx264 -b:v 4M -pass 2 -movflags +faststart final.mp4\n\n# 3. Thumbnail (slide 1 or best frame)\nffmpeg -i final.mp4 -vf \"select=eq(n\\,0)\" -frames:v 1 thumbnail.png\n\n# 4. GIF preview (first 3 seconds, 480px wide)\nffmpeg -i final.mp4 -t 3 -vf \"fps=12,scale=480:-1\" preview.gif\n\n# 5. Platform-specific encode\n# TikTok: H.264, 1080x1920, 30fps, CRF 18, AAC 128k\n# Instagram: H.264, 1080x1350 or 1080x1920, 30fps, max 60s\n# YouTube: H.264, 1080x1920, 30fps, CRF 16 (higher quality)\n```\n\n### Phase 6: Output and Register\n\n**Output directory:** `marketing\u002Fvideo\u002F{name}\u002F`\n```\nmarketing\u002Fvideo\u002Flumi-aida\u002F\n├── slides\u002F           # Individual slide PNGs\n├── output_v1.mp4     # Quick version (if made)\n├── output_v1.5.mp4   # Enhanced version (if made)\n├── output_v2.mp4     # Full version (if made)\n├── thumbnail.png     # Best frame\n├── preview.gif       # 3-second preview\n└── src\u002F              # Remotion project (v2 only)\n```\n\nUpdate `brand\u002Fassets.md` with new video asset entry.\n\nReport:\n```\nVideo ready:\n  File: marketing\u002Fvideo\u002F{name}\u002Foutput_{tier}.mp4\n  Duration: {seconds}s\n  Size: {MB} MB\n  Resolution: {width}x{height}\n  Thumbnail: marketing\u002Fvideo\u002F{name}\u002Fthumbnail.png\n  Preview GIF: marketing\u002Fvideo\u002F{name}\u002Fpreview.gif\n```\n\n## Standalone Usage\n\nThis skill works independently:\n- `\u002Fvideo-content` alone — provide any slide PNGs, get video\n- `\u002Fpaper-marketing` → `\u002Fvideo-content` — design + assemble (no scripting)\n- `\u002Fslideshow-script` → `\u002Fvideo-content` — skip Paper, use existing images\n- Any PNG source → `\u002Fvideo-content` — works with Canva exports, screenshots, anything\n\n## Prerequisites\n\n- `ffmpeg` installed (8.0+)\n- `bun` installed (for Remotion v2)\n- For v2: Remotion packages installed automatically during scaffold\n\n## Anti-Patterns\n\n- **Wrong pixel format** — Always use `-pix_fmt yuv420p` for H.264. Without it, some players show a green screen or won't play at all.\n- **Missing faststart** — Always include `-movflags +faststart` for web\u002Fsocial video. Without it, the video won't play until fully downloaded.\n- **Scaling after stitching** — Always scale individual slides BEFORE stitching. Scaling the final video degrades quality.\n- **Skipping the slice step** — Even if the input \"looks like\" individual slides, verify dimensions. A tall artboard that isn't sliced will produce a single stretched frame.\n- **CRF too high** — CRF 18 is the sweet spot. CRF 23+ looks muddy on mobile. CRF below 15 balloons file size for marginal quality gain.\n- **Assuming Remotion packages exist** — Before importing `@remotion\u002Fsfx` or `@remotion\u002Flight-leaks`, check if they're real packages. If unavailable, implement SFX with standard `\u003CAudio>` component and light leaks with CSS gradients + opacity animation.\n- **No audio track** — Social platforms may reject videos without an audio track. For v1, add a silent audio track: `-f lavfi -i anullsrc=r=44100:cl=stereo -shortest`.\n\n## Edge Cases\n\n- **ffmpeg not installed** — Check with `which ffmpeg`. If missing, tell the user: \"Install ffmpeg: `brew install ffmpeg` (macOS) or `apt install ffmpeg` (Linux).\" Do not proceed without it.\n- **Image height not divisible by slide count** — Round down the slide height. Warn the user that the bottom few pixels may be cropped. This is usually imperceptible.\n- **Remotion render fails** — Common causes: missing fonts (use `@remotion\u002Fgoogle-fonts`), missing assets in `public\u002F`, or TypeScript errors. Check the error output and fix before retrying.\n- **Disk space** — Video rendering needs space. A 7-slide v2 project can use 500MB+. Check available space before rendering.\n- **Background music sourcing** — For v1.5, the user must provide a music file. Suggest royalty-free sources: YouTube Audio Library, Pixabay Music, or Uppbeat. Never use copyrighted music.\n- **Corrupted PNG input** — If ffmpeg fails on a specific slide, verify the PNG opens in an image viewer. Re-export from Paper if corrupted.\n\n## Principles\n\n- **ffmpeg bookends everything** — slice at start, post-process at end, regardless of tier\n- **Tiers are progressive** — v1 is instant, v1.5 is better, v2 is production. User chooses speed vs quality.\n- **Content spec drives everything** — slide types, animation hints, and voice constraints come from YAML\n- **Remotion best practices** — always load the remotion-best-practices skill for v2 work\n- **No hardcoded content** — all text, colors, and timing come from content spec + brand files\n","# \u002Fvideo-content — Video Assembly Pipeline\n\nThree-tier video pipeline from static slides to platform-ready video. ffmpeg bookends every tier — slicing at the start, post-processing at the end.\n\nFor three-tier details, see [rules\u002Fthree-tiers.md](rules\u002Fthree-tiers.md).\nFor Remotion slide archetypes, see [references\u002Fremotion-archetypes.md](references\u002Fremotion-archetypes.md).\nFor ffmpeg recipes, see [references\u002Fffmpeg-recipes.md](references\u002Fffmpeg-recipes.md).\n\n## ffmpeg Bookend Architecture\n\n```\nSTART (always): ffmpeg slice\n  Input:  tall artboard PNG (e.g., 2160×26880 @ 2x) OR individual slide PNGs\n  Output: individual slide PNGs at target resolution (1080×1920)\n  Method: crop=W:H:0:Y per slide, scale to target\n\nMIDDLE (tier-dependent):\n  v1 Quick:    ffmpeg crossfade stitch\n  v1.5 Enhanced: ffmpeg Ken Burns + audio\n  v2 Full:     Remotion animate with spring physics\n\nEND (always): ffmpeg post-process\n  - Audio mixing (background music, SFX from Remotion)\n  - Two-pass H.264 encode (CRF 18, movflags +faststart)\n  - Thumbnail extraction (best frame or slide 1)\n  - GIF preview (first 3 seconds, 480px wide)\n  - Platform-specific encode (TikTok, Instagram, YouTube presets)\n```\n\n## Workflow\n\n### Phase 1: Detect Input\n\nCheck for these artifacts (in order of preference):\n\n1. **Handoff YAML** at `marketing\u002Fhandoffs\u002F{name}-handoff.yaml` — written by \u002Fpaper-marketing\n2. **Content spec YAML** at `marketing\u002Fcontent-specs\u002F{name}.yaml` — written by \u002Fslideshow-script\n3. **Exported PNG** — user provides path to tall artboard export\n4. **Slide directory** — user provides path to individual slide PNGs\n\nIf handoff YAML exists, read it for:\n- `export_search_pattern` — filename pattern for the exported PNG\n- `artboard.width`, `artboard.height`, `artboard.slide_count` — for ffmpeg slice coordinates\n- `brand_snapshot` — full palette + fonts for Remotion `brand.ts` generation\n- `content_spec` — path to the content spec YAML for slide types and animation hints\n- `extracted_jsx` — optional HTML\u002FCSS per slide for pixel-perfect Remotion reference\n\nBoth handoff YAML and content spec YAML are needed for v2 Full tier. Handoff provides export\u002Fbrand info, content spec provides slide content and animation hints.\n\nIf no artifacts exist, ask the user:\n```\n\"What slides should I turn into a video?\"\n\nOptions:\n1. \"I have a Paper export PNG\" — provide path\n2. \"I have individual slide PNGs\" — provide directory\n3. \"Run \u002Fpaper-marketing first\" — go back to design phase\n```\n\n### Phase 2: ffmpeg Slice (START bookend)\n\nIf input is a tall artboard (not individual slides):\n\n**Where does SLIDE_COUNT come from?**\n- From `artboard.slide_count` in handoff YAML (preferred — exact value)\n- From content spec YAML `slides` array length\n- If neither exists, ask the user: \"How many slides are in this image?\"\n\n```bash\n# Detect slide count from image height\nSLIDE_HEIGHT=$((IMAGE_HEIGHT \u002F SLIDE_COUNT))\n\n# Slice each slide\nfor i in $(seq 0 $((SLIDE_COUNT - 1))); do\n  Y=$((i * SLIDE_HEIGHT))\n  ffmpeg -i input.png \\\n    -vf \"crop=${IMAGE_WIDTH}:${SLIDE_HEIGHT}:0:${Y},scale=${TARGET_W}:${TARGET_H}\" \\\n    slides\u002Fslide_$((i + 1)).png\ndone\n```\n\nIf input is already individual slides, skip to Phase 3.\n\n### Phase 3: Select Tier\n\nUse AskUserQuestion:\n```\n\"Which video tier?\"\n\n1. \"v1 Quick\" (~5 seconds) — ffmpeg crossfade, no animation. Good for draft review.\n2. \"v1.5 Enhanced\" (~15 seconds) — ffmpeg Ken Burns + background audio. Good enough to post.\n3. \"v2 Full\" (~90 seconds) — Remotion animated with spring physics, SFX, light leaks. Production quality.\n```\n\n### Phase 4: Assemble (tier-dependent)\n\n#### v1 Quick — ffmpeg Crossfade\n\n```bash\n# 3.5s per slide, 0.5s crossfade, H.264 CRF 18\nffmpeg -loop 1 -t 3.5 -i slide_1.png \\\n       -loop 1 -t 3.5 -i slide_2.png \\\n       ... \\\n       -filter_complex \"xfade=transition=fade:duration=0.5:offset=3.0,...\" \\\n       -c:v libx264 -crf 18 -pix_fmt yuv420p \\\n       -movflags +faststart output_v1.mp4\n```\n\n#### v1.5 Enhanced — Ken Burns + Audio\n\n```bash\n# Ken Burns: zoompan with subtle zoom + pan per slide\nffmpeg -loop 1 -t 4 -i slide_1.png \\\n  -vf \"zoompan=z='min(zoom+0.0015,1.3)':x='iw\u002F2-(iw\u002Fzoom\u002F2)':y='ih\u002F2-(ih\u002Fzoom\u002F2)':d=120:s=1080x1920:fps=30\" \\\n  ...\n# Then stitch with xfade + add background audio\n```\n\nSee [references\u002Fffmpeg-recipes.md](references\u002Fffmpeg-recipes.md) for full Ken Burns and audio mixing commands.\n\n#### v2 Full — Remotion Animate\n\n1. **Scaffold Remotion project** (if not exists):\n   ```bash\n   mkdir -p marketing\u002Fvideo\u002F{name}\n   cd marketing\u002Fvideo\u002F{name}\n   bun init -y\n   bun add remotion @remotion\u002Fcli @remotion\u002Ftransitions @remotion\u002Fgoogle-fonts @remotion\u002Flayout-utils\n   ```\n\n2. **Read content spec YAML** for slide content + archetypes\n\n3. **Generate slide components** using archetypes from [references\u002Fremotion-archetypes.md](references\u002Fremotion-archetypes.md):\n   - Map `type: stat` → StatSlide component\n   - Map `type: anchor_word` → AnchorWordSlide component\n   - Map `type: emotional_pivot` → EmotionalPivotSlide component\n   - etc.\n\n4. **Auto-include in every v2 project:**\n   - SFX on transitions: `@remotion\u002Fsfx` (whoosh, switch, page-turn mapped to archetype)\n   - Light leaks at emotional pivots: `@remotion\u002Flight-leaks` with `hueShift` for brand color\n   - `calculateMetadata` for dynamic duration based on slide count\n   - Zod parametrizable schema (colors, text editable in Studio)\n   - `fitText()` from `@remotion\u002Flayout-utils` for auto-sizing hero text\n\n5. **Opt-in features** (ask user):\n   - ElevenLabs voiceover + auto-subtitles\n   - Custom SFX beyond defaults\n\n6. **Render:**\n   ```bash\n   bunx remotion render src\u002Findex.ts TikTokSlideshow output_v2.mp4\n   ```\n\nRead the remotion-best-practices skill at `~\u002F.claude\u002Fskills\u002Fremotion-best-practices\u002FSKILL.md` for animation rules, and load specific rule files as needed (transitions.md, timing.md, text-animations.md, etc.).\n\n### Phase 5: ffmpeg Post-Process (END bookend)\n\nAlways runs, regardless of tier:\n\n```bash\n# 1. Audio mix (if background music provided)\nffmpeg -i video.mp4 -i music.mp3 \\\n  -filter_complex \"[1:a]volume=0.15[bg];[0:a][bg]amix=inputs=2\" \\\n  -c:v copy mixed.mp4\n\n# 2. Two-pass encode for optimal quality\u002Fsize\nffmpeg -i mixed.mp4 -c:v libx264 -b:v 4M -pass 1 -f null \u002Fdev\u002Fnull\nffmpeg -i mixed.mp4 -c:v libx264 -b:v 4M -pass 2 -movflags +faststart final.mp4\n\n# 3. Thumbnail (slide 1 or best frame)\nffmpeg -i final.mp4 -vf \"select=eq(n\\,0)\" -frames:v 1 thumbnail.png\n\n# 4. GIF preview (first 3 seconds, 480px wide)\nffmpeg -i final.mp4 -t 3 -vf \"fps=12,scale=480:-1\" preview.gif\n\n# 5. Platform-specific encode\n# TikTok: H.264, 1080x1920, 30fps, CRF 18, AAC 128k\n# Instagram: H.264, 1080x1350 or 1080x1920, 30fps, max 60s\n# YouTube: H.264, 1080x1920, 30fps, CRF 16 (higher quality)\n```\n\n### Phase 6: Output and Register\n\n**Output directory:** `marketing\u002Fvideo\u002F{name}\u002F`\n```\nmarketing\u002Fvideo\u002Flumi-aida\u002F\n├── slides\u002F           # Individual slide PNGs\n├── output_v1.mp4     # Quick version (if made)\n├── output_v1.5.mp4   # Enhanced version (if made)\n├── output_v2.mp4     # Full version (if made)\n├── thumbnail.png     # Best frame\n├── preview.gif       # 3-second preview\n└── src\u002F              # Remotion project (v2 only)\n```\n\nUpdate `brand\u002Fassets.md` with new video asset entry.\n\nReport:\n```\nVideo ready:\n  File: marketing\u002Fvideo\u002F{name}\u002Foutput_{tier}.mp4\n  Duration: {seconds}s\n  Size: {MB} MB\n  Resolution: {width}x{height}\n  Thumbnail: marketing\u002Fvideo\u002F{name}\u002Fthumbnail.png\n  Preview GIF: marketing\u002Fvideo\u002F{name}\u002Fpreview.gif\n```\n\n## Standalone Usage\n\nThis skill works independently:\n- `\u002Fvideo-content` alone — provide any slide PNGs, get video\n- `\u002Fpaper-marketing` → `\u002Fvideo-content` — design + assemble (no scripting)\n- `\u002Fslideshow-script` → `\u002Fvideo-content` — skip Paper, use existing images\n- Any PNG source → `\u002Fvideo-content` — works with Canva exports, screenshots, anything\n\n## Prerequisites\n\n- `ffmpeg` installed (8.0+)\n- `bun` installed (for Remotion v2)\n- For v2: Remotion packages installed automatically during scaffold\n\n## Anti-Patterns\n\n- **Wrong pixel format** — Always use `-pix_fmt yuv420p` for H.264. Without it, some players show a green screen or won't play at all.\n- **Missing faststart** — Always include `-movflags +faststart` for web\u002Fsocial video. Without it, the video won't play until fully downloaded.\n- **Scaling after stitching** — Always scale individual slides BEFORE stitching. Scaling the final video degrades quality.\n- **Skipping the slice step** — Even if the input \"looks like\" individual slides, verify dimensions. A tall artboard that isn't sliced will produce a single stretched frame.\n- **CRF too high** — CRF 18 is the sweet spot. CRF 23+ looks muddy on mobile. CRF below 15 balloons file size for marginal quality gain.\n- **Assuming Remotion packages exist** — Before importing `@remotion\u002Fsfx` or `@remotion\u002Flight-leaks`, check if they're real packages. If unavailable, implement SFX with standard `\u003CAudio>` component and light leaks with CSS gradients + opacity animation.\n- **No audio track** — Social platforms may reject videos without an audio track. For v1, add a silent audio track: `-f lavfi -i anullsrc=r=44100:cl=stereo -shortest`.\n\n## Edge Cases\n\n- **ffmpeg not installed** — Check with `which ffmpeg`. If missing, tell the user: \"Install ffmpeg: `brew install ffmpeg` (macOS) or `apt install ffmpeg` (Linux).\" Do not proceed without it.\n- **Image height not divisible by slide count** — Round down the slide height. Warn the user that the bottom few pixels may be cropped. This is usually imperceptible.\n- **Remotion render fails** — Common causes: missing fonts (use `@remotion\u002Fgoogle-fonts`), missing assets in `public\u002F`, or TypeScript errors. Check the error output and fix before retrying.\n- **Disk space** — Video rendering needs space. A 7-slide v2 project can use 500MB+. Check available space before rendering.\n- **Background music sourcing** — For v1.5, the user must provide a music file. Suggest royalty-free sources: YouTube Audio Library, Pixabay Music, or Uppbeat. Never use copyrighted music.\n- **Corrupted PNG input** — If ffmpeg fails on a specific slide, verify the PNG opens in an image viewer. Re-export from Paper if corrupted.\n\n## Principles\n\n- **ffmpeg bookends everything** — slice at start, post-process at end, regardless of tier\n- **Tiers are progressive** — v1 is instant, v1.5 is better, v2 is production. User chooses speed vs quality.\n- **Content spec drives everything** — slide types, animation hints, and voice constraints come from YAML\n- **Remotion best practices** — always load the remotion-best-practices skill for v2 work\n- **No hardcoded content** — all text, colors, and timing come from content spec + brand files\n",{"name":5,"tier":44,"reads":45,"writes":50,"category":52,"triggers":53,"depends-on":60,"description":7,"allowed-tools":61},"nice-to-have",[46,47,48,49],"marketing\u002Fhandoffs\u002F*-handoff.yaml","marketing\u002Fcontent-specs\u002F*.yaml","brand\u002Fcreative-kit.md","brand\u002Fassets.md",[51,49],"marketing\u002Fvideo\u002F*\u002F","creative",[54,55,56,57,19,58,59],"make video","video from slides","animate slides","render video","assemble video","ffmpeg video",[],[62,63,64,65],"Bash(mktg status *)","Bash(ffmpeg *)","Bash(bun *)","Bash(bunx remotion *)","main","65a0c0d1e5a6f4ac9fb5281a72c91cbf7e9257aa","skills\u002Fvideo-content",5,"https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf\u002Fmarketing-cli","https:\u002F\u002Fwww.marketing-cli.com\u002F","https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf","https:\u002F\u002Fmoiz.ai","AI Engineer\r\n","2026-10-20 15:05:36",{"source":8,"skillName":5,"commands":77,"prompt":87,"zipAvailable":88},[78,81,84],{"tool":79,"command":80},"npx","npx skills add MoizIbnYousaf\u002Fmarketing-cli --skill video-content",{"tool":82,"command":83},"bunx","bunx skills add MoizIbnYousaf\u002Fmarketing-cli --skill video-content",{"tool":85,"command":86},"pnpm","pnpm dlx skills add MoizIbnYousaf\u002Fmarketing-cli --skill video-content","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf\u002Fmarketing-cli\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-content\u002FSKILL.md",true,[90,96,100,104,108],{"path":91,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"index.json","REFERENCE","参考文档",669,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcrypto\u002Fca\u002Fopenssl\u002Fescalate\u002Findex.json",{"path":97,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fdata-contracts.md",4482,"https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf\u002Fmarketing-cli\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-content\u002Freferences\u002Fdata-contracts.md",{"path":101,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fffmpeg-recipes.md",4225,"https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf\u002Fmarketing-cli\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-content\u002Freferences\u002Fffmpeg-recipes.md",{"path":105,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fremotion-archetypes.md",5135,"https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf\u002Fmarketing-cli\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-content\u002Freferences\u002Fremotion-archetypes.md",{"path":109,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":110,"sourceHtmlUrl":111},"rules\u002Fthree-tiers.md",3466,"https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf\u002Fmarketing-cli\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-content\u002Frules\u002Fthree-tiers.md",[113,133,153,178,199,215],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":39},"01M6DKQDNVS30J8TB3YYM13PJ2","cmo-studio-integration","When mktg-studio is running on this machine, \u002Fcmo proactively narrates work into the dashboard via Bash + curl against the localhost HTTP API. Detect via \u002Fapi\u002Fhealth, then log every meaningful action — the user sees what \u002Fcmo is doing in real time.","https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf\u002Fmarketing-cli\u002Fblob\u002Fmain\u002Fstudio\u002Fskills\u002Fcmo-studio-integration\u002FSKILL.md",[],[120,121,122,123,124,125,126,127,22,128,129,130,131,132],"cmo studio integration","integration","cmo","time","health","http","dashboard","real time","work","api","curl","user","log",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":39},"01M6DKQ8KH8EZ27YY7PEDSZGMT","voice-extraction","Reverse-engineer any person's writing voice from their content. Paste in posts, articles, tweets, or essays and this skill launches 10 parallel Sonnet subagents to analyze every dimension of the voice, then synthesizes into a voice file. Use when someone says 'match this voice,' 'analyze this writing,' 'extract their voice,' 'make me sound like this,' 'study this person's writing,' or pastes in content they want to learn from.","https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf\u002Fmarketing-cli\u002Fblob\u002Fmain\u002Fskills\u002Fvoice-extraction\u002FSKILL.md",[],[140,141,142,143,20,38,144,145,146,147,148,149,150,151,152],"extraction","voice","voice extraction","learn","use","me","study","engineer","subagents","extract","parallel","analyze","file",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":39},"01M6DKPZAQ4NTERXENEFKFACZZ","visual-style","Build a persistent visual brand identity for image generation. Defines how the brand looks visually — aesthetic, lighting, composition, mood — and writes it to brand\u002Fcreative-kit.md so \u002Fimage-gen and other creative skills produce consistent on-brand visuals. Three modes: Extract (from website\u002FURL), Build (interview), Reference (mood board\u002Fexamples). Use when starting any project that needs images, when the user says \"visual style\", \"brand aesthetic\", \"image style\", \"visual identity\", \"how should our images look\", \"build visual brand\", \"define our look\", or when \u002Fimage-gen outputs feel generic because no visual style exists yet.","https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf\u002Fmarketing-cli\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-style\u002FSKILL.md",[],[160,161,162,163,164,165,166,167,168,26,144,169,170,171,172,173,174,175,176,177],"visual","style","visual style","define","project","positioning","lighting","three","aesthetic","interview","identity","brand","how","Composition","produce","visuals","image","website",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":39},"01M6DKPKDPTV6JFSW4SK3CKQCH","typefully","Create, schedule, and manage social media posts via Typefully. ALWAYS use this skill when asked to draft, schedule, post, or check tweets, posts, threads, or social media content for Twitter\u002FX, LinkedIn, Threads, Bluesky, or Mastodon.","https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf\u002Fmarketing-cli\u002Fblob\u002Fmain\u002Fskills\u002Ftypefully\u002FSKILL.md",[],[180,185,186,187,188,189,190,191,192,144,193,194,195,196,171,141,30,22,197,198],"create","check","scripts","distribution","draft","social","bluesky","manage","social media","linkedin","twitter","schedule","Media","SET",{"skillNo":200,"name":201,"nameZh":6,"description":202,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":203,"categories":204,"keywords":205,"publishedAt":39},"01M6DKP7X0YHAK9QZ1ZRKFQ596","tiktok-slideshow","Orchestrator skill that chains \u002Fslideshow-script → \u002Fpaper-marketing → \u002Fvideo-content for end-to-end TikTok slideshow production. Each phase is an independent Lego block — this orchestrator is just one recipe that combines them. Produces 5 publishable TikTok videos from a single positioning angle. Triggers on \"TikTok slideshow\", \"TikTok video\", \"make TikTok\", \"slideshow video\", \"TikTok content\".","https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf\u002Fmarketing-cli\u002Fblob\u002Fmain\u002Fskills\u002Ftiktok-slideshow\u002FSKILL.md",[],[206,24,32,207,208,209,210,165,211,212,213,30,22,21,214,20,37],"tiktok slideshow","paper","ffmpeg","triggers","end","bun","orchestrator","just","Production",{"skillNo":216,"name":217,"nameZh":6,"description":218,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":219,"categories":220,"keywords":221,"publishedAt":39},"01M6DKNTG79EHK81SZ4C2V8WWY","text-to-speech","Convert text to speech using ElevenLabs voice AI. Use when generating audio from text, creating voiceovers, building voice apps, or synthesizing speech in 70+ languages.","https:\u002F\u002Fgithub.com\u002FMoizIbnYousaf\u002Fmarketing-cli\u002Fblob\u002Fmain\u002Fskills\u002Ftext-to-speech\u002FSKILL.md",[],[222,223,224,225,226,144,227,141,228],"speech","text to speech","text","apps","elevenlabs","convert","Audio"]