WSI processing for digital pathology. Tissue detection, tile extraction (random, grid, score-based), filter pipelines for H&E/IHC. For dataset prep, tile-based DL, slide QC. Use pathml for multiplexed imaging.
SkillScore100Maintained
Automatic
◆Clinical / Healthcare pack
Last verified 8/23/2026
What it changes
Passed 25 of 25 test cases with the skill, and 13 of 25 without it.
Without skill52%
With skill100%
Checks it passed that the model alone missed
Uses CellularityScorer from histolab.scorer.
Recommends using openslide directly rather than histolab.
Sets disk_size parameter when initializing BinaryDilation.
and 14 more in the full report
12 fixed13 passed either way0 still failing0 broke
Pass-rate lift
+48 pp
Tokens
+234%
Agent turns
0%
Response time
-38%
Model gemini-3.6-flashMeasured 8/23/2026v125 of 25 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 12
Prompt
Which built-in histolab scorer class ranks tiles by overall cellular content for use with ScoreTiler?
What was checked, without and with the skill
Checked
Without skill
With skill
Uses CellularityScorer from histolab.scorer.
Missed
Passed
case-15 · 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.md551 lines4 files
Histolab WSI Processing
Overview
Histolab is a Python library for processing whole slide images (WSI) in digital pathology. It automates tissue detection, extracts informative tiles from gigapixel images using multiple strategies, and provides composable filter pipelines for preprocessing. The library handles SVS, TIFF, NDPI, and other WSI formats via OpenSlide.
When to Use
Extracting tiles from whole slide images for deep learning model training
Detecting tissue regions and filtering background/artifacts in histopathology slides
Building preprocessing pipelines for H&E or IHC stained tissue sections
Creating quality-driven tile datasets ranked by nuclei density or cellularity
Performing batch tile extraction across slide collections with consistent parameters
Assessing slide quality and tissue coverage before computational pathology workflows
For raw slide access without tile extraction, use openslide-python directly
For complex multiplexed imaging or spatial proteomics pipelines, use pathml instead