segment-anything-model

Segment images into object masks using point, box, or mask prompts.

1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/tangzheng202202/hermes-skills --skill segment-anything-model-tangzheng202202
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: segment-anything-model
Source: https://github.com/tangzheng202202/hermes-skills/tree/main/03-mlops/mlops/models/segment-anything
Command: npx skills add https://github.com/tangzheng202202/hermes-skills --skill segment-anything-model-tangzheng202202

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Foundation model for image segmentation with zero-shot transfer. Use when you need to segment any object in images using points, boxes, or masks as prompts, or automatically generate all object masks in an image.

Core Features & Use Cases

  • Zero-shot segmentation: segment any object in an image using prompts (points, boxes, or masks) or automatic mask generation.
  • Interactive annotation and dataset curation: rapidly annotate large image collections with high-quality masks.
  • Flexible deployment: supports multiple model sizes and prompt configurations for diverse workflows.

Quick Start

Supply an image and prompts (points, boxes, or masks) to retrieve object segmentation masks.

Frequently Asked Questions about segment-anything-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does zero-shot image segmentation work with prompts?

Zero-shot image segmentation uses a foundation model that accepts points, boxes, or existing masks as prompts to generate precise object masks for any image without task-specific training data.

How do I automatically generate all object masks in an image?

To automatically generate all object masks, you supply the image to the segmentation model without manual prompts. The model then processes the image to yield all detectable object masks for rapid annotation and dataset curation.

Can I use points and boxes as prompts for interactive annotation?

Yes, you can use points and boxes as prompts for interactive annotation. The model accepts these spatial prompts to yield high-quality object masks, enabling rapid annotation of large image collections across diverse domains.

What is the best way to segment any object in an image without training?

The best way to segment any object without training is using a zero-shot transfer foundation model that accepts points, boxes, or masks as prompts to retrieve accurate object segmentation masks without custom training.

Does zero-shot segmentation support multiple model sizes for different workflows?

Yes, zero-shot segmentation supports flexible deployment with multiple model sizes and prompt configurations. This allows you to adapt the segmentation process for diverse workflows and rapid prototyping across domains.