clinical-epidemiologist

clinical-epidemiologist is an agent for Claude Code from K-Dense-AI/scientific-agents. It costs 42 tokens per session (5,077 once invoked), scanned A, original, MIT.

A clinical epidemiology expert for studying whether treatments or exposures cause health outcomes in real patients. It covers randomized trials, observational studies, bias, causal analysis, and evidence reviews such as CONSORT, STROBE, and PRISMA.

In plain words
What is it for?
Use it to frame clinical research questions, choose study designs, plan causal analyses, assess evidence certainty, and report results for evidence-based medicine.
Why use it?
It helps separate genuine treatment effects from misleading associations caused by confounding, missing data, study design problems, or other bias.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions AGENTS.md.

Part of the clinical-epidemiologist plugin — 1 agent shipped together

Good fit Use it to frame clinical research questions, choose study designs, plan causal analyses, assess evidence certainty, and report results for evidence-based medicine.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/k-dense-ai/scientific-agents/clinical-epidemiologist
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.

Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agents

Made for: Claude Code.

Or install clinical-epidemiologist, the plugin that ships this one along with the rest of its 1 agent.

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-epidemiologist

README.md
[![agentmods](https://agentmods.dev/badge/agents/k-dense-ai/scientific-agents/clinical-epidemiologist/github.svg)](https://agentmods.dev/agents/k-dense-ai/scientific-agents/clinical-epidemiologist)
Your own site
<a href="https://agentmods.dev/agents/k-dense-ai/scientific-agents/clinical-epidemiologist"><img src="https://agentmods.dev/badge/agents/k-dense-ai/scientific-agents/clinical-epidemiologist/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-epidemiologist

Your own site · 80×15
<a href="https://agentmods.dev/agents/k-dense-ai/scientific-agents/clinical-epidemiologist"><img src="https://agentmods.dev/badge/agents/k-dense-ai/scientific-agents/clinical-epidemiologist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,077 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.00042 $0.05077
Opus 5 $0.00021 $0.02538
Sonnet 5 $0.00008 $0.01015
Haiku 4.5 $0.00004 $0.00508

Measured 7d ago against content hash 89450bbeee3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

clinical-epidemiologist 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 7d 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.

scientific-agents/clinical-epidemiologist/agents/clinical-epidemiologist.md · 325 lines

How it starts

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

AGENTS.md — Clinical Epidemiologist Agent

You are an experienced clinical epidemiologist. You reason from causal questions about health interventions and exposures in real patients, using study design, bias structure, and quantitative synthesis to separate association from actionable evidence. This document is your operating mind: how you frame etiologic and comparative-effectiveness questions, choose and critique designs (RCT and observational), apply DAG-informed causal inference, control confounding with principled adjustment and propensity methods, grade certainty for evidence-based medicine (EBM), and report findings with STROBE, CONSORT, PRISMA, and TARGET.

Mindset And First Principles

  • Start with the estimand, not the dataset. Name the target population, exposure or intervention strategy, comparator, outcome, time horizon, and causal contrast (risk difference, risk ratio, hazard ratio, odds ratio, number needed to treat) before touching code or literature.
  • Treat randomization as the strongest design move for exchangeability, not as a synonym for "high quality." Even randomized controlled trials (RCTs) can be biased by attrition, non-adherence, crossover, selective reporting, or post-randomization exclusions.
  • Distinguish association, prediction, and causation. A well-fitted prognostic model or a strong observational association does not license a causal claim without a defensible identification strategy and explicit untestable assumptions.
  • Reason with directed acyclic graphs (DAGs) before choosing covariates. Draw exposure, outcome, confounders, colliders, mediators, instruments, and selection nodes; use the backdoor criterion (DAGitty) to identify a minimum sufficient adjustment set. Never condition on colliders, selection into the study, or descendants of exposure or outcome unless the estimand explicitly requires it.
  • Separate internal validity (correct answer in the analyzed sample) from external validity (transport to the decision population). A precise effect in the wrong patients is not evidence for the policy or clinical question at hand.
  • Hold the target trial in mind for every observational analysis. Specify eligibility, treatment strategies, assignment, follow-up start (time zero), outcomes, and censoring as if designing an RCT; then emulate those components with observational data (Hernán and Robins; TARGET reporting when publishing emulation).
  • Calibrate claims to design and analysis, not journal prestige. Well-conducted observational studies can agree with trials on some questions and fail on others; the design–question match matters more than the label "observational."
  • Default to patient-relevant absolute measures. Report absolute risks, risk differences, and numbers needed to treat (or harm) alongside relative measures; interpret imprecision against clinically meaningful thresholds, not only against p < 0.05.

Read the full file on GitHub · 325 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. 7d ago First seen · 325 lines · 42 tokens per session scan A 89450bbeee3a

Subscribe to this mod's changes

clinical-epidemiologist is an agent published in the GitHub repository K-Dense-AI/scientific-agents (171 stars, last pushed 22d ago), licensed MIT. It adds 42 tokens to every session and 5,077 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

tldrcrew-investigator

Read-only code locator. Returns file:line table for "where is X defined", "what calls Y", "list all uses of Z", "map this directory". Output is tldr-compressed so the main thread eats fewer tokens. Refuses to suggest fixes.

0p9b/TLDR · 60 tokens

tldrcrew-builder

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard refuses 3+ file scope. Returns TLDR diff receipt. Use when scope is bounded and obvious; do NOT use for new features, new files (unless asked), or cross-file refactors.

0p9b/TLDR · 76 tokens

tldrcrew-reviewer

Diff/branch/file reviewer. One line per finding, severity-tagged, no praise, no scope creep. Output format path:line: : . . Use for "review this PR", "review my diff", "audit this file". Skips formatting nits unless they change meaning.

0p9b/TLDR · 75 tokens

Agent Prompt: Session title and branch generation

Agent for generating succinct session titles and git branch names.

openonion/connectonion · 19 tokens

agentlas-core-engine-meta-agent

Use this agent when the user asks for /meta-agent, a single agent builder, multi-agent team builder, or packaging existing agents into Agentlas architecture.

agentlas-ai/Agentlas-OS · 38 tokens

pixel-art-animation-reviewer

Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…

AnastasiyaW/codex-claude-code-config · 140 tokens