Web game development
Gives your agent a reliable loop for building browser games: make a small change, play it through a Playwright script, then check screenshots and console errors.
When to use it
- You are building or iterating on an HTML and JavaScript game.
- Changes keep breaking gameplay and you want each one checked.
- You need deterministic frame stepping for automated play.
A practical example
You ask
“Add a double jump to the platformer and make sure nothing else broke.”
Your agent does
It implements the change, plays through the level with scripted input, inspects screenshots and fixes any console errors.
What gets installed
The whole folder is copied, so scripts, references and any license notices stay together.
- agents/openai.yaml299 bytes
- assets/game-small.svg2,706 bytes
- assets/game.png2,234 bytes
- LICENSE.txt10,776 bytes
- references/action_payloads.json141 bytes
- scripts/web_game_playwright_client.js9,963 bytes
- SKILL.md9,236 bytes
Before you start: Written with Codex in mind and needs Playwright available.
Credit and license
Adapted from OpenAI’s published skills. It’s shared under the Apache License 2.0, and the license file is installed with it however you choose to install.