Agent skill

Ask Openmed

by maziyarpanahi in maziyarpanahi/openmed

Choose the first OpenMed workflow skill for an intake, privacy, extraction, exchange, or verification request using deterministic local routing.

Apache-2.0Auto-check passed

Install Ask Openmed

skills CLI
$ npx skills add maziyarpanahi/openmed --skill ask-openmed -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install maziyarpanahi/openmed ask-openmed --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/maziyarpanahi/openmed.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ask-openmed .claude/skills/ask-openmed && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ask-openmed
GitHub stars
5.5k
Token cost
~2.5k tokens
SKILL.md length
956 words
Files
1
Skills in repo
74
Repo updated
First seen
Licence
Apache-2.0

At a glance

Choose the first OpenMed workflow skill for an intake, privacy, extraction, exchange, or verification request using deterministic local routing.

  • Works in 5 steps: Normalize only the stated goal:… → Apply the intake boundary. If the goal… → For a goal with no intake cue, apply the… → …
  • A goal is broad
  • SKILL.md covers Deterministic routing contract, Intake, Privacy and Extraction, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ask Openmed is an agent skill from maziyarpanahi/openmed. Choose the first OpenMed workflow skill for an intake, privacy, extraction, exchange, or verification request using deterministic local routing. Use when a goal is broad, spans several clinical-data stages, or leaves the data-sensitivity status unclear; the privacy gate is selected before downstream work when raw clinical or personal content may be present.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Local-first healthcare AI: clinical NER and HIPAA PII de-identification on hardware you control. 2,200+ medical models, 35 model-backed PII languages, and Python, MLX, Android… The licence is Apache-2.0.

When your agent uses it

  • A goal is broad
  • Spans several clinical-data stages
  • Leaves the data-sensitivity status unclear
  • The privacy gate is selected before downstream work when raw clinical

Example prompts

  • “/ask-openmed”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Normalize only the stated goal: lowercase it, trim surrounding whitespace,
  2. Apply the intake boundary. If the goal matches an Intake row, select the
  3. For a goal with no intake cue, apply the privacy override. If it asks to
  4. Otherwise inspect the remaining tables in the fixed handoff order shown
  5. If no row matches, use building-with-openmed

What it can do on your machine

Read from SKILL.md and the folder at commit 9dca507. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ask Openmed loads about 2.5k tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 956 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~93
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from maziyarpanahi/openmed at commit 9dca507, republished under its Apache-2.0 licence (© maziyarpanahi). 956 words, ~2,512 tokens.

