# appendix_writer

appendix_writer — a prompt for Claude Code and ChatGPT that compiles technical simulation appendices for clinical trials. It converts model files into structured audit documentation without external web calls.

- 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/appendix_writer.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/appendix-writer

## What it does

The template structures model mechanics across seven fixed sections: clinical design, equations, parameter copulas, summary outputs, tested scenarios, validation reviews, and missing literature. All mathematical representations use equation blocks, while design settings and scenario variations stay in compact tables.

The assistant works offline, extracting every metric strictly from pre-computed artifacts such as `sim/results.json`, `sim/flow.json`, and `sim/summary_stats.json`. Recalculating or altering existing figures is blocked. The resulting markdown stays within a 2,500-word budget and includes core takeaways alongside unresolved data gaps.

## 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/appendix_writer.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/appendix_writer.md

## When to use it
- compile formal trial simulation mechanics into auditor-ready tables
- summarize sensitivity scenarios and metric intervals from JSON logs
- record model critiques, missing papers, and parameter limitations

## Example prompts
- Generate appendix section A using sim/results.json and sim/summary_stats.json
- Draft the simulation mathematics and copula dependencies from sim/flow.json
- Assemble the scenario analysis table and validation checks into markdown

## Similar
- [appendix](https://affpapa.org/en/nevibecode/mcp/appendix-appendix.md) — MCP server · 665 installs
- [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
- [biorxiv-search](https://affpapa.org/en/nevibecode/skills/biorxiv-search.md) — skill · 150 installs
- [research-router-skill](https://affpapa.org/en/nevibecode/skills/research-router-skill.md) — skill · 16 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
