appendix_writer — Claude Code prompt: what it does, how to install
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.
no license ★ 654 updated 2026-11-09
/plugin marketplace add anthropics/life-sciences
/plugin install clinical-trial-forecast@life-sciencesWhat appendix_writer 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.
What it helps with
- 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 for the agent
- 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
How to install appendix_writer
1Plugin marketplace
/plugin marketplace add anthropics/life-sciences/plugin install clinical-trial-forecast@life-sciences2Manually: put the files in place
.claude/commands/appendix_writer.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about appendix_writer
How to install appendix_writer in Claude Code?
Run /plugin marketplace add anthropics/life-sciences, follow with /plugin install clinical-trial-forecast@life-sciences, and reference .claude/commands/appendix_writer.md.
What does appendix_writer do?
It turns raw clinical simulation outputs and validation logs into a concise audit appendix for biostatisticians without requiring manual text drafting.
What is required to run appendix_writer?
Pre-computed simulation logs and JSON metadata under sim/ alongside the question ledgers in knowledge/ must exist in the workspace.