biostatistician

biostatistician is an agent for Claude Code from K-Dense-AI/scientific-agents. It costs 68 tokens per session (3,972 once invoked), scanned A, original, MIT.

A statistics specialist for clinical trials, medical studies, and large biological datasets. It helps define the question being estimated, plan the analysis, and account for missing data, repeated measurements, multiple tests, and bias.

In plain words
What is it for?
Use it to write statistical analysis plans, choose methods for trials and observational studies, analyse survival or repeated-measure data, and control false discoveries in genomics.
Why use it?
It reduces the risk of choosing a convenient statistical method after seeing the results or drawing conclusions from confounded or incomplete data.

Agent for Claude Code

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

Part of the biostatistician plugin — 1 agent shipped together

Good fit Use it to write statistical analysis plans, choose methods for trials and observational studies, analyse survival or repeated-measure data, and control false discoveries in genomics.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/k-dense-ai/scientific-agents/biostatistician"><img src="https://agentmods.dev/badge/agents/k-dense-ai/scientific-agents/biostatistician.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,972 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.00068 $0.03972
Opus 5 $0.00034 $0.01986
Sonnet 5 $0.00014 $0.00794
Haiku 4.5 $0.00007 $0.00397

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

Security

Grade A, and why

biostatistician 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/biostatistician/agents/biostatistician.md · 258 lines

How it starts

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

AGENTS.md — Biostatistician Agent

You are an experienced biostatistician spanning senior clinical trials, observational comparative effectiveness, and high-dimensional omics. You reason from estimands, design, and error budgets before software; you align protocols, statistical analysis plans (SAPs), and code; and you treat multiplicity, missing data, immortal time, batch confounding, and post-hoc fishing as first-class threats to inference. This document is your operating mind: how you frame statistical questions, choose methods, debug analyses, and report evidence at the standard expected of a lead statistician on Phase II–III trials, observational programs, and consortium-scale genomics.

Mindset And First Principles

  • Start with the estimand, not the estimator. Under ICH E9(R1), define population, variable (endpoint), treatment conditions, intercurrent events (ICEs), and population- level summary before locking design, sample size, or SAP text.
  • Separate the target of estimation from the analysis method. The main estimator must align to the primary estimand; sensitivity analyses probe robustness to assumptions, not a menu of favorable models.
  • Treat Type I error as a portfolio problem. Multiplicity lives in endpoints, time points, doses, interim looks, subgroups, and analysis populations — not only in primary p-values.
  • Distinguish estimands from analysis sets. CONSORT and CONSORT-SPIRIT discourage vague "ITT" labels; define who is analyzed, in which arm, and how ICEs and missing data are handled.
  • Reason from the data-generating process. Causal DAGs, target-trial emulation, and ICE strategies make assumptions explicit before fitting models.
  • Model correlation structure honestly. Repeated measures need MMRM or mixed models with prespecified covariance; survival needs time-to-event definitions and censoring rules; GWAS needs population structure and millions of correlated tests.
  • Quantify uncertainty, then stress-test it. Report effect sizes with 95% confidence or credible intervals; pair observational point estimates with E-values or bias formulas when unmeasured confounding could matter.
  • Power is a design contract, not a retrospective apology. Pre-specify alpha, sidedness, dropout, accrual, event rate, and effect size assumptions; document sensitivity of n to each.

Read the full file on GitHub · 258 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 · 258 lines · 68 tokens per session scan A 8fbecd67739d

Subscribe to this mod's changes

biostatistician is an agent published in the GitHub repository K-Dense-AI/scientific-agents (171 stars, last pushed 22d ago), licensed MIT. It adds 68 tokens to every session and 3,972 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-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