ai4science-studio: Skill for Cursor

.cursor/skills/ai4science-healthcare/SKILL.md

ai4science-healthcare is a skill for Cursor from AMDResearch/ai4science-studio. It costs 36 tokens per session (937 once invoked), scanned A, original, MIT.

A set of instructions for healthcare and life-science machine-learning work in AI4Science Studio, covering areas such as medical imaging, clinical language processing, genomics, and drug discovery. It includes rules for privacy and for keeping research output separate from medical advice.

In plain words
What is it for?
Use it when adding or documenting healthcare models, choosing public or de-identified benchmarks, and describing the limits of research results.
Why use it?
It helps prevent patient-identifying information from entering the repository and avoids presenting experimental results as diagnoses or treatment guidance.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is AMDResearch/ai4science-studio's own configuration. It tells Cursor how to work on ai4science-studio itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai4science-studio configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AMDResearch/ai4science-studio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AMDResearch/ai4science-studio/main/.cursor/skills/ai4science-healthcare/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AMDResearch/ai4science-studio

Made for: Cursor.

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 ai4science-healthcare

README.md
[![agentmods](https://agentmods.dev/badge/skills/amdresearch/ai4science-studio/ai4science-healthcare/github.svg)](https://agentmods.dev/skills/amdresearch/ai4science-studio/ai4science-healthcare)
Your own site
<a href="https://agentmods.dev/skills/amdresearch/ai4science-studio/ai4science-healthcare"><img src="https://agentmods.dev/badge/skills/amdresearch/ai4science-studio/ai4science-healthcare/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 ai4science-healthcare

Your own site · 80×15
<a href="https://agentmods.dev/skills/amdresearch/ai4science-studio/ai4science-healthcare"><img src="https://agentmods.dev/badge/skills/amdresearch/ai4science-studio/ai4science-healthcare.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 937 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.00036 $0.00937
Opus 5 $0.00018 $0.00468
Sonnet 5 $0.00007 $0.00187
Haiku 4.5 $0.00004 $0.00094

Measured 12d ago against content hash a23492d70401, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ai4science-healthcare 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 12d ago.

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.

.cursor/skills/ai4science-healthcare/SKILL.md · 49 lines

How it starts

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

Healthcare & Life Sciences (HCLS) domain

Scope

The healthcare/ domain holds recipes for healthcare and life sciences open models (imaging, clinical NLP, genomics helpers, drug discovery, molecular design, etc.) on Hugging Face. All content is for research and engineering support, not patient care decisions.

Layout

  • Models: healthcare/models/<model-slug>/
  • Slug rules: healthcare/models/README.md
  • Structural template reference: _template/ (repo root)

Mandatory guardrails

  • No PHI: Do not add patient-identifiable information, hospital identifiers, free-text notes from real charts, or internal EHR exports to the repository.
  • Not medical advice: Documentation and scripts must not present outputs as diagnosis, treatment, or clinical guidance.
  • Intended use: Copy or summarize the model card's intended use and limitations into the model README.md.

Agent guidance

  • Prefer public benchmarks (e.g. de-identified challenge datasets) in examples.
  • When discussing evaluation, distinguish offline metrics from regulatory or deployment readiness.
  • If a user asks for real-patient pipelines, redirect to institutional compliance (IRB, BAAs, local policy) outside this repo's scope.

AMD/HPC patterns for healthcare models

GP-MoLFormer

  • Apptainer SLURM path: sbatch_inference_amd.sh clones IBM/gp-molformer inside the container on first run, installs deps via pip install --target /opt/gpmol-pkgs, then calls run_generation.sh. Internet access from compute nodes required for first run. Subsequent runs reuse the clone from GPMOL_WORK_DIR.
  • Upstream uses environment.yml (conda), not requirements.txt. The sbatch script translates conda deps to pip equivalents. Key mappings: pytorch is already in SIF (skip), rdkit becomes rdkit-pypi, pytorch-cuda is skipped (ROCm).
  • No overlay needed: deps are lightweight; runtime install (~1 min) is acceptable. Torch is stripped from --target dir after install to keep the SIF's ROCm torch.
  • fast_transformers unavailable on ROCm: the code falls back to standard PyTorch transformers automatically; no user action needed.
  • Key env vars: GPMOL_SIF (required), GPMOL_WORK_DIR (default: examples dir), SCAFFOLD (empty = unconditional), NUM_BATCHES (default 1 = 1000 molecules), OUTPUT_FILE.
  • ROCm version compat: The ROCm 7.0 SIF (py3.10) fails silently on hosts with newer amdgpu drivers (e.g. kernel module 6.16.6 on MI300A clusters) — torch.cuda.is_available() returns False and generation falls back to CPU (~10-20x slower). Use the ROCm 7.2.2 SIF (py3.12) on such clusters, or set HSA_OVERRIDE_GFX_VERSION=9.4.2 as a workaround. The sbatch script includes a GPU detection check that warns when this happens.
  • rdkit-pypi has no py3.12 wheel: When using the ROCm 7.2.2 SIF (py3.12), the RDKit validity check is gracefully skipped. Molecules are still generated correctly.
  • Validated results:
    • MI300X: 996/1000 valid (99.6%), ~41s wall time (ROCm 7.0 SIF)
    • MI300A: 1000 molecules generated, ~18s wall time (ROCm 7.2.2 SIF)

Read the full file on GitHub · 49 lines

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. 12d ago First seen · 49 lines · 36 tokens per session scan A a23492d70401

Subscribe to this mod's changes

ai4science-healthcare is a skill published in the GitHub repository AMDResearch/ai4science-studio (4 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 937 once invoked, about $0.0002 per session on Opus 5. 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

Other skills, from other repositories

exporting-to-fhir

Convert OpenMed NER output (entities from openmed.analyzetext) into FHIR R4 resources — Condition, MedicationStatement, Observation — using OpenMed's built-in FHIR R4 export helpers in openmed.clinical.exporters. Covers the verified CodeableConcept builder (coding, codeableconcept, systemuri), deterministic fullUrl…

maziyarpanahi/openmed · 163 tokens

batch-processing-clinical-text

Run large-scale batch NER, PII extraction, or de-identification over many clinical notes on-device with OpenMed, with sharding, checkpointing, resumability, and append-only JSONL output. Use when the user needs to process a corpus or folder of notes, de-identify a dataset, run NER over thousands of documents, build a…

maziyarpanahi/openmed · 161 tokens

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…

maziyarpanahi/openmed · 134 tokens

extracting-clinical-entities

Run clinical and biomedical named-entity recognition on medical text with OpenMed's analyzetext. Use when the user wants to extract diseases, drugs, anatomy, genes, or other biomedical entities from notes; needs NER output as dict/json/html/csv; wants to filter by confidence, group entities, toggle sentence detection…

maziyarpanahi/openmed · 118 tokens

loading-openmed-models

Load OpenMed clinical/biomedical NER models from the Hugging Face Hub or a local path and reuse them efficiently across calls. Use when the user wants to load an OpenMed model, control the model cache, run fully offline after a one-time download, reuse a ModelLoader to avoid reloading, set a cachedir or device, or…

maziyarpanahi/openmed · 118 tokens

normalizing-rxnorm

Normalizes drug mentions extracted by OpenMed to RxNorm RxCUIs using the free public RxNav/RxNorm REST API. Use when the user wants to code, standardize, or de-duplicate medication names, resolve a brand/generic/ingredient to a stable RxCUI, link strength+dose-form to an SCD/SBD, attach NDCs, or build a US Core…

maziyarpanahi/openmed · 187 tokens