Skip to content
Skillv1.0.0

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

by playableintelligence(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from playableintelligence/game-creator (skills/record-promo/SKILL.md) via skills.sh. Install upstream with npx skills add playableintelligence/game-creator --skill record-promo. Copyright stays with the author (MIT).

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 with npm run dev in 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 ffmpeg on 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 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.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/playableintelligence-game-creator-record-promo/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

playableintelligence-game-creator-record-promo.ocm.jsonjson
{
  "ocm": "1",
  "id": "playableintelligence-game-creator-record-promo",
  "kind": "skill",
  "name": "record-promo",
  "description": "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).",
  "publisher": "playableintelligence",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "marketing"
    ],
    "tags": [
      "skill-md",
      "game",
      "video",
      "promo",
      "recording",
      "playwright",
      "ffmpeg",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "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)."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/playableintelligence/game-creator",
      "path": "skills/record-promo/SKILL.md",
      "ref": "HEAD",
      "url": "https://www.skills.sh/playableintelligence/game-creator/record-promo",
      "key": "playableintelligence/game-creator/skills/record-promo/SKILL.md"
    },
    "license": "MIT"
  },
  "instructions": "# Record Promo Video\n\nAutonomously capture smooth, high-FPS gameplay footage of your Phaser game — ready for TikTok, Reels, Moltbook, or X. No human input needed during recording.\n\n## Instructions\n\nRecord a promo video of the game at `$ARGUMENTS` (or the current directory if no path given).\n\n### 1. Pre-checks\n\nVerify these are available:\n- **Dev server**: Check if one is already running (`curl -s http://localhost:3000/`). If not, start one with `npm run dev` in the background. Note the port.\n- **Playwright**: `npx playwright --version`. If not installed: `npm install -D @playwright/test && npx",
  "cost": {
    "context_tokens": 631
  }
}

Fetch it by URL: GET /api/v1/registry/playableintelligence-game-creator-record-promo/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.