condense_trials — Claude Code prompt for trial digests
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.
no license ★ 654 updated 2026-11-09
/plugin marketplace add anthropics/life-sciences
/plugin install clinical-trial-forecast@life-sciencesWhat condense_trials 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.
What it helps with
- 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 for the agent
- Create a clinical-trial digest from the cards in
analyses/andtrials_index.csvfor 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.
How to install condense_trials
1Plugin marketplace
/plugin marketplace add anthropics/life-sciences/plugin install clinical-trial-forecast@life-sciences2Manually: put the files in place
.claude/commands/condense_trials.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about condense_trials
How do I install condense_trials in Claude Code?
Run these commands in order: /plugin marketplace add anthropics/life-sciences, then /plugin install clinical-trial-forecast@life-sciences. Use .claude/commands/condense_trials.md afterward.
What does condense_trials do?
It turns trial cards and an index into a Markdown digest organized by mechanism class and phase. The digest includes trial findings, summary tables, cross-trial observations, and open questions, with NCT identifiers throughout.
How does it handle corrected or unverified numbers?
A corrected value replaces the original. Unverifiable figures keep an “unverified” label.