forecast_scope — Claude Code prompt: trial forecast setup
The forecast_scope Claude Code prompt sets up a probability-of-technical-success forecast for a registered clinical trial. It turns the request and registry record into a project.json configuration.
no license ★ 654 updated 2026-11-09
/plugin marketplace add anthropics/life-sciences
/plugin install clinical-trial-forecast@life-sciencesWhat forecast_scope does
The prompt builds project.json for a forecast about one registered clinical trial. It reads question.md and the trial record at raw/ctgov/{{focal_nct}}.json; it also uses intake/notes/background.md when that file exists. The output captures the asset, indication, enrolled population, endpoint, success criteria and trial design.
The configuration also defines analysis sections, simulation parameters and registry searches for precedent trials. This step has no web access, so it relies on the supplied files and specialist knowledge. Background details marked confidential stay out of fields passed to web researchers.
What it helps with
- set forecast parameters for a registered clinical trial
- define the endpoint and technical-success criteria
- prepare research questions about precedent trials
- create a project configuration for later research steps
Example prompts for the agent
- Run
/clinical-trial-forecast:forecast_scopeto set up a forecast using the trial inquestion.md. - Create
project.jsonfrom the request and the record inraw/ctgov/{{focal_nct}}.json. - Use
intake/notes/background.mdwhen available, but leave confidential details out of the public thesis.
How to install forecast_scope
1Plugin marketplace
/plugin marketplace add anthropics/life-sciences/plugin install clinical-trial-forecast@life-sciences2Manually: put the files in place
.claude/commands/forecast_scope.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about forecast_scope
How do I install forecast_scope in Claude Code?
Run /plugin marketplace add anthropics/life-sciences, then /plugin install clinical-trial-forecast@life-sciences.
What does forecast_scope do?
It creates a project.json configuration for a technical-success forecast, including trial details, success criteria and research questions.
Which files does forecast_scope need?
It reads question.md and raw/ctgov/{{focal_nct}}.json. It also reads intake/notes/background.md if that file exists.