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…

INSTALLATION
npx skills add https://github.com/opusgamelabs/game-creator --skill record-promo
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$27

Read the game's source files to understand:

  • src/scenes/GameScene.js — find death/failure methods to patch out
  • src/core/EventBus.js — event flow
  • src/core/Constants.js — input keys, game dimensions
  • src/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.mp4

Post it to TikTok, Reels, or X to drive traffic to your game.

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card