clinical-trials-search
Search ClinicalTrials.gov with natural language queries. Find clinical trials, enrollment, and outcomes using Valyu semantic search.
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill clinical-trials-search --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Clinical Trials Search Search the complete ClinicalTrials.gov database of clinical studies using natural language queries powered by Valyu's semantic search API. ## Why This Skill is Powerful - **No API Parameter Parsing**: Just pass natural language queries directly - no need to construct complex search parameters - **Semantic Search**: Understands the meaning of your query, not just keyword matching - **Full-Text Access**: Returns complete trial information including phases, conditions, interventions, and outcomes - **Image Links**: Includes data visualizations when available - **Comprehensive Coverage**: Access to all ClinicalTrials.gov data ## Requirements 1. Node.js 18+ (uses built-in fetch) 2. Valyu API key from https://platform.valyu.ai ($10 free credits) ## CRITICAL: Script Path Resolution The `scripts/search` commands in this documentation are relative to this skill's installation directory. Before running any command, locate the script using: ```bash CLINICAL_TRIALS_SCRIPT=$(find ~/.claude/plugins/cache -name "search" -path "*/clinical-trials-search/*/scripts/*" -type f 2>/dev/null | head -1) ``` Then use the full path for all commands: ```bash $CLINICAL_TRIALS_SCRIPT "
- Why This Skill is Powerful
- Requirements
- CRITICAL: Script Path Resolution
- API Key Setup Flow
- When to Use This Skill
- Output Format
- Processing Results
- With jq
- Common Use Cases
- Drug Development
- Treatment Research
- Medical Device Studies
- Intervention Analysis
- Error Handling
scripts/search setup <api-key> Get trial titles scripts/search "query" 10 | jq -r '.results[].title' Get URLs scripts/search "query" 10 | jq -r '.results[].url' Extract full content scripts/search "query" 10 | jq -r '.results[].content' Find drug trials scripts/search "phase 2 trials for Alzheimer's disease" 50 Search for treatment studies
What does the clinical-trials-search skill do?
Search ClinicalTrials.gov with natural language queries. Find clinical trials, enrollment, and outcomes using Valyu semantic search.
How do I install it?
Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill clinical-trials-search --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 FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 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.
