Already have an AI agent? Copy this prompt and paste it to your agent (Claude Code, Cursor and others). It sets up Arcade modding for you, builds a first ship mod, and explains how to publish it.
Set up BattleTabs Arcade modding for me, end to end. Do each step yourself, and only stop when you need me.
1. Run `node --version`. It must say v20 or higher. If it doesn't, stop and tell me to install the LTS version from nodejs.org.
2. Run `npx -y battletabs-mod@latest`. It copies the BattleTabs mod tools to a .battletabs-mod folder in my home folder, makes a battletabs-mods folder for my work, and connects Claude Code if I use it.
3. Connect yourself to the tools. If you are not Claude Code, add the MCP server settings the command printed to your own MCP config (the same settings are saved as mcp-settings.json in the battletabs-mods folder). Use that printed block, not an example. Then tell me to restart you, and carry on from step 5 afterwards.
4. Optional: in the battletabs-mods folder, run `npm create battletabs-mod my-mod` for a starter project with tests and agent instructions.
5. Use the battletabs-mod tools. Call get_docs with "ship-mods" and read it, then call list_ships.
6. Build my first ship mod: make the Dolphin's ability ready every 2 turns, and call it Quick Dolphin. Save it, then run typecheck, play_once and simulate_n. Explain in plain words what the numbers mean. Then call play and give me the link so I can play it against a bot.
7. Explain how publishing works, but do not publish until I ask. I need a BattleTabs account that I can sign in to (not a guest) and that is at least 7 days old. You run check_text, then publish_draft. You show me a login code and I type it on battletabs.io. I press Confirm in the game. You get my playtest link with get_playtest_link. When I'm happy, I press Submit to the Arcade on my game's page in BattleTabs.The BattleTabs Arcade is a place in the game for mini-games and ship mods made by players. Anyone with a BattleTabs account can make one. You describe your idea to your own AI agent, it builds the game, and you publish it and play it with friends by invite link. When it's ready, you submit it, and once we approve it, it shows in the Arcade tab for everyone.
The Arcade is in beta. Expect rough edges, and tell us about them in the Discord. That's the most useful thing you can do.
Free from nodejs.org (pick the LTS version). To check, open a terminal and type node --version. It should say v20 or higher. On Windows the terminal is PowerShell; on a Mac it's the Terminal app.
For example Claude Code, Claude Desktop, Cursor, VS Code or Codex. MCP is how your agent gets the BattleTabs tools. You bring your own agent, and any cost for it is between you and its provider.
The one you play with, signed in, and at least 7 days old. A guest account can't publish. Your games are published under your account.
Run this one command in a terminal. It's the same on Mac, Windows and Linux. It takes about a minute and you need to be online.
npx -y battletabs-mod@latestIt copies the tools to a .battletabs-mod folder in your home folder, makes a battletabs-mods folder for your work, and connects Claude Code if you have it. If you use another agent, it prints the settings to paste into it, and saves them as mcp-settings.json in your battletabs-mods folder. Restart your agent afterwards.
To update the tools, run the same command again and restart your agent. Your agent will tell you when an update is out, and it won't publish with tools the game no longer accepts.
Optional: npm create battletabs-mod my-mod makes a project folder with a starter game, examples, tests, and AGENTS.md and CLAUDE.md files that tell your agent how to work on it.
If you don't use Claude Code, paste the settings the install printed into your agent, then restart it. Copy the printed block, not an example: it has the right paths for your computer.
Nothing to do: the install connects it. Start claude in your battletabs-mods folder.
Settings, Developer, Edit Config. Add the battletabs-mod entry under mcpServers.
Add the same mcpServers block to ~/.cursor/mcp.json, or to .cursor/mcp.json in your battletabs-mods folder.
Add it to .vscode/mcp.json in your battletabs-mods folder, under servers instead of mcpServers, with "type": "stdio" added.
Add a [mcp_servers.battletabs-mod] table to ~/.codex/config.toml with the same command, args and env.
Any agent that runs MCP servers over stdio works with the same command, args and env.
Tell your agent your idea in plain words, like "make a ship mod where the Dolphin sonars twice as often". It writes the game file for you.
Your agent checks the file, runs bot games to see if it's fair, and opens a page where you play it against a bot. Play it yourself. Ask your agent to change anything that feels off.
Ask your agent to publish a draft. The first time, it gives you a link to sign in and approve it, and you accept the creator terms (see below). BattleTabs then plays your game with bots on our servers to make sure it works. This takes a minute or so.
Your agent gives you a link. Open it, check the name and rules card, and tap Confirm. Nothing goes live until you do.
Your game now has its own invite link. Send it to friends and play a few matches together. Until it's reviewed, it carries an Unreviewed label, and only people with your links can reach it.
When you're happy, open your game's page in BattleTabs and tap Submit to the Arcade.
A person on the BattleTabs team looks at your game: the rules, what it changes, the bot test results and the code. If it's approved, it shows in the Arcade tab for everyone. If it isn't, change it, publish a new version and submit that one.
To update a listed game, publish and confirm a new version, then submit it. Players keep getting the version that's listed now until the new one is approved.
See five Arcade mods built this way, prompt by prompt, mistakes included: the Arcade mod case studies.
The first time you publish, the game asks you to accept the creator terms. In short:
This is a summary. The terms shown in the game when you publish are the ones you agree to.
A match can be played to the end, and the rules card says what actually happens.
We read the bot test results. A game where one side almost always wins, or where nothing changes, won't be listed.
Nothing hateful, sexual, violent in a real-world way, or aimed at a person or group. This covers the name, the rules card, the ship names and any text in the game.
Your own idea and words. Don't copy another player's game, or another company's game, characters or name.
No web addresses, ads, social handles or contact details anywhere in the game. Publishing already refuses links.
No tricks to get around the limits, and nothing pretending to be a BattleTabs feature, reward or message.
We may remove a listed game later if players report a problem, or if it stops meeting these rules.
No. Your agent writes the code. You need to be happy giving it instructions, testing the result, and saying what to change.
Games run in a locked-down sandbox with limits on memory and time. They can't reach the internet or your files. If a game breaks a limit, the match is stopped rather than scored.
Before approval, anyone you send your invite link to. After approval, anyone who opens the Arcade tab in BattleTabs.
No. Any signed-in BattleTabs account can build, publish and play with friends. Review only decides whether a game is listed in the Arcade tab.
In the BattleTabs Discord. Post what you tried and any error your agent shows.