This handles the full stack of game economy patterns: multi-currency wallets, shop systems with buy/sell spreads, dynamic pricing based on demand, weighted loot tables, and currency sinks to prevent inflation. It includes ten ready-to-use scripts covering everything from secure transaction processing through the WalletManager singleton to UI sync components and persistence handlers. The "NEVER" section is genuinely useful, calling out common pitfalls like client-side validation in multiplayer, integer overflow for premium currencies, and floating point precision errors. Best for RPGs or trading games where you need the economic simulation to feel balanced and exploit-proof without reinventing the wheel.

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

Install

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

Installs into .claude/skills of the current project.

Files

Decision Tree: Currency Representation

Economy typeStore asWhy
Soft currency (gold, scrap) with UI decimalsint cents / smallest unitExact math; display value / 100.0
Premium / idle quantities >> 2^31BigInt / multi-limb int (or carefully scaled float only if approx OK)32-bit int caps ~2.1B
Multiplayer / persistent walletAuthoritative int (or BigInt) on serverClient never finalizes spends
Prices with fractional display onlyStill int smallest unitAvoid 0.1 + 0.2 float drift

NEVER mix "use float for money" and "never use float for money" without this tree — pick one column and stick to it.

NEVER Do in Economy Systems

Sponsors

Details

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

More from thedivergentai/gd-agentic-skills

All 51
1bagisto avatarshipping-method-developmentbagisto/agent-skillsShipping method development in Bagisto. Activates when creating shipping methods, integrating shipping carriers like FedEx, UPS, DHL, or any third-party shippin270skills.sh installs
2hoodini avatarux-design-systemshoodini/ai-agents-skillsBuild consistent design systems with tokens, components, and theming. Use when creating component libraries, implementing design tokens, building theme systems,270skills.sh installs
3steipete avatarswiftui-liquid-glasssteipete/agent-scriptsSwiftUI Liquid Glass: implement, adopt, refactor, review correctness/perf/design.270skills.sh installs
4itsmostafa avatars3itsmostafa/aws-agent-skillsAWS S3 object storage for bucket management, object operations, and access control. Use when creating buckets, uploading files, configuring lifecycle policies, 269skills.sh installs
5shopify avatarshopify-app-reviewshopify/shopify-ai-toolkitRun a pre-submission compliance check against your Shopify app's codebase. Reviews App Store requirements and surfaces likely issues before you submit for offic269skills.sh installs
6thedivergentai avatargodot-autoload-architecturethedivergentai/gd-agentic-skillsExpert patterns for Godot AutoLoad (singleton) architecture including global state management, scene transitions, signal-based communication, dependency injecti268skills.sh installs