Provides text-, point-, and box-prompted instance segmentation via SAM3, plus a stateful video tracker that follows objects across frames. Useful for open-vocabulary mask extraction and single-object tracking in RGB streams.
Ships in open-robot-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The SAM3 image servicer + video-tracker servicer as in-process tools. Images
are RGB uint8 [H, W, 3] numpy arrays; masks come back as gap Mask
(uint8 [H, W], 0 background / 255 foreground), score-sorted best-first.
segment_text for open-vocabulary "find the X" masks (one mask per
instance; check scores[0] — callers typically reject below ~0.3).segment_box after a detector (e.g. grounding-dino.detect) for a
pixel-accurate mask inside the detection box; add the point prompt
(use_point=True) when a pointing model supplies one.tracker_init / tracker_update / tracker_close to follow a single
target across an observation stream (e.g. for visual servoing).uv sync --extra sam3 # torch + torchvision + the upstream sam3 package
# (pip: pip install -e ".[sam3]")
Model weights download on first model build. Device is taken from
GAP_SAM3_DEVICE (default cuda); the image model also runs on cpu
(slow), the video tracker is CUDA-only in practice.
segment_text caps results at max_results=5 by default — cluttered
scenes emit 100+ instances (~1 MB/mask at 720p) and downstream consumes
only the top mask. Pass max_results<=0 for everything.CC env
var; a stale CC (e.g. a Ray env pointing at a non-existent gcc-13)
surfaces as FileNotFoundError inside tracker_init. The bundle forces
CC to a real compiler before tracker use (_ensure_cc_compiler).apply_temporal_disambiguation=False — the
default hotstart heuristics silently delete the masklet around frame 3 in
streaming mode (no fresh text re-detection per frame).tracker_update: a mask-area jump >1.5x the running
median or confidence <0.30 keeps the LAST GOOD mask and reports
confidence=0.0 with object_present=True (skip this frame); after 5
consecutive drift hits object_present=False — re-init the tracker.tracker_id raises ToolError.tracker_init returns object_present=False with an empty tracker_id
(no exception) when the initial detection finds nothing.What SKILL.md sets; muted values are Claude Code's defaults
/open-robot-skills:sam3from open-robot-skills
npx claudepluginhub graph-robots/open-robot-skills --plugin open-robot-skills40 skills in this plugin
/anchoring-a-free-endPins one end of a cable with the support hand before any crossing is attempted — asks the support-hand planner for the anchor grasp as joint-space legs, refuses it when its worst IK error is past the limit, streams the legs, closes the jaws to the plan's own width and dwells for the fingers' travel, and carries the solved chain and grasp orientation out on the exit so later pay-outs seed from them. Use when a deformable linear object must be held at one end so a sideways pull bends it instead of dragging the whole thing./computing-feature-mating-posesComputes approach, engaged, and mate TCP poses from a held feature in the hand and a fixture feature, resolving free mate symmetries from the current robot pose without executing motion. Use when a held loop must go over a shaft or hook, or a held shaft or tip must enter an aperture, and explicit approach, engaged, and mate poses are needed for planning./curoboNVIDIA cuRobo motion planning — collision-free trajectories to grasp goalsets, transport with an attached object, constrained linear moves, single-pose planning, geometric IK, batch grasp feasibility, and joint-trajectory collision validation. Use when a workflow needs GPU-accelerated, collision-aware arm motion plans.Other plugins' skills for the same job