28sungmin/m4-add-skills/baseline-creatinine
Claude Code and agent skill by 28sungmin/m4-add-skills
- community
Checking that the SKILL.md file is still in the repository.
Estimate baseline serum creatinine for AKI assessment. Use for KDIGO staging, AKI research, or renal function baseline establishment.
Install
npx vskill@latest install 28sungmin/m4-add-skills/baseline-creatinineSKILL.md
Baseline Creatinine Estimation
Estimates the patient's baseline (pre-illness) serum creatinine, which is critical for accurate AKI staging. The true baseline is often unknown; this query uses a hierarchical approach.
M4Bench Use
In M4Bench, target concept tables listed in the task configuration are removed or unavailable in the agent database. Use this skill as procedural guidance and derive the requested output from available source or intermediate tables; do not rely on a precomputed target table or bundled SQL script.
When to Use This Skill
- KDIGO AKI staging (requires baseline comparison)
- AKI research cohorts
- Chronic kidney disease identification
- Renal function trajectory analysis
Baseline Determination Rules
The baseline creatinine is determined hierarchically:
- If lowest admission creatinine <= 1.1 mg/dL: Use the lowest value (assumed normal)
- If patient has CKD diagnosis: Use the lowest admission value (even if elevated)
- Otherwise: Estimate baseline using MDRD equation assuming GFR = 75 mL/min/1.73m^2
MDRD Estimation Formula
For patients without normal creatinine and without CKD, baseline is estimated:
Male patients:
Female patients:
This back-calculates creatinine assuming eGFR = 75 mL/min/1.73m^2 (lower limit of normal).
CKD Identification
CKD is identified from ICD codes:
- ICD-9: 585 (Chronic kidney disease)
- ICD-10: N18 (Chronic kidney disease)
Critical Implementation Notes
- Adults Only: Query filters to age >= 18 (pediatric creatinine norms differ).
- MDRD Limitations:
- Less accurate in elderly, extremes of body size, or certain ethnicities
- Assumes GFR = 75, which may underestimate for young healthy patients
- Admission Bias: Using admission creatinine as baseline may underestimate for patients admitted already in AKI (AKI-on-admission).
- CKD May Be Coded Late: ICD codes are assigned at discharge, so this technically uses future information. In most research this is acceptable.
- Missing Values: If no creatinine measured during admission, baseline will be NULL.
- Race Coefficient: The original MDRD had a race coefficient; this implementation does not use it, consistent with recent guidelines removing race from eGFR calculations.
Alternative Baseline Methods
Other approaches used in literature (not implemented here):
- Outpatient creatinine: Use pre-admission ambulatory values (requires linked outpatient data)
- Rolling minimum: Lowest value in past 7-365 days
- First available: First creatinine of admission (problematic if AKI present)
- Fixed MDRD: Always use MDRD with assumed GFR (consistent but may miss true normal)
References
- KDIGO Clinical Practice Guideline for Acute Kidney Injury. Kidney International Supplements. 2012.
- Siew ED et al. "Estimating baseline kidney function in hospitalized patients with impaired kidney function." Clinical Journal of the American Society of Nephrology. 2012;7(5):712-719.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbenchmark/tasks/creatinine-baseline/mimic-creatinine-baseline-raw/skills/baseline-creatinine/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/28sungmin/m4-add-skills/baseline-creatinine)