# godot-mechanic-secrets

godot-mechanic-secrets implements cheat combos, Easter egg interactions, hidden wall triggers, and meta persistence in Godot.

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

## What it does

This skill introduces architectural patterns for Godot secrets and Easter eggs. Instead of checking key presses inside `_process`, it uses a time-windowed input buffer for combos like the Konami code. Secret wall inspection relies on vector dot products rather than continuous physics raycasts.

Global rewards and gallery flags are routed to `user://secrets.cfg`. This guarantees that metadata survives even if the player wipes standard campaign save slots. To prevent macro abuse, a dedicated lockout guard penalizes rapid failed cheat attempts.

Legacy scripts such as `input_sequence_watcher.gd` are replaced in favor of modular `secret_*` components.

## Requirements
- Works with: Godot

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

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

## When to use it
- register button sequences using a time-sensitive input buffer
- trigger interactions after repeated clicks on an object
- detect hidden areas via dot-product orientation without raycasts
- save meta-progression to `user://secrets.cfg` across profile resets
- block macro brute-forcing with an anti-cheat lockout guard

## Example prompts
- Implement a Konami cheat sequence using SecretSequenceComboMatcher
- Store secret gallery flags in user://secrets.cfg outside standard save slots
- Create a hidden passage detector based on player view dot product

## Similar
- [godot-resources](https://affpapa.org/en/nevibecode/skills/godot-resources.md) — skill · 12400 installs
- [godot-physics](https://affpapa.org/en/nevibecode/skills/godot-physics.md) — skill · 12400 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
