# condense_part

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.

- 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/condense_part.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/condense-part

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

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

## When to use it
- 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
- 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_part` on this section with a 600-word ceiling.

## 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
- [canopy-part-title](https://affpapa.org/en/nevibecode/skills/canopy-part-title.md) — skill · 13200 installs
- [source-part-segmentation](https://affpapa.org/en/nevibecode/skills/source-part-segmentation.md) — skill · 1300 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
