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'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: Generate masks from foreground/background points, 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 via SamAutomaticMaskGenerator. - Deployment & Integration: Export to ONNX for browser and edge deployment, or use HuggingFace Transformers (SamModel/SamProcessor) for pipeline integration. - Use Case: Build an annotation tool where a user clicks an object in an image and SAM returns a pixel-accurate mask, which is then exported in COCO RLE format to create training data for a downstream detection model. ## Quick Start Use the segment-anything skill to segment the object at a clicked point in my image and return the highest-scoring mask.