Pathology Skills Collection — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Pathology Skills Collection (Plugin) and scored it 92/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 2 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 2 flagged
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Comprehensive clinical pathology toolkit for Claude - 15 specialized skills for surgical pathology QA, template generation, staging, coding, clinical workflow optimization, research integrity, and digital-pathology tool guidance.
🌐 [pathologyskills.patoloji.dev](https://pathologyskills.patoloji.dev/) · Related: [Pathology Report Checker](https://reportskill.patoloji.dev/) (live demo · Hugging Face)
A modular collection of Claude skills for clinical pathologists, QA teams, and researchers:
Required: Claude Code CLI
# Verify installation
claude --versionOptional (for batch processing): Python 3.8+ with dependencies:
pip install -r requirements.txtPick the option that matches how your colleagues use Claude.
Works in Claude Code (terminal CLI, VS Code extension, or JetBrains plugin). No cloning, no scripts, two slash commands inside a Claude Code session:
/plugin marketplace add patolojiAI/pathology-skills-collection
/plugin install pathology-skills@pathology-skills-collectionThat installs all 15 skills at once.
Updating later:
/plugin update # pull the latest version from the marketplace
/reload-plugins # apply the update to the current session/plugin update only downloads — it does not activate the new version in the current session. Run /reload-plugins afterwards to pick up changes to skills, agents, hooks, and plugin MCP servers without restarting Claude Code. A fresh Claude Code session loads the updated version automatically, so /reload-plugins is only needed if you want the changes immediately in your current session.
git clone https://github.com/patolojiAI/pathology-skills-collection.git
cd pathology-skills-collection
./install.sh
# Test
claude "What stage is pT2 N0 M0 for breast using tnm-stage-calculator"Symlinks all 15 skills into ~/.claude/skills/. Uninstall with ./uninstall.sh.
.skill filesEach release publishes a standalone .skill file for every skill (self-contained zip, no shared dependencies). Upload one through the Claude.ai web app or the Claude desktop app:
download the .skill file. (Direct-clicking starts the download for some browsers but may try to "open" it for others.)
select the downloaded file. Repeat for each skill.
All links point at the latest release automatically — they don't need updating when a new version is published.
Download all 15 from the [Releases page](https://github.com/patolojiAI/pathology-skills-collection/releases/latest), or pick individual files:
| # | Skill | Direct download |
|---|---|---|
| 1 | pathology-compliance-checker | pathology-compliance-checker.skill |
| 2 | pathology-template-generator | pathology-template-generator.skill |
| 3 | tnm-stage-calculator | tnm-stage-calculator.skill |
| 4 | pathology-coder | pathology-coder.skill |
| 5 | pathology-tumor-board-summary | pathology-tumor-board-summary.skill |
| 6 | report-converter | report-converter.skill |
| 7 | breast-pathology-specialist | breast-pathology-specialist.skill |
| 8 | colorectal-pathology-specialist | colorectal-pathology-specialist.skill |
| 9 | pancreas-pathology-specialist | pancreas-pathology-specialist.skill |
| 10 | gastric-pathology-specialist | gastric-pathology-specialist.skill |
| 11 | scientific-similarity-checker | scientific-similarity-checker.skill |
| 12 | reference-verifier | reference-verifier.skill |
| 13 | statistical-methods-reviewer | statistical-methods-reviewer.skill |
| 14 | qupath-guide | qupath-guide.skill |
| 15 | pathology-report-checker | pathology-report-checker.skill |
No terminal, no git, no admin rights needed. Updates: download the new release's .skill file and re-upload.
Older alternative (still works): the Claude.ai Project setup walkthrough — paste SKILL.md into a Project's custom instructions. Use this if your account doesn't yet have the Settings → Capabilities → Skills upload UI.
Once this repo reaches 5+ GitHub stars it's auto-listed on claudemarketplaces.com within 24 hours, which gives a browse-and-install UI. The two-line /plugin marketplace add ... in Option 1 works right now without waiting.
# Compliance checking
claude "Check this breast report using breast-pathology-specialist" < report.txt
# TNM staging
claude "What stage is pT3 N1b M0 for colorectal using tnm-stage-calculator"
# Template generation
claude "Generate blank Whipple template using pathology-template-generator"
# Tumor board summary
claude "Create tumor board summary using pathology-tumor-board-summary" < report.txt
# SNOMED coding
claude "SNOMED code for invasive ductal carcinoma grade 2 using pathology-coder"✅ RECOMMENDED: Use Claude CLI directly (no API key needed)
# Process Excel file with 100 reports - Claude analyzes each with LLM intelligence
claude "Read reports.xlsx and use breast-pathology-specialist to analyze each report. Provide compliance scores and export results to Excel."
# Process all reports in a directory
claude "Analyze all .txt files in reports_dir/ using pathology-compliance-checker and create summary Excel."
# Use the helper script
./batch_process_cli.sh reports.xlsx colorectal-pathology-specialist results/⚠️ ALTERNATIVE: Python API script (requires ANTHROPIC_API_KEY)
Only use this if you DON'T have Claude CLI or need programmatic integration:
# Requires: export ANTHROPIC_API_KEY="your-key-here"
pip install -r requirements.txt
python scripts/process_skill.py --skill breast-pathology-specialist reports.xlsx🚫 DON'T: Ask Claude to "generate a Python script" - it will create regex-only code without LLM intelligence!
15 skills in four groups: clinical workflow tools for daily report QA (including the all-in-one pathology-report-checker), all-in-one specialist skills that handle a tumor type end-to-end, research-integrity skills for manuscripts and statistical reviews, and digital-pathology tooling for software platforms used in practice.
| # | Skill | Group | One-liner |
|---|---|---|---|
| 1 | pathology-compliance-checker | Clinical · single-purpose | CAP/ICCR scoring + pT/pN/margin cross-validation |
| 2 | pathology-template-generator | Clinical · single-purpose | Blank or pre-filled CAP synoptic templates |
| 3 | tnm-stage-calculator | Clinical · single-purpose | AJCC 8th pT/pN/pM → stage group, with consistency checks |
| 4 | pathology-coder | Clinical · single-purpose | SNOMED CT and ICD-O-3 morphology/topography lookups |
| 5 | pathology-tumor-board-summary | Clinical · single-purpose | 3–5 line MDT summary from a full report |
| 6 | report-converter | Clinical · single-purpose | Free-text → CAP synoptic; addenda / amendments |
| 7 | breast-pathology-specialist | Clinical · all-in-one | End-to-end breast cancer workflow |
| 8 | colorectal-pathology-specialist | Clinical · all-in-one | End-to-end colorectal workflow incl. MSI/MMR + TME |
| 9 | pancreas-pathology-specialist | Clinical · all-in-one | End-to-end pancreas workflow incl. 6 Whipple margins |
| 10 | gastric-pathology-specialist | Clinical · all-in-one | End-to-end gastric workflow incl. Lauren / WHO / HER2 |
| 11 | scientific-similarity-checker | Research integrity | Multi-DB literature scan + tiered misconduct warnings |
| 12 | reference-verifier | Research integrity | 4-level citation audit (existence → metadata → topic → context) |
| 13 | statistical-methods-reviewer | Research integrity | Statistical-methods audit on a 0–18 scored rubric |
| 14 | qupath-guide | Digital pathology tooling | QuPath troubleshooting, workflows, and Groovy scripting |
| 15 | pathology-report-checker | Clinical · all-in-one | One-shot CAP/ICCR check + staging + templates + summary + coding + amendments |
All 15 skills auto-detect English and Turkish input. The four tumor specialists share the four core clinical workflows (compliance, staging, templates, summaries) with the single-purpose skills — pick the specialist when you want one skill to own a whole case, or the single-purpose skills when you want them usable across tumor types.
#### 1. pathology-compliance-checker
Validates surgical pathology cancer reports against CAP (College of American Pathologists) and ICCR (International Collaboration on Cancer Reporting) protocols. Performs element-completeness checking, severity-weighted scoring (Critical −15, Major −5, Minor −2 per missing element), and automatic cross-validation of pT vs tumor size, pN vs node count, margins vs R classification, and stage-group consistency.
claude "Check this report using pathology-compliance-checker" < report.txt#### 2. pathology-template-generator
Generates blank or pre-filled CAP-compliant synoptic report templates with every required, conditional, and recommended data element listed. Useful for standardizing department reporting, training residents on synoptic structure, or pre-filling templates before dictation.
[___] placeholders or pre-filled valuesclaude "Generate blank Whipple template using pathology-template-generator"
claude "Pre-fill breast template with 2.3cm Grade 2 IDC using pathology-template-generator"#### 3. tnm-stage-calculator
Fast TNM stage-group calculation from pT, pN, pM categories using AJCC 8th edition criteria. Flags inconsistencies (tumor-size-vs-pT, node-count-vs-pN), validates the pT/pN/pM combination actually exists in AJCC 8th, and gives brief prognostic context.
claude "What stage is pT2 N1a M0 for breast using tnm-stage-calculator"#### 4. pathology-coder
Suggests SNOMED CT and ICD-O-3 morphology / topography codes for pathology diagnoses, procedures, and biomarkers. Includes hierarchical parent / child relationships and synonyms so you can pick the right specificity for LIS integration, tumor-registry reporting, or billing support.
claude "SNOMED code for invasive ductal carcinoma grade 2 using pathology-coder"#### 5. pathology-tumor-board-summary
Distills full pathology reports into concise 3–5 line summaries for multidisciplinary tumor board (MDT) meetings. Extracts diagnosis, TNM stage, margins, lymph nodes, and key biomarkers — only the data points that drive MDT decisions.
claude "Create tumor board summary using pathology-tumor-board-summary" < report.txt#### 6. report-converter
Two-in-one skill: converts free-text narrative pathology reports into structured CAP synoptic format and generates professional amendments, addenda, or corrections for previously-issued reports. Helps clean up legacy reports and supports proper documentation when biomarker results arrive late or errors need correcting.
claude "Convert to synoptic format using report-converter" < narrative_report.txt
claude "Create addendum for HER2 results using report-converter" < original_report.txtThe specialist skills combine compliance, staging, templates, biomarkers, summaries, and coding for a specific tumor type into a single skill. Pick a specialist when you want one tool to handle every part of a case end-to-end.
#### 7. breast-pathology-specialist
Comprehensive breast cancer pathology workflow combining compliance checking (CAP Breast.Invasive, ICCR), TNM staging (AJCC 8th), synoptic templates, biomarker reporting (ER / PR / HER2 / Ki-67 per ASCO/CAP guidelines), tumor board summaries, and SNOMED coding.
claude "Check this breast report using breast-pathology-specialist" < report.txt#### 8. colorectal-pathology-specialist
Comprehensive colorectal cancer pathology workflow with compliance checking (CAP ColoRectal, ICCR), AJCC 8th staging, MSI/MMR testing interpretation (MLH1, PMS2, MSH2, MSH6 patterns and Lynch-syndrome implications), MERCURY mesorectal-excision quality grading (complete / nearly complete / incomplete), tumor board summaries, and SNOMED coding.
claude "Check this colorectal report using colorectal-pathology-specialist" < report.txt#### 9. pancreas-pathology-specialist
Comprehensive pancreatic cancer pathology workflow for exocrine pancreas carcinoma. Covers Whipple / distal-pancreatectomy specimen dissection guidance, axial slicing protocol, the six margin assessments (SMA, SMV, posterior, anterior, pancreatic neck, bile duct), AJCC 8th staging (CAP Panc.Exo, ICCR), compliance scoring, and SNOMED coding.
claude "Check this Whipple report for all margins using pancreas-pathology-specialist" < report.txt#### 10. gastric-pathology-specialist
Comprehensive gastric cancer pathology workflow covering Lauren classification (intestinal / diffuse / mixed), WHO histologic typing, HER2 IHC / FISH interpretation per ASCO/CAP, MSI/MMR status, AJCC 8th staging (CAP Stomach, ICCR), compliance scoring, tumor board summaries, and SNOMED coding.
claude "Check this gastric report, ensure Lauren type specified using gastric-pathology-specialist" < report.txtThese three skills work on research manuscripts, not clinical reports. They save their outputs as markdown files in the current working directory (HTML on request) so you can review them outside the chat.
#### 11. scientific-similarity-checker
Academic-integrity / literature-discovery tool. Takes a scientific article (PDF, image, or plain text) and searches PubMed, OpenAlex, Semantic Scholar, IEEE, arXiv, Crossref, and the web for similar work. Detects similarity by abstract content, topic overlap, author network, and journal / venue, then issues tiered warnings (🔴 likely misconduct · 🟡 needs investigation · 🟢 normal practice · ℹ️ informational) for self-plagiarism, duplicate publication, salami slicing, or related-work blind spots.
<author>-<year>-<title>.md (similarity report) saved in cwd, optional HTML, plus the verdict badge in chatclaude "Use scientific-similarity-checker on this paper" < manuscript.pdf#### 12. reference-verifier
Four-level citation auditor for manuscripts.
| Level | Question |
|---|---|
| 1 — Existence | Does the cited reference actually exist? (Crossref / PubMed / Scholar Gateway) |
| 2 — Metadata | Are the authors, year, journal, volume, pages correct? |
| 3 — Topical relevance | Does the cited paper actually cover the topic it's cited for? |
| 4 — Contextual accuracy | Does the source genuinely support / contradict / stay neutral to the claim? |
Catches fake or hallucinated references and citations that misrepresent the source's findings.
<stem>_audit.md markdown audit + <stem>_refs.bib cleaned BibTeX (HTML optional), saved in cwdclaude "Audit references using reference-verifier" < manuscript.pdf#### 13. statistical-methods-reviewer
Critically reviews the statistical methods of a research article against a 9-aspect rubric scored 0–2 each (total /18):
Also checks the paper against a curated red-flag catalogue (chi-square with expected counts <5, stepwise regression without validation, Cox PH never tested, AUC alone with no calibration, immortal-time bias, dichotomized continuous predictors, etc.) and recommends concrete alternative analyses where the rubric flags issues. Cross-references CONSORT / STROBE / STARD / TRIPOD / PRISMA / REMARK / ARRIVE compliance when applicable.
<slug>-stats-review.md saved in cwd (HTML optional). Includes Overall Rating (🟢 Robust 15–18 / 🟡 Moderate 8–14 / 🔴 Weak 0–7), scored rubric table, red-flag list, and recommendations tableclaude "Review the stats in this paper using statistical-methods-reviewer" < paper.pdfA guidance skill (not a report-processor) that helps you actually drive the software platforms used in digital pathology.
#### 14. qupath-guide
Expert guidance for QuPath, the open-source digital pathology platform (qupath.github.io). Covers four pillars: troubleshooting (errors, "Run for Project does nothing", performance), UI / navigation (tools, panels, keyboard shortcuts, preferences), analysis workflows (cell detection, tissue / pixel classification, TMA dearrayer, IHC scoring for Ki-67 / HER2 / PD-L1, multiplex / mIF), and Groovy scripting (batch processing, custom measurements, data export, automation). Adapts depth to the user's level — from "new to QuPath" to extension developer. When version-specific details matter, fetches official QuPath docs (qupath.readthedocs.io, javadoc, forum.image.sc). Targets QuPath 0.5.x and 0.6.x.
.qpproj / .qpdata files, "Run for Project", "stain vectors", "TMA dearrayer", "detection objects", "Brightfield (H-DAB)", "QuPath cell detection", "IHC scoring", "Groovy script for slides", "QuPath error"claude "Use qupath-guide: my Run for Project script does nothing, no errors"
claude "Use qupath-guide: walk me through Ki-67 scoring on an IHC slide"#### 15. pathology-report-checker
The all-in-one clinical skill: a single skill that does the whole report-QA loop end to end — CAP/ICCR compliance scoring with severity weighting, pTNM staging validation (AJCC 8th), blank/pre-filled synoptic templates, a 3–5 line tumor-board summary, SNOMED CT / ICD-O-3 coding, free-text → synoptic conversion, and amendment/addendum drafting. Self-contained (bundles its own references), and the same skill is published standalone at patolojiAI/pathology-report-checker-skill. It complements rather than replaces pathology-compliance-checker — reach for the report-checker when you want one skill to own a whole case, or the single-purpose skills when you want each step on its own.
claude "Check this pancreas Whipple report for CAP/ICCR compliance" < report.txtpathology-skills-collection/
├── pathology-skills/ # 15 individual skills
├── shared-references/ # Common guidelines (TNM, codes, templates)
├── scripts/ # Python tools (batch, single, watch, file readers)
├── samples/ # Sample reports with expected outputs
├── examples/ # Example inputs/outputs
├── docs/ # Documentation
├── install.sh # Installation script
├── uninstall.sh # Uninstallation script
├── requirements.txt # Python dependencies
├── README.md # This file
├── CLAUDE.md # Development guide
└── LICENSE # MIT licenseContributions welcome! See docs/CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details.
Built for clinical pathologists by pathologists 🔬
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.