openai-develop-web-game — Claude Code plugin: overview
openai-develop-web-game sets up an iterative web game dev loop in Claude Code: make small HTML/JS edits, run Playwright test scripts, and inspect screenshots and console logs.
Apache-2.0 ★ 540 updated 2026-07-14
/plugin marketplace add trailofbits/skills-curated
/plugin install openai-develop-web-game@skills-curatedWhat openai-develop-web-game does
This plugin ports OpenAI's web game workflow to Claude Code via Trail of Bits. It establishes a tight feedback loop for HTML and JavaScript projects, keeping changes small before validating results.
Testing relies on Playwright scripts that send short input bursts with intentional pauses. The agent then inspects visual snapshots and checks browser console errors using render_game_to_text. Without Playwright installed and configured, the test scripts will fail.
The package also includes workflow guidelines, a test checklist, review artifacts, and progress tracking files.
What it helps with
- iterate on browser games built with HTML and JavaScript
- automate gameplay input testing using Playwright scripts
- inspect browser console errors with render_game_to_text
- capture screenshots to verify canvas and UI rendering
Example prompts for the agent
- Add high score persistence to the web game and run the Playwright test loop
- Check for console errors using
render_game_to_textafter adjusting player controls - Run a test pass with input pauses to see if the game canvas renders correctly
How to install openai-develop-web-game
Plugin marketplace
/plugin marketplace add trailofbits/skills-curated/plugin install openai-develop-web-game@skills-curatedStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about openai-develop-web-game
How do I install openai-develop-web-game in Claude Code?
First, add the marketplace repository by running /plugin marketplace add trailofbits/skills-curated. Then install the plugin with /plugin install openai-develop-web-game@skills-curated.
What does openai-develop-web-game do?
It guides the agent through building and polishing HTML/JS games. It combines small code edits with automated Playwright browser checks, screenshots, and console monitoring.
What dependencies are needed to run the game tests?
You need Playwright set up in your environment. The workflow executes scripts against a live browser session and calls render_game_to_text to check the game state.
Source text
openai-develop-web-game · Apache-2.0
# Develop Web Game Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with render_game_to_text. ## Installation ``` /plugin install trailofbits/skills-curated/plugins/openai-develop-web-game ``` ## What It Covers - Skill paths (set once) - Workflow - Test Checklist - Test Artifacts to Review - Core Game Guidelines - Progress Tracking - Playwright Prerequisites - Scripts ## Credits Originally from [OpenAI's curated skills catalog](https://github.com/openai/skills/tree/main/skills/.curated/develop-web-game). Converted to Claude Code plugin format for the Trail of Bits curated skills marketplace.
© OpenAI · Apache-2.0 · trailofbits/skills-curated