FAQ¶
Is this validated?¶
No. PharmaSkills is a toolkit that produces drafts for qualified review. It is not validated GxP software and is not 21 CFR Part 11 or EU GMP Annex 11 compliant. It has a test suite and published benchmarks, which are evidence about the code and the synthetic cases, not a validation of your use. If you intend to rely on any output in a regulated process, you must validate the toolkit for that use under your own quality system. See Guardrails and validation.
It also does not claim CDISC CORE conformance: CORE was not run in the build environment, and reports say which engine produced them.
Can I use it with real data?¶
Only with care. Do not process real patient data unless it has been de-identified and your
organisation permits that use with your chosen model provider. The skills run inside your agent,
so the model route is your choice: use a local OpenAI-compatible endpoint when data must stay on
your machine (see Install). The deterministic
tools run locally and the connectors query public sources only. pharmaskills docs detect-pii
flags identifiers (pattern based; it can miss free text). The committed examples and benchmark
studies are synthetic.
Why no MedDRA?¶
MedDRA, WHODrug, SNOMED CT and UMLS are licensed content that cannot be redistributed in an open
source repository. PharmaSkills never bundles them. If you hold a licence, you supply the files
by path (PHARMASKILLS_MEDDRA_PATH, PHARMASKILLS_WHODRUG_PATH or pharmaskills.toml) and the
tools use them locally. Without them, coded variables are left uncoded and listed, never
guessed. A licence guard in the repository flags dictionary-like files that lack the project's
header.
Does it work offline?¶
Mostly. The deterministic tools (SDTM build and validation, Define-XML, structure checks,
calculators, E2B build and validate) run locally and offline once a CDISC controlled
terminology file is available (--ct-file, or pharmaskills ct sync while online). Skills
that use public connectors (ClinicalTrials.gov, PubMed, openFDA, DailyMed, Open Targets,
UniProt, ChEMBL) need network access, and the committed examples use recorded responses so they
run offline. The agent itself needs a model: use a local model for a fully offline setup.
pharmaskills doctor --no-network checks the environment without network calls.
Which agents are supported?¶
Claude Code, Codex, Cursor, Gemini CLI and OpenCode. The skill format is one SKILL.md per
skill, and the tools are plain Python and an MCP server, so other agents that read skills or
speak MCP can use them too, but only those five have install support. See Install.
How do I add a skill?¶
- Create
skills/<id>/SKILL.mdwith the required frontmatter (name,description,license: Apache-2.0, andmetadatawithstage,tier,standards,tools,inputs,outputs,gxp_note,min_pharmaskills, andlifecycle: [start, end], the program milestones the skill covers, fromtargettopost-market) and the standard sections: Purpose, When to use / when not to use, Inputs, Workflow, Output contract, Verification, Guardrails, References, Examples. - Add
references/,templates/andevals/cases/*.yamlwith fixtures that are synthetic. Every skill needs at least one adversarial eval with a committed refusal sample. - Lint it:
uv run pharmaskills skills lint --skill <id>. - Run the evals:
uv run pharmaskills eval run --skill <id>. - Add a worked example under
examples/<stage>/<id>/with a README and the real outputs. - Run
make checkandmake docs, then open a pull request. Contributors sign the CLA.
If the skill needs an exact calculation or a validator, add it to the pharmaskills package
first and call it from the skill; see the extension points in the repository's
docs/EXTENSION_POINTS.md.
Is the package published?¶
Yes. Version 1.0 is on PyPI, npm and ghcr.io/aiagentpro/pharmaskills. See
Install.
Who is it for?¶
Clinical programmers, statisticians, medical writers, regulatory and safety professionals, CMC and quality staff and computational scientists who already use an AI agent and want it to follow drug development standards, with output they can check.