Skip to main content
skill CX Codex

godot-mechanic-revival — Claude Code skill

godot-mechanic-revival — a skill for Claude Code and five other platforms covering the full player mortality loop: progress-index checkpoints, soul graves, ghost mode, I-frames, and death analytics.

LGPL-3.0 321 installs ★ 983 updated 2026-10-16

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-mechanic-revival -a claude-code
Open on GitHub

What godot-mechanic-revival does

The skill defines a mandatory script execution order for Godot's death cycle, starting with revival_global_manager.gd as an Autoload singleton that owns the player_died and player_respawned signals, through to revival_checkpoint_persistence.gd, which writes the world-progress bitmask to user:// the moment a shrine is activated.

The script set covers each stage: revival_state_reset_guard.gd zeroes velocity and angular_velocity before teleport, revival_health_restitution.gd grants I-frames on revive, and optional layers handle soul graves, collision-layer swapping for ghost mode, and JSON death telemetry. revival_checkpoint_validator.gd uses a progress_index export to block checkpoint downgrades when a player backtracks to an earlier area.

Skipping the 1–2s respawn delay or hardcoding checkpoint coordinates are treated as explicit errors — the skill documents what breaks and which script fixes it. Death coordinates and cause are logged per-session so you can export them to a heatmap tool for difficulty balancing.

What it helps with

  • Add a fade-out death delay so the player isn't snap-teleported to the last shrine
  • Persist the active checkpoint to user:// so a crash doesn't roll back progress
  • Spawn a soul grave at the death location for a corpse-run retrieval mechanic
  • Grant I-frames on revive to prevent instant-death loops near hazards
  • Log per-death telemetry — position, cause, timestamp — for level balancing

Example prompts for the agent

  • Implement the full Godot death loop with shrine checkpoints, screen fade, and I-frames on respawn
  • Add a soul grave that spawns at the player's death coordinates and can be retrieved
  • Wire up revival_death_analytics.gd to record death cause and position to a JSON file

How to install godot-mechanic-revival

1Skills CLI (Vercel)

npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-mechanic-revival -a claude-code

2Manually: put the files in place

~/.claude/skills/godot-mechanic-revival/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/godot-mechanic-revival/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about godot-mechanic-revival

How do I install godot-mechanic-revival in Claude Code?

Run npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-mechanic-revival -a claude-code. The skill file lands at ~/.claude/skills/godot-mechanic-revival/SKILL.md.

What does the godot-mechanic-revival skill do?

It provides a structured set of Godot scripts and rules for a complete player death cycle: progress-index shrine checkpoints, world-state persistence to user://, I-frames after respawn, and optional soul grave and ghost-mode layers.

Why does the skill forbid queue_free() on the player node at death?

Freeing the node breaks UI references and any enemy scripts pointing at the player. The correct approach is to disable processing and hide the mesh, then revive the existing instance in place.

Similar skills

All skills for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set100

The whole set →
godot-genre-educational godot-genre-educational is a Claude Code skill for structuring educational Godot games with adaptive difficulty, student profiles, and spaced repetition. CX Codex +1 326installs godot-platform-vr godot-platform-vr — a Godot skill for OpenXR projects with comfort locomotion, hand tracking, headset focus handling, and VR performance checks. CX Codex +1 323installs godot-platform-console godot-platform-console is a Godot skill for PlayStation, Xbox, and Switch builds, covering gamepad-only UI, TRC/TCR checks, platform services, memory budgets, and atomic saves. CX Codex +1 323installs 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. CX Codex +1 323installs godot-genre-sandbox godot-genre-sandbox is a Claude Code skill with architectural blueprints and GDScript patterns for voxel games, falling-sand simulations, and Godot sandboxes. CX Codex +1 317installs godot-genre-battle-royale godot-genre-battle-royale is a skill blueprint for building battle royale games with shrinking zones, network synchronisation for 100+ players, and performance optimisation. CX Codex +1 315installs godot-game-loop-harvest godot-game-loop-harvest sets up data-driven resource harvesting for Godot 4 with tool tier checks, hit tweens, FastNoiseLite veins, and UNIX offline progression. CX Codex +1 313installs godot-genre-party godot-genre-party — a Godot skill for party games with local controllers, minigame rounds, scoring, asymmetric modes, and split-screen play. CX Codex +1 311installs

Project sponsors

Companies that keep this analytics open