Skip to main content

PharmaSkills

The tested engine for AI agents in pharma.

Skills, an MCP server, live data connectors and checkers on one deterministic engine.
Raw EDC to validated SDTM in seconds, then protocols, CSRs, E2B(R3) safety cases and CMC, from target to label.
The agent drafts. The tools compute and check. You review.

PyPI CI Licence: Apache-2.0 SDTM: 0 validation errors on two synthetic studies Status: 1.0, drafts for qualified review

Works with Claude Code · Codex · Cursor · Gemini CLI · OpenCode · any MCP client

English · 简体中文 · 日本語 · 한국어 · Español · Português (Brasil) · Deutsch · Français

36 skills 104 CLI commands 115 MCP tools 18,771 SDTM records, 100% match
nine lifecycle stages deterministic, byte-identical for any MCP agent 0 errors on two synthetic studies

One engine, every stage. The recording below is six real runs on synthetic data, one per lifecycle stage: SDTM built from raw EDC exports, a compound profile, a first-in-human dose, a trial sample size, a safety signal screen and ICH Q3A impurity limits. Every number comes from tested code, not from the model.

Terminal recording on synthetic data, one scene per lifecycle stage: pharmaskills sdtm run and bench sdtm build SDTM with 0 validation errors and a 100% record match; chem profile checks a compound against Lipinski and Veber; stats hed gives a first-in-human dose; stats sample-size returns 64 per arm; stats disproportionality gives PRR, ROR and IC with its own caveats; cmc impurity-thresholds gives the ICH Q3A limits

Measured proof behind the SDTM scene: raw EDC to SDTM with 0 validation errors on two synthetic studies (PSK-001 and PSK-002), measured 2026-11-13. 100% record match against the gold datasets (18,771 records), byte-identical rebuild, 0.75 s or less per study, validated by the pharmaskills-native 1.0.0 checks (CDISC CORE was not run in this build environment). Details and caveats: Benchmarks.

uvx pharmaskills setup     # installs the tools, 36 skills and the MCP server into every agent it finds

Everything PharmaSkills produces is a draft for qualified review. It is not validated GxP software. See Trust and guardrails.

Why PharmaSkills

Most AI skills for pharma are prompts. The model reads an instruction, then maps the SDTM variables, picks the controlled terms, computes the sample size and grades its own work. Nothing checks it, and the same request can give a different answer tomorrow.

Ask your agent: "Build SDTM from the raw EDC exports in synthetic/studies/PSK-001" What you get
A prompt-only skill Mapping code the model wrote from memory. Conformance, terminology and record counts are whatever the model says they are
PharmaSkills DM, AE, CM, VS, LB, EX and TS datasets, a mapping spec, Define-XML 2.1, a reviewer's guide draft and a traceability matrix, validated and repaired in a loop: 0 errors and a 100% record match against the gold datasets, byte-identical on every rebuild, with a report that names the engine that checked it

One ecosystem

PharmaSkills ecosystem: your agent uses 36 skills, which call 115 MCP tools or 104 CLI commands on a deterministic engine fed by live data connectors; checkers test every output before qualified human review


36 skills
One per lifecycle job, with the standard's structure, templates, references and refusal rules. The agent knows what a CSR, an M11 protocol or a PBRER must contain.

Deterministic engine
A Python CLI with 104 commands: SDTM, Define-XML 2.1, ADaM, SEND, CDASH, E2B(R3), NCA, sample size, HED, PRR, ROR and IC, shelf life, ICH Q3 limits, ICER. Same inputs, byte-identical outputs.

MCP server
115 tools that Claude Code, Codex, Cursor, Gemini CLI, OpenCode or any MCP client can call. Installed with one command.

Live data connectors
PubMed, ClinicalTrials.gov, openFDA (FAERS), DailyMed, Open Targets, UniProt, ChEMBL and CDISC Library. Claims carry PMID, NCT and set ids instead of recalled facts.

Checkers
Required sections for ICH E3, M4, M11, IB, PBRER and DSUR; every CSR number traced to its table; estimands; ICF elements and reading grade; citations; PII.

Evals and benchmarks
197 eval cases (54 adversarial), a 26-test safety and honesty suite, reference calculations and a regression guard. Rerun every number yourself.

Synthetic studies
Two complete studies (PSK-001, PSK-002): raw EDC, protocol, SAP, TLFs and gold SDTM. Try the full pipeline without touching patient data.

