Histolab
Histolab: Python toolkit that loads whole slide images, detects tissue, and extracts tiles for pathology deep learning.
- CCM score
- 69 of 100
- skills.sh installs
- 217
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers slide loading, tissue masking, tile extraction with random, grid, and score-based strategies, and preprocessing filters
- Includes reference guides for slide management, tissue masks, tile extraction, and filters, plus built-in sample datasets for prostate, ovarian, breast, heart, and kidney tissue
- Supports SVS, TIFF, and NDPI formats, with
locate_tiles()previews before extraction and atissue_percentthreshold (default 80%) for tile filtering - Designed for computational pathology workflows that prepare H&E or IHC slide datasets for training
Install
$ npx -y skills add davila7/claude-code-templates --skill histolab -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
uv pip install histolab
Quick Start
Basic workflow for extracting tiles from a whole slide image:
from histolab.slide import Slide
from histolab.tiler import RandomTiler
# Load slide
slide = Slide("slide.svs", processed_path="output/")
# Configure tiler
tiler = RandomTiler(
tile_size=(512, 512),
n_tiles=100,
level=0,
seed=42
)
# Preview tile locations
tiler.locate_tiles(slide, n_tiles=20)
# Extract tiles
tiler.extract(slide)
Core Capabilities
1. Slide Management
Load, inspect, and work with whole slide images in various formats.
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Data Science & Analytics, Research & Academic
- First seen
- Jun 3, 2026
Questions
What does the histolab skill do?
The histolab skill gives Claude Code guidance for processing whole slide images in digital pathology, such as SVS, TIFF and NDPI files. It covers detecting tissue regions, segmenting tissue masks, and extracting tiles from gigapixel H&E or IHC slides for deep learning pipelines.
Who is the histolab skill for?
The histolab skill is for developers and researchers preparing histopathology datasets for computational pathology work. It fits tile-based analysis and histological image preprocessing workflows that start from large slide files.
How do I install the histolab skill?
Run npx -y skills add davila7/claude-code-templates --skill histolab -y in a project to install it. Once installed, the histolab skill lets Claude Code load the histolab Python library workflows for slide loading, tissue masking and tile extraction.
Where does the histolab skill sit in its category?
The histolab skill is listed in the Data Science & Analytics category on Claude Marketplaces. Its neighbors there include azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation, and histolab covers digital pathology imaging rather than general analytics.
More from davila7/claude-code-templates
All 398- Neuropixels Analysis217
- Pydeseq2217
- Benchling Integration216
- Hypogenic216
- Notion Template Business216
- Pennylane215
- Zinc Database215
- Cirq214
- Esm214
- Geniml214
- Matchms214
- Broken Authentication Testing213
- Linux Privilege Escalation213
- Metasploit Framework213
- SSH Penetration Testing213
- Twilio Communications213
- Azure Functions212
- Etetoolkit212
- Hubspot Integration212
- Algolia Search211
- Vaex211
- Gtars210
- Network 101210
- WordPress Penetration Testing210
Similar to Histolab
More Data Science & Analyticspathmldavila7/claude-code-templates207 installsComputational pathology toolkit for whole-slide imaging, spatial proteomics, and pathology model training.
pdf-extractionclaude-office-skills/skills9.7K installsStructured PDF extraction skill using pdfplumber for text, tables, and metadata with character-level positioning.
pydicomdavila7/claude-code-templates384 installsPython library for reading, writing, and anonymizing DICOM medical imaging files, with pixel data and metadata tools.
data-extractorclaude-office-skills/skills5K installsStructured document extraction via unstructured, covering PDFs, Word, Excel, email, HTML, and images.
silicon-paddle-ocraotenjou/silicon-paddleocr1.2K installsExtracts text from images via PaddleOCR on SiliconFlow, with single-file, batch, and JSON output.