Game UI frontend skill for Codex.
The game UI frontend skill teaches Codex to design the interface layer of a browser game: HUDs, menus and overlays that feel native to the game and leave the playfield readable. It ships in OpenAI’s Game Studio plugin.
Updated November 12, 2026 · 3 min read
At a glance
| Skill name | game-ui-frontend |
| Comes with | The Game Studio plugin, by OpenAI |
| Install | codex plugin add game-studio@openai-curated, or /plugins in Codex |
| Codex uses it | When you ask for game HUDs, menus, overlays, responsive layouts or a visual direction that has to protect the playfield |
| Source | openai/plugins on GitHub |
What it does
The default is to build the game world in canvas or WebGL and text-heavy UI in the DOM. Before coding, Codex sets a visual direction: genre and fantasy, materials, type, palette and motion tone, with the theme in CSS variables.
Its main rule is to protect the playfield:
- Budget: one main HUD cluster and at most one small secondary one. On desktop, persistent HUD covers no more than about 20 to 25% of the viewport unless you ask for more.
- Clear zones: the center and lower middle of the screen stay clear during normal play.
- Disclosure: lore, quest details, maps and long control lists go behind drawers, toggles or pause screens, not all open on first load.
- 3D input: camera control pauses when menus or dialogs are open, and pointer-lock states stay explicit.
It plans desktop and mobile from the start, keeps overlays readable over motion, and saves strong animation for state changes, rewards and danger, with reduced-motion respected. It lists anti-patterns to avoid, such as SaaS-style dashboard layouts, default font stacks and equal boxed panels on every edge.
When to use it
Install it when you’re building a browser game and the UI keeps turning into an admin panel laid over the scene. It is most useful for 3D exploration or third-person games, where heavy HUDs and camera conflicts show up first.
Try it
Use the game UI frontend skill. Design the HUD and pause menu for my third-person exploration game in Three.js: health, a compact objective strip and an interaction prompt. Keep the center of the screen clear and make it work on mobile.
Does it work in Claude Code?
The instructions are a standard SKILL.md, so you can copy the folder from GitHub into ~/.claude/skills. It links to prompt recipes, HUD layout patterns and a playtest checklist in the Game Studio plugin’s shared references folder, and to sibling skills, so copy those too to get the full guidance.
Keep reading
- AI UI design tells, and how to avoid themThe patterns that make AI-built screens look generic, and what to do instead.
- Codex skills: install, use, and write your ownWhere skills live, how to install them, and how to write one.
- All Codex skillsEvery skill in the directory, grouped by what it helps with.