# 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.

- prompt · `type=prompt` · Claude Code, ChatGPT · ★ 654 repo stars
- Author: anthropics · official Anthropic repository
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/anthropics/life-sciences/tree/HEAD/clinical-trial-forecast/prompts/narrative_editor.md
- Updated: 2026-11-09
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/prompts/narrative-editor

## What it does

The prompt drafts Summary and Methods sections for a clinical-trial forecast report. It checks the Summary against the staged narrative and files containing statistics, results, and figure captions. It also reads text and notes under `intake`, plus `report/claim_ledger.md` when that file exists.

The Summary covers the headline forecast and its intervals, the factors driving uncertainty, recommendations, and a table of trial facts. For each key factor, the prompt asks for a plain-language explanation, supporting trial names and figures, and probabilities at the factor’s low and high values. Methods gives a short account of evidence gathering and checks, modelling, and claim verification; the code and parameter sheet are in `sim/`.

Web access is disallowed, and sponsor disclosures must be distinguished from observed facts. Installation in Claude Code uses both marketplace commands and the prompt file at `.claude/commands/narrative_editor.md`.

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add anthropics/life-sciences
```
In the agent chat (not a shell):
```text
/plugin install clinical-trial-forecast@life-sciences
```

2. **Manually: put the files in place**
- File: `.claude/commands/narrative_editor.md`

### ChatGPT

**How to use**
- Paste the text at the start of a chat or into project instructions

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/anthropics/life-sciences/tree/HEAD/clinical-trial-forecast/prompts/narrative_editor.md

## When to use it
- draft a clinical-trial forecast summary from report materials
- show which uncertainties move the forecast probability most
- assemble trial design, population, and timing details in a table
- describe the evidence checks and modelling process

## Example prompts
- Draft the forecast Summary from the report files and the data in `sim`.
- Explain which factors drive the probability and show the estimate at each factor’s low and high values.
- Prepare the Methods section and trial table for the report.

## Similar
- [clinical-trial-protocol-skill](https://affpapa.org/en/nevibecode/skills/clinical-trial-protocol-skill.md) — skill · 469 installs
- [clinical-reports](https://affpapa.org/en/nevibecode/skills/clinical-reports.md) — skill · 77 installs
- [sciagent-skills](https://affpapa.org/en/nevibecode/plugins/sciagent-skills.md) — plugin · ★ 395 repo stars
- [paper-editor](https://affpapa.org/en/nevibecode/skills/paper-editor.md) — skill · ★ 165 repo stars
- [gmgn-narrative](https://affpapa.org/en/nevibecode/skills/gmgn-narrative.md) — skill · 7000 installs
- [Clinical Trials Data Server](https://affpapa.org/en/nevibecode/mcp/clinical-trials-data-server.md) — MCP server · 5823 installs

From the same set: [anthropics/life-sciences](https://affpapa.org/en/nevibecode/by/anthropics/life-sciences.md) — 29 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
