Segment Anything Model

SAM: zero-shot image segmentation via points, boxes, masks.

9 stars 2 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Lord1Egypt/RA-Skills --skill segment-anything-model
Manual install
git clone --depth 1 https://github.com/Lord1Egypt/RA-Skills.git /tmp/RA-Skills
mkdir -p ~/.claude/skills
cp -r /tmp/RA-Skills/skills/built-in/mlops/models/segment-anything ~/.claude/skills/segment-anything-model

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 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

**Use alternatives instead:**
- **YOLO/Detectron2**: For real-time object detection with classes
- **Mask2Former**: For semantic/panoptic segmentation with categories
- **GroundingDINO + SAM**: For text-prompted segmentation
- **SAM 2**: For video segmentation tasks

## Quick start

### Installation

```bash
# From GitHub
pip install git+https://github.com/facebookresearch/segment-anything.git

# Optional dependencies
pip install opencv-python pycocotools matplotlib

# Or use HuggingFace transformers
pip install transformers
```
Read the full skill on GitHub

Details

Skill name
segment-anything-model
Path
skills/built-in/mlops/models/segment-anything/SKILL.md
Repo updated
17 November 2026

FAQ

What does the Segment Anything Model skill do?

SAM: zero-shot image segmentation via points, boxes, masks.

How do I install the Segment Anything Model skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Lord1Egypt/RA-Skills --skill segment-anything-model. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Segment Anything Model popular?

It lives in Lord1Egypt/RA-Skills, which has 9 GitHub stars and 2 forks.

Related skills

Account Management

9

Lord1Egypt/RA-Skills

Reach the Plug&Pay Customer Portal (portal.plugandpay.com/login/{merchant-slug}) where a customer manages their account: view subscriptions, download invoices, edit billing details, change payment term, and cancel/resume a subscription. Documents the passwordless magic-link lo…

Documents & Office Files

Add Items to Cart

9

Lord1Egypt/RA-Skills

Resolve a free-text grocery list to specific King Soopers products (UPC, brand, size, price), ask follow-up questions for ambiguous items, then add the confirmed products to the signed-in user's cart for pickup or delivery.

Frontend & Design

Add to Cart

9

Lord1Egypt/RA-Skills

Find a product on kmart.com.au by natural-language query, navigate to the product detail page, capture title/price/SKU/availability, and drive the read-only pre-checkout flow up to the bag (/checkout/bag). Never submits an order — stops at the bag review screen. Documents the …

Other

Serving Llms Vllm

9

Lord1Egypt/RA-Skills

vLLM: high-throughput LLM serving, OpenAI API, quantization.

AI, LLMs & Agents

Search Skills Plugins Subagents

9

Lord1Egypt/RA-Skills

Search the AgentPowers marketplace for skills, agents (subagents), and plugins by keyword, type, and category — returning slug, title, description, type, price, security status, install/download counts, rating, author, and source (native vs. external like ClawHub).

AI, LLMs & Agents

Sf Court Booking

9

Lord1Egypt/RA-Skills

Reserve a tennis or pickleball court in the San Francisco Recreation & Park system via rec.us. Prompts for activity, date, and time window; logs in; selects the first available reservable slot in the window; confirms the booking; returns the confirmation code.

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.