# opengame-agentic-game-creation

Builds playable browser games from text prompts using TypeScript templates and repair loops. Useful for generating and testing web games directly inside your coding agent.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 378 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/opengame-agentic-game-creation/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/opengame-agentic-game-creation

## What it does

This skill guides coding agents through web game creation. It relies on two systems. The template manager picks an architectural base for the target genre, while the debugging component inspects compilation failures and patches cross-file issues.

Completed games undergo automated evaluation. The benchmark component loads the game inside a headless browser to verify runtime health and confirm alignment with your design prompt. The final build outputs browser-ready assets.

Running the tool requires `Node.js`. You also need access credentials for an OpenAI-compatible model endpoint. Missing API credentials cause the generation process to stop immediately.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill opengame-agentic-game-creation -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/opengame-agentic-game-creation/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/opengame-agentic-game-creation/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill opengame-agentic-game-creation -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/opengame-agentic-game-creation/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill opengame-agentic-game-creation -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/opengame-agentic-game-creation/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills opengame-agentic-game-creation
```

2. **Manually: put the files in place**
- File: `.github/skills/opengame-agentic-game-creation/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill opengame-agentic-game-creation -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/opengame-agentic-game-creation
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/opengame-agentic-game-creation/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill opengame-agentic-game-creation -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/opengame-agentic-game-creation/SKILL.md

## When to use it
- Generate playable web games from single text prompts
- Scaffold project files using genre-specific templates
- Fix integration and build errors automatically
- Evaluate browser game functionality in headless test runs

## Example prompts
- Use OpenGame to create a space shooter browser game
- Scaffold a platformer game from an existing template
- Run the OpenGame debugger to fix build issues in the generated game

## Similar
- [orbit-card](https://affpapa.org/en/nevibecode/skills/orbit-card.md) — skill · 10000 installs
- [cad](https://affpapa.org/en/nevibecode/skills/cad.md) — skill · 14000 installs
- [step-parts](https://affpapa.org/en/nevibecode/skills/step-parts.md) — skill · 11200 installs
- [sdf](https://affpapa.org/en/nevibecode/skills/sdf.md) — skill · 10500 installs
- [urdf](https://affpapa.org/en/nevibecode/skills/urdf.md) — skill · 10500 installs
- [hatch-pet](https://affpapa.org/en/nevibecode/skills/hatch-pet.md) — skill · 3300 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 199 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
