condense_part — Claude Code prompt for report sections
condense_part is a Claude Code prompt that trims a clinical forecast report section to a word limit. It keeps key figures, tables, and citations intact.
no license ★ 654 updated 2026-11-09
/plugin marketplace add anthropics/life-sciences
/plugin install clinical-trial-forecast@life-sciencesWhat condense_part does
condense_part reduces one section of a forecast report for a given indication and asset to a hard word ceiling, tables included. The template takes the report type, indication, asset, word limit, current word count, minimum required cut, and a description of uncertainty drivers.
It allocates cuts by how much each stage affects the estimate. Low-impact stages are grouped, while repeated material and secondary details are removed. The prompt preserves headline estimates and intervals, key tables and figures, model-choice rationale, closing conclusions, and appendix equations. Kept figures, citations, numbers, and parameter names must remain unchanged.
The prompt has no tools and cannot add facts. Its output must contain only the section in Markdown; if it remains over the limit, it allows further passes, up to three.
What it helps with
- cut a forecast section to a word ceiling
- retain key estimates and intervals
- group stages with little effect on the estimate
- remove repeated tables and background
Example prompts for the agent
- Condense this report section to 800 words and keep the key tables and citations.
- Trim the forecast section for
{{indication}}while preserving headline estimates and intervals. - Run
/condense_parton this section with a 600-word ceiling.
How to install condense_part
1Plugin marketplace
/plugin marketplace add anthropics/life-sciences/plugin install clinical-trial-forecast@life-sciences2Manually: put the files in place
.claude/commands/condense_part.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about condense_part
How do I install condense_part in Claude Code?
Run /plugin marketplace add anthropics/life-sciences, then /plugin install clinical-trial-forecast@life-sciences. The command file is .claude/commands/condense_part.md.
What does condense_part do?
It cuts a forecast report section to a specified word limit, prioritizing material by its effect on the estimate. It retains key estimates, supporting tables and figures, citations, and appendix equations.
What information does condense_part need?
Its template takes the report type, indication, asset, word ceiling, current word count, required cut, and the factors that carry uncertainty in the forecast.