pathml

Analyze whole-slide pathology images with Python libraries for computational pathology workflows.

13|3|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/tassiovale/claude-code-kit --skill pathml-tassiovale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pathml
Source: https://github.com/tassiovale/claude-code-kit/tree/main/skills/pathml
Command: npx skills add https://github.com/tassiovale/claude-code-kit --skill pathml-tassiovale

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pathml, openslide, bioformats, h5py, torch, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a comprehensive toolkit for computational pathology, addressing the challenges of analyzing and processing whole-slide pathology images with machine learning and image analysis.

Core Features & Use Cases

  • Image Loading & Formats: Supports over 160 proprietary and standard image formats.
  • Preprocessing Pipelines: Modular pipelines for image manipulation, quality control, stain normalization, and tissue detection.
  • Graph Construction: Build spatial graphs for cellular and tissue-level relationships.
  • Machine Learning: Pre-trained models for nucleus detection and segmentation.
  • Multiparametric Imaging: Analyze CODEX, Vectra, MERFISH, and other multiparametric imaging data.
  • Data Management: Efficiently store and manage large pathology datasets using HDF5.
  • Use Case: Process and analyze whole-slide pathology images to train machine learning models for disease diagnosis or tissue analysis.

Quick Start

Use the pathml skill to process and analyze a whole-slide pathology image using the following command:

pathml skill "process_slide.py" --slide_path /path/to/slide.svs

Frequently Asked Questions about pathml

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I process whole-slide pathology images for machine learning training?

Whole-slide pathology image processing for machine learning involves applying modular pipelines for quality control, stain normalization, and tissue detection before storing the prepared datasets in HDF5 format for training models.

What image formats are supported for computational pathology analysis?

Computational pathology analysis supports over 160 proprietary and standard image formats, utilizing backend libraries like openslide and bioformats to load whole-slide images for subsequent preprocessing and machine learning workflows.

Can I use this Skill to analyze multiparametric imaging data like CODEX and MERFISH?

Yes, this Skill analyzes multiparametric imaging data including CODEX, Vectra, and MERFISH formats, enabling researchers to process complex spatial and multiplexed pathology datasets alongside standard whole-slide images.

Do I need PyTorch to run machine learning models for nucleus detection?

Yes, PyTorch is required as a backend dependency to run pre-trained machine learning models for nucleus detection and segmentation, supporting computational pathology workflows with deep learning capabilities.

What is the best way to manage large pathology datasets during image analysis?

Manage large pathology datasets during image analysis by utilizing HDF5 via the h5py dependency, which efficiently stores and handles large whole-slide imaging arrays generated during preprocessing and machine learning workflows.

How do I build spatial graphs for cellular relationships in pathology images?

Build spatial graphs for cellular relationships in pathology images by applying the graph construction features after nucleus detection and segmentation, mapping spatial relationships between cells and tissues for downstream analysis.