Routes clinical-data workflow requests to the appropriate OpenMed skill (intake, privacy, extraction, exchange, verification) using deterministic rules and a privacy gate. Useful for multi-stage goals where data sensitivity is unclear.
Ships in openmed-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill as the first pass when a request does not name a focused OpenMed workflow. It selects an existing skill identifier; it does not process input, download a model, call a service, or make a clinical decision. No mandatory network call is part of this route.
Apply these rules in order:
synthetic input, synthetic note, synthetic record, synthetic dataset, input is synthetic, data is synthetic,
already de-identified, and already deidentified. A marker does not count
when no, not, never, unknown, or uncertain occurs in the four
normalized words before it. Treat every ambiguous safety statement as
sensitive.Route output should contain only the selected category, skill identifier, matched rule index, and next handoff. Never echo the request, input values, exception text, or detected spans into a log or report.
For a multi-stage request, route one stage at a time in this fixed handoff order: intake → privacy → extraction → exchange → verification. A later stage does not bypass the privacy gate merely because it was named first.
Choose the first skill for turning an external document or record format into local, processable input.
| Goal cues | First skill | Continue with |
|---|---|---|
| laboratory table, lab table | extracting-lab-tables | privacy, then verification |
| scan, fax, image, PDF, CSV, table, document OCR | ingesting-clinical-documents | privacy, then extraction |
| C-CDA, CCD, CDA XML | parsing-ccda-documents | privacy, then extraction |
| HL7 v2, ADT, ORU, MDM, OBX, pipe-delimited feed | parsing-hl7v2-messages | privacy, then extraction |
| DICOM header, DICOM-SR metadata | extracting-dicom-metadata | privacy, then extraction |
| pull FHIR records, page FHIR records, FHIR server | fetching-fhir-resources | privacy, then extraction |
Use the privacy table both for an explicit privacy goal and for the privacy override. The first row is the default gate for unspecified sensitive input.
| Goal cues | First skill | Continue with |
|---|---|---|
| remove clinical identifiers, mask clinical identifiers, redact clinical text, anonymize clinical text, de-identify clinical text | deidentifying-clinical-text | extraction or exchange |
| find identifiers, detect identifiers, PII entities | extracting-pii-entities | de-identification or review |
| privacy policy, privacy profile | configuring-privacy-policies | de-identification |
| PHI in logs, PHI in errors, PHI in telemetry, no-PHI logging | enforcing-nophi-logging | verification |
| de-identify non-English text, multilingual de-identification | deidentifying-multilingual-text | extraction |
| stable pseudonyms, approved linkage pseudonyms | pseudonymizing-for-gdpr | verification |
Choose the focused skill after intake and privacy handling when the request is about finding or structuring clinical meaning.
| Goal cues | First skill | Continue with |
|---|---|---|
| diseases, drugs, anatomy, genes, clinical NER | extracting-clinical-entities | exchange or verification |
| custom entity labels, zero-shot extraction | running-zeroshot-ner | exchange or verification |
| housing, food, work, transport, SDOH | extracting-sdoh | verification |
| lab values, units, reference ranges, abnormal flags | parsing-lab-values | terminology or exchange |
| radiology findings, radiology measurements, radiology impression | structuring-radiology-reports | exchange or verification |
| note sections, clinical sections, section segmentation | segmenting-clinical-sections | extraction |
Choose an exchange skill only after the source is safe to handle. These skills may use a user-supplied endpoint or terminology service; this router itself performs no network call.
| Goal cues | First skill | Continue with |
|---|---|---|
| FHIR R4 resources, export to FHIR | exporting-to-fhir | bundle or conformance verification |
| FHIR transaction Bundle, FHIR batch Bundle | assembling-fhir-bundles | conformance verification |
| FHIR Bulk Data export, bulk FHIR | exporting-bulk-fhir | privacy, then extraction |
| SMART-on-FHIR app, SMART-on-FHIR launch | scaffolding-smart-on-fhir | conformance verification |
| terminology validation, terminology expansion, terminology translation, terminology server | querying-terminology-service | exchange or verification |
Use verification routes for a stated release, safety, leakage, audit, risk, or conformance check. If the source is not explicitly safe, the privacy override still wins first.
| Goal cues | First skill | Decision or handoff |
|---|---|---|
| residual identifiers, de-identification leakage | auditing-deid-leakage | block release on a finding |
| de-identification audit trail, no-PHI audit trail | auditing-deidentification-runs | retain offsets, hashes, and provenance |
| leakage gate, release leakage | evaluating-with-leakage-gates | fail closed on leakage |
| re-identification risk, k-anonymity, quasi-identifiers | reviewing-reidentification-risk | review residual risk |
| Safe Harbor | auditing-safe-harbor-checklist | review the no-PHI report |
| FHIR US Core, USCDI conformance | validating-us-core | correct the resource before exchange |
| HIPAA privacy checklist, HIPAA security checklist | checking-hipaa-compliance | address gaps before release |
Use the privacy override and the fixed handoff order for ambiguous requests:
These are routing examples only. Keep all demonstrations synthetic or placeholder-based, and keep route diagnostics free of source content.
What SKILL.md sets; muted values are Claude Code's defaults
/openmed-skills:ask-openmedfrom openmed-skills
npx claudepluginhub maziyarpanahi/openmed --plugin openmed-skills74 skills in this plugin
/annotating-variantsAnnotates VCF variants and normalizes HGVS nomenclature with public, license-free annotators (Ensembl VEP REST, VEP/SnpEff/ANNOVAR offline) and links variants to gnomAD population frequencies and the clinical context OpenMed extracts. Use when the user wants to predict variant consequences, map HGVS to genomic coordinates, annotate a VCF, attach allele frequencies, or pair variants with phenotype/oncology context. Trigger keywords: VCF, HGVS, variant annotation, VEP, SnpEff, ANNOVAR, consequence, missense, gnomAD, allele frequency, GRCh38, rsID, transcript. Pairs adjacent to OpenMed: combine annotated variants with Genomics/Oncology entities and phenotype from openmed.analyze_text. Tools used are free; restricted clinical databases are user-supplied./assembling-fhir-bundlesPackage multiple FHIR R4 resources produced from OpenMed output into a single valid transaction Bundle ready to POST to an EHR, using OpenMed's verified bundle assembler openmed.clinical.exporters.fhir.to_bundle. Covers deterministic urn:uuid fullUrls, automatic in-Bundle reference rewriting, request blocks (method/url) for transaction vs batch, and conditional create. Use after exporting-to-fhir when the user has several Condition/Observation/MedicationStatement resources and wants one transaction Bundle, mentions Bundle, transaction, references, or posting to a FHIR server. Builds on exporting-to-fhir; pairs after.Other plugins' skills for the same job