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

Sam3

skill-jakerains-agentskills-sam3 · by jakerains

Create and work with Meta SAM 3 (facebookresearch/sam3) for open-vocabulary image and video segmentation with text, point, box, and mask prompts. Use when setting up SAM3 environments, requesting Hugging Face checkpoint access, generating inference scripts, integrating SAM3 into Python apps, fine-tuning with sam3/train configs, running SA-Co or custom evaluations, or debugging CUDA/checkpoint/pro…

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

Install

$ agentstack add skill-jakerains-agentskills-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-jakerains-agentskills-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

SAM 3 (facebookresearch/sam3)

Overview

Build, integrate, fine-tune, and evaluate Meta SAM 3 with reproducible commands and minimal setup friction.

Quick Routing

| User intent | Action | |---|---| | Install SAM 3 and run first inference | Follow setup in references/setup-and-inference.md | | Add SAM 3 to an existing Python app | Generate starter code with scripts/create_inference_starter.py and adapt API calls | | Verify environment before setup/inference | Run scripts/sam3_preflight_check.py | | Fine-tune on custom data | Use references/training-and-eval.md training flow and config guidance | | Run SA-Co benchmarks or eval custom predictions | Use eval commands in references/training-and-eval.md and upstream scripts/eval/* docs | | Debug runtime failures | Run the troubleshooting checklist in references/setup-and-inference.md |

Core Workflow

  1. Confirm objective and modality.
  2. Set up environment and checkpoint access.
  3. Run a smoke test.
  4. Execute the task path: inference, training, or evaluation.
  5. Return reproducible commands and file paths.

1) Confirm objective and modality

  • Identify whether the user needs image inference, video inference, fine-tuning, or benchmark evaluation.
  • Confirm whether CUDA is available and which GPU memory budget applies.
  • Confirm whether Hugging Face access to facebook/sam3 is already approved.

2) Set up environment and checkpoint access

Use a clean environment:

conda create -n sam3 python=3.12 -y
conda activate sam3
pip install torch==2.7.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
git clone https://github.com/facebookresearch/sam3.git
cd sam3
pip install -e .

Authenticate with Hugging Face before first model load:

hf auth login

Optionally run a preflight check before model download:

python scripts/sam3_preflight_check.py --strict

For full setup and verification commands, read references/setup-and-inference.md.

3) Run a smoke test

From this skill folder, generate a starter script:

python scripts/create_inference_starter.py --mode image --output ./sam3_smoke.py

Edit placeholders and run from a SAM3 checkout.

4) Execute the task path

  • Image and video inference:

Use references/setup-and-inference.md to apply Sam3Processor and build_sam3_video_predictor patterns.

  • Fine-tuning:

Use references/training-and-eval.md and start from a provided config in sam3/train/configs.

  • Benchmark evaluation:

Use references/training-and-eval.md plus upstream dataset notes under scripts/eval/gold, scripts/eval/silver, and scripts/eval/veval.

5) Return reproducible output

  • Report exact commands run and any config overrides.
  • Include checkpoint source and authentication assumptions.
  • Include prompt text, frame index, and confidence threshold when reporting inference outputs.

Guardrails

  • Do not assume checkpoint access is granted; verify login and permission first.
  • Prefer official sam3.model_builder and predictor APIs over custom re-implementations.
  • Keep generated scripts editable and avoid machine-specific absolute paths.
  • If running on CPU, explicitly note expected performance limits before large jobs.

Resources

  • Setup and inference guide: references/setup-and-inference.md
  • Training and evaluation guide: references/training-and-eval.md
  • Starter generator: scripts/create_inference_starter.py
  • Preflight checker: scripts/sam3_preflight_check.py

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.