
Added Nov 8, 2026
develop-web-game
A Codex skill for building HTML/JS web games in small steps with automated Playwright testing.
- Ecosystem
- Codex
- Skill category
- Coding
- Creator / organization
- OpenAI(GitHub 用户名 openai,仓库 openai/skills)
What it is
Highlights:
- Every change is validated, and each change stays small.
- The game must expose a window.render_game_to_text function that returns a short JSON string describing the current game state.
- The game must provide a controllable time-stepping hook so the Playwright script can advance it in small steps.
- A progress.md file is created and updated with to-do items and notes so another agent can pick up the work.
How to use:
First, install the skill in Codex. User-scoped skills go under `$CODEX_HOME/skills` (default `~/.codex/skills`). Then ask Codex to build or change your HTML/JS web game. It follows the small-step loop in the skill. Finally, review the screenshots, text state and console errors from the test run, and decide what to change next.
Who it's for:
Developers who want Codex to help build web games with automated testing at every step.
Before you start:
You need Node, npm, npx and Playwright; if npx is missing, the page suggests running `npm install -g @playwright/mcp@latest`. The test script opens a local or specified URL, clicks and presses keys automatically, and produces screenshots and console logs; the page does not say whether any data is uploaded. The page does not mention cost or this skill's own license; the repository notes say a skill's license sits in a LICENSE.txt inside its folder. This is a historical pinned commit, and the repository home page says the repository is deprecated in favor of the OpenAI Plugins repository.
Based on the project's public documentation. Not tested by AI Inspiration World.