Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    CrCl & Pharmacokinetics QA Engine

    1

    Generate deterministic pharmacokinetics test vectors for CrCl, IBW, and renal dosing software validation.

    $9.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    CrCl & Pharmacokinetics QA Engine

    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

    ParameterValueNote
    Age / Sex75 / Male-
    Actual Weight81.65 kgConverted from 180 lbs
    Ideal Body Weight (IBW)72.6 kgDevine Formula
    Dosing Weight Used72.6 kgSelected: IBW (Patient <120% of IBW)
    Serum Creatinine1.4 mg/dLBaseline
    CrCl (Raw)51.86 mL/min-
    CrCl (Rounded)52 mL/min-
    Clinical CategoryMild impairment50-89 mL/min range
    Dosing GuidanceStandard DoseMonitor renal function closely

    Next steps

    1. Use the 81.65 kg actual weight and 72.6 kg IBW values to verify your frontend unit conversion logic.
    2. 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

    1. Extract parameters from the patient profile including age, biological sex, height, weight, and serum creatinine.
    2. Execute the engine by calling the internal Python calculator with specific patient flags and units.
    3. Inspect deterministic output via JSON to verify the selected dosing weight method and calculated clearance.
    4. 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.

    Does not support pediatric dosing or eGFR estimation (MDRD/CKD-EPI). Strictly limited to adult Cockcroft-Gault calculations.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    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

    Requires

    Python

    Permissions

    Terminal / Shell
    Listed5 days ago

    What's inside

    Frequently Asked Questions

    Unlike standard LLM prompts that often struggle with precise math, this skill uses a deterministic Python engine to ensure 100% accuracy in weight selection logic and unit conversions for clinical validation.

    This skill specifically generates test vectors for adult Cockcroft-Gault calculations; it does not currently support pediatric formulas or eGFR models like MDRD or CKD-EPI.

    You receive the core Python-based execution environment, a suite of pre-configured patient profile templates, and the JSON schema for integrating the audit trail into your QA pipeline.

    The engine is highly flexible, supporting unit normalization for weight (kg/lb), height (cm/in), and serum creatinine (mg/dL or umol/L) to match international lab standards.

    Yes, the skill is designed for high-volume QA automation, allowing you to generate and export thousands of unique patient test cases for bulk software validation.

    New in Testing & Debugging