gcs-calculation

gcs-calculation is a skill for Claude Code, Codex from hannesill/m4. It costs 33 tokens per session (726 once invoked), scanned A, original, MIT.

A method for extracting the Glasgow Coma Scale (GCS), a three-part measure of consciousness based on eye opening, verbal response, and movement, from ICU records.

In plain words
What is it for?
Use it to monitor consciousness, assess neurological or trauma severity, and calculate first-day GCS values for ICU stays.
Why use it?
It standardizes neurological assessment from nursing chart data over a defined period around ICU admission.

Skill for Claude CodeCodex

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

Good fit Use it to monitor consciousness, assess neurological or trauma severity, and calculate first-day GCS values for ICU stays.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hannesill/m4/gcs-calculation"><img src="https://agentmods.dev/badge/skills/hannesill/m4/gcs-calculation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 726 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.00033 $0.00726
Opus 5.5 $0.00013 $0.00290
Sonnet 5.5 $0.00007 $0.00145
Haiku 4.5 $0.00003 $0.00073

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

Security

Grade A, and why

gcs-calculation 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.

benchmark/tasks/gcs/eicu-gcs/skills/gcs-calculation/SKILL.md · 71 lines

How it starts

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

Glasgow Coma Scale (GCS) Calculation for eICU

The Glasgow Coma Scale assesses level of consciousness through three components: Eye opening, Verbal response, and Motor response. This benchmark task asks for the minimum first-day GCS per eICU ICU stay.

M4Bench Use

In M4Bench, target concept tables listed in the task configuration are removed or unavailable in the agent database. Use this skill as procedural guidance and derive the requested output from available source or intermediate tables; do not rely on a precomputed target table or bundled SQL script.

eICU Source Tables

  • eicu_crd.patient — one row per ICU stay; use for output identifiers.
  • eicu_crd.nursecharting — primary source for GCS total and components.

The time axis is eICU offset minutes from ICU admission. For this task, include charting from 6 hours before admission through 24 hours after admission: nursingchartoffset >= -360 and nursingchartoffset <= 1440.

Nursecharting Labels

Use rows in nursecharting where nursingchartcelltypecat is Scores or Other Vital Signs and Infusions.

GCS total can be charted under either of these label/name pairs:

Label Name
Glasgow coma score GCS Total
Score (Glasgow Coma Scale) Value

Components are charted under label Glasgow coma score with names:

Output Component Nursecharting Name Normal Default
gcs_motor Motor 6
gcs_verbal Verbal 5
gcs_eyes Eyes 4

Critical Implementation Notes

  1. Validate total GCS: Use charted total GCS only when it is numeric and between 3 and 15 inclusive.

  2. Component fallback: If total GCS is not charted at a timepoint, compute total as eyes + motor + verbal, using the normal defaults above for any missing component at that timepoint.

  3. Minimum selection: Return the timepoint with the lowest total GCS in the first-day window. If there is a tie, choose the earliest chart offset.

Read the full file on GitHub · 71 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. 3mo ago First seen · 71 lines · 33 tokens per session scan A 0175c319bf39

Subscribe to this mod's changes

gcs-calculation is a skill published in the GitHub repository hannesill/m4 (52 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 726 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

gcs-calculation compared with skills from other repositories

gcs-calculation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gcs-calculationhannesill/m4Skill521mo agoMITA33Claude 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