AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
 
← Back to list

Pharmacokinetic & Pharmacodynamic (PK/PD) Modelling

A pharmacometrics toolkit covering NCA, compartmental fitting, popPK dataset QC, regimen simulation, exposure-response, bioequivalence, DDI and Bayesian TDM.

Data & AnalyticsAdvanced★ 33,030⑂ 3,248AI score 9/10Last updated: Aug 9, 2026

What it does

  • Non-compartmental analysis: AUC, Cmax, lambda_z, half-life, CL/F, Vz/F, with lambda_z windows chosen by adjusted R², Tmax-and-earlier points excluded, and automatic findings when >20% of AUCinf is extrapolated or the terminal phase spans too few half-lives.
  • Compartmental fitting and model selection: 1/2/3-compartment comparison via AIC, BIC and F test; log-scale estimation with asymmetric CIs; RSE and correlation reporting to expose non-identifiability; runs test to separate structural misspecification from a wrong error model.
  • Population PK dataset checks: catches the silent NM-TRAN defects — BLQ text read as a real zero, blank covariates becoming 0 kg, ADDL without II, duplicate timestamps resolved by file order.
  • Regimen simulation: steady-state peak/trough plus population target attainment with between-subject variability.
  • Exposure-response and C-QTc: Emax/EC50 with plateau-outside-data flags, and the ICH E14 question (upper bound of the two-sided 90% CI vs 10 ms).
  • Bioequivalence: ABE, EMA ABEL and FDA RSABE kept distinct, plus sample size and power.
  • Allometry, paediatrics and first-in-human: maturation-adjusted scaling, NOAEL-derived MRSD and MABEL.
  • Static DDI: ICH M12 basic and mechanistic static models with their cut-offs.
  • Bayesian TDM: MAP individual parameter estimation with a warning when a single level cannot separate CL from V.

Who it's for

  • Pharmacometricians and clinical pharmacologists in pharma or CROs
  • NONMEM / Monolix / nlmixr2 users who want dataset hygiene and model plausibility checked first
  • Teams preparing regulatory deliverables (NCA reports, population analysis plans)
  • Graduate-level PK/PD teaching and self-study

Example uses

  1. Phase 1 NCA report: python3 nca.py -i profile.csv --dose 100 --route extravascular --partial-auc 0-24 returns AUC(0-24), Cmax and t½ while flagging that 25% of AUCinf was extrapolated, prompting a switch to AUC(0-tau) at steady state.
  2. Avoiding a model-selection trap: fit_compartmental.py --compare 1cmt,2cmt,3cmt shows AIC picking three compartments while BIC and the F test reject it and Q3 carries 98% RSE — the two-compartment model wins.
  3. Stress-testing a regimen: simulate_regimen.py --simulate 2000 --omega-cl 0.35 --target-trough 4.0 reveals a typical trough of 3.6 but only 44% population attainment, forcing a dose or interval change.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/K-Dense-AI/scientific-agent-skills/HEAD/skills/pkpd-modeling/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the skills/pkpd-modeling folder from the GitHub repo K-Dense-AI/scientific-agent-skills into my ~/.claude/skills/pkpd-modeling/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/K-Dense-AI/scientific-agent-skills.git && mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/pkpd-modeling ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and confirm Python 3.11+ is available: python3 --version.
  2. Install the dependencies: pip install numpy scipy.
  3. Clone the repository: git clone https://github.com/K-Dense-AI/scientific-agent-skills.git.
  4. Copy the skill into Claude Code's skills directory: mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/pkpd-modeling ~/.claude/skills/.
  5. Restart Claude Code, then try a prompt such as "run an NCA on this concentration-time file" or "how many compartments do these IV data support?" to trigger the skill.
  6. To run scripts directly: cd ~/.claude/skills/pkpd-modeling/scripts and use python3 nca.py --help for the option list.
  7. Note: NONMEM, Monolix, Phoenix, Simcyp and GastroPlus are separately licensed and are never invoked by these scripts.