# condense_trials

The condense_trials prompt for Claude Code turns clinical-trial cards into a single digest. It groups programs by mechanism and phase, with findings tied to the report goal.

- 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_trials.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-trials

## What it does

The prompt reads trial cards from `analyses/<NCT>/card.md` and the `trials_index.csv` index, then creates one Markdown digest. For each mechanism class, it lists programs and developers alongside trial size, duration, primary endpoint, status, and numerical findings. It adds brief observations connected to the report goal.

The result also contains a table of phase 3 and pivotal trials with primary findings, a planned-enrollment ranking of recruiting and upcoming trials, cross-trial observations, and open questions. NCT identifiers appear throughout. When a number check provides a corrected value, that value replaces the original; unverifiable figures retain the label “unverified.” The output goes in the `digest_markdown` field.

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

## When to use it
- combine clinical-trial cards into one digest
- compare trial findings by mechanism class and phase
- summarize primary results from phase 3 and pivotal trials
- rank recruiting and upcoming trials by planned enrollment
- surface shared patterns and unanswered questions

## Example prompts
- Create a clinical-trial digest from the cards in `analyses/` and `trials_index.csv` for a report on phase 2 to phase 3 translation.
- Group programs by mechanism and phase, then rank recruiting and upcoming trials by planned enrollment.
- Summarize trial findings for the report and return the result in `digest_markdown`.

## Similar
- [Clinical Trials Data Server](https://affpapa.org/en/nevibecode/mcp/clinical-trials-data-server.md) — MCP server · 5823 installs
- [clinical-trials-database](https://affpapa.org/en/nevibecode/skills/clinical-trials-database.md) — skill · 2600 installs
- [clinical-trials-search](https://affpapa.org/en/nevibecode/skills/clinical-trials-search.md) — skill · 174 installs
- [trials](https://affpapa.org/en/nevibecode/skills/trials.md) — skill · ★ 93 repo stars
- [PepBank Peptide Research MCP: BPC-157, Retatrutide and Tirzepatide Studies and Trials](https://affpapa.org/en/nevibecode/mcp/pepbank-peptide-research-mcp-bpc-157-retatrutide-and-tirzepatide-studies-and-tri.md) — MCP server
- [tooluniverse-clinical-trial-design](https://affpapa.org/en/nevibecode/skills/tooluniverse-clinical-trial-design.md) — skill · 463 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