Worked examples
One committed example per skill, with inputs, real tool outputs and refusal samples. See what you get before you install.

Guardrails and audit trail
A draft banner on every document, [DATA NEEDED] instead of invented values, and a manifest with SHA-256 hashes for every report.

What you can do with it

  • Turn raw EDC into a study data package. pharmaskills sdtm run profiles the exports, proposes and validates a mapping spec, builds the domains, writes Define-XML 2.1 and a reviewer's guide draft, then validates and repairs in a bounded loop. adam build derives ADSL and ADAE with unit-tested derivations, and define build covers the datasets you add.
  • Write protocols and plans whose numbers add up. stats sample-size covers means, proportions, log-rank, non-inferiority and equivalence and matches published reference values. protocol check-estimands checks the five ICH E9(R1) attributes; protocol-m11 drafts in ICH M11 structure with a schedule of activities.
  • Ship reports with every number traced. docs trace-numbers ties each number in a CSR section to its source table. docs check-structure checks ICH E3, M4, M11, IB, PBRER and DSUR section order and names what is missing.
  • Take a safety case to E2B(R3). safety minimum-criteria, seriousness and expectedness, then safety build-e2b and validate-e2b. stats disproportionality gives PRR, ROR and IC with intervals from openFDA FAERS counts.
  • Get discovery and preclinical numbers from code. chem profile (RDKit descriptors, Lipinski, Veber, PAINS, QED), stats nca (AUC, Cmax, half-life, clearance) and stats hed (human equivalent dose and MRSD from animal NOAELs).
  • Set CMC limits from the ICH tables. cmc impurity-thresholds, solvent-limits, elemental and stability-conditions, and stats shelf-life for an ICH Q1E estimate.
  • Back every claim with a source. Connectors return records with ids, and docs check-citations flags links outside the official regulator domains.

Where it helps in the drug lifecycle

PharmaSkills across the drug development lifecycle: a timeline from target, candidate and IND through phases 1 to 3, filing, approval and post-market, with 36 skills as bars over the milestones they cover in nine lanes; safety, quality, CMC and regulatory work run alongside development, and lifecycle-navigator routes a program to the skills for its next milestones

Stage The job it takes on Skills Checked against
Discovery Target assessment, compound triage, competitor landscape, literature reviews target-dossier, compound-profiler, competitive-landscape, literature-review Open Targets, UniProt, ChEMBL, ClinicalTrials.gov ids; Lipinski, Veber, PAINS; PRISMA counts
Preclinical IND-enabling study plans, SEND conformance, PK, first-in-human dose nonclinical-study-plan, send-checker, pk-nca, fih-dose ICH M3(R2) and S-series checklists; SENDIG; FDA 2005 HED guidance
Clinical development Protocol, consent form, SAP, eCRF, sample size, feasibility, risk-based monitoring protocol-m11, icf-writer, sap-writer, crf-cdash, sample-size, trial-feasibility, rbqm-plan ICH M11, E9(R1) estimands, E6(R3); 21 CFR 50.25; CDASH and CDISC CT
Clinical data Raw EDC to SDTM, ADaM, Define-XML, TLF shells sdtm-mapper, adam-spec, define-xml, tlf-shells SDTMIG and ADaMIG rules, Define-XML 2.1 schema, CDISC CT; CDISC CORE when installed
Regulatory CSR, CTD Module 2, IB, IND assembly, agency query responses, guidance watch csr-e3, ctd-module2, ib-writer, ind-assembler, ha-query-response, regulatory-intelligence ICH E3 and M4 structure; every CSR number traced to a table; 21 CFR 312.23
Safety Case intake to E2B(R3), signal screening, literature surveillance, PBRER and DSUR icsr-e2b, signal-detection, literature-surveillance, aggregate-report ICH E2B(R3), E2D minimum criteria, E2C(R2), E2F; EU GVP VI
CMC and manufacturing Specifications and stability protocols specification-builder, stability-protocol ICH Q6A, Q6B, Q3A to Q3D, Q1A(R2), Q1E
Quality and compliance Deviations and CAPA, computerised system validation deviation-capa, csv-gamp5 GAMP 5, FDA CSA, 21 CFR Part 11, EU Annex 11
Medical and access Labels, cost-effectiveness and budget impact label-writer, heor-model US PLR and EU SmPC section order; DailyMed comparators

