mimic-gcs-24h-raw

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

A reference SQL query for finding the lowest Glasgow Coma Scale score during the first 24 hours of an intensive-care stay. The Glasgow Coma Scale is a medical score based on eye, verbal, and motor responses.

In plain words
What is it for?
Use it as a reference when querying ICU records for first-day GCS scores and their component values.
Why use it?
It provides a defined query for producing this measurement from ICU data. The excerpt does not describe a broader add-on function.

Skill for Claude CodeCodex

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

Good fit Use it as a reference when querying ICU records for first-day GCS scores and their component values.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hannesill/m4/mimic-gcs-24h-raw"><img src="https://agentmods.dev/badge/skills/hannesill/m4/mimic-gcs-24h-raw.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 635 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.00635
Opus 5.5 $0.00000 $0.00254
Sonnet 5.5 $0.00000 $0.00127
Haiku 4.5 $0.00000 $0.00064

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

Security

Grade A, and why

mimic-gcs-24h-raw 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 — 933 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/gcs/mimic-gcs-24h-raw/skills-rawsql/mimic-gcs-24h-raw/SKILL.md · 66 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: Glasgow Coma Scale (GCS) — first day minimum
-- This query extracts the minimum GCS score for the first 24 hours
-- of each ICU stay, along with the component values (motor, verbal,
-- eyes) at the time of the minimum total GCS.
-- ------------------------------------------------------------------

-- Reference for GCS:
--    Teasdale G, Jennett B. "Assessment of coma and impaired
--    consciousness. A practical scale." Lancet. 1974;2(7872):81-84.

-- Adapted from mimic-code first_day_gcs.sql

WITH gcs_final AS (
    SELECT
        ie.subject_id,
        ie.stay_id,
        g.gcs,
        g.gcs_motor,
        g.gcs_verbal,
        g.gcs_eyes,
        g.gcs_unable,
        -- Deterministic tie-breaker: minimum total GCS alone can select
        -- multiple rows with different component values. Chart time plus
        -- components keeps the chosen tuple stable across execution plans
        -- while preserving minimum total GCS as the primary clinical rule.
        ROW_NUMBER() OVER (
            PARTITION BY g.stay_id
            ORDER BY
                g.gcs NULLS FIRST,
                g.charttime NULLS LAST,
                g.gcs_motor NULLS LAST,
                g.gcs_verbal NULLS LAST,
                g.gcs_eyes NULLS LAST,
                g.gcs_unable NULLS LAST
        ) AS gcs_seq
    FROM mimiciv_icu.icustays AS ie
    LEFT JOIN mimiciv_derived.gcs AS g
        ON ie.stay_id = g.stay_id
        AND g.charttime >= ie.intime - INTERVAL '6' HOUR
        AND g.charttime <= ie.intime + INTERVAL '1' DAY
)

SELECT
    ie.subject_id, ie.hadm_id, ie.stay_id
    -- DEVIATION from mimic-code: first_day_gcs leaves missing values NULL
    -- and returns gcs_unable. The benchmark evaluates only total/motor/verbal/
    -- eyes and follows the task instruction to treat missing GCS as normal.
    , COALESCE(gs.gcs, 15) AS gcs_min
    , COALESCE(gs.gcs_motor, 6) AS gcs_motor
    , COALESCE(gs.gcs_verbal, 5) AS gcs_verbal
    , COALESCE(gs.gcs_eyes, 4) AS gcs_eyes
FROM mimiciv_icu.icustays AS ie
LEFT JOIN gcs_final AS gs
    ON ie.stay_id = gs.stay_id AND gs.gcs_seq = 1
;
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 · 66 lines · 0 tokens per session scan A 462f5c4034c1

Subscribe to this mod's changes

mimic-gcs-24h-raw 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 635 tokens. A static security scan graded it A with 0 findings. It is 100% identical to mimic-apsiii-24h-raw, differing in 933 lines, and is treated as a copy.

Related

mimic-gcs-24h-raw compared with skills from other repositories

mimic-gcs-24h-raw next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mimic-gcs-24h-rawhannesill/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