AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Sam3

skill-graph-robots-open-robot-skills-sam3 · by graph-robots

Segment Anything 3 — text-, point-, and box-prompted instance

No reviews yet
0 installs
38 views
0.0% view→install

Install

$ agentstack add skill-graph-robots-open-robot-skills-sam3

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-graph-robots-open-robot-skills-sam3)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Sam3? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

sam3

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.

When to use

  • 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).

Install

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.

Gotchas (carried over from the servicers)

  • Lazy singletons: the image model and the video predictor each load on

first call and stay resident; importing the bundle never imports torch.

  • 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 point > text**; a point prompt is converted to a small (10% of image) box because the predictor's box path is more reliable for init than a single point.

  • The tracker is built with 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).

  • Drift handling in 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.

  • Sessions idle longer than 120 s are evicted lazily on the next tracker

call; an evicted/unknown tracker_id raises ToolError.

  • tracker_init returns object_present=False with an empty tracker_id

(no exception) when the initial detection finds nothing.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.