computational-pathology-agent

computational-pathology-agent is a skill for Claude Code, Codex from beita6969/ScienceClaw. It costs 9 tokens per session (595 once invoked), scanned A, original, MIT.

A tool for analyzing whole-slide images, which are very large digital scans of microscope slides used in pathology. It can separate tissue from background and extract smaller image patches for machine-learning work.

In plain words
What is it for?
Preparing .svs, .ndpi, and .tiff slide scans for machine-learning training or analysis, including tissue segmentation and patch extraction.
Why use it?
It helps process large pathology scans without manually splitting them into usable pieces. The description does not provide enough detail to explain its other analysis features reliably.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Preparing .svs, .ndpi, and .tiff slide scans for machine-learning training or analysis, including tissue segmentation and patch extraction.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beita6969/scienceclaw/computational-pathology-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add beita6969/ScienceClaw --skill computational-pathology-agent
Clone the repo
git clone --depth 1 https://github.com/beita6969/ScienceClaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for computational-pathology-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/beita6969/scienceclaw/computational-pathology-agent/github.svg)](https://agentmods.dev/skills/beita6969/scienceclaw/computational-pathology-agent)
Your own site
<a href="https://agentmods.dev/skills/beita6969/scienceclaw/computational-pathology-agent"><img src="https://agentmods.dev/badge/skills/beita6969/scienceclaw/computational-pathology-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for computational-pathology-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/beita6969/scienceclaw/computational-pathology-agent"><img src="https://agentmods.dev/badge/skills/beita6969/scienceclaw/computational-pathology-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 595 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 6
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00009 $0.00595
Opus 5 $0.00005 $0.00298
Sonnet 5 $0.00002 $0.00119
Haiku 4.5 $0.00001 $0.00060

Measured 10d ago against content hash 51538e945020, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

computational-pathology-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (wsi_analyzer.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/computational-pathology-agent/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.


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

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()

Read the full file on GitHub · 77 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 77 lines · 9 tokens per session scan A 51538e945020

Subscribe to this mod's changes

computational-pathology-agent is a skill published in the GitHub repository beita6969/ScienceClaw (898 stars, last pushed 3mo ago), licensed MIT. It adds 9 tokens to every session and 595 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

biopython

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use…

synthetic-sciences/openscience · 76 tokens

scanpy

Standard single-cell RNA-seq analysis pipeline. Use for QC, normalization, dimensionality reduction (PCA/UMAP/t-SNE), clustering, differential expression, and visualization. Best for exploratory scRNA-seq analysis with established workflows. For deep learning models use scvi-tools; for data format questions use…

synthetic-sciences/openscience · 68 tokens

structure-prediction

Protein structure prediction from sequence. ESMFold-based, single GPU, no MSA needed. Predicts 3D structures with pLDDT confidence scores for drug discovery targets.

synthetic-sciences/openscience · 42 tokens

biomcp

Search and retrieve biomedical data - genes, variants, clinical trials, diagnostic tests, articles, drugs, diseases, pathways, proteins, adverse events, pharmacogenomics, and phenotype-disease matching. Use for gene function, variant pathogenicity, trials, diagnostics, drug safety, pathway context, disease workups…

genomoncology/biomcp · 70 tokens

biomcp-research

Do biomedical literature and variant research with the BioMCP CLI, and file what you learn about the tool itself as issues in the biomcp repo.

genomoncology/biomcp · 36 tokens

biological-expert

Expert-level biology, biotechnology, genetics, bioinformatics, and computational biology. Use when the user mentions biology, biotechnology, genetics, bioinformatics, or genomics, or when the task involves Molecular Biology, Genomics & Bioinformatics, Systems Biology, or Data Analysis.

personamanagmentlayer/pcl · 59 tokens