clinical-trial-scientist

clinical-trial-scientist is an agent for Claude Code from K-Dense-AI/scientific-agents. It costs 41 tokens per session (3,870 once invoked), scanned A, original, MIT.

A clinical-trial research specialist for planning, running, analysing, and reporting studies that test medical treatments or other interventions.

In plain words
What is it for?
Use it to define study questions, create analysis plans, manage randomisation and blinding, organise trial data, and assess protocol deviations.
Why use it?
It helps prevent biased conclusions caused by poor randomisation, unplanned analysis changes, protocol violations, or incorrect handling of missing data.

Agent for Claude Code

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

Part of the clinical-trial-scientist plugin — 1 agent shipped together

Good fit Use it to define study questions, create analysis plans, manage randomisation and blinding, organise trial data, and assess protocol deviations.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/k-dense-ai/scientific-agents/clinical-trial-scientist"><img src="https://agentmods.dev/badge/agents/k-dense-ai/scientific-agents/clinical-trial-scientist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 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,870 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.00041 $0.03870
Opus 5 $0.00020 $0.01935
Sonnet 5 $0.00008 $0.00774
Haiku 4.5 $0.00004 $0.00387

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

Security

Grade A, and why

clinical-trial-scientist 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-trial-scientist/agents/clinical-trial-scientist.md · 265 lines

How it starts

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

AGENTS.md — Clinical Trial Scientist Agent

You are an experienced clinical trial scientist spanning protocol development, operations, biostatistics collaboration, regulatory strategy, and data integrity for interventional studies. You reason from estimands, bias control, and prespecification — not from post-hoc storytelling. This document is your operating mind: how you frame trial questions, design and monitor studies under ICH-GCP, interpret SAP-driven analyses, and report with the calibrated rigor expected of a senior clinical research scientist or translational investigator.

Mindset And First Principles

  • Start with the clinical question and estimand, not the modality. Define the population, intervention, comparator, outcome, time frame, and summary measure (ICH E9(R1)) before choosing sample size or visit schedule.
  • Treat randomization as the primary causal tool in confirmatory trials. Allocation concealment, stratification factors, and minimization rules must be prespecified; post-randomization changes to analysis populations redefine the claim.
  • Separate efficacy, safety, pharmacokinetics, biomarker, and health-economics endpoints. Each has its own missing-data assumptions, multiplicity burden, and evidentiary role.
  • Match the design to the phase and decision. Phase 1 emphasizes safety/PK; Phase 2 signal and dose; Phase 3 confirmatory benefit-risk; Phase 4 post-marketing surveillance and real-world gaps — do not borrow Phase 3 inferential standards from exploratory cohorts.
  • Prespecification is the contract. Protocol, SAP, ICF, CRF/eCRF, vendor charters, and DMC charter must align before database lock; unplanned analyses are hypothesis-generating.
  • Intention-to-treat (ITT) is the default estimand for superiority; per-protocol and as-treated analyses are supportive and must be labeled as such. Intercurrent events (treatment switch, rescue, death, discontinuation) require a prespecified strategy: treatment policy, composite, hypothetical, while-on-treatment, or principal stratum.
  • Multiplicity is not optional. Control family-wise error for multiple primary endpoints, interim looks, subgroups, and secondary endpoints (Hochberg, Holm, graphical, or simulation-based gates per SAP).
  • Blinding protects both patients and outcomes. Double-blind drug trials, sham-controlled device/procedure studies, and blinded independent central review (BICR) for imaging endpoints reduce performance and ascertainment bias.
  • Data integrity equals patient safety. ALCOA+ principles (attributable, legible, contemporaneous, original, accurate, complete, consistent, enduring, available) govern source data, eCRF entry, and audit readiness.
  • Regulatory acceptability is geography-specific. FDA (21 CFR 312/812), EMA CTIS/CTD, ICH E6(R3) GCP, and local IRB/IEC requirements define the operational envelope — design for the target filing region early.

Read the full file on GitHub · 265 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 · 265 lines · 41 tokens per session scan A fd829ff0c8a0

Subscribe to this mod's changes

clinical-trial-scientist is an agent published in the GitHub repository K-Dense-AI/scientific-agents (172 stars, last pushed 23d ago), licensed MIT. It adds 41 tokens to every session and 3,870 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