# godot-genre-stealth

godot-genre-stealth is a Claude Code skill that provides architectural rules and scripts for Godot stealth games, covering perception cones, awareness meters, and audio propagation.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 323 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-genre-stealth/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-genre-stealth

## What it does

This skill provides production-tested patterns for tactical stealth mechanics in Godot. It discards instant binary spot checks in favor of a gradual awareness meter that builds up and decays, using raycasts aimed at head, torso, and feet to handle partial cover accurately.

Included reference scripts detail direct physics queries via `PhysicsDirectSpaceState3D.intersect_ray()` rather than standalone nodes, sound propagation calculated over navigation path lengths, and light exposure tracking. AI states rely on `StringName` values for rapid comparisons, while alert propagation uses `get_tree().call_group()` on the `guards` group.

Omitting the guard's own `RID` inside the ray query exclude list causes the cast to collide with the enemy itself. The instructions strictly enforce passing this identifier to avoid false obstacles.

## Requirements
- Works with: Godot

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

2. **Manually: put the files in place**
- File: `.cursor/skills/godot-genre-stealth/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-genre-stealth
```

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-genre-stealth -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-genre-stealth/SKILL.md

## When to use it
- build a gradual awareness meter that scales with light and movement speed
- replace per-frame `RayCast3D` nodes with direct PhysicsServer queries
- calculate sound propagation along navigation paths rather than straight lines
- verify cover positions against threat sightlines from multiple body points

## Example prompts
- Implement a guard perception controller with a multi-sample raycast check
- Set up hearing calculations using navigation path lengths instead of distance
- Create a light gem detector that modifies player visibility rates

## Similar
- [godot-physics](https://affpapa.org/en/nevibecode/skills/godot-physics.md) — skill · 12400 installs
- [godot-signals-groups](https://affpapa.org/en/nevibecode/skills/godot-signals-groups.md) — skill · 12300 installs
- [godot-optimization](https://affpapa.org/en/nevibecode/skills/godot-optimization.md) — skill · 733 installs
- [scenario-godot-3d-world](https://affpapa.org/en/nevibecode/skills/scenario-godot-3d-world.md) — skill · 461 installs
- [scenario-godot-animation](https://affpapa.org/en/nevibecode/skills/scenario-godot-animation.md) — skill · 458 installs
- [godot](https://affpapa.org/en/nevibecode/skills/godot.md) — skill · 3 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
