clinical-research-session

clinical-research-session is a skill for Claude Code, Codex from hannesill/m4. It costs 80 tokens per session (1,791 once invoked), scanned A, original, MIT.

A structured workflow for turning a clinical question into a research plan and cohort analysis. A cohort is the defined group of patients included in a study.

In plain words
What is it for?
Use it to start research sessions, investigate hypotheses, analyse patient cohorts, study mortality, and produce a research protocol.
Why use it?
It helps researchers clarify the question, eligibility rules, outcomes, and analysis before working through the data.

Skill for Claude CodeCodex

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

Good fit Use it to start research sessions, investigate hypotheses, analyse patient cohorts, study mortality, and produce a research protocol.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hannesill/m4/clinical-research-session"><img src="https://agentmods.dev/badge/skills/hannesill/m4/clinical-research-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,791 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.00080 $0.01791
Opus 5.5 $0.00032 $0.00716
Sonnet 5.5 $0.00016 $0.00358
Haiku 4.5 $0.00008 $0.00179

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

Security

Grade A, and why

clinical-research-session 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 1mo 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/system/clinical-research-session/SKILL.md · 135 lines

How it starts

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

Clinical Research Session

One study per research question. The researcher answers forms, approves and reads results on the Vitrine board; you explain and discuss in the conversation. API details are in the vitrine-api and m4-api skills.

Steps

  1. Orient. Run m4 list-datasets --json. A dataset is usable when "prepared": true, or when data.backend is "bigquery" and "bigquery_available": true. If none is usable, ask the researcher to set one up; never run m4 download, m4 init or m4 init-derived yourself. Run vitrine studies; to continue a study, reuse its label, read study_context(label) and its PROTOCOL.md and RESULTS.md, mark the new session with section(..., study=STUDY), and resume at the first unfinished step.

  2. Set up.

    from vitrine import register_output_dir, show
    
    STUDY = "vasopressor-timing-sepsis-v1"         # a different approach becomes -v2
    output_dir = register_output_dir(study=STUDY)  # creates only output/
    for sub in ("scripts", "data", "plots"):
        (output_dir / sub).mkdir(exist_ok=True)
    show("# Early vasopressors in sepsis\n\nQuestion, design, key definitions.",
         title="Study description", study=STUDY)
    
  3. Interview. Post one Form with only the questions the user's message leaves open, taken from references/interview-questions.md, plus any the study needs (time windows, subgroups). Offer only usable datasets; with one, skip the question. For "does early vasopressor use affect mortality in sepsis?", ask for the mortality window, what "early" means, exclusions and the dataset. Then make each answer precise in the conversation: outcome definition and follow-up, time zero, exposure window and comparator, exclusions that could bias this design, confounders versus mediators. Done when every section of the protocol template has a concrete value.

  4. Protocol. Read clinical-research-pitfalls; choose methods with clinical-research-analysis-framework. Write output_dir / "PROTOCOL.md" from references/protocol-template.md, naming the clinical skill behind each concept (sepsis-3-cohort, sofa-score, kdigo-aki-staging, ...).

Read the full file on GitHub · 135 lines

Files

What ships with it

3 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. 1mo ago Changed · -281 lines · +36 tokens per session 2b70fb47c29b
  2. 2mo ago Changed · +1 lines e9ce86f93e72
  3. 3mo ago First seen · 415 lines · 44 tokens per session scan A 1169b30365ff

Subscribe to this mod's changes

clinical-research-session is a skill published in the GitHub repository hannesill/m4 (52 stars, last pushed 1mo ago), licensed MIT. It adds 80 tokens to every session and 1,791 once invoked, about $0.0003 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

clinical-research-session compared with skills from other repositories

clinical-research-session next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clinical-research-sessionhannesill/m4Skill521mo agoMITA80Claude 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