Skip to main content
ClaudeWave
EN, English
Skill1k repo starsupdated 12d ago

computational-pathology-agent

The computational-pathology-agent processes gigapixel histology images in formats like .svs and .tiff to extract tissue patches and perform segmentation tasks for digital pathology research. Use this skill when preprocessing whole slide images for machine learning workflows, requiring tissue segmentation from background and automated patch generation for downstream analysis.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/beita6969/ScienceClaw /tmp/computational-pathology-agent && cp -r /tmp/computational-pathology-agent/skills/computational-pathology-agent ~/.claude/skills/computational-pathology-agent
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

<!--
# COPYRIGHT NOTICE
# This file is part of the "Universal Biomedical Skills" project.
# Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>
# All Rights Reserved.
#
# This code is proprietary and confidential.
# Unauthorized copying of this file, via any medium is strictly prohibited.
#
# Provenance: Authenticated by MD BABU MIA

-->

---
name: computational-pathology-agent
description: Analyze Whole Slide Images (WSI) for digital pathology, including tissue segmentation and feature extraction.
keywords:
  - wsi
  - digital-pathology
  - deep-learning
  - resnet
  - openslide
measurable_outcome: Preprocess and extract tissue patches from a 1GB+ .svs slide within 15 minutes for downstream ML tasks.
license: MIT
metadata:
  author: MD BABU MIA, PhD
  version: "1.0.0"
compatibility:
  - system: python 3.9+
allowed-tools:
  - run_shell_command
  - read_file
  - write_file
---

# Computational Pathology Agent

**Version:** 1.0.0
**Author:** MD BABU MIA, PhD
**Date:** February 2026

## Overview
This agent specializes in the analysis of Whole Slide Images (WSIs) for digital pathology. It leverages Deep Learning models (ResNet, ViT, HoverNet) to perform segmentation, classification, and feature extraction from gigapixel histology images.

## Capabilities
1.  **WSI Handling:** Efficient reading/tiling of .svs, .ndpi, .tiff files (using OpenSlide/TiffSlide).
2.  **Tissue Segmentation:** Separation of tissue from background.
3.  **Patch Extraction:** Automated generation of patches for ML training/inference.
4.  **Nuclei Segmentation:** Integration with StarDist/HoverNet for cellular analysis.
5.  **Feature Extraction:** Generating feature vectors for slide-level clustering.

## Usage
```python
from Skills.Pathology_AI.Computational_Pathology_Agent.wsi_analyzer import WSIAnalyzer

# Initialize
path_agent = WSIAnalyzer(slide_path="./data/biopsy_001.svs")

# Extract tissue patches
path_agent.extract_patches(patch_size=256, level=1)

# Analyze Nuclei (requires model weights)
# path_agent.segment_nuclei()
```

## Requirements
*   openslide-python
*   opencv-python
*   pytorch
*   scikit-image

<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->
1passwordSkill

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.

academic-deep-researchSkill

Transparent, rigorous research with full methodology — not a black-box API wrapper. Conducts exhaustive investigation through mandated 2-cycle research per theme, APA 7th citations, evidence hierarchy, and 3 user checkpoints. Self-contained using native OpenClaw tools (web_search, web_fetch, sessions_spawn). Use for literature reviews, competitive intelligence, or any research requiring academic rigor and reproducibility.

academic-literature-searchSkill

# Academic Literature Search — 学术文献检索与引用管理

acp-routerSkill

Route plain-language requests for Pi, Claude Code, Codex, OpenCode, Gemini CLI, or ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation.

apple-notesSkill

Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks OpenClaw to add a note, list notes, search notes, or manage note folders.

apple-remindersSkill

Manage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.

article-writingSkill

Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.

arxiv-databaseSkill

Search and retrieve preprints from arXiv via the Atom API. Use this skill when searching for papers in physics, mathematics, computer science, quantitative biology, quantitative finance, statistics, electrical engineering, or economics by keywords, authors, arXiv IDs, date ranges, or categories.