The Phaser AE CLI
Phaser AE in Claude Desktop
Make Phaser AE games in Claude Desktop: set it up in the Code tab with one prompt, design your game on phaser.io, and Claude builds it.

The quick way
Let Claude set it up.
Paste this into Claude Desktop’s Code tab. It checks for Node.js, runs the setup and opens your browser so you can sign in, then takes you to design your first game. You only do this once.
Set up Phaser AE for me, so I can make games with you in Claude Desktop. Check that Node.js 20 or later is installed, and install it if it isn't. Then run npx -y @phaser-ae/cli setup: it opens my browser so I can sign in to phaser.io and approve Phaser AE, and it installs the Phaser AE skill. When it's done, tell me, and open https://phaser.io/agent/new in my browser so I can design my first game.
Before you start
What you need.
Node.js 20 or later
The CLI runs on it. Claude Desktop installs it for you if it isn't there (on Windows, Windows asks you to allow it).
A phaser.io account
Free, and it's what the CLI downloads the Phaser AE engine and its expansion packs under, and publishes your games to. The first time, your browser opens so you can sign in. No account yet? Make one in a click with Google, GitHub or Microsoft.
Claude Desktop
You talk to it, and it runs every command for you. The building is done on your Claude plan, not phaser.io credits.
Or see what happens
Set it up, step by step.
Open the Code tab in an empty folder
Claude Desktop's Code tab runs commands for you, so there's no terminal to open. If Node.js is missing, Claude installs it first (on Windows, Windows asks you to allow it).
Ask it to run the setup
The prompt above does it:
npxfetches the@phaser-ae/clipackage from npm and runs it.npx -y @phaser-ae/cli setupSign in
Your browser opens on phaser.io: sign in (or make an account) and approve Phaser AE. Claude carries on by itself.
Your first game
Design it first. Build it in Claude Desktop.
An empty prompt box is a hard place to start a game. On phaser.io you design yours, a step at a time, into a complete game design document: how it plays, how it looks, every level and every rule. Claude builds the game from that, and the result is a world apart from a one-line idea.
Design your first gameStart a new game on phaser.io
Signed in with the same account. Say what you'd like to make, then answer a few questions: what it's played on, how it looks, who it's for.
Shape your game design document
Everything the game needs, written up in one document you can read and change. Your first one is free.
Add the art and sound, if you like
With credits, phaser.io makes the sprites, music and sound effects to go with it. You don't have to: without them, the game is drawn in code.
Hand it to Claude
When the document is ready, phaser.io shows you how. Claude builds the game from it, plays it to check it, and publishes it, ready for you to playtest.
Rather start from an idea? Ask Claude for “a Phaser AE game” and it starts one straight away. How it works
Once it's built
You talk. Claude does the rest.
Play it and fix anything that feels wrong
It plays the game in a real browser, finds what’s off and fixes itBring down my playtest notes and make them
What you marked up on the playtest page, made in the gameFind a pack for fog of war and add it
It searches the expansion packs and adds the one that fitsPublish it
The next version, on phaser.io
What it costs
Your Claude plan does the building.
- Your first game design free. Design your first game on phaser.io for free, and build it with your agent for free.
- Each design after that uses credits, from 200 a design.
- Building is on your agent's plan. No phaser.io credits for the build, the playtests or publishing.
- Art, music and sound use credits. If you'd like them, phaser.io makes the assets to go with your design.
- 163 expansion packs are free. Pro adds the other 195, and as many game designs as you like. Pricing
Using something else?