# classify_trial

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.

- 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/classify_trial.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/classify-trial

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

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

## When to use it
- 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
- 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.

## Similar
- [tooluniverse-clinical-trial-design](https://affpapa.org/en/nevibecode/skills/tooluniverse-clinical-trial-design.md) — skill · 463 installs
- [tooluniverse-clinical-trial-matching](https://affpapa.org/en/nevibecode/skills/tooluniverse-clinical-trial-matching.md) — skill · 411 installs
- [clinical-trial-protocol-skill](https://affpapa.org/en/nevibecode/skills/clinical-trial-protocol-skill.md) — skill · 469 installs
- [clinical-trials-search](https://affpapa.org/en/nevibecode/skills/clinical-trials-search.md) — skill · 174 installs
- [agent-observability-session-classify](https://affpapa.org/en/nevibecode/skills/agent-observability-session-classify.md) — skill · 665 installs
- [Amass](https://affpapa.org/en/nevibecode/mcp/amass.md) — MCP server · ★ 1 repo stars

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
