clinical-research-analysis-framework

clinical-research-analysis-framework is a skill for Claude Code, Codex from hannesill/m4. It costs 59 tokens per session (4,704 once invoked), scanned A, original, MIT.

A guided process for analyzing clinical records from sources such as MIMIC and eICU, using statistics or machine learning. It helps define the research question, check assumptions, choose methods, and record each step.

In plain words
What is it for?
Planning or carrying out research studies, comparing statistical and predictive approaches, checking model or result validity, and documenting reproducible analyses.
Why use it?
Clinical data analysis can produce misleading results when methods or assumptions are chosen too quickly. This process adds checkpoints and an audit trail so the work is easier to review and reproduce.

Skill for Claude CodeCodex

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

Good fit Planning or carrying out research studies, comparing statistical and predictive approaches, checking model or result validity, and documenting reproducible analyses.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hannesill/m4/clinical-research-analysis-framework"><img src="https://agentmods.dev/badge/skills/hannesill/m4/clinical-research-analysis-framework.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,704 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.00059 $0.04704
Opus 5 $0.00030 $0.02352
Sonnet 5 $0.00012 $0.00941
Haiku 4.5 $0.00006 $0.00470

Measured 9d ago against content hash 668c27e89f9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

clinical-research-analysis-framework 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 9d 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/clinical-research-analysis-framework/SKILL.md · 580 lines

How it starts

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

Statistical Analysis Framework

Overview

This skill provides a consultation-first workflow for statistical and machine learning analyses. Rather than jumping to implementation, it guides users through structured decision-making to ensure:

  • Research intent is fully captured before any code runs
  • Method selection is informed by trade-offs, not defaults
  • Assumptions and limitations are explicitly acknowledged
  • Execution is stepwise with checkpoints for user feedback
  • All work is reproducible with complete audit trails

When to Use This Skill

  • Planning a new analysis on MIMIC, eICU, or similar data
  • Choosing between statistical inference vs predictive modeling
  • Needing guidance on appropriate methods for a research question
  • Executing analyses with reproducibility requirements
  • Validating ML models or statistical findings

Guiding Philosophy

This Skill Guides, Not Limits

The methods and checklists in this skill are starting points, not boundaries. Claude's statistical knowledge extends far beyond what is explicitly listed here. When a user's problem calls for a method not covered in the references — whether that's g-computation, Bayesian hierarchical models, causal forests, doubly robust estimation, joint longitudinal-survival models, or something else entirely — Claude should:

  1. Suggest it with clear explanation of why it fits better
  2. Explain the intuition so the user understands the approach
  3. Compare it to simpler alternatives with trade-offs
  4. Let the user decide based on understanding, not just trust

The Collaboration Model

User describes problem
        ↓
Claude suggests methods (from full knowledge, not just this skill)
        ↓
Claude explains: "Here's why this fits your situation..."
        ↓
User asks questions, pushes back, explores alternatives
        ↓
Claude refines: "Given that concern, consider instead..."
        ↓
User makes informed choice
        ↓
Proceed with understanding, not blind execution

Read the full file on GitHub · 580 lines

Files

What ships with it

8 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. 9d ago First seen · 580 lines · 59 tokens per session scan A 668c27e89f9e

Subscribe to this mod's changes

clinical-research-analysis-framework is a skill published in the GitHub repository hannesill/m4 (43 stars, last pushed 1mo ago), licensed MIT. It adds 59 tokens to every session and 4,704 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

arbor-agent-orchestrator

Top-level controller for recreating the open-source AutoResearch workflow as a suite of skills. Use when the user asks to run, emulate, extract, validate, or refine Arbor/AutoResearch behavior, especially when a coordinator must load phase skills for setup, ideation, executors, merge evaluation, novelty search…

RUC-NLPIR/Arbor · 77 tokens

dfam-check

Measure mesh files against Design for Additive Manufacturing (DfAM) rules and report printability findings per process (FDM, SLS, SLA/DLP, metal PBF, MJF). Use when the user asks whether a part is printable, wants overhang/wall-thickness/support analysis of an .stl, .obj, .ply, or .3mf mesh, wants a build-orientation…

earthtojake/text-to-cad · 111 tokens

tooluniverse-gene-enrichment

Gene-set enrichment analysis — GO (Biological Process, Molecular Function, Cellular Component), KEGG, Reactome pathway enrichment via clusterProfiler, gseapy, ORA, GSEA. Use for interpreting DEG lists, screen hit lists, or any gene-list-to-pathways query. Includes simplify-cutoff handling and union-vs-total…

mims-harvard/ToolUniverse · 82 tokens

tooluniverse-phylogenetics

Phylogenetic analysis — de novo multiple sequence alignment (Clustal Omega/MUSCLE/MAFFT via EBImsaalign) and neighbour-joining/UPGMA tree building (EBIbuildphylogenetictree) from your own sequences, plus tree analysis, treeness, saturation (PhyKIT), parsimony-informative sites, alignment gap analysis, DVMC…

mims-harvard/ToolUniverse · 155 tokens

tooluniverse-variant-analysis

VCF and variant analysis — parsing, annotation, classification (synonymous, missense, frameshift, stopgained), VAF filtering, coding vs non-coding categorization, multi-condition variant comparison. Use for VCF parsing, variant fraction calculations (denominator = coding subset only, NOT all variants), and per-sample…

mims-harvard/ToolUniverse · 77 tokens

tooluniverse-cell-line-profiling

Cancer cell-line selection and profiling for experimental model choice. Cross-references DepMap, Cellosaurus, COSMIC, PharmacoDB to deliver identity verification, mutation/CNV profile, gene dependencies, drug sensitivities, and druggable targets. Use to answer 'which cell line should I use for studying gene X?' or 'is…

mims-harvard/ToolUniverse · 100 tokens