Agent skill

Godot Mechanic Secrets

by thedivergentai in thedivergentai/GD-Agentic-Skills

Implement cheat codes, hidden interactions, and unlockable meta-content via time-windowed input sequence buffers, spam thresholds, look-at (dot-product) detectors, progress-% unlocks, and meta…

LGPL-3.0Auto-check passedGame Development

Install Godot Mechanic Secrets

skills CLI
$ npx skills add thedivergentai/GD-Agentic-Skills --skill godot-mechanic-secrets -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install thedivergentai/GD-Agentic-Skills godot-mechanic-secrets --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/thedivergentai/GD-Agentic-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/godot-mechanic-secrets .claude/skills/godot-mechanic-secrets && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
godot-mechanic-secrets
GitHub stars
821
Token cost
~3.2k tokens
SKILL.md length
866 words
Files
16 (incl. scripts, references)
Skills in repo
98
Repo updated
First seen
Licence
LGPL-3.0

At a glance

Implement cheat codes, hidden interactions, and unlockable meta-content via time-windowed input sequence buffers, spam thresholds, look-at (dot-product) detectors, progress-% unlocks, and meta…

  • Works in 3 steps: Event-Based Combo Detection - Avoid… → Subtle Cues - Secrets should be hinted… → Global Persistence - Use separate save…
  • Adding Konami-style codes
  • SKILL.md covers Decision Tree — Which Secret…, Core Components, Usage Example (Cheat Code) and NEVER Do (Expert Secret Rules), plus 3 more sections
  • Curiosity spam eggs

What it does

Godot Mechanic Secrets is an agent skill from thedivergentai/GD-Agentic-Skills. Implement cheat codes, hidden interactions, and unlockable meta-content via time-windowed input sequence buffers, spam thresholds, look-at (dot-product) detectors, progress-% unlocks, and meta persistence in user://secrets.cfg. Use when adding Konami-style codes, curiosity spam eggs, glimmer cues, lockout anti-brute-force, or gallery flags that must survive slot deletes. Keywords: Konami, sequence buffer, meta secrets.cfg, visibility detector, lockout, glimmer, spam threshold, progress unlock.

Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 17 other files, including scripts and reference files (for example `references/migration-notes.md` and `references/secrets-meta-patterns.md`).

It sits in Game Development, covering Game development and Legacy modernization. It works with Godot. The repository describes itself as: The official "Long-Term Memory" for Godot 4.7+ AI Agents. A high-density library of 99 expert skills and 27 genre blueprints, providing audited, strictly typed GDScript patterns… The licence is LGPL-3.0.

When your agent uses it

  • Adding Konami-style codes
  • Curiosity spam eggs
  • Lockout anti-brute-force
  • Gallery flags that must survive slot deletes

Example prompts

  • “/godot-mechanic-secrets”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Event-Based Combo Detection - Avoid polling in _process.
  2. Subtle Cues - Secrets should be hinted at, not invisible.
  3. Global Persistence - Use separate save files for meta-progress.

What it can do on your machine

Read from SKILL.md and the folder at commit 4c4d0ff. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 13 files in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.godotengine.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Godot Mechanic Secrets loads about 3.2k tokens when it runs, and up to ~4.7k if it reads all its reference files. Until then it costs about 130 tokens; SKILL.md has 866 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~130
When it runs · the whole SKILL.md, loaded when a task matches
~3.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from thedivergentai/GD-Agentic-Skills at commit 4c4d0ff, republished under its LGPL-3.0 licence (© thedivergentai). 866 words, ~3,234 tokens.

