scenario-playable-ads
БесплатноЗапускает вложенные скриптыНе проверенUse when a mobile game's gameplay recording, screenshots, existing art and sound, or only an idea or a genre name should become a playable ad: an HTML5…
от scenario-labs★ 4 422 звезды на GitHubОб этом скилле
Scenario Playable Ads
Overview
A playable is a 35 to 45 s slice of a real game that runs inside an ad network's container. It has:
- one self-contained HTML file with no network requests;
- one verb the viewer understands within 2 s;
- a game that waits for the viewer and never plays itself;
- a mute button, always;
- the genre's signature payoff;
- a win or an honest near-fail, then an end card with an install button.
Input: a gameplay recording and/or screenshots of the user's game, or only an idea (see Start here), plus a logo, store links, a description and a genre pick when the user has them. When the studio already has art, 3D, sound or music, the build uses those files as they are, generates only what is missing in their style, or derives the rest from one key art (references/existing-assets.md).
Output: dist/<network>/index.html for nine networks and a local preview, the ZIP each ZIP
network takes, and a bundle of all of them. A build ships only when it passes the 19 base QA checks
plus the per-network checks.
What was tested. The scripts pass 67 of 67 checks on the template's placeholder game inside fake
containers in headless Chromium. On 2 November 2026 that game also passed AppLovin's playable
preview (portrait), Google's HTML5 validator (App Campaigns profile) and Meta's playable preview
(spec checks and the CTA tap). Google's Campaign Manager and Display & Video 360 reject the google
ZIP, which needs a clickTag there. No other network's own tool was run. Run each network's preview
first, and say which tools ran when you hand a build over
(references/networks.md).
Requirements: a local shell, Python 3.12 or later with Pillow, numpy, scipy, fontTools and brotli;
Playwright for Python with Chromium; ffmpeg. Install with
pip install "pillow>=13,<14" "numpy>=2.5,<3" "scipy>=1.18,<2" "fonttools>=4.60,<5" "brotli>=1.1,<2" "playwright>=1.64,<2"
then playwright install chromium; check with ffmpeg -version. The scripts, runtime and template
sit in this skill's scripts/ and assets/ folders, so the agent needs file access to the skill.
Connection, uploads and the core loop: the scenario skill. Image edits: scenario-image. Sheets
and cut-outs: scenario-game-assets. SFX and music: scenario-audio. Image-to-3D: scenario-3d.
If a sibling skill named here is missing from your available skills, load it with skill_get
(Scenario MCP) or ask the user to install it (https://github.com/scenario-labs/skills#install);
unattended, proceed from tool schemas and flag the gap.
Quick reference
- Intake:
intake/: recording and/or screenshots (or the brief and two concept screens), logo,intake.json(store links, networks, genre) - Analysis: contact sheet, key frames,
analysis/brief.mdandanalysis/design.md(beats, asset map) - Assets: plate, transparent sheets, HUD crops, logo, SFX, music in
assets/raw/, or studio files - Build:
src/game.js;assets/manifest.json+soundsinindex.src.html;prep_assets.py - Package:
build.py --networks all(the default ismeta,google) - QA:
qa.py --speed 2, then look at every frame it writes - Report:
notes.md: job ids, the source frame of every asset, tuning, open questions
SKILL=<path to this skill>; P=<project dir>
cp -Rn "$SKILL/assets/template/." "$P/" && mkdir -p "$P/runtime" && cp "$SKILL/assets/runtime/runtime.js" "$P/runtime/"
python3 "$P/make_placeholders.py" "$P" --font "$SKILL/assets/fonts/fredoka/Fredoka-Bold.woff2" # optional
python3 "$SKILL/scripts/asset_inventory.py" "$P" # only with the studio's own files: analysis/assets_inventory.md
python3 "$SKILL/scripts/prep_assets.py" "$P" # assets/raw and intake/ to assets/web/
python3 "$SKILL/scripts/build.py" "$P" --networks all
python3 "$SKILL/scripts/qa.py" "$P" --speed 2 # qa/report.json and qa/*.png
cp -Rnnever overwrites what the project already has, such asintake/.- Never edit the runtime or the scripts per game. Work around a gap in the game's own code and write
it in
notes.md. - Replace the template's game section with your genre. Keep its structure: config, reset, wait,
play, result, input on pointerdown, draw,
qa()withprogress, boot. - The hint hand is a vector drawing unless the project adds
assets/web/hand.webp.
Start here
When the user has not yet said what they have (for example "how do I make a playable ad?"), ask once, in one message, for everything the build needs, then wait. Do not generate anything yet.
- A gameplay recording of 30 s to 2 min and/or store screenshots. With neither (only an idea or a genre name), ask instead for one paragraph: the world, what the finger does, the big moment, how a round ends. Then follow "From an idea" below.
- The game name, the logo file, the App Store and Google Play links, and one line on what the player does.
- The ad ne
Установить scenario-playable-ads в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл scenario-playable-ads?
Use when a mobile game's gameplay recording, screenshots, existing art and sound, or only an idea or a genre name should become a playable ad: an HTML5 interactive ad or end card for Meta, Google Ads App campaigns, AppLovin, Unity Ads, Mintegral, Moloco, Liftoff, TikTok Pangle or any MRAID network. Keywords: playable ad, HTML5 playable, MRAID, FbPlayableAd, ExitApi, crowd runner, merge, sort puzzle, survivor, tower defense, pin pull. Not for a video ad (scenario-game-ua-ads).
Как установить скилл scenario-playable-ads?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл scenario-playable-ads запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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