사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/playableintelligence/game-creator --skill record-promo시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
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. - Playwright:
npx playwright --version. If not installed:npm install -D @playwright/test && npx playwright install chromium - 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.sh4. 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.55. 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.jpgRead the thumbnail image and display it. Report duration, frame rate, and file size.
Example Usage
/record-promo examples/flappy-birdResult: 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.mp4 Post it to TikTok, Reels, or X to drive traffic to your game.