Download SKILL.mdSave it as .claude/skills/ask-openmed/SKILL.md (or your agent's skills folder).
name
ask-openmed
description
Choose the first OpenMed workflow skill for an intake, privacy, extraction, exchange, or verification request using deterministic local routing. Use when a goal is broad, spans several clinical-data stages, or leaves the data-sensitivity status unclear; the privacy gate is selected before downstream work when raw clinical or personal content may be present.
license
Apache-2.0
metadata.project
OpenMed
metadata.category
openmed-core
metadata.pairs
adjacent
metadata.version
1.0

Ask OpenMed

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.

Deterministic routing contract

Apply these rules in order:

  1. Normalize only the stated goal: lowercase it, trim surrounding whitespace, and collapse repeated whitespace. Do not inspect or copy the data payload.
  2. Apply the intake boundary. If the goal matches an Intake row, select the first matching intake skill even when the goal also names a later stage. If sensitivity is unclear, its next handoff is the privacy gate: deidentifying-clinical-text, before extraction, exchange, or verification sees the parsed content.
  3. For a goal with no intake cue, apply the privacy override. If it asks to analyze, extract, exchange, share, upload, or verify clinical or personal content and is not explicitly marked safe, start at the privacy gate. The only safe markers are 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.
  4. Otherwise inspect the remaining tables in the fixed handoff order shown below. Treat each comma-separated cue as a case-insensitive substring of the normalized goal, and select the first matching row. Every cue cell is a comma-separated list of alternatives; conjunctions have no special meaning. Do not add synonyms or infer cues from the payload. This stage order and row order break every tie.
  5. If no row matches, use building-with-openmed as the orientation fallback.

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.

Intake

Choose the first skill for turning an external document or record format into local, processable input.

Goal cuesFirst skillContinue with
laboratory table, lab tableextracting-lab-tablesprivacy, then verification
scan, fax, image, PDF, CSV, table, document OCRingesting-clinical-documentsprivacy, then extraction
C-CDA, CCD, CDA XMLparsing-ccda-documentsprivacy, then extraction
HL7 v2, ADT, ORU, MDM, OBX, pipe-delimited feedparsing-hl7v2-messagesprivacy, then extraction
DICOM header, DICOM-SR metadataextracting-dicom-metadataprivacy, then extraction
pull FHIR records, page FHIR records, FHIR serverfetching-fhir-resourcesprivacy, then extraction

Privacy

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 cuesFirst skillContinue with
remove clinical identifiers, mask clinical identifiers, redact clinical text, anonymize clinical text, de-identify clinical textdeidentifying-clinical-textextraction or exchange
find identifiers, detect identifiers, PII entitiesextracting-pii-entitiesde-identification or review
privacy policy, privacy profileconfiguring-privacy-policiesde-identification
PHI in logs, PHI in errors, PHI in telemetry, no-PHI loggingenforcing-nophi-loggingverification
de-identify non-English text, multilingual de-identificationdeidentifying-multilingual-textextraction
stable pseudonyms, approved linkage pseudonymspseudonymizing-for-gdprverification
Show full SKILL.md (418 more words)Show less

Extraction

Choose the focused skill after intake and privacy handling when the request is about finding or structuring clinical meaning.

Goal cuesFirst skillContinue with
diseases, drugs, anatomy, genes, clinical NERextracting-clinical-entitiesexchange or verification
custom entity labels, zero-shot extractionrunning-zeroshot-nerexchange or verification
housing, food, work, transport, SDOHextracting-sdohverification
lab values, units, reference ranges, abnormal flagsparsing-lab-valuesterminology or exchange
radiology findings, radiology measurements, radiology impressionstructuring-radiology-reportsexchange or verification
note sections, clinical sections, section segmentationsegmenting-clinical-sectionsextraction

Exchange

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 cuesFirst skillContinue with
FHIR R4 resources, export to FHIRexporting-to-fhirbundle or conformance verification
FHIR transaction Bundle, FHIR batch Bundleassembling-fhir-bundlesconformance verification
FHIR Bulk Data export, bulk FHIRexporting-bulk-fhirprivacy, then extraction
SMART-on-FHIR app, SMART-on-FHIR launchscaffolding-smart-on-fhirconformance verification
terminology validation, terminology expansion, terminology translation, terminology serverquerying-terminology-serviceexchange or verification

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 cuesFirst skillDecision or handoff
residual identifiers, de-identification leakageauditing-deid-leakageblock release on a finding
de-identification audit trail, no-PHI audit trailauditing-deidentification-runsretain offsets, hashes, and provenance
leakage gate, release leakageevaluating-with-leakage-gatesfail closed on leakage
re-identification risk, k-anonymity, quasi-identifiersreviewing-reidentification-riskreview residual risk
Safe Harborauditing-safe-harbor-checklistreview the no-PHI report
FHIR US Core, USCDI conformancevalidating-us-corecorrect the resource before exchange
HIPAA privacy checklist, HIPAA security checklistchecking-hipaa-complianceaddress gaps before release

Ambiguous goals and escalation examples

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.

© maziyarpanahi, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/ask-openmed of maziyarpanahi/openmed.

Open the folder on GitHubat commit 9dca507

Compare with similar skills

Ask Openmed next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ask Openmed compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ask Openmed this skillmaziyarpanahi/openmed5.5k—~2.5kAutomated safety check: PassApache-2.0
Privacy Policythedaviddias/Front-End-Checklist74k—~617Automated safety check: PassMIT
Extractalirezarezvani/claude-skills28k—~1.4kAutomated safety check: PassMIT
Privacy Policyphuryn/pm-skills27k—~2.7kAutomated safety check: PassMIT
Data Privacy Controlssickn33/agentic-awesome-skills47k1 repos~3.4kAutomated safety check: PassMIT
Performing Privacy Impact Assessmentmukul975/Anthropic-Cybersecurity-Skills34k—~2.6kAutomated safety check: PassApache-2.0

Similar skills

  • Privacy Policy

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing whether a website has a visible, accessible privacy policy link, particularly in the footer navigation.

    74k GitHub stars~617 tokensUpdated 4 days ago
    Legal & ComplianceAuto-check passed
  • Extract

    alirezarezvani/claude-skills

    Turn a proven pattern or debugging solution into a standalone reusable skill with SKILL.md, reference docs, and examples.

    28k GitHub stars~1.4k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Privacy Policy

    phuryn/pm-skills

    Draft a detailed privacy policy covering data types, jurisdiction, GDPR and compliance considerations, and clauses needing legal review.

    27k GitHub stars~2.7k tokensUpdated yesterday
    Legal & ComplianceAuto-check passed
  • Data Privacy Controls

    sickn33/agentic-awesome-skills

    Data privacy control register: data category, lawful basis, retention period, access roles, encryption and consent requirement per module.

    47k GitHub starsUsed in 1 repo~3.4k tokens
    Legal & ComplianceAuto-check passed
  • Performing Privacy Impact Assessment

    mukul975/Anthropic-Cybersecurity-Skills

    Automates the Privacy Impact Assessment (PIA) workflow including data flow mapping, privacy risk scoring matrices, GDPR Article 35 DPIA and CCPA/CPRA alignment checks, data inventory cataloging, and…

    34k GitHub stars~2.6k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Brand Extract

    nexu-io/open-design

    Extract a complete Brand Kit from a live website by driving the in-app browser.

    100k GitHub stars~3.1k tokensUpdated today
    Productivity & AutomationAuto-check passed

More from maziyarpanahi/openmed

All 74 skills in this repo
  • Checks OpenMed de-identified clinical text against the 18 HIPAA Safe Harbor identifier categories and reports gaps and residual re-identification risk.

    5.5k GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • OpenMed Model Card Writer

    maziyarpanahi/openmed

    Fills in a model card for an OpenMed clinical NER or de-identification model from its evaluation reports: intended use, metrics, subgroups and limitations.

    5.5k GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Walks a data pipeline against the HIPAA Privacy and Security Rule checklist and produces a gap report before it processes patient data.

    5.5k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • ICD-10 Coding Assistant

    maziyarpanahi/openmed

    Suggests candidate ICD-10-CM diagnosis and ICD-10-PCS procedure codes for clinical text extracted by OpenMed, with rationale for a certified coder to review.

    5.5k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • OpenMed ETL to OMOP CDM

    maziyarpanahi/openmed

    Maps OpenMed-extracted, terminology-coded conditions, drugs and measurements into OMOP CDM v5.4 tables for OHDSI and ATLAS analytics.

    5.5k GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Extracting SDOH and Z-Codes

    maziyarpanahi/openmed

    Finds social risks such as housing instability or food insecurity in clinical notes and proposes matching ICD-10-CM Z-codes for a coder to confirm.

    5.5k GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed

Questions about Ask Openmed

What does Ask Openmed do?

Choose the first OpenMed workflow skill for an intake, privacy, extraction, exchange, or verification request using deterministic local routing. Ask Openmed is an agent skill from maziyarpanahi/openmed. Choose the first OpenMed workflow skill for an intake, privacy, extraction, exchange, or verification request using deterministic local routing.

When should I use Ask Openmed?

Ask Openmed fits situations like: A goal is broad; spans several clinical-data stages; leaves the data-sensitivity status unclear; the privacy gate is selected before downstream work when raw clinical.

How do I install Ask Openmed in Claude Code?

Run `npx skills add maziyarpanahi/openmed --skill ask-openmed -a claude-code`. Or copy the skill folder (skills/ask-openmed in maziyarpanahi/openmed) into .claude/skills/ask-openmed in your project. Claude Code loads it when a task matches its description.

How do I install Ask Openmed in Codex?

Run `npx skills add maziyarpanahi/openmed --skill ask-openmed -a codex`. Or copy the skill folder (skills/ask-openmed in maziyarpanahi/openmed) into .agents/skills/ask-openmed in your project. Codex loads it when a task matches its description.

Can I use Ask Openmed in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add maziyarpanahi/openmed --skill ask-openmed -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ask-openmed, .gemini/skills/ask-openmed, .github/skills/ask-openmed and .opencode/skills/ask-openmed in your project.

What does Ask Openmed need to run?

SKILL.md names no scripts, command-line tools or credentials: Ask Openmed is instructions for the agent only.

Does Ask Openmed access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ask Openmed safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ask Openmed use?

Ask Openmed is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ask Openmed use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ask Openmed?

Skills that share tags, products or a category with Ask Openmed: Privacy Policy (thedaviddias/Front-End-Checklist, 74k stars), Extract (alirezarezvani/claude-skills, 28k stars), Privacy Policy (phuryn/pm-skills, 27k stars) and Data Privacy Controls (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ask Openmed?

maziyarpanahi (a GitHub user) maintains it in maziyarpanahi/openmed, which has 5,500 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on October 9, 2026.

Source: maziyarpanahi/openmed on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.