One-click install
npx skills add https://github.com/jasrajtulsi/GRAD-SCOPE --skill pathml-jasrajtulsi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pathml
Source: https://github.com/jasrajtulsi/GRAD-SCOPE/tree/main/.claude/skills/pathml
Command: npx skills add https://github.com/jasrajtulsi/GRAD-SCOPE --skill pathml-jasrajtulsi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PathML removes the manual complexity of whole-slide pathology analysis by unifying slide loading, preprocessing, segmentation, spatial analysis, and model training in one workflow.

Core Features & Use Cases

  • Slide ingestion across 160+ WSI formats, including brightfield, DICOM, OME-TIFF, CODEX, and Vectra.
  • Preprocessing and QC with tissue detection, stain normalization, blur, artifact filtering, and mask cleanup.
  • Spatial biology analysis through nucleus and cell segmentation, graph construction, marker quantification, and AnnData export.
  • ML workflows for HoVer-Net, HACTNet, custom PyTorch training, evaluation, and ONNX inference.
  • Use Case: A pathology researcher can load a cohort of H&E or CODEX slides, preprocess them in batches, extract cell-level features, build graphs for downstream modeling, and save reproducible outputs for analysis.

Quick Start

Use PathML to load your pathology slides, build a preprocessing pipeline, and run it on your dataset to generate normalized tiles, masks, features, and downstream analysis outputs.

Frequently Asked Questions about pathml

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

FAQPage Schema
How do I run whole-slide imaging preprocessing for cell segmentation?

Whole-slide imaging preprocessing involves loading slides, applying stain normalization, and detecting tissue and nuclei to prepare data for cell segmentation. You can build a pipeline to batch process slides and generate structured masks and normalized tiles.

What is stain normalization and spatial graph construction in computational pathology?

Stain normalization standardizes color variations across pathology slides, while spatial graph construction maps the physical relationships between segmented cells. Together they enable reproducible spatial biology analysis and marker quantification for downstream modeling.

Can I use PyTorch for HoVer-Net training and ONNX inference on pathology slides?

Yes, PyTorch-based inference and training integrations support HoVer-Net and HACTNet workflows, alongside ONNX inference. This allows you to train custom models, evaluate performance, and run inference on whole-slide imaging data.

Does computational pathology software support CODEX, DICOM, and OME-TIFF formats?

Slide ingestion supports over 160 whole-slide imaging formats, including brightfield, DICOM, OME-TIFF, CODEX, and Vectra. This broad compatibility allows you to load diverse multiparametric imaging cohorts for unified analysis.

How do I export multiparametric imaging data to AnnData for spatial analysis?

After performing nucleus and cell segmentation, you can construct spatial graphs and quantify markers from multiparametric imaging slides. The workflow exports these structured cell-level features directly to AnnData and HDF5 formats for downstream analysis.

What is the best way to handle tissue detection and artifact filtering in brightfield slides?

The best way to handle tissue detection and artifact filtering in brightfield slides is through an automated preprocessing pipeline. This includes tissue detection, blur filtering, artifact removal, and mask cleanup to ensure high-quality tiles for model training.