choosing-openmed-models
Discover and pick the right OpenMed model for a clinical or biomedical task, domain, or language. Use when the user asks which OpenMed model to use, wants to list model categories, find a Disease vs Oncology vs Privacy/PII model, get a PII model for a specific language, search models by size or task, or inspect a model's labels and metadata before loading. Covers list_model_categories, get_models_by_category, get_pii_models_by_language, get_default_pii_model, search_models(ModelQuery(...)), get_model_info, and the openmed models CLI. Pairs with loading-openmed-models.
npx skills add maziyarpanahi/openmed --skill choosing-openmed-models --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Choosing OpenMed Models OpenMed ships a registry of clinical and biomedical NER models grouped into 12 categories. **Never hardcode a model list** — query the registry at runtime so your code stays correct as models are added. This skill helps you go from "I need to find diseases in Spanish discharge notes" to a concrete model key. ## When to use - The user knows the task (find diseases / tumors / PHI) but not the model. - You need the right **PII model for a language** (es, fr, de, …). - You want to filter models by size, task, or tier before loading. - You want to inspect a model's labels, params, and license first. Once you have a key, hand off to `loading-openmed-models` to load it. ## Install ```bash pip install openmed # registry queries work without the [hf] extra ``` ## Quick start: browse categories, then pick ```python import openmed # 1) The 12 categories openmed.list_model_categories() # ['Medical', 'Privacy', 'Anatomy', 'Hematology', 'Chemical', 'Disease', # 'Genomics', 'Oncology', 'Species', 'Pathology', 'Pharmaceutical', 'Protein'] # 2) Models in a category -> list[ModelInfo] for m in openmed.get_models_by_category("Disease"): print(m.model_id, "|", m.size_category
- When to use
- Install
- Quick start: browse categories, then pick
- What ModelInfo tells you
- Disease vs Oncology vs Privacy: worked choices
- Pick a PII model by language
- Structured search with ModelQuery
- Let OpenMed suggest a model from text
- CLI
- Hand-off to / from OpenMed
- Edge cases & gotchas
- Standards & references
pip install openmed # registry queries work without the [hf] extra openmed models list # registry keys (add --include-remote to query the Hub) openmed models info <registry-key> # max sequence length for a key openmed analyze --text "Stage III adenocarcinoma." --model oncology_detection_bigmed_278m
What does the choosing-openmed-models skill do?
Discover and pick the right OpenMed model for a clinical or biomedical task, domain, or language. Use when the user asks which OpenMed model to use, wants to list model categories, find a Disease vs Oncology vs Privacy/PII model, get a PII model for a specific language, search models by size or task, or inspect a model's labels and metadata before loading. Covers list_model_categories, get_models_by_category, get_pii_models_by_language, get_default_pii_model, search_models(ModelQuery(...)), get_model_info, and the openmed models CLI. Pairs with loading-openmed-models.
How do I install it?
Run `npx skills add maziyarpanahi/openmed --skill choosing-openmed-models --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From maziyarpanahi/openmed, a repository with 4,851 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
