godot-tweening — Claude Code skill: what it does, how to install
Blueprint for programmatic Godot animations using Tween. Helps configure UI transitions, easing curves, and safe lifecycle cleanup.
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-tweening -a claude-codeWhat godot-tweening does
This skill guides coding agents through procedural animations in Godot using create_tween(). It introduces a decision tree to choose between Tween and AnimationPlayer, detailing parallel steps via set_parallel() and chained calls with chain(). Attempting to animate the same property across overlapping triggers without calling kill() first leads to immediate visual glitches.
Reference scripts cover common gamedev scenarios. These include pause menus running when Engine.time_scale is zero, physics sync using TWEEN_PROCESS_PHYSICS, and nested cutscene steps. Skipping bind_node(self) causes orphaned tweens to persist in memory after their target node is freed.
What it helps with
- build UI animations with appropriate easing transitions
- prevent overlapping tween conflicts when buttons are spammed
- run pause menu transitions while game time is frozen
- interpolate numeric text values using
tween_method
Example prompts for the agent
- Create a Godot UI popup transition that cancels any active tween before playing
- Show how to animate a pause screen when Engine.time_scale is set to zero
- Set up a physics-synced property tween using reset_physics_interpolation
How to install godot-tweening
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-tweening -a claude-code2Manually: put the files in place
~/.claude/skills/godot-tweening/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/godot-tweening/
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-tweening -a codex2Manually: put the files in place
.agents/skills/godot-tweening/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-tweening -a cursor2Manually: put the files in place
.cursor/skills/godot-tweening/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install thedivergentai/Game-Dev-Agentic-Skills godot-tweening2Manually: put the files in place
.github/skills/godot-tweening/SKILL.md1Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-tweening -a gemini-cli2Platform CLI
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-tweeningManually: put the files in place
.devin/skills/godot-tweening/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-tweening -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-tweening
How to install godot-tweening in Claude Code?
Run npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-tweening -a claude-code in your terminal. This registers the skill and makes its recipes available to the agent.
What does godot-tweening do?
It provides best practices and lifecycle rules for Godot tweens. The skill helps agents use create_tween() properly, bind lifecycles to nodes, and apply non-linear easing presets.
Why does this skill forbid calling Tween.new()?
Modern Godot requires creating tweens via create_tween() or get_tree().create_tween(). Instantiating Tween.new() directly bypasses tree management and prevents the animation from running.