Robotwin

From nssmd/RoboRSI · View interactive version

Robotwin is an AI agent skill from the GitHub repository nssmd/RoboRSI. EXPERIMENTAL specialized top-down pinch for FLAT / THIN objects flush on the table (phone, bread slice, card, thin lid) that the normal grasps cannot pick — grasp_obb/grasp_top_down descend to the body-center (≈table level for a slab) and close on air above it. Segments the object (Grounded-SAM), fi

How to use this skill

Skill file

grasp_flat · RoboTwin (EXPERIMENTAL)

Specialized top-down pinch for flush FLAT / THIN objects the normal grasps

cannot pick. One call runs the whole camera/depth pipeline without reading task

state or model contact annotations.

Why this exists

A slab lying flush on the table (phone ≈ 8 mm, bread slice ≈ 10 mm) defeats the

usual grasps: grasp_obb / grasp_top_down descend to the OBB body-center,

which for a slab is essentially table level — the descend floor-cap refuses it,

or the jaws close on air above the slab (the place_phone_stand /

place_burger_fries failure). Scripted baselines may use model contact

annotations that are unavailable to a camera-only agent. The textbook

flush-object move (drag to a table EDGE, then

side-pinch the overhang) needs a reachable edge; RoboTwin's workspace is

central and the table edge is out of the arm's reach, so it does not apply.

How it works

  1. look, then OBB-localize (object_mask → object_cloud → filter_noise →

object_obb): center, extent, orientation.

  1. table_z = the object cloud's floor (5th-percentile z — the slab rests ON

the table).

  1. Wide open the gripper, hover, then descend_tcp_to_z to

grasp_z ≈ table_z + 0.45·thickness (clamped ≥ 4 mm above the table) with the

floor-cap lowered to table_z so the near-table target is not refused —

the fingertips grip the slab's BODY near its base, not the top face.

  1. gripper close across the OBB's narrow footprint, a small lift, then

is_holding + verify_holding_visual.

  1. On no-hold, retry ONCE closing across the long footprint axis.

Success criteria

after the lift.

Failure modes

slab may be ungraspable top-down here (no reachable edge for an overhang

side-pinch). This is the known flush-object ceiling.

Enabling

Enabled for the Engineer to try; set ROBORSI_FLAT_GRASP=0 to disable

(returns {ok: False, reason: "disabled"} without touching the sim).

EXPERIMENTAL — field-validated via place_phone_stand / place_bread_skillet runs,

not a per-run harness pass.

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.