Agent skill

clinical-trials-search

Search ClinicalTrials.gov with natural language queries. Find clinical trials, enrollment, and outcomes using Valyu semantic search.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-codeships scripts
Install
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.

Facts
Files in the skill folder: 3
SKILL.md size: 5 KB
Bundled scripts: yes
Path: skills/clinical-trials-search/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,909
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 "

What's inside
Steps it walks through
  1. Why This Skill is Powerful
  2. Requirements
  3. CRITICAL: Script Path Resolution
  4. API Key Setup Flow
  5. When to Use This Skill
  6. Output Format
  7. Processing Results
  8. With jq
  9. Common Use Cases
  10. Drug Development
  11. Treatment Research
  12. Medical Device Studies
  13. Intervention Analysis
  14. Error Handling
Ships with 2 files
  • scripts/search
  • scripts/search.mjs
Commands it runs
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
More from OpenClaw-Medical-Skills
All skills →
About this skill
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.

Keep going