Skip to main content
prompt GP ChatGPT official · Anthropic

classify_trial — Claude Code prompt: what it does, how to install

The classify_trial Claude Code prompt classifies clinical trial records for a specified indication. It takes one registry entry and returns data in a JSON schema.

no license ★ 654 updated 2026-11-09

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add anthropics/life-sciences
/plugin install clinical-trial-forecast@life-sciences
Open on GitHub

What classify_trial does

The prompt turns a single trial record into a structured classification. It identifies the trial type, interventions, population and design, then assesses the record against a supplied endpoint family and reference population. Mechanism labels come from a provided vocabulary, and the result follows a JSON schema.

The template takes an indication and its aliases, mechanism classes, analog features, endpoint details, a reference population and the registry record. It converts stated months or days to weeks for duration and endpoint timing. It must not fill gaps with invented facts; unclear details can be represented as null or marked “unclear”.

What it helps with

  • classify a trial record for a specified indication
  • extract investigational and comparator products
  • compare enrolled participants with a reference population
  • convert trial duration and endpoint timing to weeks

Example prompts for the agent

  • Classify this trial record for the indication “{{indication}}” and fill the JSON schema.
  • Extract the interventions, population and endpoints from this ClinicalTrials.gov entry.
  • Assess how the enrolled population matches the reference group and write a one-line trial summary.

How to install classify_trial

1Plugin marketplace

/plugin marketplace add anthropics/life-sciences
/plugin install clinical-trial-forecast@life-sciences

2Manually: put the files in place

.claude/commands/classify_trial.md

Questions about classify_trial

How do I install classify_trial in Claude Code?

Run /plugin marketplace add anthropics/life-sciences, then /plugin install clinical-trial-forecast@life-sciences. The command file is .claude/commands/classify_trial.md.

What does classify_trial do?

It classifies one clinical trial record into a JSON schema, extracting details about interventions, population and design and evaluating the specified endpoint family.

What does classify_trial need as input?

It needs one registry record plus the template values: an indication and aliases, mechanism classes, analog features, endpoint details and a reference population.

Similar prompts

All prompts for Science and research →

From the same set29

The whole set →
followup_triage The followup_triage prompt for Claude Code and ChatGPT sorts researchers’ follow-up questions for another research round. It removes duplicates and questions already answered. GP ChatGPT ★ 654repo stars copyedit_section copyedit_section — a Claude Code prompt revises clinical-trial forecast sections. It reshapes dense prose while retaining figures, citations, and document structure. GP ChatGPT ★ 654repo stars 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. GP ChatGPT ★ 654repo stars 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. GP ChatGPT ★ 654repo stars card_checker The card_checker Claude Code prompt checks key figures against the sources cited in an answer. It flags mismatches in doses, study arms, timepoints, units, and populations. GP ChatGPT ★ 654repo stars apply_ledger The apply_ledger Claude Code prompt applies independent fact-check findings to a report section. It revises claims flagged in the ledger while preserving untouched content. GP ChatGPT ★ 654repo stars appendix_writer 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. GP ChatGPT ★ 654repo stars style_guide The style_guide Claude Code prompt sets the style and structure for clinical trial reports. It applies to report drafting, shortening, and editing tasks. GP ChatGPT ★ 654repo stars

Project sponsors

Companies that keep this analytics open