Download SKILL.mdSave it as .claude/skills/godot-mechanic-secrets/SKILL.md (or your agent's skills folder). This skill also uses 15 other files; get the full folder from GitHub.
name
godot-mechanic-secrets
description
Implement cheat codes, hidden interactions, and unlockable meta-content via time-windowed input sequence buffers, spam thresholds, look-at (dot-product) detectors, progress-% unlocks, and meta persistence in user://secrets.cfg. Use when adding Konami-style codes, curiosity spam eggs, glimmer cues, lockout anti-brute-force, or gallery flags that must survive slot deletes. Keywords: Konami, sequence buffer, meta secrets.cfg, visibility detector, lockout, glimmer, spam threshold, progress unlock.

Decision Tree — Which Secret Trigger?

Player action / design goalChooseMANDATORY script
Exact button combo / KonamiTime-windowed input sequencesecret_sequence_combo_matcher.gd (+ secret_konami_legacy_code.gd for classic mapping)
Mash / click N times on a propSpam thresholdsecret_interaction_spam_tracker.gd
Face a wall / look at a spotDot-product look-at (not ray spam)secret_visibility_detector.gd
Clear X% of content / true endingProgress % unlocksecret_progress_threshold_unlocker.gd
Rare vendor / ghost encounterWeighted random encountersecret_random_encounter_spawner.gd
Persist unlock across save slotsMeta secrets.cfgsecret_meta_persistence.gd
Stop macro brute-forceLockout guardsecret_lockout_cheat_guard.gd
Secret grants stats/items in P2PServer/peer validationgodot-adapt-single-to-multiplayer — validate unlock before applying combat/economy advantages

Do NOT invent a fourth custom detector until the table above fails.

Core Components

secret_meta_persistence.gd

Expert logic for saving global unlocks and discovery flags across all save profiles.

secret_visibility_detector.gd

View-dependent hidden wall detection using optimized Dot Product calculations.

secret_sequence_combo_matcher.gd

MANDATORY for combos — Time-sensitive input buffer with suffix/window match (not full-buffer equality).

secret_interaction_spam_tracker.gd

Logic for tracking repetitive player actions to trigger curiosity-based Easter Eggs.

secret_audio_environment_occluder.gd

Spatial logic for dynamically adjusting AudioBus effects in sealed or hidden areas.

secret_progress_threshold_unlocker.gd

Percentage-based unlocker for meta-content and 'True Ending' triggers.

secret_random_encounter_spawner.gd

Weighted random system for rarest-tier entities and secret vendor encounters.

secret_lockout_cheat_guard.gd

Anti-brute-force lockout manager to protect secret integrity.

secret_vfx_discovery_glimmer.gd

Subtle procedural visual cues for hinting at hidden interactables.

secret_konami_legacy_code.gd

Specialized implementation of the iconic Konami code using the buffer matcher.

secret_persistence_handler.gd / input_sequence_watcher.gd / interaction_threshold_trigger.gd

DEPRECATED — legacy helpers superseded by secret_* scripts. Do not wire new scenes here; migrate to secret_sequence_combo_matcher.gd, secret_interaction_spam_tracker.gd, and secret_meta_persistence.gd.

Usage Example (Cheat Code)

gdscript
# Attach SecretSequenceComboMatcher (class_name) as a child of GameManager / Player
@onready var combo: SecretSequenceComboMatcher = $SecretSequenceComboMatcher

func _ready() -> void:
    # Default sequences Dictionary already includes "Konami"; override or add:
    combo.sequences = {
        "GodMode": ["ui_up", "ui_up", "ui_down", "ui_down", "ui_left", "ui_right", "ui_left", "ui_right"]
    }
    combo.combo_achieved.connect(_on_cheat_unlocked)

func _on_cheat_unlocked(combo_name: String) -> void:
    print("Unlocked: ", combo_name)
    # Meta flag — NOT the per-slot SaveManager payload
    SecretMetaPersistence.unlock_secret("god_mode")  # via secret_meta_persistence.gd API

NEVER Do (Expert Secret Rules)

Discovery & Triggers
  • NEVER hardcode input checks in _process — Frame-dependent polling is unreliable for fast combos. Always use an event-based buffer like secret_sequence_combo_matcher.gd.
  • NEVER use complex Raycasts for 'LookingAt' secrets — Physics raycasts are expensive if every wall is checking. Use the Dot Product method in secret_visibility_detector.gd for overhead efficiency.
  • NEVER make 'Hidden Walls' identical to real walls — Players need a subtle "Glimmer" or texture discrepancy. Total invisibility isn't a secret; it's a bug to the player.
Persistence & Meta
  • NEVER save "Secrets Found" in the main Save Slot — If the player deletes their save to try a different build, their meta-progress (Gallery, Achievement flags) should persist. Use secret_meta_persistence.gd.
  • NEVER trust client-side cheat validation in Peer-to-Peer — If a secret grants a stat boost, other peers should validate the "Unlock" to prevent simple memory-editing cheats.
  • NEVER use PlayerPrefs (Godot's equivalent of Settings) for secrets — Use a dedicated user://secrets.cfg.
UX & Anti-Brute Force
  • NEVER allow unlimited rapid-fire cheat attempts — A simple macro can brute-force a 4-button combo in seconds. Use secret_lockout_cheat_guard.gd to add a penalty for excessive failures.
  • NEVER trigger a secret without an 'Aha!' audio/visual cue — The reward for finding a secret is the feeling of discovery. Use secret_audio_environment_occluder.gd to change the atmosphere.

Best Practices

  1. Event-Based Combo Detection - Avoid polling in _process.
  2. Subtle Cues - Secrets should be hinted at, not invisible.
  3. Global Persistence - Use separate save files for meta-progress.

Elite Meta Patterns (galleries / lore / ghosting)

MANDATORY when building achievement galleries, lore journals, or ghosted-secret visibility: read secrets-meta-patterns.md. Do NOT Load for basic combo/spam/look-at triggers — use the decision tree scripts above.

Show full SKILL.md (359 more words)Show less

Reference

Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.

Official Documentation
  • Using InputEvent — Event pipeline (_input / _unhandled_input), is_action_pressed, and echo filtering for cheat buffers.
  • Input examples — Practical InputMap action patterns for multi-step sequences without _process polling.
  • Controllers, gamepads, and joysticks — Map classic Konami-style codes to pad D-pad/face buttons with consistent action names.
  • InputMap — Runtime action enumeration used by sequence matchers (get_actions / event.is_action_pressed).
  • Saving games — Canonical persist loop; keep meta-unlocks out of per-slot save groups.
  • File paths in Godot — user://secrets.cfg / user://meta_secrets.cfg placement across platforms.
  • ConfigFile — INI-style dedicated secret flags separate from Settings and main SaveManager payloads.
  • Resources — SecretData Resource patterns, emit_changed, and achievement bridges.
  • Vector math — Dot-product look-at detection for hidden walls without per-frame raycasts.
  • Random number generation — Weighted rare-encounter rolls and pity timers for secret vendors.
  • Audio buses — Bus effects / occlusion when entering sealed secret areas.
  • Singletons (Autoload) — Host SecretPersistence / meta unlock managers across scene changes.
Prerequisites
  • godot-input-handling — Action buffers, echo filtering, and InputMap remaps that cheat-sequence watchers must share with gameplay input.
  • godot-signal-architecture — sequence_matched / secret_spam_triggered buses so UI, audio, and achievements react without hard-wiring detectors.
  • godot-autoload-architecture — SecretPersistence and meta-unlock Autoloads need boot order and scene-change survival rules.
Complements
  • godot-save-load-systems — Keep gallery/meta flags in user://meta_secrets.cfg while run progress stays in versioned save slots.
  • godot-resource-data-patterns — Typed SecretData / lore Resources with emit_changed for achievement and journal bridges.
  • godot-audio-systems — Bus effects and stingers for sealed-room occlusion and the discovery “Aha!” cue.
  • godot-ui-rich-text — BBCode lore journals that append discovered secret descriptions.
  • godot-tweening — Glimmer energy pulses and ghosted-secret fade tweens without AnimationPlayer overhead.
  • godot-particles — Optional sparkle/dust layers that hint at interactables without spoiling the secret.
  • godot-shaders-basics — Subtle wall-glimmer / dissolve materials for look-at reveal transitions.
Downstream / consumers
Master
  • godot-master — Library router and mirrored module entry; open when discovering which Domain Skill owns secrets vs input, save, or audio.

© thedivergentai, LGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 15 other files (scripts, references) in skills/godot-mechanic-secrets of thedivergentai/GD-Agentic-Skills.

  • SKILL.md
  • references/migration-notes.md
  • references/secrets-meta-patterns.md
  • scripts/input_sequence_watcher.gd
  • scripts/interaction_threshold_trigger.gd
  • scripts/secret_audio_environment_occluder.gd
  • scripts/secret_interaction_spam_tracker.gd
  • scripts/secret_konami_legacy_code.gd
  • scripts/secret_lockout_cheat_guard.gd
  • scripts/secret_meta_persistence.gd
  • scripts/secret_persistence_handler.gd
  • scripts/secret_progress_threshold_unlocker.gd
  • scripts/secret_random_encounter_spawner.gd
  • scripts/secret_sequence_combo_matcher.gd
  • scripts/secret_vfx_discovery_glimmer.gd
  • scripts/secret_visibility_detector.gd

Open the folder on GitHubat commit 4c4d0ff

Compare with similar skills

Godot Mechanic Secrets next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Godot Mechanic Secrets compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Godot Mechanic Secrets this skillthedivergentai/GD-Agentic-Skills821—~3.2kAutomated safety check: PassLGPL-3.0
Godot Gdscript Patterns925236118/AlphaAgent10310 repos~5kAutomated safety check: PassMIT
2D Map and Scene Generator0x0funky/agent-sprite-forge4.4k—~2.9kAutomated safety check: PassMIT
Godot UI Integrationzimo-xiao-zheng/godot-ui-integration285—~1.5kAutomated safety check: PassMIT
Godot Wechat Minigame Adaptergodothub/godot-minigame187—~1.5kAutomated safety check: PassMIT
AI Game Art Pipelineybuild-ai/ai-game-art-pipeline-skill297—~1.1kAutomated safety check: PassMIT

Similar skills

  • Godot Gdscript Patterns

    925236118/AlphaAgent

    Master Godot 4 GDScript patterns including signals, scenes, state machines, and optimization.

    103 GitHub starsUsed in 10 repos~5k tokens
    Game DevelopmentAuto-check passed
  • 2D Map and Scene Generator

    0x0funky/agent-sprite-forge

    Plans and builds 2D game maps and scenes, from tilemaps and parallax backgrounds to HD-2D plates, with collision checks, a playable HTML preview and Tiled, Godot or LDtk export.

    4.4k GitHub stars~2.9k tokensUpdated 4 days ago
    Game DevelopmentAuto-check passed
  • Godot UI Integration

    zimo-xiao-zheng/godot-ui-integration

    Build or revise Godot UI from an approved design, separated art, or a visual reference when scene structure, gameplay binding, and runtime visual verification all matter.

    285 GitHub stars~1.5k tokensUpdated 1 mo ago
    Game DevelopmentAuto-check passed
  • Godot Wechat Minigame Adapter

    godothub/godot-minigame

    Apply the bundled self-contained Godot WeChat Mini Game adapter kit to an official Godot checkout.

    187 GitHub stars~1.5k tokensUpdated 25 days ago
    Game DevelopmentAuto-check passed
  • AI Game Art Pipeline

    ybuild-ai/ai-game-art-pipeline-skill

    Provider-neutral open-source skill for planning and producing game-runtime art assets and animation: static props/icons, canonical character sheets, combat sprites, 3D/video motion references…

    297 GitHub stars~1.1k tokensUpdated 3 mo ago
    Game DevelopmentAuto-check passed
  • MCP Driver

    RandallLiuXin/GodotMaker

    Runtime debugging and live project inspection via godot-mcp.

    550 GitHub starsUsed in 1 repo~1.1k tokens
    Game DevelopmentAuto-check passed

More from thedivergentai/GD-Agentic-Skills

All 98 skills in this repo
  • Godot 2D Animation

    thedivergentai/GD-Agentic-Skills

    Expert patterns for 2D animation in Godot using AnimatedSprite2D and skeletal cutout rigs.

    821 GitHub stars~3.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Godot 3D World Building

    thedivergentai/GD-Agentic-Skills

    Expert patterns for 3D level design using GridMap with MeshLibrary, CSG constructive solid geometry, occlusion, and runtime GridMap builders.

    821 GitHub stars~3.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Godot Adapt 2D To 3D

    thedivergentai/GD-Agentic-Skills

    Expert patterns for migrating 2D games to 3D including node type conversions, camera systems (third-person, first-person, orbit), physics layer migration, sprite-to-model art pipeline, and control…

    821 GitHub stars~4.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Godot Adapt 3D To 2D

    thedivergentai/GD-Agentic-Skills

    Expert patterns for simplifying 3D games to 2D including dimension reduction strategies, 2.5D fake-depth, isometric ports, camera flattening, physics conversion, 3D-to-sprite art pipeline, and…

    821 GitHub stars~4.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Godot Agent Vision

    thedivergentai/GD-Agentic-Skills

    Agentic eyes for Godot work: cross-platform screenshot CLI (asset/region/window/screen) to budgeted WebP, TEMP editor viewport bridge under .gdskills/, and Taste Receptor Atlas v2 (~237…

    821 GitHub stars~3.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Godot Animation Tree Mastery

    thedivergentai/GD-Agentic-Skills

    Expert patterns for AnimationTree including StateMachine transitions, BlendSpace2D for directional movement, BlendTree for layered animations, root motion, transition conditions, advance…

    821 GitHub stars~3.6k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Godot Mechanic Secrets

What does Godot Mechanic Secrets do?

Implement cheat codes, hidden interactions, and unlockable meta-content via time-windowed input sequence buffers, spam thresholds, look-at (dot-product) detectors, progress-% unlocks, and meta…. Godot Mechanic Secrets is an agent skill from thedivergentai/GD-Agentic-Skills.cfg.

When should I use Godot Mechanic Secrets?

Godot Mechanic Secrets fits situations like: adding Konami-style codes; curiosity spam eggs; lockout anti-brute-force; gallery flags that must survive slot deletes.

How do I install Godot Mechanic Secrets in Claude Code?

Run `npx skills add thedivergentai/GD-Agentic-Skills --skill godot-mechanic-secrets -a claude-code`. Or copy the skill folder (skills/godot-mechanic-secrets in thedivergentai/GD-Agentic-Skills) into .claude/skills/godot-mechanic-secrets in your project. Claude Code loads it when a task matches its description.

How do I install Godot Mechanic Secrets in Codex?

Run `npx skills add thedivergentai/GD-Agentic-Skills --skill godot-mechanic-secrets -a codex`. Or copy the skill folder (skills/godot-mechanic-secrets in thedivergentai/GD-Agentic-Skills) into .agents/skills/godot-mechanic-secrets in your project. Codex loads it when a task matches its description.

Can I use Godot Mechanic Secrets in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add thedivergentai/GD-Agentic-Skills --skill godot-mechanic-secrets -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/godot-mechanic-secrets, .gemini/skills/godot-mechanic-secrets, .github/skills/godot-mechanic-secrets and .opencode/skills/godot-mechanic-secrets in your project.

What does Godot Mechanic Secrets need to run?

SKILL.md names no scripts, command-line tools or credentials: Godot Mechanic Secrets is instructions for the agent only.

Does Godot Mechanic Secrets access the network?

SKILL.md names 1 domain. As links in the text: docs.godotengine.org. This is read from the text; nothing was executed.

Is Godot Mechanic Secrets safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Godot Mechanic Secrets use?

Godot Mechanic Secrets is published under the LGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Godot Mechanic Secrets use?

About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.5k tokens, read only when the agent opens those files.

What are the alternatives to Godot Mechanic Secrets?

Skills that share tags, products or a category with Godot Mechanic Secrets: Godot Gdscript Patterns (925236118/AlphaAgent, 103 stars), 2D Map and Scene Generator (0x0funky/agent-sprite-forge, 4.4k stars), Godot UI Integration (zimo-xiao-zheng/godot-ui-integration, 285 stars) and Godot Wechat Minigame Adapter (godothub/godot-minigame, 187 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Godot Mechanic Secrets?

thedivergentai (a GitHub user) maintains it in thedivergentai/GD-Agentic-Skills, which has 821 GitHub stars. The repository holds 98 skills in this directory. The repository was last updated on September 9, 2026.

Source: thedivergentai/GD-Agentic-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.