m4
Clinical research on MIMIC-IV and eICU with validated severity scores
All Skills in This Repository (24)
Pure Emerald Level Indicatorsm4-api
Access clinical datasets from Python and execute SQL queries to return DataFrames.
mimic-table-relationships
Clarify MIMIC-IV identifier hierarchies and join patterns for hospital and ICU tables.
create-m4-skill
Document the process of creating new M4 skills with structured frontmatter and provenance.
mimic-eicu-mapping
Map equivalent clinical concepts between MIMIC-IV and eICU databases.
m4-research
Guide clinical researchers through structured interviews to generate formal research protocols.
first-icu-stay
Identify first ICU stays and hospital admissions using MIMIC-IV derived fields.
baseline-creatinine
Compute baseline creatinine for AKI assessment using hierarchical rules and SQL.
sepsis-3-cohort
Identify Sepsis-3 patients using SOFA >= 2 and suspected infection criteria in ICU datasets.
vasopressor-equivalents
Compute norepinephrine-equivalent dose from concurrent vasopressors with time-interval aggregation.
lods-score
Calculate the Logistic Organ Dysfunction Score from first ICU day patient data.
gcs-calculation
Calculate Glasgow Coma Scale scores from ICU chart data with intubation handling.
apsiii-score
Compute APS III scores from first-day ICU data to predict hospital mortality.
Frequently Asked Questions
FAQPage SchemaHow to install M4?βΌ
Run `npx skills add hannesill/m4 --all -g -y` in your terminal to install all skills in this suite globally.
How to query MIMIC-IV without learning the schema?βΌ
M4 sets up MIMIC-IV or eICU as a fast local database and lets you ask questions in plain English, producing clinically correct SQL automatically.
Which clinical scores does M4 support?βΌ
It includes validated skills for SOFA, APACHE III/IV, SAPS-II, OASIS, LODS, SIRS, KDIGO AKI staging, MELD, Charlson, and Sepsis-3 cohort identification.
Does M4 work with Claude Code and Cursor?βΌ
Yes. All skills follow the universal SKILL.md standard and run in Claude Code, Cursor, Cline, Codex CLI, Gemini CLI, and GitHub Copilot.
Can I run full statistical analyses with M4?βΌ
Yes. The Python API returns pandas DataFrames, and the research workflow skill guides you through cohort definition, bias checks, and reproducible analysis scripts.
Related Repositories in Data & Analytics
View All in Data & AnalyticsβPaddleOCR
Extract text, tables, and formulas from PDFs and images
Scrapling
Scrape any website and bypass anti-bot protection with AI
last30days-skill
Research any topic across Reddit, X, YouTube, and the web