Searching Clinicaltrials
maziyarpanahi/openmed
Searches ClinicalTrials.gov for studies by condition, intervention, and recruitment status using the modern v2 REST API with cursor (pageToken) pagination.
Query the ClinicalTrials.gov API v2 to search for clinical trials, retrieve detailed study protocols, and analyze recruitment status; use when you need to find trials by condition/drug, export…
$ npx skills add aipoch/medical-research-skills --skill clinicaltrials-db -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aipoch/medical-research-skills clinicaltrials-db --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/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'scientific-skills/Evidence Insight/clinicaltrials-db' .claude/skills/clinicaltrials-db && 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-db" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/clinicaltrials-db into .claude/skills/clinicaltrials-db/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinicaltrials-db", 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/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/clinicaltrials-dbType 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 aipoch/medical-research-skills --skill clinicaltrials-db -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aipoch/medical-research-skills clinicaltrials-db --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/'scientific-skills/Evidence Insight/clinicaltrials-db' .agents/skills/clinicaltrials-db && 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-db" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/clinicaltrials-db into .agents/skills/clinicaltrials-db/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinicaltrials-db", 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 aipoch/medical-research-skills --skill clinicaltrials-db -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aipoch/medical-research-skills clinicaltrials-db --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/'scientific-skills/Evidence Insight/clinicaltrials-db' .cursor/skills/clinicaltrials-db && 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-db" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/clinicaltrials-db into .cursor/skills/clinicaltrials-db/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinicaltrials-db", 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/aipoch/medical-research-skills.git --path 'scientific-skills/Evidence Insight/clinicaltrials-db'--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 aipoch/medical-research-skills --skill clinicaltrials-db -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aipoch/medical-research-skills clinicaltrials-db --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/'scientific-skills/Evidence Insight/clinicaltrials-db' .gemini/skills/clinicaltrials-db && 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-db" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/clinicaltrials-db into .gemini/skills/clinicaltrials-db/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinicaltrials-db", 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 aipoch/medical-research-skills clinicaltrials-dbInstalls 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 aipoch/medical-research-skills --skill clinicaltrials-db -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/'scientific-skills/Evidence Insight/clinicaltrials-db' .github/skills/clinicaltrials-db && 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-db" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/clinicaltrials-db into .github/skills/clinicaltrials-db/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinicaltrials-db", 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 aipoch/medical-research-skills --skill clinicaltrials-db -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aipoch/medical-research-skills clinicaltrials-db --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/'scientific-skills/Evidence Insight/clinicaltrials-db' .opencode/skills/clinicaltrials-db && 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-db" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Evidence%20Insight/clinicaltrials-db into .opencode/skills/clinicaltrials-db/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinicaltrials-db", 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-dbQuery the ClinicalTrials.gov API v2 to search for clinical trials, retrieve detailed study protocols, and analyze recruitment status; use when you need to find trials by condition/drug, export…
Clinicaltrials DB is an agent skill from aipoch/medical-research-skills. Query the ClinicalTrials.gov API v2 to search for clinical trials, retrieve detailed study protocols, and analyze recruitment status; use when you need to find trials by condition/drug, export results, or verify study details by NCT ID.
Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `clinicaltrials-db_audit_result_v1.json`, `references/api_reference.md` and `scripts/query_clinicaltrials.py`).
It sits in Business, Finance & HR, covering Recruiting and HR and Clinical and healthcare research. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.
Read from SKILL.md and the folder at commit 686e09d. 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.
Ships 1 file in scripts/ (Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From 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 DB loads about 762 tokens when it runs, and up to ~964 if it reads all its reference files. Until then it costs about 64 tokens; SKILL.md has 228 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); the scripts in this folder are not scanned.
The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 228 words, ~762 tokens.
.claude/skills/clinicaltrials-db/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.references/api_reference.md).requests >= 2.28from scripts.query_clinicaltrials import search_studies, get_study_details
def main():
# 1) Search studies (example: recruiting cancer studies)
results = search_studies(
condition="cancer",
status="RECRUITING",
limit=10,
)
print("Search results:")
for i, item in enumerate(results, start=1):
# The exact keys depend on the API fields returned by the implementation.
# Print the raw item to keep this example runnable across field selections.
print(f"\n[{i}] {item}")
# 2) Get study details by NCT ID
nct_id = "NCT01234567"
study = get_study_details(nct_id)
print(f"\n\nStudy details for {nct_id}:")
print(study)
if __name__ == "__main__":
main()condition: Condition/disease term used to match relevant studies.status: Recruitment status filter (e.g., RECRUITING).limit: Maximum number of records to return.get_study_details(nct_id) fetches the full record for a single study identified by its NCT ID and returns the protocol-level information (including eligibility criteria when available).references/api_reference.md.© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts, references) in scientific-skills/Evidence Insight/clinicaltrials-db of aipoch/medical-research-skills.
Open the folder on GitHubat commit 686e09d
Clinicaltrials DB 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 DB this skillaipoch/medical-research-skills | 1.9k | — | ~762 | Automated safety check: Pass | MIT | |
| Searching Clinicaltrialsmaziyarpanahi/openmed | 5.5k | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Ct Status Diffagentii-ai/agentii-investment-intelligence | 207 | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Clinical Trials Databasegoogle-deepmind/science-skills | 3.2k | 2 repos | ~3.2k | Automated safety check: Pass | Apache-2.0 | |
| Pp Clinical Trialsmvanhorn/printing-press-library | 2.1k | — | ~4.6k | Automated safety check: Notes | Apache-2.0 | |
| Hrm Rebuttalbrycewang-stanford/Awesome-Journal-Skills | 1.2k | — | ~1.4k | Automated safety check: Pass | MIT |
maziyarpanahi/openmed
Searches ClinicalTrials.gov for studies by condition, intervention, and recruitment status using the modern v2 REST API with cursor (pageToken) pagination.
agentii-ai/agentii-investment-intelligence
Weekly clinical-trial status diff — the 11-category change report over the stored weekly snapshots (spec 055 FR-B03).
google-deepmind/science-skills
Query ClinicalTrials.gov via APIv2. An agent skill from google-deepmind/science-skills.
mvanhorn/printing-press-library
A multi-source clinical-trials intelligence system — aggregates, normalizes, and analyzes trials across ClinicalTrials.gov, EU CTIS, and biomedical sources, with an offline SQLite engine no…
brycewang-stanford/Awesome-Journal-Skills
A skill your agent uses when drafting the revision and response letter after a Human Resource Management (Wiley "HRM") revise-and-resubmit — structuring point-by-point responses to the action editor…
brycewang-stanford/Awesome-Journal-Skills
A skill your agent uses when scoping or stress-testing the research question for a Human Resource Management (Wiley "HRM") manuscript — confirming an HR-system/practice phenomenon with both a…
aipoch/medical-research-skills
Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…
aipoch/medical-research-skills
Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.
aipoch/medical-research-skills
Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.
aipoch/medical-research-skills
A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.
aipoch/medical-research-skills
Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…
aipoch/medical-research-skills
Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.
Categories
Query the ClinicalTrials.gov API v2 to search for clinical trials, retrieve detailed study protocols, and analyze recruitment status; use when you need to find trials by condition/drug, export…. Clinicaltrials DB is an agent skill from aipoch/medical-research-skills.gov API v2 to search for clinical trials, retrieve detailed study protocols, and analyze recruitment status; use when you need to find trials by condition/drug, export results, or verify study details by NCT ID.
Clinicaltrials DB fits situations like: you need to find trials by condition/drug; verify study details by NCT ID.
Run `npx skills add aipoch/medical-research-skills --skill clinicaltrials-db -a claude-code`. Or copy the skill folder (scientific-skills/Evidence Insight/clinicaltrials-db in aipoch/medical-research-skills) into .claude/skills/clinicaltrials-db in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aipoch/medical-research-skills --skill clinicaltrials-db -a codex`. Or copy the skill folder (scientific-skills/Evidence Insight/clinicaltrials-db in aipoch/medical-research-skills) into .agents/skills/clinicaltrials-db 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 aipoch/medical-research-skills --skill clinicaltrials-db -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-db, .gemini/skills/clinicaltrials-db, .github/skills/clinicaltrials-db and .opencode/skills/clinicaltrials-db in your project.
Going by SKILL.md and its folder, Clinicaltrials DB needs Python for the scripts in its folder. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Clinicaltrials DB is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 762 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 202 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Clinicaltrials DB: Searching Clinicaltrials (maziyarpanahi/openmed, 5.5k stars), Ct Status Diff (agentii-ai/agentii-investment-intelligence, 207 stars), Clinical Trials Database (google-deepmind/science-skills, 3.2k stars) and Pp Clinical Trials (mvanhorn/printing-press-library, 2.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,937 GitHub stars. The repository holds 578 skills in this directory. The repository was last updated on September 17, 2026.
Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.