Agent skill · research science · aiskillstore

histolab

Lightweight WSI tile extraction and preprocessing. Use for basic slide processing tissue detection, tile extraction, stain normalization for H&E images. Best for simple pipelines, dataset preparation, quick tile-based analysis. For advanced spatial proteomics, multiplexed imaging, or deep learning pipelines use pathml.

Why this skill is useful

Provides domain-specific knowledge for tissue detection and tile extraction in digital pathology 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--0ecd83

View the source on GitHub

Browse the @skills marketplace