Skip to content

Foundation model that segments any object zero-shot from points, boxes, masks, or fully automatic prompts.

CCM score
59 of 100
skills.sh installs
1.2K
GitHub stars
14.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers interactive prompting with SamPredictor plus automatic whole-image mask generation through SamAutomaticMaskGenerator
  • Includes ViT-H, ViT-L, and ViT-B checkpoints, HuggingFace Transformers usage via SamModel, and ONNX export for browsers and edge devices
  • Supports foreground and background points, bounding boxes, combined prompts, and iterative refinement from a previous mask
  • Designed for annotation tools, training data generation, and medical or satellite images where no task-specific training is available

Install

$ npx -y skills add orchestra-research/ai-research-skills --skill segment-anything-model -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Segment Anything Model (SAM)

Comprehensive guide to using Meta AI's Segment Anything Model for zero-shot image segmentation.

When to use SAM

Use SAM when:

  • Need to segment any object in images without task-specific training
  • Building interactive annotation tools with point/box prompts
  • Generating training data for other vision models
  • Need zero-shot transfer to new image domains
  • Building object detection/segmentation pipelines
  • Processing medical, satellite, or domain-specific images

Key features:

  • Zero-shot segmentation: Works on any image domain without fine-tuning
  • Flexible prompts: Points, bounding boxes, or previous masks
  • Automatic segmentation: Generate all object masks automatically
  • High quality: Trained on 1.1 billion masks from 11 million images
  • Multiple model sizes: ViT-B (fastest), ViT-L, ViT-H (most accurate)
  • ONNX export: Deploy in browsers and edge devices

Details

Repository
github.com/orchestra-research/ai-research-skills
Categories
Data Science & Analytics, AI Agents & LLM Apps
First seen
Jun 3, 2026

Questions

What does the segment-anything-model skill do?

The segment-anything-model skill uses Meta AI's Segment Anything Model for zero-shot image segmentation. It segments any object in an image using point, box, or mask prompts, or automatically generates all object masks in an image.

How do I install the segment-anything-model skill?

Run npx -y skills add orchestra-research/ai-research-skills --skill segment-anything-model -y in your project. After that, the segment-anything-model skill lets the agent segment objects in images with SAM.

Where does the segment-anything-model skill sit in the Data Science & Analytics category?

The segment-anything-model skill is listed in the Data Science & Analytics category on Claude Marketplaces, next to azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. Its focus is image segmentation rather than data analysis or instrumentation.

What do I need to run the segment-anything-model skill?

The segment-anything-model skill needs the segment-anything package, transformers version 4.30.0 or newer, and torch version 1.7.0 or newer. It also needs a SAM checkpoint file, such as ViT-B at about 375 MB, ViT-L at about 1.2 GB or ViT-H at about 2.4 GB.

More from orchestra-research/ai-research-skills

All 92

Similar to Segment Anything Model

More Data Science & Analytics