
godot-genre-simulation
Expert blueprint for simulation and tycoon games (SimCity, RollerCoaster Tycoon, Factorio, Two Point Hospital) covering economy management, time progression, interconnected systems, NPC simulation, and feedback loops. Use when building management sims, tycoon games, city builders, or resource optimization games. Keywords tycoon, economy system, resource management, time scale, feedback loop, progression unlock, simulation tick.
- Installs
- 388
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/thedivergentai/game-dev-agentic-skills --skill godot-genre-simulation- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads godot-genre-simulation automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
NEVER Do (Expert Anti-Patterns)
Simulation & Economy
- NEVER use floating-point for primary currency; strictly use Integer Cents (or fixed-point math) to prevent accumulated precision errors in financial models.
- NEVER process 1000+ entities individually in
_process(); strictly use a Tick Manager to batch updates or process entities in rotating pools. - NEVER rely on linear cost scaling; strictly use Exponential Growth (
Base * pow(1.15, Level)) to maintain challenge and strategic tension. - NEVER hide critical metrics from the player; strictly provide Detailed Breakdowns (Income vs. Expense) so players can make optimization-based decisions.
- NEVER allow infinite resource stacking; strictly enforce Logistical Caps (warehouses/silos) to create meaningful space-management gameplay loops.
- NEVER let the early game become a "Waiting Simulator"; strictly Front-Load Decisions and quick early wins to build player momentum.
- NEVER modify a shared Resource directly; strictly use
duplicate()to avoid unintentionally updating every building of that type. - NEVER tie simulation logic to the visual framerate; strictly use
_physics_process()or delta accumulators for deterministic simulation results.
Performance & Threading
- NEVER update UI labels every frame; strictly use Event-Driven Signals to refresh UI ONLY when the underlying data changes.
- NEVER run heavy economic loops synchronously; strictly use WorkerThreadPool to offload complex calculations and prevent UI stutters.
- NEVER store massive resource data as Nodes; strictly use
RefCountedor Data Resources to avoid the memory/CPU overhead of the SceneTree. - NEVER ignore
OS.low_processor_usage_mode; strictly enable it for stationary management screens to save massive CPU/Battery life. - NEVER manipulate the SceneTree from background threads; strictly use
call_deferred()for thread-safe UI updates. - NEVER parse large JSON save files on the main thread; strictly use Threaded Serialization or optimized binary
.resformats. - NEVER use standard equality (==) for needs; strictly use
is_equal_approx()to prevent floating-point jitter failures in logic gates.
🛠 Expert Components (scripts/)
MANDATORY reads before implementing the matching system:
- tycoon_economy.gd — integer cents / discrete stocks
- sim_tick_manager.gd —
_physics_processtick accumulator- simulation_tick_controller.gd — speed / pause control surface
Original Expert Patterns
- tycoon_economy.gd - Multi-resource economy with integer currency (cents).
- sim_tick_manager.gd - Framerate-decoupled game-hour ticks on physics.
Modular Components
- simulation_tick_controller.gd - UI/speed wiring for the tick manager.
- economy_graph_manager.gd - Producer/consumer graph edges.
- npc_schedule_agent.gd - Schedule-driven NPC agents on ticks.
- simulation_patterns.gd - CSV→Resource bake, AStarGrid2D logistics, low_processor helpers.
Core Loop
- Place/build → 2. Tick economy → 3. Read income vs expense → 4. Unlock / expand → 5. Optimize logistics
Decision Trees
Currency & time (must match NEVER)
| Need | Action |
|---|---|
| Money / wallets | MANDATORY tycoon_economy.gd — integer cents, never float primary |
| Sim clock | MANDATORY sim_tick_manager.gd — accumulator on _physics_process |
| Speed UI | simulation_tick_controller.gd |
Tick rate vs UI vs threads
| Entity / load | Strategy |
|---|---|
| < ~200 entities | Tick signal → direct update; UI via resource_changed only |
| Hundreds of agents | Rotate pools per tick; npc_schedule_agent.gd |
| Heavy graph / path logistics | Offload with WorkerThreadPool; call_deferred UI — see simulation_patterns.gd / economy_graph_manager.gd |
| Stationary management screens | Enable OS.low_processor_usage_mode |
Do not re-inline TycoonEconomy / SimulationTime / Worker tutorials — load the scripts.
Skill Chain
| Phase | Skills | Purpose |
|---|---|---|
| 1. Data | resources, godot-economy-system | Stocks / sinks |
| 2. Time | tick manager | Deterministic hours |
| 3. Agents | schedules / nav | NPCs & logistics |
| 4. Perf | WorkerThreadPool | Heavy ticks |
| 5. Balance | godot-monte-carlo-balancer | Bankruptcy / growth bands |
Common Pitfalls
| Pitfall | Solution |
|---|---|
| Float money | Integer cents in tycoon_economy |
_process sim step | Physics accumulator tick manager |
| UI every frame | Signal on resource_changed only |
Deep recipes (on demand)
| Topic | Reference / script |
|---|---|
| Economy & wallets | economy-design.md + tycoon_economy.gd |
| Sim clock / speed | time-system.md + sim_tick_manager.gd |
| Workers & facilities | entity-management.md + npc_schedule_agent.gd |
| Demand & customers | customer-demand.md |
| Feedback & dashboards | feedback-systems.md |
| Unlock progression | progression-unlocks.md |
| Production graphs / CSV bake | elite-technical-patterns.md + simulation_patterns.gd |
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
- Idle and physics processing — Simulation clocks and economy ticks must accumulate with
delta(or a dedicated tick), never frame-count assumptions. - Using signals — Emit resource/tick changes so dashboards refresh only when wallets or hours actually change.
- Resources — Recipes, facilities, and unlock tables belong as
.tresResources so designers retune chains without code edits. - GDScript exports —
@exportbuild costs, wages, and growth bases so balance sheets stay Inspector-driven. - Saving games — Persist stocks, day/hour, unlocks, and facility graphs so long management sessions survive restarts.
- Data paths — Keep large binary/JSON sim saves under
user://across platforms. - Using multiple threads — Heavy production-graph and upkeep passes belong on
WorkerThreadPool, not the main-thread UI loop. - Thread-safe APIs — Marshaling sim results to Labels/
Treerequirescall_deferred/ main-thread SceneTree rules. - WorkerThreadPool — API for batching economy ticks without blocking manager screens.
- OS — Enable
OS.low_processor_usage_modeon stationary management UIs to cut CPU/battery burn. - AStarGrid2D — Grid logistics and worker paths on factory floors without manually wiring AStar points.
- Using NavigationServers — Direct
NavigationServer3D.map_get_pathqueries for schedule-driven NPCs without per-agent node overhead.
Related Skills
Prerequisites
- godot-project-foundations — Autoloads, Resources, and scene structure before building tick managers and economy graphs.
- godot-gdscript-mastery — Typed Dictionaries, signals,
is_equal_approx, and fixed-point-safe math for currency and needs. - godot-resource-data-patterns — Production recipes and unlock tables should be Resource-first
.tresassets, not hard-coded Node trees. - godot-signal-architecture — Tick and
resource_changedbuses must drive UI without Labels mutating the simulation wallet.
Complements
- godot-economy-system — Soft-currency wallets, sinks, and transaction ledgers that compose with tycoon multi-resource stocks.
- godot-save-load-systems — Versioned serialization for large world states, binary
store_var, and threaded save/load. - godot-navigation-pathfinding — NavigationServer / grid pathing for worker jobs and schedule agents after the tick clock exists.
- godot-performance-optimization — Entity batching, low-processor mode, and thread offload budgets for 1000+ sim entities.
- godot-autoload-architecture — TimeManager / Economy autoloads that survive scene reloads need clear ownership rules.
- godot-ui-containers — Income/expense dashboards and facility lists are
Tree/VBoxContainerlayouts bound to throttled signals.
Downstream / consumers
- godot-monte-carlo-balancer — After cost curves, production yields, and CSV→
.tresbalance sheets exist, Monte Carlo career sims prove minutes-to-milestone and bankruptcy bands before shipping growth factors. - godot-genre-idle-clicker — Offline catch-up and prestige loops reuse tick + integer-currency patterns from management sims.
- godot-genre-rts — Build-order economies and worker logistics consume the same tick/graph and pathfinding primitives at combat scale.
Master
- godot-master — Library router and mirrored module entry; use when discovering peer skills or syncing shared script mirrors after Domain Skill edits.
FAQ
What does the godot-genre-simulation skill do?
Expert blueprint for simulation and tycoon games (SimCity, RollerCoaster Tycoon, Factorio, Two Point Hospital) covering economy management, time progression, interconnected systems, NPC simulation, and feedback loops. Use when building management sims, tycoon games, city builders, or resource optimization games. Keywords tycoon, economy system, resource management, time scale, feedback loop, progression unlock, simulation tick.
How do I install godot-genre-simulation?
Run npx skills add https://github.com/thedivergentai/game-dev-agentic-skills --skill godot-genre-simulation in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/godot-genre-simulation/ (personal) or .claude/skills/godot-genre-simulation/ (project).
Which AI agents can use godot-genre-simulation?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is godot-genre-simulation safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains godot-genre-simulation?
It is published by thedivergentai in thedivergentai/game-dev-agentic-skills. It has 388 recorded installs.
More from thedivergentai/game-dev-agentic-skills
godot-master
thedivergentai/game-dev-agentic-skills
Consolidated expert library for professional Godot 4.7+ game and application development. Orchestrates 92 Domain Skills through architectural workflows, anti-pattern catalogs, performance budgets, and Server API patterns. Use when: (1) starting a new Godot project, (2) designing game or app architecture, (3) building entity/component systems, (4) debugging performance or physics issues, (5) choosing between 2D/3D approaches, (6) implementing multiplayer, (7) optimizing draw calls or script time, (8) porting between platforms, (9) migrating from 4.6 to 4.7. Primary entry point for ALL Godot development tasks. Keywords: Godot 4.7, AreaLight3D, HDR, Asset Store, godot-master.
godot-shaders-basics
thedivergentai/game-dev-agentic-skills
Expert Godot shader patterns for batch-safe hitflash, alpha-scissor foliage/dissolve, screenspace postFX, depth reconstruction, triplanar, and instance uniforms — not first-shader tutorials. Trigger on draw-call batching breaks, discard vs depth-prepass, foliage shadows, post-process quads, or world-position FX. Keywords: instance uniform, ALPHASCISSOR, hintscreentexture, hintdepthtexture, global uniform, sampler2DArray, canvasitem, spatial, post-processing.
godot-2d-animation
thedivergentai/game-dev-agentic-skills
Expert patterns for 2D animation in Godot using AnimatedSprite2D and skeletal cutout rigs. Use when implementing sprite frame animations, procedural animation (squash/stretch), cutout bone hierarchies, or frame-perfect timing systems. Trigger keywords: AnimatedSprite2D, SpriteFrames, animationfinished, animationlooped, framechanged, frameprogress, setframeandprogress, cutout animation, skeletal 2D, Bone2D, procedural animation, animation state machine, advance(0).
godot-particles
thedivergentai/game-dev-agentic-skills
Expert blueprint for GPU particle systems (explosions, magic effects, weather, trails) using GPUParticles2D/3D, ParticleProcessMaterial, gradients, sub-emitters, and custom shaders. Use when creating VFX, environmental effects, or visual feedback. Keywords GPUParticles2D, ParticleProcessMaterial, emissionshape, colorramp, subemitter, oneshot.
godot-ui-theming
thedivergentai/game-dev-agentic-skills
Expert blueprint for UI themes using Theme resources, StyleBoxes, custom fonts, and theme overrides for consistent visual styling. Covers StyleBoxFlat/Texture, theme inheritance, dynamic theme switching, and font variations. Use when implementing consistent UI styling OR supporting multiple themes. Keywords Theme, StyleBox, StyleBoxFlat, addthemeoverride, font, theme inheritance, dark mode.
godot-gdscript-mastery
thedivergentai/game-dev-agentic-skills
Expert GDScript landmine guidance: static typing opcodes, signal-up/call-down, %UniqueName/@onready lifecycle, Callable bind/unbind, await sequences, typed collections, and safe Dictionary iteration. Use for code review, refactoring hot paths, or project standards. Trigger keywords: statictyping, signalarchitecture, uniquenodes, @onready, classname, signalupcalldown, Callable.bind, typedcollections, awaitsequence.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available