lods-score

lods-score is a skill for Claude Code, Codex from hannesill/m4. It costs 31 tokens per session (1,372 once invoked), scanned A, original, MIT.

A medical score that measures organ dysfunction across six body systems in intensive-care patients. LODS uses information from the first day in the ICU and can support mortality prediction.

In plain words
What is it for?
Use it to calculate neurologic, cardiovascular, kidney, lung, blood, and liver components, or to use an existing LODS value from MIMIC-IV data.
Why use it?
It turns several clinical measurements into one consistent score, making organ failure patterns easier to compare across patients or studies.

Skill for Claude CodeCodex

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

Good fit Use it to calculate neurologic, cardiovascular, kidney, lung, blood, and liver components, or to use an existing LODS value from MIMIC-IV data.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/hannesill/m4/lods-score/github.svg)](https://agentmods.dev/skills/hannesill/m4/lods-score)
Your own site
<a href="https://agentmods.dev/skills/hannesill/m4/lods-score"><img src="https://agentmods.dev/badge/skills/hannesill/m4/lods-score/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 lods-score

Your own site · 80×15
<a href="https://agentmods.dev/skills/hannesill/m4/lods-score"><img src="https://agentmods.dev/badge/skills/hannesill/m4/lods-score.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,372 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00031 $0.01372
Opus 5.5 $0.00012 $0.00549
Sonnet 5.5 $0.00006 $0.00274
Haiku 4.5 $0.00003 $0.00137

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

Security

Grade A, and why

lods-score 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 2mo 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/clinical/lods-score/SKILL.md · 155 lines

How it starts

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

LODS Score Calculation

The Logistic Organ Dysfunction Score (LODS) assesses organ dysfunction across 6 systems with logistic regression-derived weights. It provides mortality prediction based on the first ICU day.

When to Use This Skill

  • Multi-organ dysfunction assessment
  • Mortality prediction with organ-specific weighting
  • Research on organ failure patterns
  • Alternative to SOFA for organ dysfunction quantification

Score Components (First 24 Hours)

System Variables Score Range
Neurologic GCS 0-5
Cardiovascular HR, SBP 0-5
Renal BUN, Creatinine, Urine Output 0-5
Pulmonary PaO2/FiO2 (ventilated only) 0-3
Hematologic WBC, Platelets 0-3
Hepatic PT, Bilirubin 0-1

Total Range: 0-22

Pre-computed Table

SELECT
    subject_id,
    hadm_id,
    stay_id,
    lods,
    neurologic,
    cardiovascular,
    renal,
    pulmonary,
    hematologic,
    hepatic
FROM mimiciv_derived.lods;

Component Scoring Details

Neurologic (GCS)

GCS Score
<= 5 5
6-8 3
9-13 1
14-15 0

Cardiovascular

Condition Score
HR < 30 OR SBP < 40 5
SBP < 70 OR SBP >= 270 3
HR >= 140 OR SBP >= 240 OR SBP < 90 1
Normal 0

Renal

Condition Score
UO < 500 OR BUN >= 56 5
Cr >= 1.6 OR UO < 750 OR BUN >= 28 OR UO >= 10000 3
Cr >= 1.2 OR BUN >= 7.5 1
Normal 0

Pulmonary (Ventilated Patients Only)

PaO2/FiO2 Score
< 150 3
>= 150 1
Not ventilated 0

Hematologic

Condition Score
WBC < 1.0 3
WBC < 2.5 OR Platelets < 50 OR WBC >= 50 1
Normal 0

Hepatic

Condition Score
Bilirubin >= 2.0 OR PT > 15s OR PT < 3s 1
Normal 0

Critical Implementation Notes

  1. Prothrombin Time (PT): The "standard" PT is assumed to be 12 seconds. Abnormal is > 15s (12 + 3) or < 3s (12 * 0.25).

Read the full file on GitHub · 155 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · +1 lines 789c88111328
  2. 3mo ago First seen · 154 lines · 31 tokens per session scan A 530299f346a5

Subscribe to this mod's changes

lods-score is a skill published in the GitHub repository hannesill/m4 (52 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 1,372 once invoked, about $0.0001 per session on Opus 5.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

lods-score compared with skills from other repositories

lods-score next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lods-scorehannesill/m4Skill521mo agoMITA31Claude Code, Codex
arbor-agent-orchestratorRUC-NLPIR/ArborSkill1.2k27d agoApache-2.0A77Claude Code, Codex
tooluniverse-variant-analysismims-harvard/ToolUniverseSkill1.8kyesterdayApache-2.0A317Claude Code
tooluniverse-phylogeneticsmims-harvard/ToolUniverseSkill1.8kyesterdayApache-2.0A155Claude Code
tooluniverse-gene-enrichmentmims-harvard/ToolUniverseSkill1.8kyesterdayApache-2.0A102Claude Code
tooluniverse-systems-biologymims-harvard/ToolUniverseSkill1.8kyesterdayApache-2.0A72Claude Code
tooluniverse-cancer-variant-interpretationmims-harvard/ToolUniverseSkill1.8kyesterdayApache-2.0A93Claude Code