# godot-server-architecture

godot-server-architecture is a skill for designing dedicated and headless Godot hosts, covering packet safety, authority checks, and server operations.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 353 installs · ★ 983 repo stars
- Author: thedivergentai
- License: LGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-server-architecture/SKILL.md
- Updated: 2026-10-16
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/godot-server-architecture

## What it does

The skill covers starting a dedicated host with `--headless` or the `dedicated_server` feature, configuring ENet, and checking privileged RPC requests. A separate decoder handles untrusted packets without allowing object decoding. Calling `get_var(true)` on those packets can expose the host to code execution.

Its scripts cover DTLS for ENet, HTML5-compatible WebSocket hosting, matchmaker handoff, peer shutdown, and health telemetry. Other patterns address manual `multiplayer.poll()` calls and separate `MultiplayerAPI` instances. For continuous streams, the guidance favors unreliable transfer over `TRANSFER_MODE_RELIABLE`.

RID-based physics and rendering scripts are reserved for cases where profiling shows that node-based physics misses the tick budget; they are ruled out for small lobbies. The skill focuses on host architecture, while lobby interfaces, friend invites, and gameplay RPC handlers belong to a separate Godot networking topic.

## Requirements
- Works with: Godot

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-server-architecture -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/godot-server-architecture/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/godot-server-architecture/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-server-architecture -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/godot-server-architecture/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-server-architecture -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/godot-server-architecture/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install thedivergentai/Game-Dev-Agentic-Skills skills/godot-server-architecture
```

2. **Manually: put the files in place**
- File: `.github/skills/godot-server-architecture/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-server-architecture -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-server-architecture
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/godot-server-architecture/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-server-architecture -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-server-architecture/SKILL.md

## When to use it
- boot a dedicated Godot host with `--headless`
- check senders before accepting privileged RPC requests
- decode untrusted network packets without object decoding
- hand clients from a matchmaker to game hosts
- export health metrics from a headless server

## Example prompts
- Design a dedicated Godot host that starts with `--headless` and validates privileged RPC requests.
- Add safe decoding for untrusted packets and configure an ENet host with DTLS.
- Set up matchmaker handoff to game hosts and export server health metrics.

## Similar
- [scenario-godot-architecture](https://affpapa.org/en/nevibecode/skills/scenario-godot-architecture.md) — skill · 452 installs
- [godot-ui-control](https://affpapa.org/en/nevibecode/skills/godot-ui-control.md) — skill · 13100 installs
- [godot-animation](https://affpapa.org/en/nevibecode/skills/godot-animation.md) — skill · 12900 installs
- [godot-ui](https://affpapa.org/en/nevibecode/skills/godot-ui.md) — skill · 2700 installs
- [godot-asset-generator](https://affpapa.org/en/nevibecode/skills/godot-asset-generator.md) — skill · 1000 installs
- [spritecook-use-assets-in-godot](https://affpapa.org/en/nevibecode/skills/spritecook-use-assets-in-godot.md) — skill · 773 installs

From the same set: [thedivergentai/game-dev-agentic-skills](https://affpapa.org/en/nevibecode/by/thedivergentai/game-dev-agentic-skills.md) — 100 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
