This gives you the architecture for RPG and action game ability systems with cooldown management, resource costs, and cast timing. It's opinionated about common mistakes: uses timers instead of _process for cooldowns, enforces global cooldown to prevent ability spam, saves cooldown end times as Unix timestamps to avoid clock exploits, and pushes you toward resource-based abilities instead of giant switch statements. The ability manager is decoupled so you can attach it to players, enemies, or turrets. Includes concrete examples like a fireball projectile ability and patterns for combo systems and skill trees. Good starting point if you're building character progression or unlockable abilities and want to avoid the usual timing bugs and state machine issues.

skills.sh installs
253
GitHub stars
464
last updated
Aug 21, 2026

Install

$ npx -y skills add thedivergentai/gd-agentic-skills --skill godot-ability-system --agent claude-code

Installs into .claude/skills of the current project.

Files

Architecture Decision: Where Does the Manager Live?

ScopePolicyScript
Per character / enemy / turretScene-scoped manager as child (default)ability_manager.gd or composition ability_container.gd on the entity
Shared unlock / loadout catalog across scenesAutoload catalog / progression only (ranks, unlock flags) — not live cast stateThin Autoload data; casts still go through the entity manager
Global "cast any ability anywhere" AutoloadAvoidBreaks encapsulation and multiplayer authority

Resolved policy: Live cooldowns, GCD, and execute() run on a scene-scoped AbilityManager / AbilityContainer under the caster. Autoloads may store unlock ranks; they must not be the combat cast oracle. Skill-tree UI reads/writes progression data, then calls into the caster’s manager — never /root/AbilityManager.use_* for combat.

NEVER Do

Sponsors

Details

Repository
github.com/thedivergentai/gd-agentic-skills
Categories
AI & Agent Building, Game Development
First seen
Jun 3, 2026

More from thedivergentai/gd-agentic-skills

All 51
1thedivergentai avatargodot-performance-optimizationthedivergentai/gd-agentic-skillsExpert blueprint for performance profiling and optimization (frame drops, memory leaks, draw calls) using Godot Profiler, object pooling, visibility culling, an253skills.sh installs
2tech-leads-club avatarexcalidraw-studiotech-leads-club/agent-skillsGenerate Excalidraw diagrams from natural language descriptions. Outputs .excalidraw JSON files openable in Excalidraw. Use when asked to "create a diagram", "m251skills.sh installs
3thedivergentai avatargodot-ui-rich-textthedivergentai/gd-agentic-skillsExpert blueprint for RichTextLabel with BBCode formatting (bold, italic, colors, images, clickable links) and custom effects. Covers meta tags, RichTextEffect s251skills.sh installs
4maxnorm avatarmagento-php-specialistmaxnorm/magento2-agent-skillsAdvanced PHP development for Magento 2 following PSR-12 and Magento coding standards. Use when writing PHP code, implementing business logic, or ensuring code q249skills.sh installs
5steipete avatarnative-app-performancesteipete/agent-scriptsNative app performance: xctrace, Time Profiler, traces, hotspots.248skills.sh installs
6thedivergentai avatargodot-platform-mobilethedivergentai/gd-agentic-skillsExpert blueprint for mobile platforms (Android/iOS) covering touch controls, virtual joysticks, responsive UI, safe areas (notches), battery optimization, and a248skills.sh installs