- Home
- Skills
- Testing & Debugging
- CrCl & Pharmacokinetics QA Engine
Works with the AI Agents you already use
CrCl & Pharmacokinetics QA Engine
Generate deterministic pharmacokinetics test vectors for CrCl, IBW, and renal dosing software validation.
$9.99
CrCl & Pharmacokinetics QA Engine
Example session with this skill installed
Generate a test vector for a 75-year-old male, 180 lbs, 5'10'', with a serum creatinine of 1.4 mg/dL to verify renal dosing intervals.
- Read your context and instructions
- Compiled the crcl & pharmacokinetics
I have executed the pharmacokinetics engine to generate the deterministic test vector for this patient profile. The calculation used the Devine formula for Ideal Body Weight and applied standard Cockcroft-Gault parameters.
Pharmacokinetics Test Vector: Patient ID-75M
| Parameter | Value | Note |
|---|---|---|
| Age / Sex | 75 / Male | - |
| Actual Weight | 81.65 kg | Converted from 180 lbs |
| Ideal Body Weight (IBW) | 72.6 kg | Devine Formula |
| Dosing Weight Used | 72.6 kg | Selected: IBW (Patient <120% of IBW) |
| Serum Creatinine | 1.4 mg/dL | Baseline |
| CrCl (Raw) | 51.86 mL/min | - |
| CrCl (Rounded) | 52 mL/min | - |
| Clinical Category | Mild impairment | 50-89 mL/min range |
| Dosing Guidance | Standard Dose | Monitor renal function closely |
Next steps
- Use the 81.65 kg actual weight and 72.6 kg IBW values to verify your frontend unit conversion logic.
- Confirm your backend correctly selected
Ideal Body Weight rather than Actual Weight for this clearance calculation.
3. Validate that your system flags 52 mL/min as the threshold for mild renal impairment.
Connects securely to your tools. The creator never sees your data.
About this skill
Testing clinical software requires precise, deterministic data to verify dosing logic. This skill generates and audits pharmacokinetics test vectors for renal function calculations, ensuring your application handles unit conversions and weight selection rules correctly.
What it does
- Cockcroft-Gault calculation computes CrCl in mL/min using patient age, sex, weight, and serum creatinine.
- Weight selection logic applies clinical rules to choose between Actual, Ideal (Devine), or Adjusted Body Weight.
- Unit normalization handles conversions for pounds to kilograms, centimeters to inches, and serum creatinine from umol/L to mg/dL.
- Renal impairment staging maps calculated CrCl to standard clinical categories and dosing interval adjustments.
- Audit trail generation provides the raw variables and selection rules used for each result to verify software logic.
How it works
- Extract parameters from the patient profile including age, biological sex, height, weight, and serum creatinine.
- Execute the engine by calling the internal Python calculator with specific patient flags and units.
- Inspect deterministic output via JSON to verify the selected dosing weight method and calculated clearance.
- Compare results against your software's output to identify logic drifts or conversion errors.
Frameworks & tools
This skill uses a Python 3.9+ execution environment. It relies on localized scripts for deterministic calculations without external API dependencies.
Why this beats prompting it yourself
LLMs frequently hallucinate floating-point math and struggle with the conditional branching required for clinical weight selection (e.g., the 120% IBW threshold). This skill forces the agent to use a vetted script, ensuring results are mathematically sound and audit-ready.
Use cases
- QA automation for health-tech platforms needing thousands of deterministic renal dosing test cases.
- Logic auditing to verify that an EHR's CrCl calculator correctly applies the 0.85 multiplier for female patients.
- Unit conversion testing to ensure backend systems correctly process serum creatinine values from international labs (umol/L).
Known limitations
Does not support pediatric dosing formulas or eGFR estimation models like MDRD or CKD-EPI. Limited to adult Cockcroft-Gault calculations.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.
Does not support pediatric dosing or eGFR estimation (MDRD/CKD-EPI). Strictly limited to adult Cockcroft-Gault calculations.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
- Software
Python