clinical-nlp

clinical-nlp is a skill for Claude Code, Codex from zamushwani/biomedical-ai-skills. It costs 0 tokens per session (5,089 once invoked), scanned A, original, MIT.

A workflow for extracting structured information from clinical free text such as medical notes and pathology reports. It can identify medical terms, map them to coding systems, detect negation and timing, find adverse events, and remove identifying details.

In plain words
What is it for?
Use it to process research notes, extract diseases and medicines, normalize concepts to systems such as UMLS and ICD-10, detect uncertainty or family history, identify adverse events, analyse time relationships, and de-identify text.
Why use it?
Important clinical facts are often written in inconsistent prose rather than tables. This helps turn that text into structured data while distinguishing, for example, a condition that is present from one that is denied.

Skill for Claude CodeCodex

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

Good fit Use it to process research notes, extract diseases and medicines, normalize concepts to systems such as UMLS and ICD-10, detect uncertainty or family history, identify adverse events, analyse time relationships, and de-identify text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zamushwani/biomedical-ai-skills/clinical-nlp
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 zamushwani/biomedical-ai-skills --skill clinical-nlp
Clone the repo
git clone --depth 1 https://github.com/zamushwani/biomedical-ai-skills

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 clinical-nlp

README.md
[![agentmods](https://agentmods.dev/badge/skills/zamushwani/biomedical-ai-skills/clinical-nlp/github.svg)](https://agentmods.dev/skills/zamushwani/biomedical-ai-skills/clinical-nlp)
Your own site
<a href="https://agentmods.dev/skills/zamushwani/biomedical-ai-skills/clinical-nlp"><img src="https://agentmods.dev/badge/skills/zamushwani/biomedical-ai-skills/clinical-nlp/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 clinical-nlp

Your own site · 80×15
<a href="https://agentmods.dev/skills/zamushwani/biomedical-ai-skills/clinical-nlp"><img src="https://agentmods.dev/badge/skills/zamushwani/biomedical-ai-skills/clinical-nlp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,089 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.
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.00000 $0.05089
Opus 5.5 $0.00000 $0.02036
Sonnet 5.5 $0.00000 $0.01018
Haiku 4.5 $0.00000 $0.00509

Measured 2mo ago against content hash d000b90a426b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clinical-nlp 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 2mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (tests/run_all.py, tests/validate_assertion.py, tests/validate_deidentification.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/clinical-nlp/SKILL.md · 448 lines

How it starts

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

Clinical NLP

Information extraction from clinical free text. Covers note parsing and sectioning, biomedical named entity recognition, concept normalization to UMLS and ICD-10, assertion and negation detection, temporal relation extraction, adverse event identification, and de-identification. Written for public and credentialed research corpora, not for live patient records.

When to Use This Skill

Activate when the user requests:

  • Entity extraction from clinical notes, discharge summaries, or pathology reports
  • scispaCy, medspaCy, cTAKES, MedCAT, or QuickUMLS pipelines
  • Concept normalization to UMLS CUIs, SNOMED CT, RxNorm, or ICD-10
  • Negation, uncertainty, or family-history assertion detection
  • Adverse event or medication extraction from narrative text
  • Temporal relation extraction from notes
  • De-identification of clinical text
  • Choosing between a rule-based pipeline and a clinical transformer

Inputs

Data Type Format Source
Clinical notes Plain text, one note per record MIMIC-IV-Note, n2c2 (both credentialed)
Annotated corpora BRAT .ann, BioC XML, CoNLL n2c2, BC5CDR, NCBI-Disease, MedMentions
Terminology UMLS Metathesaurus (RRF) NLM, licence required
Biomedical abstracts PubMed XML E-utilities, unrestricted

Before Any Code: The Access Question

Clinical text is not like expression data. The corpus decides what you can do.

  PubMed abstracts        open. No agreement. Use freely.
  BC5CDR, NCBI-Disease    open annotated corpora. Good for benchmarking NER.
  MedMentions             open, UMLS-linked. Good for entity linking.
  MIMIC-IV-Note           PhysioNet credentialed: CITI training + signed DUA.
                          Cannot be redistributed, posted, or pasted into a
                          hosted LLM API. The DUA prohibits it.
  n2c2 (formerly i2b2)    separate DUA through the hosting institution.
  UMLS Metathesaurus      free but licensed. Required by QuickUMLS, MedCAT
                          and the scispaCy UMLS linker. You must accept the
                          licence and download it yourself; no package ships it.

Two consequences that catch people:
  - Sending credentialed note text to an external API is a DUA breach, not a
    grey area. Run models locally on that text.
  - Never commit note text, even "de-identified" text, to a repository.
    De-identification is imperfect (below), and the DUA governs regardless.

Develop on the open corpora. Move to credentialed data only inside the
environment the DUA allows.

Read the full file on GitHub · 448 lines

Files

What ships with it

6 files 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. 2mo ago First seen · 448 lines · 0 tokens per session scan A d000b90a426b

Subscribe to this mod's changes

clinical-nlp is a skill published in the GitHub repository zamushwani/biomedical-ai-skills (1 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,089 tokens. 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-31.

Related

clinical-nlp compared with skills from other repositories

clinical-nlp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clinical-nlpzamushwani/biomedical-ai-skillsSkill11mo agoMITA0Claude Code, Codex
lightgbm-analysisaipoch/medical-research-skillsSkill2.0k1mo agoMITA34Claude Code, Codex
cerna-analysisaipoch/medical-research-skillsSkill2.0k1mo agoMITA68Claude Code, Codex
cibersort-immune-infiltration-analysisaipoch/medical-research-skillsSkill2.0k1mo agoMITA92Claude Code, Codex
xgboost-analysisaipoch/medical-research-skillsSkill2.0k1mo agoMITA50Claude Code, Codex
decision-tree-analysisaipoch/medical-research-skillsSkill2.0k1mo agoMITA46Claude Code, Codex
gene-protein-expression-matrix-normalizationaipoch/medical-research-skillsSkill2.0k1mo agoMITA63Claude Code, Codex