RoboSkillHub
Catalog / Tools
tool

sam3

Segment Anything 3 — text-, point-, and box-prompted instance segmentation, plus a stateful streaming video tracker that carries object identity through SAM3's memory bank. Use when a workflow needs open-vocabulary masks from an RGB image or needs to follow one object across frames.

Kind
Tool · perceive: finds and measures things in the scene
Robots
any robot
Runs
in its own environment over stdio-msgpack, needs a GPU
Used by
calibrating-baseplate-stud-grid, checking-spatial-relations, correcting-insertion-offset-from-port-opening, detecting-parts-from-exemplars-sam3, estimating-cut-grid-from-pieces, executing-keypoint-motion, flagging-odd-one-out-parts-by-mutual-scoring, framing-a-target-by-mask-edge-steering, grasping-a-cable-by-its-plug, grasping-a-cable-lying-flat, grasping-by-wrist-camera-servoing, grasping-with-planner, perceiving-deformable-linear-objects, perceiving-functional-features, perceiving-next-item, perceiving-object-parts, perceiving-objects, perceiving-objects-oneshot, perceiving-relational-correspondences, perceiving-routing-fixtures, perceiving-sorting-pairs, placing-into-container-obb, placing-on-receptacle-top-surface, planning-held-object-motion, plugging-a-cable-end, reading-domino-pips-and-orientation, reconstructing-collision-worlds, registering-held-objects, resolving-reconstruction-doubts-with-wrist-views, routing-parts-to-sort-bins-by-id-and-colour, sampling-labeled-points-in-mask, seating-a-cable-crossing, segmenting-small-parts-from-a-few-reference-photos, straightening-a-cable-toward-a-target-curve, tracking-objects, transporting-objects, verifying-a-cable-route, verifying-a-domino-cascade-from-video, verifying-articulation-displacement, verifying-grasps, verifying-placement
License
MIT
Source
source on GitHub · SKILL.md · upstream code · v0.2.0

Functions

sam3.segment_text Segment all instances matching a text description (masks, scores, boxes best-first).
sam3.segment_point Segment the object at a pixel coordinate (multimask, best-first).
sam3.segment_box Segment within a bounding box, optionally refined by a foreground point.
sam3.detect_like Find every instance like the given exemplar boxes (visual-exemplar prompts, optional negative boxes and text); masks, scores, boxes best-first, exemplars dropped.
sam3.tracker_init Open a tracker session seeded with one frame + a text/box/point prompt.
sam3.tracker_update Advance a tracker session by one frame (mask, box, confidence).
sam3.tracker_close Free a tracker session (idempotent).

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 "segment anything 3 — text-, point-, and box-prompted…" --why
uv run --no-sync roboskillhub view --bundles sam3 --out my_registry

See Get started for searching by task and robot, locking what a policy uses, and fetching it on the robot.