suspicion-of-infection

suspicion-of-infection is a skill for Claude Code, Codex from hannesill/m4. It costs 33 tokens per session (1,522 once invoked), scanned A, original, MIT.

A clinical-data method for identifying suspected infection from systemic antibiotics and nearby culture collection. It is used in Sepsis-3 research, where suspected infection is one part of assessing sepsis.

In plain words
What is it for?
Use it to build sepsis study groups, measure time to treatment, study infection onset, assess antibiotic stewardship, or research culture results.
Why use it?
It gives a consistent time-based rule for deciding when infection was suspected instead of relying on subjective chart review.

Skill for Claude CodeCodex

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

Good fit Use it to build sepsis study groups, measure time to treatment, study infection onset, assess antibiotic stewardship, or research culture results.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hannesill/m4/suspicion-of-infection"><img src="https://agentmods.dev/badge/skills/hannesill/m4/suspicion-of-infection.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 1,522 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.01522
Opus 5.5 $0.00013 $0.00609
Sonnet 5.5 $0.00007 $0.00304
Haiku 4.5 $0.00003 $0.00152

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

Security

Grade A, and why

suspicion-of-infection 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/sepsis3/mimic-sepsis3-raw/skills/suspicion-of-infection/SKILL.md · 113 lines

How it starts

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

Suspicion of Infection

This concept identifies when clinicians suspected infection based on clinical actions: systemic antibiotic administration combined with culture collection within a defined time window. It operationalizes the infection component of the Sepsis-3 definition (Seymour et al. 2016).

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.

When to Use This Skill

  • Building Sepsis-3 cohorts (infection component)
  • Antibiotic stewardship research
  • Time-to-treatment studies
  • Infection onset timing
  • Culture yield research

Definition Logic

Suspected infection requires BOTH:

  1. Antibiotic administration (systemic, not topical)
  2. Culture collection within time window:
    • Culture obtained up to 72h BEFORE antibiotic, OR
    • Culture obtained up to 24h AFTER antibiotic

Suspected Infection Time

The suspected_infection_time is defined as:

  • The culture time if culture was obtained BEFORE antibiotic
  • The antibiotic time if antibiotic was given BEFORE culture

This represents when infection was first clinically suspected.

Culture Matching Logic

Each antibiotic is matched to cultures in two directions:

Culture Before Antibiotic (Primary)

  • Culture obtained within 72 hours before antibiotic start
  • If multiple cultures, uses the EARLIEST culture before the antibiotic

Culture After Antibiotic (Secondary)

  • Culture obtained within 24 hours after antibiotic start
  • If multiple cultures, uses the EARLIEST culture after the antibiotic

Priority: Culture-before-antibiotic takes precedence when both exist.

Critical Implementation Notes

  1. One Row Per Antibiotic: Each antibiotic prescription gets its own row, potentially matched to one culture. A single culture may be matched to multiple antibiotics.

Read the full file on GitHub · 113 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 · 113 lines · 33 tokens per session scan A a91783b19d25

Subscribe to this mod's changes

suspicion-of-infection 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 1,522 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

suspicion-of-infection compared with skills from other repositories

suspicion-of-infection next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
suspicion-of-infectionhannesill/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