setup-multiplayer-services — Claude Code skill: Unity multiplayer
Points the agent at Unity Multiplayer Services for online play: network topology, hosting, matchmaking, sessions and lobbies.
npx skills add Unity-Technologies/skills --skill setup-multiplayer-services -a claude-codeWhat setup-multiplayer-services does
This skill sets the order in which the agent works with Unity Multiplayer Services. The default route runs through Unity.Services.Multiplayer, using IMultiplayerService and ISession. Lower-level clients such as Unity.Services.Lobbies, Unity.Services.Matchmaker and Unity.Services.Relay come into play only when the main API cannot cover the task, or when the user names those namespaces directly.
Under the hood sits a folder of references. One covers the API surface with option tables and method signatures, another helps pick an implementation for the task, a third gives sample wording for questions to the user. A dedicated file handles dedicated servers: Unity.Services.Multiplayer.Server, IMultiplayerServerService, UNITY_SERVER and asmdef constraints. Package and cloud prerequisites are laid out in tables by workflow. Where the model's memory conflicts with the docs, the skill says to trust Unity's documentation map, and if that map is out of reach, the skill's own markdown plus the installed package in the project.
One rule concerns how the agent talks to you. Plans and clarifying questions keep Lobby, Matchmaker, Relay and Sessions together unless you separated them yourself. In code, real type and namespace names are used. Note that the whole thing assumes the Multiplayer Sessions package is already in the project and the cloud prerequisites are met; without them the guidance has nothing to attach to, so the skill starts by checking what is installed.
What it helps with
- pick a network topology for a session-based game
- set up hosting and player joins through sessions
- work through matchmaking and room flow
- stand up a dedicated server on
Unity.Services.Multiplayer.Server - check current SDK docs instead of guessing from memory
Example prompts for the agent
- Pick a network topology for a four-player co-op game and explain the sessions choice
- Set up a lobby with matchmaking using
IMultiplayerServiceandISession - Show how to run a dedicated server with
IMultiplayerServerServiceunderUNITY_SERVER
How to install setup-multiplayer-services
1Skills CLI (Vercel)
npx skills add Unity-Technologies/skills --skill setup-multiplayer-services -a claude-code2Manually: put the files in place
~/.claude/skills/setup-multiplayer-services/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/setup-multiplayer-services/
1Skills CLI (Vercel)
npx skills add Unity-Technologies/skills --skill setup-multiplayer-services -a codex2Manually: put the files in place
.agents/skills/setup-multiplayer-services/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Unity-Technologies/skills --skill setup-multiplayer-services -a cursor2Manually: put the files in place
.cursor/skills/setup-multiplayer-services/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Unity-Technologies/skills setup-multiplayer-services2Manually: put the files in place
.github/skills/setup-multiplayer-services/SKILL.md1Skills CLI (Vercel)
npx skills add Unity-Technologies/skills --skill setup-multiplayer-services -a gemini-cli2Platform CLI
gemini skills install https://github.com/Unity-Technologies/skills --path skills/setup-multiplayer-servicesManually: put the files in place
.devin/skills/setup-multiplayer-services/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Unity-Technologies/skills --skill setup-multiplayer-services -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about setup-multiplayer-services
How do I install setup-multiplayer-services in Claude Code?
Run npx skills add Unity-Technologies/skills --skill setup-multiplayer-services -a claude-code, then check ~/.claude/skills/setup-multiplayer-services/SKILL.md.
What does setup-multiplayer-services do?
It steers the agent through Unity Multiplayer Services: topology, hosting, matchmaking and sessions. The main route is Unity.Services.Multiplayer with IMultiplayerService and ISession.
When does the skill fall back to Lobby, Matchmaker and Relay?
Only when the main API cannot get the job done or you ask for those namespaces yourself. Implementations do not start there by default.