/godot-agent-skills:godot-xrfrom godot-agent-skills
Sets up VR/AR/MR projects in Godot 4.7 with OpenXR: project config, XR rig, input via action maps, hand/body tracking, passthrough, foveation, and export to Quest/Android XR/PCVR.
Ships in godot-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Headless runs can't start XR. Code paths still run (the interface reports not initialized), so headsets are needed for real tests.
xr/openxr/enabled = true and xr/shaders/enabled = true. The default action map (xr/openxr/default_action_map) has 4 profiles in 4.7: generic controller, touch controller, Pico 4 and hand interaction. Add profiles for other devices in the action map editor.XROrigin3D → XRCamera3D + XRController3D (tracker = &"left_hand" / &"right_hand"). One origin per scene. Move the player by moving the origin, never the camera.var xr := XRServer.find_interface("OpenXR") → xr.is_initialized() (auto-initialized when OpenXR is enabled) → get_viewport().use_xr = true. Turn VSync off (DisplayServer.window_set_vsync_mode(DisplayServer.VSYNC_DISABLED)), because the headset paces frames. Match Engine.physics_ticks_per_second to the headset refresh rate (display_refresh_rate), so held objects don't jitter. Listen for the OpenXR session signals: session_begun, session_visible, session_focussed (resume), session_stopping, pose_recentered.
controller.is_button_pressed(&"trigger_click"), get_float(&"trigger"), get_vector2(&"primary") (thumbstick), plus the button_pressed/button_released signals. Action names come from the action map, not hardware buttons.controller.trigger_haptic_pulse(&"haptic", frequency, amplitude, duration_sec, delay_sec).XRHandModifier3D on a hand skeleton (OpenXR hand tracking extension). The hand interaction profile gives pinch and grasp as actions. Body tracking uses XRBodyModifier3D.SubViewport on a quad and raycast with the controller, or use Godot XR Tools' pointer and viewport-2D-in-3D (addon).Check xr.get_supported_environment_blend_modes() for XRInterface.XR_ENV_BLEND_MODE_ALPHA_BLEND. Set xr.environment_blend_mode = XR_ENV_BLEND_MODE_ALPHA_BLEND and get_viewport().transparent_bg = true, with an Environment background clear color alpha of 0. start_passthrough()/is_passthrough_enabled() are deprecated. Spatial anchors, planes and markers come from OpenXR spatial entities (4.6+, experimental classes OpenXR*Tracker, OpenXRSpatial*).
OpenXRInterface.foveation_level (0–3) + foveation_dynamic on standalone. 4.7's Vulkan subsampled images improve foveated rendering on Mobile.XRServer.center_on_hmd).XR startup with session handling, controller input and haptics, passthrough toggle (compiled by the tests): references/patterns.md
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub el4cteo/godot-skills --plugin godot-agent-skills27 skills in this plugin
/godot-2d2D games in Godot 4.7 - pixel-art and HD setup, TileMapLayer (cells, terrains, custom data, runtime tiles, physics chunking), Parallax2D, Camera2D (limits, smoothing, shake), y-sort and z-index, 2D lights and normal maps, AnimatedSprite2D, one-way platforms, custom drawing, many-sprite performance. Use for platformers, top-down, tile-based or any 2D scene./godot-3d-gameplayBuilding 3D games in Godot 4.7 - third-person and orbit cameras (SpringArm3D), camera-relative movement, lock-on, top-down/RTS/isometric cameras, GridMap + MeshLibrary levels, CSG blockout and baking, modular kit import hints, Path3D rails, interactables, spawners, world-space UI, large worlds and LOD. Use for 3D player controllers, cameras or level building./godot-3d-rendering3D look in Godot 4.7 - renderer choice (Forward+/Mobile/Compatibility matrix), Environment (AgX, glow, fog, SSAO/SSR/SDFGI), lights incl. AreaLight3D, GI (SDFGI, VoxelGI, LightmapGI), HDR output, materials, glTF/Blender import suffixes, LOD and occlusion culling. Use for 3D scenes, lighting, materials, model import or visual quality./godot-addonsFinding, vetting, installing and maintaining Godot 4.7 addons - the in-editor Asset Store, editor plugins vs GDExtensions vs C# addons, compatibility and platform-binary checks, enabling plugins, versioning addons in git, optional dependencies, and a curated 4.7 list (LimboAI, Beehave, Dialogue Manager, Phantom Camera, Terrain3D, GodotSteam, billing, Mod Loader). Use when adding or fixing plugins./godot-animationAnimation in Godot 4.7 - AnimationPlayer and libraries, AnimationTree (state machines, blend spaces with sync_mode, one-shots, conditions), root motion, method/audio tracks, Tween recipes incl. tween_await (4.7), skeletons, the 4.6 IK framework (TwoBoneIK3D, FABRIK3D, CCDIK3D, SplineIK3D), LookAt/bone constraints, procedural animation. Use for character animation, cutscenes, UI motion or IK./godot-architectureStructure Godot 4.7 projects that scale - feature-based folders, scene composition and components, when to use autoloads, event bus, custom Resources as data, state machines, scene switching and loading screens, save/load (safe formats), groups and dependency injection, mixed GDScript + C# projects. Use when starting a project, adding a system, or refactoring Godot code.Other plugins' skills for the same job