Skip to main content
prompt GP ChatGPT official · Anthropic

sim_finalize — Claude Code prompt: what it does, how to install

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.

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_finalize does

The prompt directs the agent to turn a Monte Carlo simulation and its results into a publication-ready report. It specifies an architecture flow, parameter metadata, summary statistics, and figures covering effect adjustments, sensitivity, and observed versus true effects. Outputs include JSON files, PNG charts, and a finalization log.

Work stays inside the current sandbox, with no network or access beyond that directory. The accepted simulate.py and params.json must remain unchanged; a separate finalize.py can handle extra simulation records. Requirements include Bash, Python 3 with numpy, scipy, pandas, and matplotlib, plus Read, Write, Edit, Glob, and Grep.

What it helps with

  • map the stages of a Monte Carlo simulation
  • document model parameters with evidence sources
  • summarize success probabilities and uncertainty intervals
  • plot effect adjustments and simulation outcomes

Example prompts for the agent

  • Prepare the final report for the accepted simulation in this sandbox.
  • Create parameter metadata and summary statistics for the report.
  • Generate the listed figures and record the calculations in the finalization log.

How to install sim_finalize

1Plugin marketplace

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

2Manually: put the files in place

.claude/commands/sim_finalize.md

Questions about sim_finalize

How do I install sim_finalize 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 .claude/commands/sim_finalize.md.

What does sim_finalize do?

It prepares a simulation architecture description, parameter metadata, summary statistics, and report figures. It also writes a log of the calculations and results check.

What does sim_finalize need to run?

It needs an accepted simulation containing simulate.py and params.json, Bash, and Python 3 with numpy, scipy, pandas, and matplotlib. It is restricted to the current sandbox and must leave the two accepted model files unchanged.

Similar prompts

All prompts for Science and research →

From the same set29

The whole set →
verify_claim The verify_claim Claude Code prompt checks a claim from a clinical research report against primary sources. It tests figures and conditions, finds trial examples, then returns a verdict. GP ChatGPT ★ 654repo stars trial_checklist_worker The trial_checklist_worker Claude Code prompt analyzes one clinical trial against a fixed question group. It draws on registry records, project files, and research sources. GP ChatGPT ★ 654repo stars 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_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_build 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. 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

Project sponsors

Companies that keep this analytics open