What problem does it solve? Segmenting objects in images traditionally requires training task-specific models on labeled datasets. This Skill provides operational guidance for Meta AI's Segment Anything Model (SAM), which produces object masks on any image domain without fine-tuning, using simple point, box, or mask prompts. ## Core Features & Use Cases - Interactive Segmentation: Segment objects with foreground/background point clicks, bounding boxes, or combined prompts, with iterative refinement using previous mask logits. - Automatic Mask Generation: Produce all object masks in an image at once with tunable quality, stability, and density thresholds. - Deployment & Integration: Export to ONNX for browser and edge inference, use HuggingFace Transformers pipelines, or extend with GroundingDINO for text-prompted segmentation and SAM 2 for video. - Use Case: Build an annotation tool where a user clicks an object in a photo, and SAM returns a pixel-accurate mask that is exported as COCO RLE for training a downstream detection model. ## Quick Start Ask the agent to segment the object at a given point in an image using the SAM ViT-H checkpoint and return the highest-scoring mask.