sampling-labeled-points-in-mask
Picks the point on (or in) an object that a language instruction asks for - lays an evenly spaced grid of numbered markers inside the object's mask (the largest stride that leaves 35-45 inside, plus markers along its outline), draws them on an upscaled crop, asks a VLM which number(s) fit, and back-projects the chosen marker through depth to a world point. Use when a grasp, contact or placement point is a named part or region of one object ("where to grasp the mug handle", "the plug end of the cable", "a free spot on the tray") and a perception step already has, or sam3 can make, the object's mask in a calibrated RGB-D frame.
observation Observation, instruction strpoint Vec3, marker_count intExits
What the skill reports when it ends; a policy branches on these.
selected The VLM named offered marker(s); `point` is the first one's world point (near-side depth inside the mask), `points` / `selected` all of them in the VLM's order with index, label and pixel.none_suitable The markers were drawn but the VLM answered [] (no marker fits), its replies (up to `attempts`) held no usable list or named numbers not offered, or no marker had depth; `detail` says which. `marked_image` shows what it was offered.not_seen No mask - the given one is empty or under 20 px, or sam3.segment_text found no instance of `object_name` scoring 0.3 or more.Scripts
Use it
Take this bundle (and the tools it calls) into a registry for your task, then point your policy generator at it:
git clone https://github.com/runtime-si/RoboSkillHub
cd RoboSkillHub && uv sync
uv run --no-sync roboskillhub search "picks the point on (or in) an object that a language…" --why
uv run --no-sync roboskillhub view --bundles sampling-labeled-points-in-mask --out my_registrySee Get started for searching by task and robot, locking what a policy uses, and fetching it on the robot.