Tooluck logoTooluck
SKILL.md

unity-netcode

Agent skill fromBesty0728/Unity-Skills

Set up Netcode for GameObjects (NGO 2.x) multiplayer

How to install unity-netcode

install unity-netcode
# install the Unity-Skills pack with the skills CLI
npx skills add Besty0728/Unity-Skills

# or add only this skill to Claude Code: copy the folder

SkillsForUnity/unity-skills~/skills/netcode/

# into

~/.claude/skills/netcode/ (all projects)

.claude/skills/netcode/ (one project)

SkillsForUnity/unity-skills~/skills/netcode/SKILL.md

MITFull file
1> **Before calling any skill in this module:** if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via `GET /skills/recommend?includeSchema=true`) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.
2
3## Triggers
4- Scaffolding multiplayer
5- Registering network prefabs
6- Wiring spawn logic
7- Starting host/server/client
8- 搭建多人联机、注册网络预制体、连接生成逻辑、启动 host/server/client
9
10# Unity Netcode for GameObjects Skills
11
12Automation for Netcode for GameObjects (NGO) multiplayer setup and operations. Every skill is source-verified against NGO 2.x; when the package is absent, each skill returns a `NoNetcode()` error with install instructions. A subset of skills additionally require NGO **2.5.0+** (see [NGO 2.5+ features](#ngo-25-features)) — on an older 2.x install they return a structured "requires 2.5.0+" error instead of a compile error, since AttachableBehaviour/AttachableNode/ComponentController are detected by reflection, not by a dedicated version symbol.
13
14> **Requires**: `com.unity.netcode.gameobjects` (2.x), Unity 6000.0+.
15> **Strongly recommended**: before calling any `netcode_*` skill, load [netcode-design](../netcode-design/SKILL.md). NGO lifecycle and permission rules are strict; skills alone cannot prevent incorrect business code.
16
17## Guardrails
18
19**Operating Mode** (v1.9 three-tier):
20…

Excerpt shown under the repository's MIT license.

More skills in Unity-Skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates