Agent skill · Databases

clinicaltrials-database

Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.

LeonChaoXgithub.com/LeonChaoXGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add LeonChaoX/qinyan-academic-skills --skill clinicaltrials-database --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 15 KB
Bundled scripts: yes
Path: skills/07-临床医学与精准医疗/clinicaltrials-database/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 759
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# ClinicalTrials.gov Database ## Overview ClinicalTrials.gov is a comprehensive registry of clinical studies conducted worldwide, maintained by the U.S. National Library of Medicine. Access API v2 to search for trials, retrieve detailed study information, filter by various criteria, and export data for analysis. The API is public (no authentication required) with rate limits of ~50 requests per minute, supporting JSON and CSV formats. ## When to Use This Skill This skill should be used when working with clinical trial data in scenarios such as: - **Patient matching** - Finding recruiting trials for specific conditions or patient populations - **Research analysis** - Analyzing clinical trial trends, outcomes, or study designs - **Drug/intervention research** - Identifying trials testing specific drugs or interventions - **Geographic searches** - Locating trials in specific locations or regions - **Sponsor/organization tracking** - Finding trials conducted by specific institutions - **Data export** - Extracting clinical trial data for further analysis or reporting - **Trial monitoring** - Tracking status updates or results for specific trials - **Eligibility screening** - Reviewing i

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. Quick Start
  4. Basic Search Query
  5. Retrieve Specific Trial
  6. Core Capabilities
  7. 1. Search by Condition/Disease
  8. 2. Search by Intervention/Drug
  9. 3. Geographic Search
  10. 4. Search by Sponsor/Organization
  11. 5. Filter by Study Status
  12. 6. Retrieve Detailed Study Information
  13. 7. Pagination and Bulk Data Retrieval
  14. 8. Data Export to CSV
Ships with 2 files
  • references/api_reference.md
  • scripts/query_clinicaltrials.py
Commands it runs
cd scientific-databases/clinicaltrials-database/scripts
python3 query_clinicaltrials.py
python3 scripts/query_clinicaltrials.py
More from qinyan-academic-skills
All skills →
About this skill
What does the clinicaltrials-database skill do?

Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.

How do I install it?

Run `npx skills add LeonChaoX/qinyan-academic-skills --skill clinicaltrials-database --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From LeonChaoX/qinyan-academic-skills, a repository with 759 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going