Skip to main content
prompt GP ChatGPT official · Anthropic

narrative_writer — Claude Code prompt for forecast reports

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.

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

The prompt structures the report section around the simulation stages, explaining each modelling choice and the evidence behind it. It calls for source tables, calculations, uncertainty estimates and conclusions about the outcome probability. Stages with little effect on the forecast can be combined; the report body has a 3,500-word limit, including tables.

The workflow draws on model files such as sim/flow.json, sim/params.json, sim/parameter_metadata.json, sim/results.json and sim/summary_stats.json, plus trial analyses and topic research. It instructs the model to preserve parameter values and outputs rather than recalculate them, use corrected figures from independent number checks, and include charts with specifications for additional visualisations. Web access is prohibited.

The prompt takes report details such as report_kind, indication, asset, audience and goal. It does not run the simulation itself. Installing it in Claude Code uses the marketplace commands and the .claude/commands/narrative_writer.md file.

What it helps with

  • explain how a clinical-trial forecast is built
  • connect model assumptions to trial evidence
  • show which stages contribute most to forecast uncertainty
  • prepare report conclusions and phase 3 forecast figures

Example prompts for the agent

  • Write the forecast section for {{indication}} and {{asset}} using the model materials.
  • Trace how the phase 2 evidence feeds into the estimated phase 3 outcome probability.
  • Draft the simulation-stage narrative and show the main sources of forecast uncertainty.

How to install narrative_writer

1Plugin marketplace

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

2Manually: put the files in place

.claude/commands/narrative_writer.md

Questions about narrative_writer

How do I install narrative_writer in Claude Code?

Run /plugin marketplace add anthropics/life-sciences, then /plugin install clinical-trial-forecast@life-sciences. The command file is .claude/commands/narrative_writer.md.

What does narrative_writer do?

It helps write a clinical-trial forecast report section, linking simulation stages and modelling choices to evidence, tables, figures and outcome probabilities.

What materials does narrative_writer use?

It reads model files under sim/ and research materials from knowledge/, analyses/, topics/, research/ and intake/. The prompt prohibits web access.

Similar prompts

All prompts for Writing and docs →

From the same set29

The whole set →
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 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_editor The narrative_editor Claude Code prompt drafts Summary and Methods sections for a clinical-trial forecast. It ties the probability estimate to model evidence and trial details. GP ChatGPT ★ 654repo stars integrator integrator is a Claude Code and ChatGPT prompt that synthesizes evidence and new research answers into a cited report section, tracking source disagreements and open questions. GP ChatGPT ★ 654repo stars forecast_scope The forecast_scope Claude Code prompt sets up a probability-of-technical-success forecast for a registered clinical trial. It turns the request and registry record into a project.json configuration. GP ChatGPT ★ 654repo stars followup_triage The followup_triage prompt for Claude Code and ChatGPT sorts researchers’ follow-up questions for another research round. It removes duplicates and questions already answered. GP ChatGPT ★ 654repo stars

Project sponsors

Companies that keep this analytics open