Interactive viewer for microscopy. Displays 2D/3D/4D arrays as Image, Labels, Points, Shapes, Tracks layers; supports annotation, plugin analysis, headless screenshots. Core visualization for Python bioimage workflows. Use ImageJ/FIJI for macro processing; napari for Python-native interactive visualization and DL segmentation review.
SkillScore95Maintained
Automatic
◆Research pack
Last verified 8/23/2026
What it changes
Passed 21 of 22 test cases with the skill, and 20 of 22 without it.
Without skill91%
With skill95%
Checks it passed that the model alone missed
Convert the mask array to int32 data type.
1 fixed20 passed either way1 still failing0 broke
Pass-rate lift
+5 pp
Tokens
+286%
Agent turns
0%
Response time
-21%
Model gemini-3.6-flashMeasured 8/23/2026v121 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
A test case the skill fixed. Same model, same prompt, with and without the skill.
Prompt
Segmentation masks containing 300 cell IDs display wrapped or duplicated colors when passed to viewer.add_labels() as a uint8 array. How should the mask array data type be specified to prevent color overflow?
What was checked, without and with the skill
Checked
Without skill
With skill
Convert the mask array to int32 data type.
Missed
Passed
case-05 · gemini-3.6-flash · 8/23/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md375 linessingle file
napari — Multi-dimensional Image Viewer
Overview
napari is a fast, interactive multi-dimensional viewer for scientific data built on PyQt5 and VisPy. It displays NumPy arrays and zarr arrays as layered visualizations — Image layers for raw data, Labels layers for segmentation masks, Points layers for cell centroids, and Shapes layers for ROI annotations. napari integrates with scikit-image, Cellpose, and StarDist via plugins, making it the standard visualization and annotation tool in Python bioimage analysis pipelines. For headless environments (HPC, CI), napari supports offscreen rendering and viewer.screenshot() for automated figure generation.
When to Use
Visually inspecting and quality-checking microscopy images and segmentation masks before quantitative analysis
Annotating training data for deep learning segmentation models (Cellpose, StarDist)
Overlaying multiple image channels (DAPI, GFP, mCherry) with independent contrast and colormap control
Reviewing 3D z-stacks and 4D time-lapse experiments with slider-based navigation
Exporting annotated screenshots or label masks from GUI for publication figures