본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트51k · #3528

pkpd-modeling

하는 일

이 프로그램은 약물이 몸속에서 어떻게 작용하는지 분석하도록 돕습니다. 시간에 따른 약물 농도 데이터에서 중요한 지표를 계산합니다.

사용하는 경우

  • ✓시간에 따른 혈중 약물 농도를 분석할 때.
  • ✓혈류에 도달하는 약물의 양을 추정할 때.
  • ✓어떤 제형이 더 효과적인지 서로 다른 약물 제형을 비교할 때.

스킬 링크

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/pkpd-modeling/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/pkpd-modeling/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 약물 농도-시간 데이터를 분석하고 AUC를 계산해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

프로그램은 수학적 방법으로 농도 데이터에 곡선을 맞춥니다. 곡선 아래 면적(AUC) 같은 값을 계산해 약물 노출을 이해하도록 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Pharmacokinetic and Pharmacodynamic Modelling

When to use

Use for concentration-time analysis, structural and population PK workflows, exposure-response, regimen simulation, bioequivalence planning, DDI screening, and research TDM calculations. Version 2.0 rejects unsupported replicate/scaled BE and oral/infusion closed-form summaries; model-target dose and lowest-HED output labels replace clinical recommendation labels. This skill computes exploratory quantities and documents assumptions; it does not establish clinical safety, recommend a patient dose, or certify a regulatory submission.

Fix the question and conventions first

  1. Record the analyte (free/total drug, metabolite or complex), matrix, dose history, actual times, units, population, and assay/LLOQ. With dose in mg, volume in L and time in h, concentrations are mg/L and CL is L/h. Convert before fitting; mg/L equals micrograms/mL, not ng/mL.
  2. Pre-specify the exposure metric: AUC(0-t), AUC(0-inf), and steady-state AUC(0-tau) differ. State BLQ handling, missing-data rules, terminal selection and observed/predicted Clast.
  3. Separate structural, residual-variability and covariate models. Convergence and a small residual sum of squares do not establish identifiability. Inspect sensitivity rank, local uncertainty, correlations, plausible bounds, multiple starts and profile likelihoods when needed.
  4. Match validation to intended use. Analytical recovery and synthetic tests verify numerical behavior; they do not validate a model in a patient population or establish clinical evidence.

Environment and output

The bundled scripts were exercised with NumPy 2.5.3 and SciPy 1.18.1 on Python 3.13. Use an isolated environment; no network, credentials or proprietary engine is needed at runtime.

cd skills/pkpd-modeling/scripts

All scripts accept --format table|tsv|json. Table/TSV data go to stdout and notes/findings to stderr; JSON includes all four components on stdout and uses null for unavailable diagnostics. Exit 0 means no findings, 1 means findings, and 2 means invalid input. Dataset validation defaults to failing on errors; --strict also fails on warnings. Inspect findings even when exit 0.

Commands below using CSV inputs are invocation templates; supply the indicated columns and a suitable study design. Tests under tests/pkpd-modeling/ execute the numerical paths with small synthetic fixtures. Do not copy the illustrative doses or targets into clinical care.

Workflow

1. Non-compartmental analysis

python3 nca.py -i profile.csv --dose 100 --route extravascular --partial-auc 0-24

Input: id,time,conc (id optional), plus optional dose,tau,tinf,blq. Times must be non-negative and distinct per profile. BLQ, <LLOQ, a blank concentration, or blq=1 invokes the chosen BLQ convention; blanks are therefore not a general missing-sample code. Preprocess missing samples separately. --blq-rule zero|half-lloq|missing applies globally, not separately by position.

Choose --auc-method linear|linup-logdown|log. The log rule accepts positive increasing or decreasing endpoints, with linear fallback for zeros/equal values. AUC starts at the first retained sample; no dose-time extrapolation is added. Late first draws therefore bias reported CL/volume; inspect the finding. Partial AUC boundaries must be within the sampled range.

The helper's automatic lambda_z selection extends backwards from at least three positive, non-BLQ points strictly after Tmax, keeping a larger window only when adjusted R² improves by more than 0.0001. This is not Phoenix Best Fit, which favors longer windows within its 0.0001 tolerance. Manual windows also require at least three post-Tmax points and a declining slope. An IV bolus C0 could be eligible in other software; this helper deliberately excludes Tmax.

Inspect the selected time range, span in half-lives, residuals and percent extrapolation. The 20% extrapolation, 0.8 adjusted R² and two-half-life flags are screening conventions, not universal acceptance rules. For a manual tail ending early, predicted Clast is evaluated at the actual last quantifiable time. Report AUCinf_obs or AUCinf_pred explicitly.

--tau requires a sampled single interval [0,tau] and assumes demonstrated steady state. It reports AUCtau, Cavg and CLss(/F), withholds single-dose AUCinf/CL/Vz/Vss, and emits a finding

…

자주 묻는 질문

PK/PD란 무엇인가요?

PK(약동학)는 몸이 약물에 무엇을 하는지(흡수, 분포, 대사, 배설)를 연구합니다. PD(약력학)는 약물이 몸에 무엇을 하는지(치료 또는 독성 효과)를 연구합니다.

AUC란 무엇인가요?

AUC는 ‘곡선 아래 면적(Area Under the Curve)’을 뜻합니다. 시간에 따른 환자의 약물 총 노출량을 나타냅니다.

이 도구로 환자의 용량을 권장할 수 있나요?

아닙니다. 이 도구는 데이터 분석과 탐색을 위한 것입니다. 임상 안전성을 확립하거나 환자의 용량을 권장하지 않습니다.

상세 정보

작성자의 원본 설명

Pharmacokinetic and pharmacodynamic modelling and simulation - non-compartmental analysis, compartmental and population PK, PK/PD and exposure-response, TMDD, PBPK orientation, bioequivalence, allometric scaling and first-in-human dose, drug interaction prediction, and Bayesian therapeutic drug monitoring. Use when analysing concentration-time data, deriving exposure metrics, fitting PK or PD mode

repo: K-Dense-AI/scientific-agent-skills

인기도

GitHub 스타
51k
순위
#3528
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