agentsclimarketplace

Segmentation

Skill BioTender-max/awesome-bio-agent-skills/skills/pantheon/segmentation

Cell and nucleus segmentation tools for microscopy images. Covers Cellpose, SAM-based methods, StarDist, InstanSeg, and Mesmer.From its SKILL.md

Install
npx -y skills add BioTender-max/awesome-bio-agent-skills --skill segmentation

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

3.2 KB, 778 tokens by cl100k_base, as published. Nobody here has run it

Cell & Nucleus Segmentation Skills

Instance segmentation tools for cells and nuclei in microscopy images. Use the tool selection guide below to choose the right method, then load the corresponding skill file for detailed usage.

Tool Selection Guide

GoalRecommended ToolSpeedTested
Best overall accuracyCellpose-SAM (v4.x)Moderate (~310s/1024px CPU)✅ 955 cells
Fastest inferenceInstanSegFast (~7s/1024px CPU)✅ 586 cells
Low quality / noisy imagesCellpose 3 (image restoration)Moderate✅
Round nuclei onlyStarDistFastest (~0.5s)✅ 150 cells
Whole-cell (nucleus + membrane)Mesmer / DeepCellModerate⚠️ install issues
Interactive annotation / 3D / trackingmicro-samSlow⚠️ Python 3.10+
Fully automatic, no promptsCellSAMModerate⚠️ Python 3.10+

[!TIP] Start with Cellpose (default in v4.x) for most tasks. It has the best generalization. Switch to InstanSeg if speed matters or you need simultaneous nuclei + cell masks.

[!WARNING] Environment isolation is important. These tools have conflicting dependencies. Cellpose/InstanSeg use PyTorch; StarDist/Mesmer use TensorFlow; SAM-based tools need Python 3.10+. Create separate virtual environments for each tool family:

  • venv-cellpose: Cellpose + InstanSeg (both PyTorch)
  • venv-stardist: StarDist (TensorFlow, numpy<2)
  • venv-deepcell: Mesmer/DeepCell (TensorFlow, strict numpy version)
  • venv-sam: micro-sam / CellSAM (Python 3.10+)

Available Skills

Cellpose

General-purpose cell and nucleus segmentation using Cellpose v4.x (includes Cellpose-SAM with ViT-L backbone). Image restoration, fine-tuning, and 3D segmentation.

Skill file: cellpose.md

When to use: Default choice for most segmentation tasks.

InstanSeg

Fast cell and nucleus segmentation with dual output (nuclei + cells simultaneously). Supports multiplexed images via ChannelNet.

Skill file: instanseg.md

When to use: Speed-critical workflows, multiplexed images, QuPath integration.

StarDist

Nuclear segmentation using star-convex polygon prediction. Extremely fast but assumes round/convex nuclei.

Skill file: stardist.md

When to use: Round nuclei in fluorescence images where speed matters.

Mesmer / DeepCell

Whole-cell segmentation using both nuclear and membrane markers. TissueNet-trained PanopticNet architecture.

Skill file: mesmer.md

When to use: Tissue images with both nuclear and membrane/cytoplasm markers.

SAM-Based Cell Segmentation

Cell segmentation using SAM adaptations: CellSAM (automatic), micro-sam (interactive + 3D), SAMCell (label-free).

Skill file: sam_based.md

When to use: Interactive annotation, 3D/tracking, or label-free brightfield.

What ships with it: 5 files

18.1 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.