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/lunartech-x-clinicaltrials
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.
About
Use cases: backend, data, research
Reviews
Write a reviewNo 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
What's inside
- Skill name
clinicaltrials- Description
- 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.
- License
- MIT
- Metadata
- version: 1.0.0 · skill-author: AlterLab
- Instructions
- 499 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
Files (3)
- SKILL.md
- api_reference.md · references/
- query_clinicaltrials.py · scripts/
SKILL.md (first lines)
# 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 inclusion/exclusion criteria for trials
## Quick Start
### Basic Search Query
Search for clinical trials using the helper script:
```bash
cd scientific-databases/clinicaltrials-database/scripts
python3 query_clinicaltrials.py
```
Or use Python directly with the `requests` library:
```python
import requests
url = "https://clinicaltrials.gov/api/v2/studies"
params = {
"query.cond": "breast cancer",
"filter.overallStatus": "RECRUITING",
"pageSize": 10
}
response = requests.get(url, params=params)
data = response.json()
print(f"Found {data['totalCount']} trials")
```
### Retrieve Specific Trial
Get detailed information about a trial using its NCT ID:
```python
import requests
nct_id = "NCT04852770"
url = f"https://clinicaltrials.gov/api/v2/studies/{nct_id}"
response = requests.get(url)
study = response.json()
# Access specific modules
title = study['protocolSection']['identificationModule']['briefTitle']
status = study['protocolSection']['statusModule']['overallStatus']
```
## Core Capabilities
### 1. Search by Condition/Disease
Find trials studying specific medical conditions or diseases using the `query.cond` parameter.
**Example: Find recruiting diabetes trials**
```python
from scripts.query_clinicaltrials import search_studies
results = search_studies(
condition="type 2 diabetes",
status="RECRUITING",
page_size=20,
sort="LastUpdatePostDate:desc"
)
print(f"Found {results['totalCount']} recruiting diabetes trials")
for study in results['studies']:
protocol = study['protocolSection']
nct_id = protocol['identificationModule']['nctId']
title = protocol['identificationModule']['briefTitle']
print(f"{nct_id}: {title}")
```
**Common use cases:**
- Finding trials for rare diseases
- Identifying trials for comorbid conditions
- Tracking trial availability for specific diagnoses
### 2. Search by Intervention/Drug
Search for trials testing specific interventions, drugs, devices, or procedures using the `query.intr` parameter.
**Example: Find Phase 3 trials testing Pembrolizumab**
```python
from scripts.query_clinicaltrials import search_studies
results = search_studies(
intervention="Pembrolizumab",
status=["RECRUITING", "ACTIVE_NOT_RECRUITING"],
page_size=50
)
# Filter by phase in results
phase3_trials = [
study for study in results['studies']
if 'PHASE3' in study['protocolSection'].get('designModule', {}).get('phases', [])
]
```From LUNARTECH-X/superpowers, MIT.
More from LUNARTECH-X/superpowers
- 0.556score
adaptyv
LUNARTECH-X
How to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
arxiv
LUNARTECH-X
Search and retrieve preprints from arXiv via the Atom API.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
academic-paper
LUNARTECH-X
12-agent academic paper writing pipeline.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
autoskill
LUNARTECH-X
Observe the user's screen via screenpipe, detect repeated research workflows, match them against existing scientific-agent-skills, and draft new skills (or…
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
biorxiv
LUNARTECH-X
Efficient database search tool for bioRxiv preprint server.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
database-lookup
LUNARTECH-X
Search 78 public scientific, biomedical, materials science, and economic databases via REST APIs.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
datacommons
LUNARTECH-X
Work with Data Commons, a platform providing programmatic access to public statistical data from global sources.
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
cbioportal
LUNARTECH-X
Query cBioPortal for cancer genomics data including somatic mutations, copy number alterations, gene expression, and survival data across hundreds of cancer…
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
cosmic
LUNARTECH-X
Access COSMIC cancer mutation database.
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
depmap
LUNARTECH-X
Query the Cancer Dependency Map (DepMap) for cancer cell line gene dependency scores (CRISPR Chronos), drug sensitivity data, and gene effect profiles.
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
bindingdb
LUNARTECH-X
Query BindingDB for measured drug-target binding affinities (Ki, Kd, IC50, EC50).
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
clinvar
LUNARTECH-X
Query NCBI ClinVar for variant clinical significance.
SkillCFreshness: C★ 17Claude Code +9
Signals
- Stars
- 17
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- May 15, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- MIT
- Repository
- github.com/LUNARTECH-X/superpowers
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from LUNARTECH-X
- 0.556score
autoskill
LUNARTECH-X
Observe the user's screen via screenpipe, detect repeated research workflows, match them against existing scientific-agent-skills, and draft new skills (or…
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
database-lookup
LUNARTECH-X
Search 78 public scientific, biomedical, materials science, and economic databases via REST APIs.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
arxiv
LUNARTECH-X
Search and retrieve preprints from arXiv via the Atom API.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
academic-paper
LUNARTECH-X
12-agent academic paper writing pipeline.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
biorxiv
LUNARTECH-X
Efficient database search tool for bioRxiv preprint server.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
datacommons
LUNARTECH-X
Work with Data Commons, a platform providing programmatic access to public statistical data from global sources.
SkillCFreshness: C★ 17Claude Code +9
Cite this page
clinicaltrials skill. Agent Mart. https://agentmart.dev/skills/lunartech-x-clinicaltrials (last updated 2026-10-24)