cse-analysis

cse-analysis is a command for coding agents from choxos/BiostatAgent. It costs 14 tokens per session (956 once invoked), scanned A, original, MIT.

A command for evaluating clinical trial designs across multiple possible scenarios, analysis methods, and success criteria. It uses the Mediana framework, an R system for clinical trial simulations.

In plain words
What is it for?
Use it to construct data, analysis, and evaluation models, then run a full Clinical Scenario Evaluation simulation.
Why use it?
It provides a structured workflow for comparing how a trial design behaves under different assumptions. This helps reveal whether a design succeeds across more than one expected situation.

Command

Part of the clinical-trial-simulation plugin — 7 skills, 5 commands, 7 agents shipped together

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.

agentmods
npx agentmods add commands/choxos/biostatagent/cse-analysis
Clone the repo
git clone --depth 1 https://github.com/choxos/BiostatAgent

Or install clinical-trial-simulation, the plugin that ships this one along with the rest of its 7 skills, 5 commands, 7 agents.

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 cse-analysis

README.md
[![agentmods](https://agentmods.dev/badge/commands/choxos/biostatagent/cse-analysis.svg)](https://agentmods.dev/commands/choxos/biostatagent/cse-analysis)
Your own site
<a href="https://agentmods.dev/commands/choxos/biostatagent/cse-analysis"><img src="https://agentmods.dev/badge/commands/choxos/biostatagent/cse-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 956 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00014 $0.00956
Opus 5 $0.00007 $0.00478
Sonnet 5 $0.00003 $0.00191
Haiku 4.5 $0.00001 $0.00096

Measured 4d ago against content hash a0eb8609a09f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cse-analysis 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 4d 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.

plugins/clinical-trial-simulation/commands/cse-analysis.md · 140 lines

How it starts

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

Clinical Scenario Evaluation Workflow

Overview

Comprehensive Clinical Scenario Evaluation (CSE) using the Mediana package to evaluate trial designs across multiple scenarios, analysis strategies, and success criteria.

Workflow Phases

Phase 1: Data Model Construction

Phase 2: Analysis Model Construction

Phase 3: Evaluation Model

Phase 4: Simulation Execution

Read the full file on GitHub · 140 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. 4d ago First seen · 140 lines · 14 tokens per session scan A a0eb8609a09f

Subscribe to this mod's changes

cse-analysis is a command published in the GitHub repository choxos/BiostatAgent (11 stars, last pushed 3mo ago), licensed MIT. It adds 14 tokens to every session and 956 once invoked, about $0.0001 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.