Skip to main content
prompt GP ChatGPT official · Anthropic

sim_build — Claude Code prompt: trial simulation and setup

The sim_build Claude Code prompt builds and documents a Monte Carlo simulation of clinical trial outcomes. It models program success while accounting for parameter uncertainty and operational failure modes.

no license ★ 654 updated 2026-11-09

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add anthropics/life-sciences
/plugin install clinical-trial-forecast@life-sciences
Open on GitHub

What sim_build does

The prompt lays out a trial simulation with separate stages for parameter uncertainty, random trial data, statistical analysis, and program-level success. It calls for estimates of overall success, factor contributions, sensitivity to parameters and scenarios, plus a results.json file, figures, and a sim_report.md chapter.

The task requires brief.md, params.json, Bash, and Python 3 with numpy, scipy, pandas, and matplotlib. Network access and access outside the current directory are prohibited. If parameters conflict internally, the specified distribution should still be implemented and the issue recorded in issues.

What it helps with

  • estimate clinical program success with Monte Carlo simulation
  • separate parameter uncertainty from trial-level randomness
  • compare scenarios and operational failure modes
  • produce sensitivity figures and a results report

Example prompts for the agent

  • Build a clinical trial simulation from brief.md and params.json, then write the results and report.
  • Show how the probability of success changes across parameter values and trial sizes.
  • Compare the listed scenarios and identify which constraints most often prevent trial success.

How to install sim_build

1Plugin marketplace

/plugin marketplace add anthropics/life-sciences
/plugin install clinical-trial-forecast@life-sciences

2Manually: put the files in place

.claude/commands/sim_build.md

Questions about sim_build

How do I install sim_build in Claude Code?

Add the marketplace with /plugin marketplace add anthropics/life-sciences, then install the plugin with /plugin install clinical-trial-forecast@life-sciences. The command file is listed as .claude/commands/sim_build.md.

What does sim_build do?

It specifies a clinical trial simulation and analysis of its outcomes. Required outputs include results.json, figures, and a sim_report.md report chapter.

What does sim_build need to run?

It needs brief.md, params.json, Bash, and Python 3 with numpy, scipy, pandas, and matplotlib. The task forbids network access and work outside the current directory.

Similar prompts

All prompts for Science and research →

From the same set29

The whole set →
trial_checklist_condense The trial_checklist_condense Claude Code prompt condenses one clinical trial’s item-level analysis into a report and a searchable card. It draws from analysis files and a trial registry summary. GP ChatGPT ★ 654repo stars sim_spec The sim_spec Claude Code prompt turns assembled trial evidence into a parameter sheet for a Monte Carlo model. A separate builder implements that sheet. GP ChatGPT ★ 654repo stars sim_finalize The sim_finalize prompt for Claude Code prepares a report on an accepted clinical-trial simulation. Run it to assemble the model description, summary measures, and figures. GP ChatGPT ★ 654repo stars sim_critic The sim_critic Claude Code prompt audits a Monte Carlo clinical-trial model against its evidence, code, results, and report. It flags calibration issues and returns a verdict with ranked change requests. GP ChatGPT ★ 654repo stars sim_brief The sim_brief Claude Code prompt guides a clinical-trial simulation and its report. It runs when an agent is asked to implement a model from params.json. GP ChatGPT ★ 654repo stars researcher researcher is a Claude Code prompt for answering one research question about an indication. It draws on project files and external sources, checks figures, and returns cited findings. GP ChatGPT ★ 654repo stars research_planner The research_planner Claude Code prompt plans the next research round for a report on a medical indication. It prioritizes questions that could shift a recommendation or narrow decision-critical estimates. GP ChatGPT ★ 654repo stars narrative_writer The narrative_writer prompt for Claude Code and ChatGPT builds a narrative section for a clinical-trial forecast report. It traces the model from phase 2 evidence to the estimated probability of a phase 3 outcome. GP ChatGPT ★ 654repo stars

Project sponsors

Companies that keep this analytics open