LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

clinical-trials-database

Query ClinicalTrials.gov via APIv2. Use when you want to search for trials by condition, drug, location, status, or phase; retrieve trial details by NCT ID; check eligibility/inclusion criteria; count trials across conditions or time periods; identify a sponsor's trial portfolio; find recruiting trials for patient matching.

2,709stars294forksUpdated 8/16/2026
Data Science & ML#research#healthcare#clinical-trials#read-only#api-wrapper#python

Security Assessment

Safe(95/100)
Security Score95/100

About clinical-trials-database

The clinical-trials-database skill provides read-only access to worldwide clinical trial data from ClinicalTrials.gov via its REST API v2. It solves the problem of querying a large public research database without hand-constructing raw API expressions, by wrapping the API in a CLI script (scripts/clinical_trials_api.py) that exposes dedicated flags for common filters such as condition, intervention, status, phase, age group, study type, and sponsor. Typical uses include searching trials by disease or drug, retrieving a trial by NCT ID, checking eligibility criteria, counting trials, mapping a sponsor's portfolio, and finding recruiting trials for patient matching.

The skill emphasizes efficient, well-behaved API usage: it instructs always using the provided wrapper (which enforces the required rate limit), always restricting responses with the --fields parameter because trial JSON records are large, checking --count-total before fetching all records, and paginating large result sets with --limit and --page-token. Reference documentation details the endpoints, query versus filter parameters, valid enum values, Essie expression syntax for advanced filtering, and the protocolSection/resultsSection response structure, with a schema reference for exact field paths. As a prerequisite it uses the uv tool to run the script, and it requires notifying the user to check the ClinicalTrials.gov terms and recording that notification in a local license file before use.

It targets researchers, medical and pharmaceutical analysts, and clinicians doing patient-trial matching or portfolio analysis. All behavior is read-only querying of a public government API with rate limiting and terms-of-use acknowledgement.

FAQ

What can I query?

Trials by condition, drug/intervention, location, status, and phase; single trials by NCT ID; eligibility criteria; trial counts across conditions or time; sponsor portfolios; and recruiting trials for patient matching.

What are the prerequisites?

The uv tool must be installed and on PATH to run the wrapper script, and outbound access to the ClinicalTrials.gov API v2. On first use the skill notifies you to check the site's terms and records that notification with a timestamp in a local license file.

How does it avoid overloading the API or context?

It always uses the wrapper script, which enforces the required rate limit, and it instructs restricting fields with --fields, checking result volume with --count-total first, and paginating with --limit and --page-token.

Does it write or modify any external data?

No. It only reads from the public ClinicalTrials.gov REST API and writes results to local files you specify; it does not send data anywhere or alter the source database.

All Files

5 files
references/citation.bib0.4 KB
View
scripts/clinical_trials_api.py11.4 KB
View
references/clinical_trials_api.md6.0 KB
View
SKILL.md12.3 KB
View
references/studies_schema.md5.0 KB
View

Install clinical-trials-database

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

google-deepmind/science-skills

Related Skills

research

448

secops-detection-engineering

21,346

qdrant-monitoring

259

project-architecture

3