record-promo
БесплатноБез исполняемых скриптовНе проверенRecord an autonomous 50 FPS promo video of your game for social media. Use when the user says "record a video", "make a promo", "capture gameplay", "record…
от PlayableIntelligence★ 383 звезды на GitHubОб этом скилле
Record Promo Video
Autonomously capture smooth, high-FPS gameplay footage of your Phaser game — ready for TikTok, Reels, Moltbook, or X. No human input needed during recording.
Instructions
Record a promo video of the game at $ARGUMENTS (or the current directory if no path given).
1. Pre-checks
Verify these are available:
- Dev server: Check if one is already running (
curl -s http://localhost:3000/). If not, start one withnpm run devin the background. Note the port. - Browser helper:
test -f scripts/cdp.mjs. If missing:cp <plugin-root>/scripts/cdp.mjs scripts/. It needs Node 22+ (or Bun) and Google Chrome (orBOOP_CHROME=/path/to/chrome); no npm install - FFmpeg:
ffmpeg -version | head -1. If not found, tell the user to install it (brew install ffmpegon macOS) and stop.
2. Generate the capture script
Load the promo-video skill for the full technique reference.
Read the game's source files to understand:
src/scenes/GameScene.js— find death/failure methods to patch outsrc/core/EventBus.js— event flowsrc/core/Constants.js— input keys, game dimensionssrc/main.js— verify__GAME__and__GAME_STATE__globals are exposed
Create scripts/capture-promo.mjs adapted for this specific game:
- Patch out ALL death/failure code paths
- Generate input sequences matching the game's actual controls
- Include entrance animation pause (1-2s)
- Default viewport:
1080 × 1920(9:16 mobile portrait) - Default duration: 13s game-time
3. Copy the conversion script
cp <plugin-root>/skills/promo-video/scripts/convert-highfps.sh <project-dir>/scripts/
chmod +x <project-dir>/scripts/convert-highfps.sh
4. Run the capture
mkdir -p output
node scripts/capture-promo.mjs --port <port>
bash scripts/convert-highfps.sh output/promo-raw.webm output/promo.mp4 0.5
5. Verify and preview
Extract a thumbnail at the 5-second mark and show it to the user:
ffmpeg -y -ss 5 -i output/promo.mp4 -frames:v 1 -update 1 output/promo-thumbnail.jpg
Read the thumbnail image and display it. Report duration, frame rate, and file size.
Example Usage
/record-promo examples/flappy-bird
Result: Patches out death → generates input sequence for the game's controls → captures 13s of autonomous gameplay at 1080x1920 (9:16) → converts to 50 FPS MP4 → output/promo.mp4 ready for TikTok/Reels.
Tell the user:
Promo video recorded! 50 FPS, mobile portrait (1080×1920).
File:
output/promo.mp4Post it to TikTok, Reels, or X to drive traffic to your game.
Установить record-promo в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл record-promo?
Record an autonomous 50 FPS promo video of your game for social media. Use when the user says "record a video", "make a promo", "capture gameplay", "record gameplay footage", or "make a trailer for my game". Do NOT use for gameplay testing (use qa-game).
Как установить скилл record-promo?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл record-promo запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub