mimic-kdigo-48h

mimic-kdigo-48h is a skill for Claude Code, Codex from hannesill/m4. It costs 0 tokens per session (415 once invoked), scanned A, a copy of mimic-apsiii-24h-raw, MIT.

A reference SQL example for finding the highest Kidney Disease: Improving Global Outcomes (KDIGO) acute kidney injury stage during an ICU patient's first 48 hours.

In plain words
What is it for?
Use it as a guide when querying ICU data for acute kidney injury severity.
Why use it?
It shows how to combine kidney-injury measurements into one stage for each ICU stay.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it as a guide when querying ICU data for acute kidney injury severity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hannesill/m4/mimic-kdigo-48h
View source ↗ hannesill/m4
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hannesill/m4 --skill mimic-kdigo-48h
Clone the repo
git clone --depth 1 https://github.com/hannesill/m4

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mimic-kdigo-48h

README.md
[![agentmods](https://agentmods.dev/badge/skills/hannesill/m4/mimic-kdigo-48h/github.svg)](https://agentmods.dev/skills/hannesill/m4/mimic-kdigo-48h)
Your own site
<a href="https://agentmods.dev/skills/hannesill/m4/mimic-kdigo-48h"><img src="https://agentmods.dev/badge/skills/hannesill/m4/mimic-kdigo-48h/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mimic-kdigo-48h

Your own site · 80×15
<a href="https://agentmods.dev/skills/hannesill/m4/mimic-kdigo-48h"><img src="https://agentmods.dev/badge/skills/hannesill/m4/mimic-kdigo-48h.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 415 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00415
Opus 5.5 $0.00000 $0.00166
Sonnet 5.5 $0.00000 $0.00083
Haiku 4.5 $0.00000 $0.00042

Measured 3mo ago against content hash 08a926c24f81, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mimic-kdigo-48h scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to mimic-apsiii-24h-raw — 911 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

benchmark/tasks/kdigo/mimic-kdigo-48h/skills-rawsql/mimic-kdigo-48h/SKILL.md · 38 lines

What it actually says

Reference SQL (matched-content control)

The following block is the public reference SQL used to construct the ground truth for this task. It is provided verbatim, without procedural prose, to test whether matched task-relevant content alone explains the WITH-SKILL gain.

-- ------------------------------------------------------------------
-- Title: KDIGO Acute Kidney Injury (AKI) staging
-- This query extracts the maximum KDIGO AKI stage for each ICU stay
-- within the first 48 hours of admission. KDIGO stages range 0-3
-- based on creatinine changes, urine output rates, and CRRT.
-- ------------------------------------------------------------------

-- Reference for KDIGO:
--    Kidney Disease: Improving Global Outcomes (KDIGO) Acute Kidney
--    Injury Work Group. "KDIGO Clinical Practice Guideline for Acute
--    Kidney Injury." Kidney Int Suppl. 2012;2:1-138.

-- Aggregates the time-series kdigo_stages table to one row per ICU stay.
-- Takes the maximum stage across all measurement times within 48h.

SELECT
    ie.subject_id, ie.hadm_id, ie.stay_id
    , COALESCE(MAX(k.aki_stage), 0) AS aki_stage
    , COALESCE(MAX(k.aki_stage_creat), 0) AS aki_stage_creat
    , COALESCE(MAX(k.aki_stage_uo), 0) AS aki_stage_uo
    , COALESCE(MAX(CASE WHEN k.aki_stage_crrt > 0 THEN 3 ELSE 0 END), 0) AS aki_stage_crrt
FROM mimiciv_icu.icustays ie
LEFT JOIN mimiciv_derived.kdigo_stages k
    ON ie.stay_id = k.stay_id
    AND k.charttime >= ie.intime
    AND k.charttime <= ie.intime + INTERVAL '48' HOUR
GROUP BY ie.subject_id, ie.hadm_id, ie.stay_id
;
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 38 lines · 0 tokens per session scan A 08a926c24f81

Subscribe to this mod's changes

mimic-kdigo-48h is a skill published in the GitHub repository hannesill/m4 (52 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 415 tokens. A static security scan graded it A with 0 findings. It is 100% identical to mimic-apsiii-24h-raw, differing in 911 lines, and is treated as a copy.

Related

mimic-kdigo-48h compared with skills from other repositories

mimic-kdigo-48h next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mimic-kdigo-48hhannesill/m4Skill521mo agoMITA0Claude Code, Codex
arbor-agent-orchestratorRUC-NLPIR/ArborSkill1.2k27d agoApache-2.0A77Claude Code, Codex
embeddingsruvnet/rufloSkill83ktodayMITA62Claude Code
migration-reviewrohitg00/ai-engineering-from-scratchSkill81ktodayMITA35Claude Code
tooluniverse-phylogeneticsmims-harvard/ToolUniverseSkill1.8kyesterdayApache-2.0A155Claude Code
tooluniverse-cancer-variant-interpretationmims-harvard/ToolUniverseSkill1.8kyesterdayApache-2.0A93Claude Code
tooluniverse-cell-line-profilingmims-harvard/ToolUniverseSkill1.8kyesterdayApache-2.0A100Claude Code