clinicaltrials-study-search

SkillSearch

Use this skill to search the current ClinicalTrials.gov v2 API for condition or keyword matches when you need official clinical-study metadata. Do not use it for legacy API URLs or offline work.

Use clinicaltrials-study-search in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add clinicaltrials-study-search and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the clinicaltrials-study-search skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

clinicaltrials-study-searchStart free

What this skill tells your AI

The instructions your AI receives, as published by ma-compbio-lab/skillfoundry in skills/clinical-biomedical-data-science/clinicaltrials-study-search/SKILL.md and read by Ahel’s review.

Purpose

Query the current ClinicalTrials.gov v2 API and save structured study metadata for a condition or free-text term.

When to use

  • You need official clinical study metadata.
  • You want a lightweight search path for cohort or intervention discovery.

When not to use

  • You need patient-level data.
  • You are working against deprecated ClinicalTrials.gov API examples.

Inputs

  • A condition query or a general term query
  • Optional page size and output path

Outputs

  • JSON payload containing studies

Requirements

  • Python 3.13+
  • Network access to clinicaltrials.gov

Procedure

  1. Run python3 skills/clinical-biomedical-data-science/clinicaltrials-study-search/scripts/search_clinicaltrials.py --condition melanoma --page-size 3 --out skills/clinical-biomedical-data-science/clinicaltrials-study-search/assets/melanoma_studies.json.
  2. Inspect the first protocolSection.identificationModule block.
  3. Use the result list for follow-up triage or cohort narrowing.

Validation

  • Command exits successfully.
  • Output contains studies.
  • A common query returns at least one study.

Failure modes and fixes

  • 404 or legacy errors: use api/v2 endpoints only.
  • No results: switch between --condition and --term.

Safety and limits

  • Public study metadata only.
  • This skill does not provide patient-level or operational medical guidance.

Examples

  • python3 .../search_clinicaltrials.py --term melanoma --page-size 2

Provenance

Related skills

  • ncbi-pubmed-search

Signals

GitHub stars
42
Forks
5
Last commit
Sep 2026
Advanced
Item type
skill
Key
clinicaltrials-study-search
Source
github.com/ma-compbio-lab/skillfoundry