godot-game-loop-harvest — Claude Code skill: what it does
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.
LGPL-3.0 313 installs ★ 983 updated 2026-10-16
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-game-loop-harvest -a claude-codeWhat godot-game-loop-harvest does
This skill outlines a modular gathering loop for mining, logging, and foraging in Godot 4. Interactable objects use StaticBody3D paired with harvestable_node.gd. Hitting an object routes through apply_hit, validating tool categories and tiers defined in HarvestToolData enums before emitting yield or damage signals to inventories and HUDs.
Persistence and world respawns rely on an autoloaded HarvestRespawnManager. Real-world offline progress uses Time.get_unix_time_from_system(). Cluster distribution across terrain relies on FastNoiseLite height thresholds so nodes appear in natural formations.
Mutating runtime hit points or durability directly on a shared .tres resource corrupts every instance in memory unless duplicate(true) runs first. Non-uniform scaling on 3D collision shapes is prohibited because it ruins raycast registration.
What it helps with
- configure resource harvesting in Godot 4 using Resource assets
- validate tool tiers and weapon types on harvestable objects
- calculate offline progression rewards using UNIX timestamps
- distribute ore nodes procedurally with FastNoiseLite masks
Example prompts for the agent
- Create a harvestable tree node using StaticBody3D and harvestable_node.gd with hit shake logic
- Implement offline mining yield calculation based on Time.get_unix_time_from_system
- Generate mineral vein clusters on the terrain using FastNoiseLite thresholds
How to install godot-game-loop-harvest
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-game-loop-harvest -a claude-code2Manually: put the files in place
~/.claude/skills/godot-game-loop-harvest/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/godot-game-loop-harvest/
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-game-loop-harvest -a codex2Manually: put the files in place
.agents/skills/godot-game-loop-harvest/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-game-loop-harvest -a cursor2Manually: put the files in place
.cursor/skills/godot-game-loop-harvest/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install thedivergentai/Game-Dev-Agentic-Skills skills/godot-game-loop-harvest2Manually: put the files in place
.github/skills/godot-game-loop-harvest/SKILL.md1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-game-loop-harvest -a gemini-cli2Platform CLI
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-game-loop-harvestManually: put the files in place
.devin/skills/godot-game-loop-harvest/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-game-loop-harvest -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about godot-game-loop-harvest
How to install godot-game-loop-harvest in Claude Code?
Run npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-game-loop-harvest -a claude-code in your terminal.
What does godot-game-loop-harvest do?
It guides the agent to implement Godot 4 harvesting mechanics, covering tool validation enums, hit signals, procedural veins, and persistence routines.
Why does this skill mandate UNIX system timestamps for offline gains?
Session uptime counters reset whenever the application stops. Reading Time.get_unix_time_from_system() ensures absence calculations stay accurate across game launches.