[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EVBPA9Q5FE2X26APH21HCJ":3,"skill-same:01M7EVBPA9Q5FE2X26APH21HCJ":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EVBPA9Q5FE2X26APH21HCJ","pkpd-modeling",null,"Pharmacokinetic\u002Fpharmacodynamic modeling — compartmental models, nonlinear mixed effects, and dose selection.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-pkpd-modeling\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pkpd-modeling\ndescription: Pharmacokinetic\u002Fpharmacodynamic modeling — compartmental models, nonlinear mixed effects, and dose selection.\ncategory: scientific\n---\n\n## Overview\n\npkpd-modeling covers quantitative models linking drug dose to concentration (pharmacokinetics)\nand concentration to effect (pharmacodynamics): compartmental models, nonlinear mixed-effects\n(population) modeling, and model-informed dose selection. It is the quantitative backbone of\ndrug development — from first-in-human dose to label dosing recommendations.\n\n## When to use\n\n- Characterizing PK: absorption, distribution, metabolism, excretion from concentration-time\n  data.\n- Population PK (nonlinear mixed effects): separating inter-individual variability from residual\n  error, identifying covariates (weight, renal function, genetics).\n- PK\u002FPD linkage: Emax models relating exposure to efficacy or safety endpoints.\n- Dose selection: simulating untested regimens, pediatric extrapolation, renal\u002Fhepatic\n  impairment dosing.\n- Bioequivalence and biosimilarity assessments.\n- Model qualification: visual predictive checks, bootstrap, external validation.\n\n## Core concepts\n\n- **Compartmental PK.** One-compartment (IV bolus: C = C0·e^(−kt)), two-compartment\n  (distribution + elimination phases), absorption models (first-order ka, transit compartments\n  for delayed absorption). Start simple; add compartments only when diagnostics demand it.\n- **Key parameters.** Clearance (CL), volume of distribution (Vd), half-life (t½ = 0.693·Vd\u002FCL),\n  bioavailability (F), AUC, Cmax, Tmax. These are the vocabulary — every dosing decision\n  translates into these terms.\n- **Nonlinear mixed-effects (population) modeling.** Fixed effects (typical values + covariate\n  relationships) + random effects (inter-individual and inter-occasion variability) + residual\n  error. Tools: NONMEM, Monolix, nlmixr2, Pumas. This is how sparse clinical data (few samples\n  per patient) still yields a usable model.\n- **Covariate modeling.** Pre-specify plausible covariates (body weight via allometry, renal\n  function for renally cleared drugs, age, pharmacogenomic variants); test with\n  likelihood-ratio or information criteria; keep only clinically meaningful effects. Data-dredged\n  covariates don't replicate.\n- **PD models.** Direct Emax (E = Emax·C\u002F(EC50+C)), indirect response (turnover models for\n  delayed effects), effect-compartment (hysteresis between plasma and site of action).\n  Match the model to the biology — an indirect-response model for a biomarker with slow\n  turnover, not a direct Emax forced onto delayed data.\n- **Exposure-response.** The regulatory workhorse: relating AUC\u002FCmax\u002FCmin to efficacy and\n  safety endpoints to justify the dose. A flat exposure-efficacy curve with rising\n  exposure-toxicity argues for lower doses; characterize both.\n- **Model evaluation.** Goodness-of-fit plots (observed vs predicted, residuals vs time),\n  visual predictive checks (does the model simulate data like the observed?), bootstrap\n  parameter CIs, and external validation when data exist. A model that can't simulate its own\n  training data is not a model.\n- **Simulation for decisions.** The payoff: simulate untested doses, special populations, and\n  drug-interaction scenarios. Document simulation assumptions — simulated evidence inherits all\n  model limitations.\n\n## Practical workflow\n\n1. **Explore.** Plot concentration-time profiles (linear and log scale); identify absorption\n   delays, multi-phasic decline, outliers, BLQ patterns.\n2. **Base model.** Fit 1- vs 2-compartment with candidate absorption\u002Ferror models; select by\n   diagnostics + information criteria, not by p-values alone.\n3. **Covariates.** Pre-specified testing; allometric weight scaling as default for\n   cross-population work.\n4. **PD linkage.** Choose direct\u002Findirect\u002Feffect-compartment by the temporal relationship;\n   fit exposure-response for key endpoints.\n5. **Evaluate.** GOF plots, VPCs, bootstrap; external data if available.\n6. **Simulate.** Dose selection, special populations, label recommendations — with uncertainty\n   propagated.\n7. **Report.** Model code, parameter tables with CIs, diagnostics, and simulation assumptions.\n   Follow regulatory expectations (FDA\u002FEMA popPK guidance) when filing.\n\nExample (nlmixr2 sketch):\n```r\nlibrary(nlmixr2)\nmod \u003C- function() {\n  ini({ tka \u003C- 0.5; tcl \u003C- 5; tv \u003C- 50; eta.cl ~ 0.1; prop.err \u003C- 0.2 })\n  model({\n    ka \u003C- exp(tka); cl \u003C- exp(tcl + eta.cl); v \u003C- exp(tv)\n    d\u002Fdt(depot) \u003C- -ka * depot; d\u002Fdt(centr) \u003C- ka * depot - cl\u002Fv * centr\n    cp \u003C- centr \u002F v; cp ~ prop(prop.err)\n  })\n}\nfit \u003C- nlmixr(mod, pkdata, est = \"saem\")\n```\n\n## Common pitfalls\n\n- Overcompartmentalized models on sparse data (unidentifiable parameters).\n- Covariate dredging without prespecification.\n- BLQ data mishandled (dropping vs proper likelihood methods — M3\u002FM4).\n- Forcing direct Emax onto delayed PD responses.\n- VPCs that look fine because they're too coarse to detect misfit.\n- Simulating far outside the studied dose\u002Fpopulation range.\n- Confusing model fit with truth — models are decision aids with stated assumptions.\n","## Overview\n\npkpd-modeling covers quantitative models linking drug dose to concentration (pharmacokinetics)\nand concentration to effect (pharmacodynamics): compartmental models, nonlinear mixed-effects\n(population) modeling, and model-informed dose selection. It is the quantitative backbone of\ndrug development — from first-in-human dose to label dosing recommendations.\n\n## When to use\n\n- Characterizing PK: absorption, distribution, metabolism, excretion from concentration-time\n  data.\n- Population PK (nonlinear mixed effects): separating inter-individual variability from residual\n  error, identifying covariates (weight, renal function, genetics).\n- PK\u002FPD linkage: Emax models relating exposure to efficacy or safety endpoints.\n- Dose selection: simulating untested regimens, pediatric extrapolation, renal\u002Fhepatic\n  impairment dosing.\n- Bioequivalence and biosimilarity assessments.\n- Model qualification: visual predictive checks, bootstrap, external validation.\n\n## Core concepts\n\n- **Compartmental PK.** One-compartment (IV bolus: C = C0·e^(−kt)), two-compartment\n  (distribution + elimination phases), absorption models (first-order ka, transit compartments\n  for delayed absorption). Start simple; add compartments only when diagnostics demand it.\n- **Key parameters.** Clearance (CL), volume of distribution (Vd), half-life (t½ = 0.693·Vd\u002FCL),\n  bioavailability (F), AUC, Cmax, Tmax. These are the vocabulary — every dosing decision\n  translates into these terms.\n- **Nonlinear mixed-effects (population) modeling.** Fixed effects (typical values + covariate\n  relationships) + random effects (inter-individual and inter-occasion variability) + residual\n  error. Tools: NONMEM, Monolix, nlmixr2, Pumas. This is how sparse clinical data (few samples\n  per patient) still yields a usable model.\n- **Covariate modeling.** Pre-specify plausible covariates (body weight via allometry, renal\n  function for renally cleared drugs, age, pharmacogenomic variants); test with\n  likelihood-ratio or information criteria; keep only clinically meaningful effects. Data-dredged\n  covariates don't replicate.\n- **PD models.** Direct Emax (E = Emax·C\u002F(EC50+C)), indirect response (turnover models for\n  delayed effects), effect-compartment (hysteresis between plasma and site of action).\n  Match the model to the biology — an indirect-response model for a biomarker with slow\n  turnover, not a direct Emax forced onto delayed data.\n- **Exposure-response.** The regulatory workhorse: relating AUC\u002FCmax\u002FCmin to efficacy and\n  safety endpoints to justify the dose. A flat exposure-efficacy curve with rising\n  exposure-toxicity argues for lower doses; characterize both.\n- **Model evaluation.** Goodness-of-fit plots (observed vs predicted, residuals vs time),\n  visual predictive checks (does the model simulate data like the observed?), bootstrap\n  parameter CIs, and external validation when data exist. A model that can't simulate its own\n  training data is not a model.\n- **Simulation for decisions.** The payoff: simulate untested doses, special populations, and\n  drug-interaction scenarios. Document simulation assumptions — simulated evidence inherits all\n  model limitations.\n\n## Practical workflow\n\n1. **Explore.** Plot concentration-time profiles (linear and log scale); identify absorption\n   delays, multi-phasic decline, outliers, BLQ patterns.\n2. **Base model.** Fit 1- vs 2-compartment with candidate absorption\u002Ferror models; select by\n   diagnostics + information criteria, not by p-values alone.\n3. **Covariates.** Pre-specified testing; allometric weight scaling as default for\n   cross-population work.\n4. **PD linkage.** Choose direct\u002Findirect\u002Feffect-compartment by the temporal relationship;\n   fit exposure-response for key endpoints.\n5. **Evaluate.** GOF plots, VPCs, bootstrap; external data if available.\n6. **Simulate.** Dose selection, special populations, label recommendations — with uncertainty\n   propagated.\n7. **Report.** Model code, parameter tables with CIs, diagnostics, and simulation assumptions.\n   Follow regulatory expectations (FDA\u002FEMA popPK guidance) when filing.\n\nExample (nlmixr2 sketch):\n```r\nlibrary(nlmixr2)\nmod \u003C- function() {\n  ini({ tka \u003C- 0.5; tcl \u003C- 5; tv \u003C- 50; eta.cl ~ 0.1; prop.err \u003C- 0.2 })\n  model({\n    ka \u003C- exp(tka); cl \u003C- exp(tcl + eta.cl); v \u003C- exp(tv)\n    d\u002Fdt(depot) \u003C- -ka * depot; d\u002Fdt(centr) \u003C- ka * depot - cl\u002Fv * centr\n    cp \u003C- centr \u002F v; cp ~ prop(prop.err)\n  })\n}\nfit \u003C- nlmixr(mod, pkdata, est = \"saem\")\n```\n\n## Common pitfalls\n\n- Overcompartmentalized models on sparse data (unidentifiable parameters).\n- Covariate dredging without prespecification.\n- BLQ data mishandled (dropping vs proper likelihood methods — M3\u002FM4).\n- Forcing direct Emax onto delayed PD responses.\n- VPCs that look fine because they're too coarse to detect misfit.\n- Simulating far outside the studied dose\u002Fpopulation range.\n- Confusing model fit with truth — models are decision aids with stated assumptions.\n",{"name":5,"category":24,"description":7},"scientific","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-pkpd-modeling",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill pkpd-modeling",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill pkpd-modeling",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill pkpd-modeling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-pkpd-modeling\u002FSKILL.md",true,[],[48,55,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]