mimic-eicu-mapping

mimic-eicu-mapping is a skill for Claude Code, Codex from hannesill/m4. It costs 39 tokens per session (1,515 once invoked), scanned A, original, MIT.

A reference guide for translating equivalent concepts between the MIMIC-IV and eICU critical-care databases. MIMIC-IV comes mainly from one hospital, while eICU combines data from many hospitals.

In plain words
What is it for?
Use it for multi-database studies, external validation of models, translating queries, and mapping patients, admissions, intensive-care stays, hospitals, and other database fields.
Why use it?
It helps researchers compare or combine these databases despite differences in names, identifiers, tables, coverage, and structure.

Skill for Claude CodeCodex

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

Good fit Use it for multi-database studies, external validation of models, translating queries, and…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hannesill/m4/mimic-eicu-mapping
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-eicu-mapping
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-eicu-mapping

README.md
[![agentmods](https://agentmods.dev/badge/skills/hannesill/m4/mimic-eicu-mapping.svg)](https://agentmods.dev/skills/hannesill/m4/mimic-eicu-mapping)
Your own site
<a href="https://agentmods.dev/skills/hannesill/m4/mimic-eicu-mapping"><img src="https://agentmods.dev/badge/skills/hannesill/m4/mimic-eicu-mapping.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,515 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 original No closer match found 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.00039 $0.01515
Opus 5 $0.00019 $0.00758
Sonnet 5 $0.00008 $0.00303
Haiku 4.5 $0.00004 $0.00152

Measured 7d ago against content hash 9db5c6fde7d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

mimic-eicu-mapping 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 7d 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.

src/m4/skills/system/mimic-eicu-mapping/SKILL.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MIMIC-IV to eICU Mapping

This skill maps equivalent tables, columns, and concepts between MIMIC-IV and eICU databases to enable cross-database research and external validation.

When to Use This Skill

  • External validation of MIMIC-IV models on eICU
  • Multi-center studies combining both databases
  • Understanding structural differences
  • Translating queries between databases

Database Overview

Characteristic MIMIC-IV eICU
Institution Beth Israel Deaconess (single center) 208 hospitals (multi-center)
Patients ~300,000 admissions ~200,000 patients
Time Period 2008-2019 2014-2015
ICU Types All ICU types All ICU types
Geography Boston, MA United States (nationwide)

Identifier Mapping

Concept MIMIC-IV eICU
Patient ID subject_id uniquepid
Hospital Admission hadm_id patienthealthsystemstayid
ICU Stay stay_id patientunitstayid
Hospital ID N/A (single center) hospitalid
Unit Visit icustay_seq unitvisitnumber

Core Table Mapping

Patient Demographics

MIMIC-IV eICU Notes
mimiciv_hosp.patients patient Base demographics
mimiciv_hosp.admissions patient Admission info combined
mimiciv_icu.icustays patient ICU stay info in patient table
mimiciv_derived.icustay_detail icustay_detail (concept) Derived convenience table

Vital Signs

MIMIC-IV eICU Notes
mimiciv_derived.vitalsign vitalperiodic, vitalaperiodic eICU splits periodic/aperiodic
mimiciv_icu.chartevents nursecharting Raw charted values

Laboratory Values

MIMIC-IV eICU Notes
mimiciv_hosp.labevents lab Different labname conventions
mimiciv_derived.chemistry pivoted_lab (concept) Derived/pivoted
mimiciv_derived.complete_blood_count pivoted_lab (concept)

Read the full file on GitHub · 200 lines

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. 7d ago First seen · 200 lines · 39 tokens per session scan A 9db5c6fde7d2

Subscribe to this mod's changes

mimic-eicu-mapping is a skill published in the GitHub repository hannesill/m4 (43 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 1,515 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

cqrs-implementation

Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.

wshobson/agents · 35 tokens

projection-patterns

Build read models and projections from event streams. Use when implementing CQRS read sides, building materialized views, or optimizing query performance in event-sourced systems.

wshobson/agents · 36 tokens

migration-review

Review database migration files when a change adds or modifies paths under migrations/. Use it before merge to collect forward, rollback, locking, and data-safety evidence.

rohitg00/ai-engineering-from-scratch · 35 tokens

azure-resource-manager-mysql-dotnet

Azure MySQL Flexible Server SDK for .NET. Database management for MySQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "MySQL", "MySqlFlexibleServer", "MySQL Flexible Server", "Azure Database for MySQL", "MySQL database…

microsoft/skills · 87 tokens

azure-resource-manager-postgresql-dotnet

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for…

microsoft/skills · 97 tokens

azure-resource-manager-sql-dotnet

Azure Resource Manager SDK for Azure SQL in .NET. Use for MANAGEMENT PLANE operations: creating/managing SQL servers, databases, elastic pools, firewall rules, and failover groups via Azure Resource Manager. NOT for data plane operations (executing queries) - use Microsoft.Data.SqlClient for that. Triggers: "SQL…

microsoft/skills · 109 tokens