CtrlK
BlogDocsLog inGet started
Tessl Logo

segment-anything-model

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.

55

Quality

65%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./backend/cli/skills/llm-tools/segment-anything/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

61%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A thorough, highly actionable reference with real commands, checkpoints, and code for all major SAM use cases, weakened by length and teaching-oriented background sections. Structure and references are good, but much of the detail belongs in the existing reference files and the workflows lack validation checkpoints for batch operations.

Suggestions

Trim or move background material Claude already knows — the Key features list, architecture diagram, and training-data statistics — to cut the main file's token cost.

Move ONNX deployment, COCO RLE encoding, performance optimization, and the demo workflows into references/advanced-usage.md, leaving the main file as install → quick start → core prompting → links.

Add validation checkpoints to the workflows: after prediction, check predicted_iou/stability_score thresholds before using a mask, and verify mask counts/quality after batched inference runs.

DimensionReasoningScore

Conciseness

The body is mostly dense, useful code with little fluff prose, but it runs ~490 lines and includes background Claude already knows ("Key features" bullets like 'Trained on 1.1 billion masks from 11 million images', the architecture diagram, and 'Comprehensive guide' framing), and several sections could be tightened or offloaded. This fits 'mostly efficient but includes some unnecessary explanation or could be tightened' rather than the 4 anchor's 'minor instances'.

3 / 5

Actionability

Largely copy-paste-ready executable code with real commands, checkpoint URLs, and parameter tables covering the common cases (predictor, automatic mask generation, ONNX export). Not 5 because several snippets reference undefined variables — `cv2` is used before any import, `display_mask` in Workflow 1, and `image_embeddings` in the ONNX example — leaving minor gaps.

4 / 5

Workflow Clarity

There is a logical sequence (install → checkpoints → basic usage → advanced topics), but workflows have no explicit validation or verification checkpoints, and the batched-inference and batch-processing sections lack any output checks, so the batch-operation cap of 3 applies. Mask quality filtering (predicted_iou, stability_score) exists but is presented as an API option, not a workflow checkpoint.

3 / 5

Progressive Disclosure

Good structure with clear section headers and two clearly signaled, one-level-deep references (references/advanced-usage.md and references/troubleshooting.md) that exist and are substantive. Not 5 because a substantial amount of content that would fit the advanced-usage reference (ONNX deployment, COCO RLE format, performance optimization, the three demo workflows) is inlined in the ~490-line main file.

4 / 5

Total

14

/

20

Passed

Description

70%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A solid description that answers both what and when with concrete capabilities and an explicit 'Use when' clause. Its main weaknesses are the second-person voice (which costs it specificity) and missing trigger synonyms like 'SAM' or 'Segment Anything' that users would commonly say.

Suggestions

Rewrite the trigger clause in third person (e.g., 'Use when the user needs to segment objects in images or asks for image segmentation, masks, or SAM'), which also removes the specificity penalty.

Add high-likelihood trigger terms such as 'SAM', 'Segment Anything Model', and 'mask out / cut out objects in an image'.

Mention the deployment capability (ONNX export for browsers/edge) to broaden action coverage.

DimensionReasoningScore

Specificity

The description lists concrete actions ("segment any object in images using points, boxes, or masks as prompts, or automatically generate all object masks"), which would merit a 4, but the second-person phrasing "Use when you need to..." incurs the mandated 1-point reduction for non-third-person voice, landing at 3.

3 / 5

Completeness

Both parts are present: what ("Foundation model for image segmentation with zero-shot transfer") and an explicit when ("Use when you need to segment any object in images... or automatically generate all object masks"). Not 5 because the when-clause states needs rather than concrete user-mention triggers, and the what-sentence is terse.

4 / 5

Trigger Term Quality

Good natural keywords ("image segmentation", "segment any object in images", "points, boxes, or masks", "object masks", "zero-shot"), but "SAM" / "Segment Anything" and common phrasings like "mask out" or "cut out object" are missing. Not 5 because synonym and model-name coverage is incomplete; not 3 because the included terms are ones users would naturally say.

4 / 5

Distinctiveness Conflict Risk

Clear niche (promptable zero-shot image segmentation) with distinct triggers, but it could fire for closely related skills like SAM 2 video segmentation or GroundingDINO text-prompted segmentation, which the body explicitly covers. Minor overlap with closely related skills matches the 4 anchor.

4 / 5

Total

15

/

20

Passed

Validation

68%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 11 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (510 lines); consider splitting into references/ and linking

Warning

metadata_version

'metadata.version' is missing

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

relative_links

Relative link issues: 2 missing

Warning

referenced_paths_exist

Referenced path issues: 1 missing

Warning

Total

11

/

16

Passed

Repository
synthetic-sciences/openscience
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.