Agent skill · research science · aiskillstore

histolab

Digital pathology image processing toolkit for whole slide images (WSI). Use this skill when working with histopathology slides, processing H&E or IHC stained tissue images, extracting tiles from gigapixel pathology images, detecting tissue regions, segmenting tissue masks, or preparing datasets for computational pathology deep learning pipelines. Applies to WSI formats (SVS, TIFF, NDPI), tile-based analysis, and histological image preprocessing workflows.

Why this skill is useful

Provides domain-specific commands for processing whole slide images and automating tissue detection that the AI wouldn't reliably generate on its own.

What it needs

Requires histolab installed locally. About 9k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Histolab 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, and prepares datasets for deep learning pipelines. The library handles multiple WSI formats, implements sophisticated tissue segmentation, and provides flexible tile extraction strategies. Installation Quick Start Basic workflow for extracting tiles from a whole slide image: Core Capabilities 1. Slide Management Load, inspect, and work with whole slide images in various formats. Common operations: Loading WSI files (SVS, TIFF, NDPI, etc.) Accessing slide metadata (dimensions, magnification, properties) Generating thumbnails for visualization Working with pyramidal image structures Extracting regions at specific coordinates Key classes: Slide Reference: references/slidemanagement.md contains comprehensive documentation on: Slide initialization and configuration Built-in sample datasets (prostate, ovarian, breast, heart, kidney tissues) Accessing slide properties and metadata Thumbnail generation and visualization Working with pyramid levels Multi-slide processing workflows Example workflow: 2. Tissue Detection and Masks Automatically identify tissue regions and filter background/artifacts. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/histolab

View the source on GitHub

Browse the @skills marketplace