Not sure where to start? Ask lifecycle-navigator where your program is. It lists the next milestones and routes every step to a skill in the pack.

Workflows that chain skills

  • Study data package: raw EDC exports, then sdtm-mapper (datasets, spec, reviewer's guide, traceability), define-xml, adam-spec (ADSL, ADAE), tlf-shells, then csr-e3 with every number traced back to its table.
  • Protocol to first patient: trial-feasibility and sample-size, then protocol-m11 with estimands and a schedule of activities, then icf-writer, crf-cdash, sap-writer and rbqm-plan.
  • Target to IND: target-dossier and compound-profiler, then nonclinical-study-plan, pk-nca and fih-dose, then ib-writer, ctd-module2 and ind-assembler with a gap list.
  • Safety case to submission file: an email or literature article goes to icsr-e2b (minimum criteria, seriousness, expectedness, validated E2B(R3) XML), while literature-surveillance and signal-detection feed aggregate-report.

Status: 1.0. Install from PyPI, npm or the Docker image ghcr.io/aiagentpro/pharmaskills. Outputs are drafts for qualified review, not validated GxP software; open verification items are listed in docs/PROGRESS.md. Changes: CHANGELOG.md.

Quickstart

One command (needs uv). It installs the tool, the skills and the MCP server for every agent it finds, then runs doctor:

uvx pharmaskills setup                       # every agent found on this machine
uvx pharmaskills setup --agent claude-code   # or name one (repeatable)
uvx pharmaskills setup --dry-run             # show what would change

Run it again after an upgrade to refresh the skills. Then, in a clone of this repository (git clone https://github.com/aiagentpro/pharmaskills, where the synthetic studies live), ask your agent:

Map the raw EDC exports in synthetic/studies/PSK-001/raw to SDTM and show me the mappings that need review.

Draft CSR section 12 from the TLFs in synthetic/studies/PSK-001/tlf and trace every number.

A patient on drug X had a seizure after the second dose. Here is the email. Build the ICSR.

A working skill calls the tools, shows a check report naming the engine that ran, and writes [DATA NEEDED: ...] instead of inventing anything it was not given.

Prefer to see it without an agent? Clone the repository and run the pipeline yourself:

git clone https://github.com/aiagentpro/pharmaskills && cd pharmaskills
uv sync --extra dev
uv run pharmaskills doctor                       # environment, CORE, terminology cache, agents
uv run pharmaskills sdtm run synthetic/studies/PSK-001 \
  --spec synthetic/studies/PSK-001/gold/spec.yaml \
  --ct-file tests/fixtures/ct/sdtm_terminology_subset.txt --no-model
                                                 # raw EDC to validated SDTM and Define-XML in about a second
uv run pharmaskills eval run                     # 197/197 skill eval cases
uv run pharmaskills bench safety                 # 26/26 safety and honesty tests

Connect your agent

pharmaskills setup does everything below for you. It adds only the pharmaskills entries and keeps your other skills and servers. To install piece by piece:

uv tool install pharmaskills                       # or: pipx install pharmaskills
pharmaskills skills install --agent claude-code    # one skill: add --skill sdtm-mapper
pharmaskills mcp install --client claude-code      # --dry-run prints the exact entry

Claude Code

uvx pharmaskills setup --agent claude-code

Or by hand: skills go to .claude/skills (project) or ~/.claude/skills (user), and the server is one line:

claude mcp add pharmaskills -- uvx pharmaskills mcp serve

Codex

uvx pharmaskills setup --agent codex

Skills go to .agents/skills or ~/.agents/skills. The server, in ~/.codex/config.toml:

[mcp_servers.pharmaskills]
command = "uvx"
args = ["pharmaskills", "mcp", "serve"]

Cursor, Gemini CLI, OpenCode and any MCP client

uvx pharmaskills setup --agent cursor        # or gemini-cli, opencode

Gemini CLI can also install this repository as an extension (gemini-extension.json brings the lifecycle context and a pinned MCP server). Most MCP clients take this shape:

{
  "mcpServers": {
    "pharmaskills": { "command": "uvx", "args": ["pharmaskills", "mcp", "serve"] }
  }
}

pharmaskills mcp install --client <agent> --dry-run prints the exact entry for each client. Tools include sdtm_run, sdtm_validate, sdtm_repair, define_build, adam_build, safety_build_e2b, stats_sample_size, stats_nca, stats_hed, stats_disproportionality, docs_trace_numbers, docs_check_structure, ct_lookup, pubmed_search, clinicaltrials_search, openfda_search and skills_route: 115 in all (reference). Without the tools package, skills still work in a template-only mode that is clearly marked unverified. Details: docs/install.md.

How you know it works

Trust comes in layers. Each one is automated, and you can rerun all of them.

Layer What it proves Run it
Unit and integration tests (900+) Every calculator, builder, validator and connector behaves correctly, on Linux, macOS and Windows, Python 3.11 to 3.14 make test
Reference calculations Tool numbers match published references, such as G*Power for sample size and the FDA 2005 guidance for HED pharmaskills stats accuracy
SDTM benchmark The engine rebuilds the gold SDTM of two synthetic studies: 18,771 records, 100% match, 0 errors, byte-identical on rebuild pharmaskills bench sdtm
Skill evals (197 cases) Each skill's cases, checkers and committed outputs agree, including 54 adversarial cases: missing data, out-of-scope requests and invented-number traps make eval
Safety and honesty suite (26 tests) Guardrails hold: no fabricated NCT or PMID ids, a draft banner on every output, audit manifests with SHA-256 hashes, no licensed dictionaries shipped, dual-use chemistry refused pharmaskills bench safety
Model-mode evals A real agent runs each skill headless and is graded by the same checkers plus a rubric make eval MODE=model SKILL=csr-e3
Regression guard Fails when a quality metric drops or an error count rises between runs pharmaskills bench compare

What the tests do not prove. The data is synthetic. CDISC CORE runs only where you install it. Deterministic evals replay recorded answers, so they test the checkers and not the model's writing. Some ICH and E2B(R3) citations are flagged for expert verification. Before any output enters a regulated process, a qualified person must review it and you must validate the tool for your intended use. The csv-gamp5 skill shows how.

Benchmarks

Published numbers are read from bench/results/ by a script. A number with no result file is not published.

Benchmark Result Source (2026-11-13)
SDTM mapper, PSK-001 0 errors, 2 warnings; spec accuracy 117/117; record match 100% of 10,410; 0.75 s; rebuild identical: yes bench/results/2026-11-13/sdtm.json
SDTM mapper, PSK-002 0 errors, 2 warnings; spec accuracy 112/112; record match 100% of 8,361; 0.53 s; rebuild identical: yes bench/results/2026-11-13/sdtm.json
Tool accuracy suite 7/7 reference calculations matched (100%) bench/results/2026-11-13/tools.json
Skill evals (deterministic replay, 36 skills) 197/197 cases pass (100%) bench/results/2026-11-13/deterministic.json
Safety and honesty suite 26/26 tests pass bench/results/2026-11-13/safety.json
  • The SDTM benchmark runs the deterministic engine on a committed gold specification of two synthetic studies. It shows the engine reproduces the gold datasets exactly. It does not measure a model drafting a spec, and it is not a result on real data.
  • Validation used the native engine (pharmaskills-native). CDISC CORE was not run in the build environment, so no CORE conformance is claimed. Reports always name the engine.
  • Skill evals are a deterministic replay of recorded answers, not a model measurement.

Methodology and per-domain tables: docs/benchmarks.md.

Skill catalogue

36 skills: 24 Tier 1 (backed by a deterministic tool or validator) and 12 Tier 2 (templates, references and a scored rubric). One page per skill is on the docs site.

Skill Stage Tier What it produces Verified by
competitive-landscape Discovery 1 Build a competitor program landscape from ClinicalTrials.gov for an indication or mechanism, grouped by sponsor, mechanism, phase and status, with withdrawn trials separated and readout dates. connectors clinicaltrials search, trials landscape
compound-profiler Discovery 1 Profile small molecules from SMILES or SDF (MW, cLogP, TPSA, HBD, HBA, rotatable bonds, Lipinski, Veber, PAINS and Brenk alerts, QED) and interpret developability risks. chem profile, chem alerts
literature-review Discovery 1 Run a PubMed literature review. connectors pubmed build-query, connectors pubmed search, connectors pubmed fetch, lit check-prisma, lit check-screening-log
target-dossier Discovery 1 Build a target assessment dossier for a gene or protein and disease from Open Targets, UniProt, ChEMBL and PubMed with source ids on every claim, risks, competition and a low-evidence warning. connectors opentargets search, connectors opentargets fetch, connectors uniprot search, connectors uniprot fetch, connectors chembl search, connectors pubmed search
fih-dose Preclinical 1 Derive a first-in-human starting dose from animal NOAELs (HED by body surface area, most sensitive species, safety factor, MRSD) and recommend a MABEL approach for high-risk biologics. stats hed
nonclinical-study-plan Preclinical 2 Draft an IND-enabling nonclinical study plan by clinical stage and modality (ICH M3(R2), S7A, S7B, S2(R1), S5(R3), S6(R1), S9), with a required-study checklist, timeline and gap list. reg required-studies
pk-nca Preclinical 1 Run noncompartmental PK analysis on concentration-time data (AUClast, AUCinf, Cmax, Tmax, half-life, CL/F, Vz/F) with documented BLQ handling and summary statistics. stats nca
send-checker Preclinical 1 Validate SEND (SENDIG) XPT datasets with pharmaskills send validate, summarise findings by domain and severity, and report honestly whether CDISC CORE or the native structural checks ran. send validate
crf-cdash Clinical development 1 Derive an eCRF specification from a protocol schedule of activities, with forms per visit mapped to CDASH variables and controlled terminology codes with codelist ids. cdash map, cdash build-spec, ct lookup, ct codelist
icf-writer Clinical development 1 Draft an informed consent form in plain language from a protocol summary, check the 21 CFR 50.25 elements and the reading grade, and explain randomisation for placebo designs. docs check-icf, docs readability
protocol-m11 Clinical development 1 Draft a clinical trial protocol in ICH M11 structure with a five-attribute estimand for every primary endpoint, a schedule of activities and comparable trials, then check structure. docs check-structure, protocol check-estimands, protocol check-soa, trials feasibility, stats sample-size
rbqm-plan Clinical development 2 Draft a risk-based quality management plan and risk register from a protocol under ICH E6(R3) and E8(R1), covering critical-to-quality factors, key risk indicators, quality tolerance limits and a monitoring strategy, then check the register for completeness. protocol check-risk-register, protocol check-estimands
sample-size Clinical development 1 Write a sample size justification with formula, inputs, result and sensitivity table for means, proportions, log-rank, non-inferiority and equivalence designs, with dropout inflation. stats sample-size
sap-writer Clinical development 2 Draft a statistical analysis plan from a protocol and its estimands under ICH E9 and E9(R1), covering analysis sets, estimand handling, primary and sensitivity analyses, multiplicity, missing data, interim analyses and planned TLFs, then check structure and estimands. docs check-structure, protocol check-estimands, docs build
trial-feasibility Clinical development 1 Assess feasibility from comparable completed trials on ClinicalTrials.gov with enrolment rate per site-month where inputs exist, country footprint and common exclusion criteria. connectors clinicaltrials search, trials feasibility
adam-spec Clinical data 1 Specify ADSL and ADAE from SDTM datasets and the SAP, then build the datasets, derivation programs and spec workbook with unit-tested derivations. adam build, adam test
define-xml Clinical data 1 Build, validate and render Define-XML 2.1 for SDTM datasets from a study folder and mapping spec, and report coverage of datasets, variables and codelists. define build, define validate, define render
sdtm-mapper Clinical data 1 Turn raw EDC exports into SDTM datasets (DM, AE, CM, VS, LB, EX, TS), a mapping spec, Define-XML 2.1, a reviewer's guide draft and a traceability matrix, validated and repaired in a loop. sdtm init, sdtm profile, sdtm validate-spec, sdtm review, sdtm build, sdtm validate, sdtm repair, sdtm document, sdtm run
tlf-shells Clinical data 2 Generate numbered table, listing and figure shells and a tlf_index.csv from a statistical analysis plan, with placeholders only and AE tables by SOC and PT, then check numbering and that every SAP analysis has a shell. protocol check-tlf-shells, docs build
csr-e3 Regulatory 1 Draft clinical study report sections structured to ICH E3 from a protocol, SAP and TLF outputs, with every number traced to its source table. docs trace-numbers, docs check-structure --standard ich-e3, docs detect-pii
ctd-module2 Regulatory 1 Draft CTD Module 2 summaries (2.4 and 2.6 nonclinical, 2.5 and 2.7 clinical) from study summaries, check ICH M4 numbering, add cross-references to Modules 4 and 5, and produce a gap list. docs check-structure --standard ich-m4, reg ctd-map
ha-query-response Regulatory 2 Draft a health authority query response that restates each question, answers with cited data and guidance, flags insufficient data, and lists commitments separately; checks citations with a tool. docs check-citations, docs build
ib-writer Regulatory 2 Draft an investigator's brochure and its reference safety information from nonclinical, clinical and CMC summaries, with a required-section check and frequency-labelled candidate ADRs. docs check-structure --standard ib, docs build
ind-assembler Regulatory 1 Map available documents to 21 CFR 312.23(a) IND content items, Form 1571 and 1572 fields and eCTD placement, and list gaps such as a missing investigator's brochure. reg ind-checklist, reg ctd-map
regulatory-intelligence Regulatory 2 Fetch an official guidance page (FDA, EMA, ICH, MHRA), summarise what changed, state effective dates or mark them unknown, and assess impact on the user's program, with source links checked against an official-domain list. docs check-citations --require-official-links
aggregate-report Safety 2 Draft a PBRER (ICH E2C(R2)) or DSUR (ICH E2F) section structure with data placeholders, a stated reporting interval and a structured benefit-risk framework; checks mandatory sections. docs check-structure --standard pbrer, docs check-structure --standard dsur, docs build
icsr-e2b Safety 1 Turn an email, call note or literature article into a structured case.json, check ICH E2D minimum criteria, seriousness and expectedness, and build and validate an E2B(R3) ICSR XML draft. safety minimum-criteria, safety seriousness, safety expectedness, safety build-e2b, safety validate-e2b
literature-surveillance Safety 2 Run a weekly PubMed search for named products, screen every record for the four ICSR minimum criteria and safety findings (EU GVP VI.B.1.1.2), log each decision with a reason, and document no-result weeks. connectors pubmed build-query, connectors pubmed search, lit check-screening-log
signal-detection Safety 1 Screen a drug-event pair in FAERS with openFDA 2x2 counts and PRR, ROR and IC with intervals, and write a signal report that states the limits of spontaneous reports. connectors openfda search, stats disproportionality
specification-builder CMC and manufacturing 1 Draft drug substance and drug product specifications per ICH Q6A (small molecules) or Q6B (biologics) with impurity thresholds from Q3A and Q3B, residual solvent limits from Q3C and elemental limits from Q3D, as an Excel workbook and a rationale. cmc impurity-thresholds, cmc solvent-limits, cmc elemental
stability-protocol CMC and manufacturing 1 Draft an ICH Q1A(R2) stability protocol with storage conditions and time points by climatic zone and pack, a Module 3.2.P.8 outline, and an ICH Q1E shelf-life estimate when data are supplied. cmc stability-conditions, stats shelf-life
csv-gamp5 Quality and compliance 2 Draft a computerised system validation pack using a GAMP 5 risk-based approach, FDA CSA and Part 11 and Annex 11 checks, including AI agent controls. quality part11-checklist, docs build, docs detect-pii
deviation-capa Quality and compliance 2 Structure a GMP deviation investigation (timeline, 5 whys, Ishikawa), assess product impact, and draft CAPA with owner, due date and effectiveness check. quality check-capa, docs build, docs detect-pii
heor-model Medical and access 1 Compute an ICER with dominance logic and a one-way sensitivity table, and a multi-year budget impact, from supplied costs, QALYs, population and uptake; write a summary and an Excel model. stats icer, stats budget-impact
label-writer Medical and access 1 Draft US PLR prescribing information or an EU SmPC in the required section order, fetch a comparator label from DailyMed by name and compare it section by section, and check structure. connectors dailymed search, connectors dailymed fetch, docs check-structure
lifecycle-navigator All stages 2 Place a drug program on the nine-stage lifecycle map, list the next regulatory milestones and required studies or documents, and route every step to a skill that exists in the pack. skills list, skills route, reg required-studies, reg ind-checklist

How it compares

PharmaSkills Other skill packs General chat assistants
Lifecycle structure, templates and refusal rules Yes Yes No
Numbers computed by tested code, byte-identical on rerun Yes No No
Every output checked against the standard it claims, engine named Yes No No
Builds and validates SDTM, Define-XML, ADaM and E2B(R3) files Yes No No
Claims carry source ids from live public data Yes Rarely Varies
Eval suite with adversarial cases you can rerun Yes Rarely No
Runs locally, no telemetry, open source Yes Varies No

Trust and guardrails

  • Drafts, not validated software. A draft banner on every generated document. PharmaSkills is not validated GxP software, and not 21 CFR Part 11 or EU GMP Annex 11 compliant. The csv-gamp5 skill explains how to validate it for your own use.
  • Deterministic: the same inputs give byte-identical outputs on every operating system.
  • No fabrication: missing inputs become [DATA NEEDED: ...], never invented values.
  • Audit trail: every report gets a manifest with the command, tool version and SHA-256 hashes.
  • Local and private: no telemetry. The tools run locally; connectors only query public sources, and you can point your agent at a local model when data must stay on your machine.
  • No licensed content: MedDRA, WHODrug, SNOMED CT and UMLS are not included. Bring your own licensed files.
  • Safety outputs (icsr-e2b, signal-detection) do not replace your reporting obligations.
  • Honest limits: some rules rest on instruction text only. See docs/guardrails-validation.md and DISCLAIMER.md.

Every skill has a synthetic, committed example (inputs, real tool outputs, refusal samples) under examples/. Commands and headline outputs: docs/examples-gallery.md.

Stage Example
Discovery compound-profiler
Preclinical fih-dose
Clinical development sample-size
Clinical data sdtm-mapper
Regulatory csr-e3
Safety signal-detection
CMC and manufacturing stability-protocol
Quality and compliance csv-gamp5
Medical and access heor-model

Roadmap

Planned for v1.x: ADaM beyond ADSL and ADAE; SDTM domains beyond the six core (plus TS); eCTD XML backbone; MedDRA and WHODrug auto-coding (user-licensed); RWE study design; medical information letters; promotional review; pediatric plans; orphan designation; device and combination products.

Contributing

PharmaSkills grows with the people who use it. Good places to start:

  • Propose a skill with the new skill form. A skill is a skills/<id>/SKILL.md with references, templates and at least three eval cases (one adversarial). Lint with pharmaskills skills lint and run pharmaskills eval run --skill <id>.
  • Report a standards change when ICH, CDISC or a regulator updates a guideline.
  • Pick up a good first issue or ask in Discussions.
  • Translate the README (translation guide).

Read the contributing guide and the code of conduct. Contributors sign the CLA. Use synthetic data only: never put real patient data, confidential documents or licensed dictionary content in issues or fixtures. Report security problems privately (SECURITY.md). If you use PharmaSkills in research, please cite it (CITATION.cff).

Learn more

Docs site · Quickstart · Install · SDTM mapper guide · Lifecycle · CLI reference · MCP tools · Benchmarks · Guardrails · Extension points · FAQ · Decisions · Changelog

Official channels

PharmaSkills is published only from these places. A package, fork or site that uses the name anywhere else is not the official project and is not reviewed by its maintainers.

Licence

Code: Apache-2.0 (LICENSE, NOTICE). Examples and synthetic data: CC BY 4.0. PharmaSkills™ and the PharmaSkills logo are trademarks of the project owner and are not licensed under Apache-2.0 (TRADEMARKS.md).

Metadata

Release files for pharmaskills 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pharmaskills 1.0.2
File Size Uploaded Provenance Actions
pharmaskills-1.0.2.tar.gz 1.0 MB With provenance Details for pharmaskills-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pharmaskills 1.0.2
File Interpreter ABI Platform Actions
pharmaskills-1.0.2-py3-none-any.whl Python 3 none any Details for pharmaskills-1.0.2-py3-none-any.whl

Total release size: 1.7 MB

Release files / pharmaskills-1.0.2.tar.gz

Download URL pharmaskills-1.0.2.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
f2ac5bddc159d1ab0299514d0dd1bb297d67b75ee6a1fbfca9484e8b0c0c73e9
BLAKE2b-256 checksum
How to use checksums
d5f9532484192a2b96b0958da00db9a2583bdd2c75de9e45e270e2959f353b83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / pharmaskills-1.0.2-py3-none-any.whl

Download URL pharmaskills-1.0.2-py3-none-any.whl
Size 657.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed7cc3f821a4793a1f01a8c18e5a925c0a0b8cbd233de2faf50b1011cae4e47e
BLAKE2b-256 checksum
How to use checksums
2c6f3a00215a62f8d535b58fe30358c5ade56f877086f37670592a89a463b556
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for pharmaskills 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pharmaskills-1.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page