Turn switch

From nssmd/RoboRSI · View interactive version

Turn switch is an AI agent skill from the GitHub repository nssmd/RoboRSI. Single-arm switch flip. Locate switch, press / rotate handle to opposite position.

How to use this skill

Skill file

turn_switch (atomic)

RoboTwin sapien task. Single-arm. Wall-mounted toggle, approached

laterally (NOT top-down).

Goal

Flip the wall switch from its current state to the opposite state with the

arm whose base is laterally closer to the switch.

Key constraint

The switch sits on the back wall at z ≈ 0.83m. Top-down approaches

(press_button_at_xyz, find_object_via_wrist hover) will IK-fail because

the required hover height is above the arm's workspace.

Use push_toggle_lateral instead.

Approach-axis selection (v0.3)

The wall-switch normal is NOT always -y. Hardcoding approach_axis='-y'

caused seed 3 to fail (standoff IK-refused, gripper drove into the wall).

Always probe candidate axes with is_reachable on the standoff pose

before committing.

Success

The handle is visibly in the opposite orientation; the harness records the

simulator's final verdict after execution.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.