Skip to content
Agentmart
Submit a tool

clinicaltrials-study-search

Use this skill to search the current ClinicalTrials.gov v2 API for condition or keyword matches when you need official clinical-study metadata.

Skill by ma-compbio-lab

IndexedApache-2.0★ 43
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ma-compbio-lab-clinicaltrials-study-search

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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 cases: backend, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/clinicaltrials-study-search

What's inside

Skill name
clinicaltrials-study-search
Description
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.
License
Apache-2.0
Instructions
50 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (9)

  • SKILL.md
  • README.md · assets/
  • melanoma_studies.json · assets/
  • melanoma_trials.json · assets/
  • README.md · examples/
  • metadata.yaml
  • refs.md
  • search_clinicaltrials.py · scripts/
  • README.md · tests/

SKILL.md (first lines)

## 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
- ClinicalTrials.gov API overview: https://clinicaltrials.gov/data-api/about-api

## Related skills
- `ncbi-pubmed-search`

From ma-compbio-lab/SkillFoundry, Apache-2.0.

More from ma-compbio-lab/SkillFoundry

Signals

Stars
43
Forks
6
Open issues
0
Last commit (this folder)
Apr 5, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ma-compbio-lab

Cite this page

clinicaltrials-study-search skill. Agent Mart. https://agentmart.dev/skills/ma-compbio-lab-clinicaltrials-study-search (last updated 2026-10-24)