Star for coding agents
Turn your Claude Code or Cursor game into multiplayer with one prompt.
Already built a single-player browser game? Your agent puts it on Star and asks for multiplayer. Star writes the game server and hosts the rooms, usually in a few minutes. Hosting is free.
Add Star to your coding agent
One command. Works with Claude Code, Cursor, Codex and Gemini CLI.
npx --yes [email protected] star-sdk install claude --skill working-with-starRun it in your terminal, then start a new Claude Code session so it loads the Star skill.
Then paste one promptOr paste one prompt and let your agent do both. It installs Star, reads the skill, then asks for multiplayer.
Reading this as an agent? Read the Star guide or jump to the summary.
How it works
Three steps from single-player to a room your friends can join.
Connect Star
Run the install command for your coding agent. The first time it uses Star, you sign in and approve it in your browser.
Get the commandAsk for multiplayer
Paste the prompt into your agent, in your game’s folder. It puts the game on Star, then asks Star’s agent to add multiplayer. Star’s agent writes the game server, usually in a few minutes.
Share the link
Your agent hands back a play link. Friends open it in a browser and join, with no account or download. Star hosts the rooms.
The prompt for step 2
Use the Star skill to make this game multiplayer on Star: put it on Star if it isn’t there yet, then ask Star’s agent to add multiplayer with Claude Haiku 5.5. That has cost about 50 Star credits. Before Star’s agent starts, show me the request and model and wait for my yes. When it’s done, send me the play link. Follow this guide: https://buildwithstar.com/skills/working-with-star/SKILL.md
Your agent shows you the request and waits for your yes before Star’s agent starts.
Pricing
Hosting is free. Adding multiplayer uses Star credits.
Free
Hosting, rooms and play
Star hosts your game files and its multiplayer rooms at a link anyone can play. Uploading, playing and sharing cost nothing.
Star credits
The multiplayer conversion
Star’s agent writes your game server, and that build uses credits. Simple games on Claude Haiku 5.5 start around 50 credits; larger games and other models use more.
Free accounts get 50 credits to start and 50 more each week after that, up to a balance of 150.
One-time pack
Need more credits?
The Starter pack is a one-time purchase, not a subscription. Pack credits never expire.
See the Starter pack
Other ways in
Just want a link, or don’t have a game yet?
Host it free
Use the Star skill to put this game on Star and give me the link. Follow this guide: https://buildwithstar.com/skills/working-with-star/SKILL.md
Your agent uploads the game and hands back a link. No credits used. Or upload it yourself
Start from an idea
Use Star’s Autopilot to build my game idea, with a max budget of 5,000 Star credits. Before it starts, show me the prompt, model and budget, and wait for my yes. When it’s done, send me the play link. Follow this guide: https://buildwithstar.com/skills/working-with-star/SKILL.md
Star’s Autopilot builds the whole game within the budget you approve. Change the number in the prompt to set your own. See pricing
For agents
Reading this as an agent?
The Working with Star guide has the full workflow. In short:
- Use Star for
- Hosting a browser game, adding multiplayer to one, and building complete games with generated art or sound.
- Connect
- The creator signs in and approves your access in their browser. Never ask for credentials in chat.
- Spend
- Uploading is free. Before any build by Star’s agent, show the creator the request and model and wait for their yes.
- Hand back
- The play link and saved edit. Publishing is a separate step the creator chooses.
- Limits
- A completed run is saved work, not proof the game plays well. Play it before you call it done.
Questions
Before you start
What does it cost?
Hosting, playing and sharing are free. Adding multiplayer is a build by Star’s agent, so it uses credits. Simple games on Claude Haiku 5.5 start around 50 credits; larger games and other models use more. Free accounts get 50 credits to start and 50 more each week after that, up to a balance of 150. See plans and credit packs.
How long does it take?
Usually a few minutes for Star’s agent to write the game server. Bigger games take longer.
Do I have to write or run a server?
No. Star’s agent writes the game server for your game, and Star runs it and the rooms. You don’t set up a server host, a realtime library or a database. If you already wrote your own custom Node, Socket.IO, or Colyseus server and want to host it as-is, self-hosting is a better fit.
What kind of game works?
Any game that runs in a browser. Native phone, desktop and console games don’t fit.
Do I need other accounts or API keys?
No. One Star account covers hosting, the multiplayer build and the rooms.
Do I keep my code?
Yes. Your game stays in your project folder. Star keeps a saved copy, and you can download its files at any time, through your agent or from Star’s editor.
Is my game public?
New games are unlisted. Anyone with the link can play, but the game isn’t listed on Explore, and it isn’t private either. Publishing to Explore is a separate step you choose.
Which coding agents work?
Claude Code, Cursor, Codex and Gemini CLI have install commands above. For Google Antigravity, run the Codex command from your project folder with --project added after codex. Windsurf and Aider are supported by the same CLI, and any agent can read the guide from its link.
How do I disconnect my agent?
Ask your agent to run auth logout. It revokes the connection and removes the saved credential from your computer.