facebook/click-target
Find and click a target object in XR. Use when testing UI interactions, clicking buttons, or verifying interactable elements work correctly.
npx skills add https://github.com/facebook/immersive-web-sdk --skill click-target
Find a target object in the scene and click it using a controller, then verify the click registered.
$ARGUMENTS should be a description of the target to find (e.g., "the RESTART button", "the scoreboard", "the settings panel").
Use mcp__iwsdk-dev-mcp__scene_get_runtime_hierarchy to find the target object's UUID.
Use mcp__iwsdk-dev-mcp__scene_get_object_transform with the target UUID.
positionRelativeToXROrigin for all positioning operationsUse mcp__iwsdk-dev-mcp__xr_look_at with device headset and the target position.
Use mcp__iwsdk-dev-mcp__browser_screenshot to verify:
mcp__iwsdk-dev-mcp__xr_look_at with moveToDistance to get closerUse mcp__iwsdk-dev-mcp__xr_get_transform to check controller position.
mcp__iwsdk-dev-mcp__xr_get_transformmcp__iwsdk-dev-mcp__xr_set_transformUse mcp__iwsdk-dev-mcp__xr_look_at with the controller device and target position.
Use mcp__iwsdk-dev-mcp__xr_select with the controller device.
Use mcp__iwsdk-dev-mcp__browser_get_console_logs with a pattern to check for expected log messages.
mcp__iwsdk-dev-mcp__scene_get_object_transform on child elements to find exact button positionsTo click the RESTART button on the pong scoreboard:
Take facebook/click-target from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.