Clinical Trials Database
google-deepmind/science-skills
Query ClinicalTrials.gov via APIv2. An agent skill from google-deepmind/science-skills.
Search and analyze clinical trials via the ClinicalTrials.gov v2 API
$ npx skills add wentorai/research-plugins --skill clinicaltrials-api-v2 -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wentorai/research-plugins clinicaltrials-api-v2 --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/domains/biomedical/clinicaltrials-api-v2 .claude/skills/clinicaltrials-api-v2 && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "clinicaltrials-api-v2" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/biomedical/clinicaltrials-api-v2 into .claude/skills/clinicaltrials-api-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinicaltrials-api-v2", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/wentorai/research-plugins/tree/main/skills/domains/biomedical/clinicaltrials-api-v2Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add wentorai/research-plugins --skill clinicaltrials-api-v2 -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wentorai/research-plugins clinicaltrials-api-v2 --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/domains/biomedical/clinicaltrials-api-v2 .agents/skills/clinicaltrials-api-v2 && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "clinicaltrials-api-v2" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/biomedical/clinicaltrials-api-v2 into .agents/skills/clinicaltrials-api-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinicaltrials-api-v2", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wentorai/research-plugins --skill clinicaltrials-api-v2 -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wentorai/research-plugins clinicaltrials-api-v2 --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/domains/biomedical/clinicaltrials-api-v2 .cursor/skills/clinicaltrials-api-v2 && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "clinicaltrials-api-v2" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/biomedical/clinicaltrials-api-v2 into .cursor/skills/clinicaltrials-api-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinicaltrials-api-v2", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/wentorai/research-plugins.git --path skills/domains/biomedical/clinicaltrials-api-v2--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add wentorai/research-plugins --skill clinicaltrials-api-v2 -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wentorai/research-plugins clinicaltrials-api-v2 --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/domains/biomedical/clinicaltrials-api-v2 .gemini/skills/clinicaltrials-api-v2 && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "clinicaltrials-api-v2" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/biomedical/clinicaltrials-api-v2 into .gemini/skills/clinicaltrials-api-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinicaltrials-api-v2", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install wentorai/research-plugins clinicaltrials-api-v2Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add wentorai/research-plugins --skill clinicaltrials-api-v2 -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/domains/biomedical/clinicaltrials-api-v2 .github/skills/clinicaltrials-api-v2 && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "clinicaltrials-api-v2" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/biomedical/clinicaltrials-api-v2 into .github/skills/clinicaltrials-api-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinicaltrials-api-v2", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wentorai/research-plugins --skill clinicaltrials-api-v2 -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install wentorai/research-plugins clinicaltrials-api-v2 --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/domains/biomedical/clinicaltrials-api-v2 .opencode/skills/clinicaltrials-api-v2 && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "clinicaltrials-api-v2" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/biomedical/clinicaltrials-api-v2 into .opencode/skills/clinicaltrials-api-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinicaltrials-api-v2", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
clinicaltrials-api-v2Search and analyze clinical trials via the ClinicalTrials.gov v2 API
Clinicaltrials API V2 is an agent skill from wentorai/research-plugins. Search and analyze clinical trials via the ClinicalTrials.gov v2 API
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Research & Science, covering Clinical and healthcare research. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.
Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curlFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
clinicaltrials.govAlso links to:
aact.ctti-clinicaltrials.orgtrialsearch.who.intncbi.nlm.nih.govFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Clinicaltrials API V2 loads about 2k tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 427 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 427 words, ~2,043 tokens.
.claude/skills/clinicaltrials-api-v2/SKILL.md (or your agent's skills folder).ClinicalTrials.gov is the world's largest clinical trial registry, maintained by the U.S. National Library of Medicine (NLM) at NIH. It contains over 576,000 study records from 220+ countries covering interventional trials, observational studies, and expanded access programs. The v2 API provides structured JSON access with field-level filtering, cursor-based pagination, and statistics endpoints.
Key v2 improvements over the legacy API: JSON-native responses, sparse field selection via the fields parameter, nextPageToken pagination, and dedicated statistics endpoints. Study data is organized into protocolSection (sponsor-submitted) and derivedSection (NLM-computed).
No authentication required. All endpoints are publicly accessible without API keys or registration. Users should comply with NCBI usage policies and maintain reasonable request rates.
GET https://clinicaltrials.gov/api/v2/studies| Parameter | Type | Required | Description |
|---|---|---|---|
| query.term | string | No | Free-text search across all fields |
| query.cond | string | No | Condition or disease filter |
| query.intr | string | No | Intervention or treatment filter |
| query.spons | string | No | Sponsor or collaborator filter |
| filter.overallStatus | string | No | RECRUITING, COMPLETED, ACTIVE_NOT_RECRUITING, etc. |
| filter.phase | string | No | EARLY_PHASE1, PHASE1, PHASE2, PHASE3, PHASE4, NA |
| filter.geo | string | No | Geographic filter (distance(lat,lng,dist)) |
| fields | string | No | Comma-separated fields for sparse response |
| sort | string | No | Sort field and direction (e.g., LastUpdatePostDate:desc) |
| pageSize | int | No | Results per page (default 10, max 1000) |
| pageToken | string | No | Cursor token for next page |
| format | string | No | json (default) or csv |
curl "https://clinicaltrials.gov/api/v2/studies?query.cond=diabetes&query.intr=metformin&pageSize=1&fields=NCTId,BriefTitle,OverallStatus"{
"studies": [{
"protocolSection": {
"identificationModule": {
"nctId": "NCT06649773",
"briefTitle": "The Experiment of Noiiglutide Injection in Type 2 Diabetes Patients"
},
"statusModule": { "overallStatus": "ACTIVE_NOT_RECRUITING" }
}
}],
"nextPageToken": "ZVNj7o2Elu8o3lpo..."
}Full responses include protocolSection with: identificationModule (NCT ID, titles, organization), statusModule (status, dates), descriptionModule (summary), conditionsModule, designModule (type, phases, enrollment), armsInterventionsModule, eligibilityModule (criteria, sex, age), outcomesModule, and contactsLocationsModule.
GET https://clinicaltrials.gov/api/v2/studies/{nctId}curl "https://clinicaltrials.gov/api/v2/studies/NCT04280705?fields=NCTId,BriefTitle,OverallStatus,Phase,LeadSponsorName,EnrollmentCount,Condition,InterventionName"{
"protocolSection": {
"identificationModule": {
"nctId": "NCT04280705",
"briefTitle": "Adaptive COVID-19 Treatment Trial (ACTT)"
},
"statusModule": {
"overallStatus": "COMPLETED",
"startDateStruct": { "date": "2020-02-21" },
"completionDateStruct": { "date": "2020-05-21" }
},
"sponsorCollaboratorsModule": {
"leadSponsor": { "name": "National Institute of Allergy and Infectious Diseases (NIAID)" }
},
"conditionsModule": { "conditions": ["COVID-19"] },
"designModule": { "phases": ["PHASE3"], "enrollmentInfo": { "count": 1062 } },
"armsInterventionsModule": {
"interventions": [{ "name": "Placebo" }, { "name": "Remdesivir" }]
}
}
}GET https://clinicaltrials.gov/api/v2/stats/sizecurl "https://clinicaltrials.gov/api/v2/stats/size"{
"totalStudies": 576554,
"averageSizeBytes": 17186,
"largestStudies": [
{ "id": "NCT02723955", "sizeBytes": 3596689 },
{ "id": "NCT03688620", "sizeBytes": 2865033 }
]
}GET https://clinicaltrials.gov/api/v2/stats/fieldValues/{fieldName}curl "https://clinicaltrials.gov/api/v2/stats/fieldValues/Phase"{
"type": "ENUM",
"piece": "Phase",
"field": "protocolSection.designModule.phases",
"missingStudiesCount": 136632,
"topValues": [
{ "value": "NA", "studiesCount": 222829 },
{ "value": "PHASE2", "studiesCount": 87478 },
{ "value": "PHASE1", "studiesCount": 63716 },
{ "value": "PHASE3", "studiesCount": 48700 },
{ "value": "PHASE4", "studiesCount": 34911 },
{ "value": "EARLY_PHASE1", "studiesCount": 6179 }
]
}No formal rate limits are published for the v2 API. Follow NCBI usage guidelines: stay under 3 requests/second without an API key, up to 10/second with one. For bulk data access, use the AACT relational database (https://aact.ctti-clinicaltrials.org/) or downloadable flat files rather than paginating through the full API.
query.cond + query.intr + filter.overallStatus=COMPLETED to build PRISMA-compliant trial inventories. Paginate with nextPageToken to collect all records, then extract outcomes and enrollment for quantitative synthesis.stats/fieldValues to map phase distributions, sponsor concentration, and geographic spread for a therapeutic area -- useful for identifying evidence gaps in grant proposals.RECRUITING status and filter.geo to find active enrollment opportunities. Automate periodic queries for new trials in your domain.import requests, time
def collect_trials(condition, intervention, status="COMPLETED"):
base = "https://clinicaltrials.gov/api/v2/studies"
studies, token = [], None
while True:
params = {
"query.cond": condition, "query.intr": intervention,
"filter.overallStatus": status, "pageSize": 100,
"fields": "NCTId,BriefTitle,Phase,EnrollmentCount,CompletionDate",
}
if token:
params["pageToken"] = token
data = requests.get(base, params=params).json()
studies.extend(data.get("studies", []))
token = data.get("nextPageToken")
if not token:
break
time.sleep(0.34)
return studies
trials = collect_trials("type 2 diabetes", "metformin")
print(f"Collected {len(trials)} completed metformin T2D trials")import requests
from collections import Counter
params = {"query.cond": "Alzheimer's Disease", "pageSize": 100,
"fields": "NCTId,Phase,LeadSponsorName"}
data = requests.get("https://clinicaltrials.gov/api/v2/studies", params=params).json()
phases, sponsors = Counter(), Counter()
for s in data["studies"]:
p = s["protocolSection"]
for ph in p.get("designModule", {}).get("phases", []):
phases[ph] += 1
sponsors[p.get("sponsorCollaboratorsModule", {})
.get("leadSponsor", {}).get("name", "Unknown")] += 1
for ph, n in phases.most_common():
print(f"{ph}: {n}")© wentorai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/domains/biomedical/clinicaltrials-api-v2 of wentorai/research-plugins.
Open the folder on GitHubat commit bf44b3c
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.
Clinicaltrials API V2 next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Clinicaltrials API V2 this skillwentorai/research-plugins | 298 | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| Clinical Trials Databasegoogle-deepmind/science-skills | 3.2k | 2 repos | ~3.2k | Automated safety check: Pass | Apache-2.0 | |
| CHARLS Paper Reproduction Guidexjtulyc/MedgeClaw | 617 | 1 repos | ~1.8k | Automated safety check: Pass | None | |
| Biomedical Analysis Dispatchxjtulyc/MedgeClaw | 617 | 1 repos | ~2k | Automated safety check: Pass | None | |
| Research Paperluwill/research-skills | 862 | — | ~1.9k | Automated safety check: Pass | None | |
| Research Proposalluwill/research-skills | 862 | — | ~4.5k | Automated safety check: Notes | None |
google-deepmind/science-skills
Query ClinicalTrials.gov via APIv2. An agent skill from google-deepmind/science-skills.
xjtulyc/MedgeClaw
Guides an agent through reproducing papers built on the CHARLS health and retirement survey, from variable mapping to cognition, depression and isolation scores.
xjtulyc/MedgeClaw
Routes bioinformatics, drug discovery, clinical and multi-omics tasks from a chat interface to Claude Code sessions running K-Dense scientific skills, with a live dashboard per task.
luwill/research-skills
A skill your agent uses when the user asks to write or draft an ORIGINAL RESEARCH ARTICLE — IMRaD paper, conference paper, short/workshop paper, 研究论文/期刊论文/会议论文 — reporting their own completed…
luwill/research-skills
A skill your agent uses when the user asks to write or draft a PhD / doctoral research proposal, research plan, 研究计划书, or 开题报告 — a forward-looking plan of background, gap, research questions…
LeonChaoX/qinyan-academic-skills
Write comprehensive literature reviews for medical imaging AI research.
wentorai/research-plugins
Craft structured research abstracts that maximize clarity and journal acceptance
wentorai/research-plugins
Manage academic citations across BibTeX, APA, MLA, and Chicago formats
wentorai/research-plugins
Summarize academic papers with structured extraction of key elements
wentorai/research-plugins
Evidence-based study techniques for academic learning and retention
wentorai/research-plugins
Adjust writing tone and register for academic audiences and venues
wentorai/research-plugins
Academic translation, post-editing, and Chinglish correction guide
Categories
Search and analyze clinical trials via the ClinicalTrials.gov v2 API. Clinicaltrials API V2 is an agent skill from wentorai/research-plugins.
Clinicaltrials API V2 fits situations like: tasks that involve Clinical and healthcare research.
Run `npx skills add wentorai/research-plugins --skill clinicaltrials-api-v2 -a claude-code`. Or copy the skill folder (skills/domains/biomedical/clinicaltrials-api-v2 in wentorai/research-plugins) into .claude/skills/clinicaltrials-api-v2 in your project. Claude Code loads it when a task matches its description.
Run `npx skills add wentorai/research-plugins --skill clinicaltrials-api-v2 -a codex`. Or copy the skill folder (skills/domains/biomedical/clinicaltrials-api-v2 in wentorai/research-plugins) into .agents/skills/clinicaltrials-api-v2 in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wentorai/research-plugins --skill clinicaltrials-api-v2 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clinicaltrials-api-v2, .gemini/skills/clinicaltrials-api-v2, .github/skills/clinicaltrials-api-v2 and .opencode/skills/clinicaltrials-api-v2 in your project.
Going by SKILL.md and its folder, Clinicaltrials API V2 needs the command-line tools its instructions call (curl). Our summary lists: Python 3.
SKILL.md names 4 domains. In commands or code: clinicaltrials.gov; the agent is likely to contact it when it follows the instructions. As links in the text: aact.ctti-clinicaltrials.org, trialsearch.who.int and ncbi.nlm.nih.gov. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Clinicaltrials API V2 is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Clinicaltrials API V2: Clinical Trials Database (google-deepmind/science-skills, 3.2k stars), CHARLS Paper Reproduction Guide (xjtulyc/MedgeClaw, 617 stars), Biomedical Analysis Dispatch (xjtulyc/MedgeClaw, 617 stars) and Research Paper (luwill/research-skills, 862 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.
Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.