yorkeccak/scientific-skills/clinical-trials-search
Claude Code and agent skill by yorkeccak/scientific-skills
- community
Checking that the SKILL.md file is still in the repository.
Search ClinicalTrials.gov with natural language queries. Find clinical trials, enrollment, and outcomes using Valyu semantic search.
Install
npx vskill@latest install yorkeccak/scientific-skills/clinical-trials-searchSKILL.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
- Node.js 18+ (uses built-in fetch)
- 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:
Then use the full path for all commands:
API Key Setup Flow
When you run a search and receive "setup_required": true, follow this flow:
- Ask the user for their API key:
"To search ClinicalTrials.gov, I need your Valyu API key. Get one free ($10 credits) at https://platform.valyu.ai"
- Once the user provides the key, run:
``bash scripts/search setup <api-key> ``
- Retry the original search.
When to Use This Skill
- Finding ongoing and completed clinical trials
- Identifying trial eligibility criteria
- Recruiting status and enrollment information
- Comparing treatment approaches in trials
- Patient recruitment and enrollment research
- Outcomes and safety data from trials
Output Format
Processing Results
With jq
Common Use Cases
Drug Development
Treatment Research
Medical Device Studies
Intervention Analysis
Error Handling
All commands return JSON with success field:
Exit codes:
0- Success1- Error (check JSON for details)
API Endpoint
- Base URL:
https://api.valyu.ai/v1 - Endpoint:
/search - Authentication: X-API-Key header
Architecture
Direct API calls using Node.js built-in fetch(), zero external dependencies.
Adding to Your Project
If you're building an AI project and want to integrate Clinical Trials Search directly into your application, use the Valyu SDK:
Python Integration
TypeScript Integration
See the Valyu docs for full integration examples and SDK reference.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/clinical-trials-search/SKILL.md
Popularity
- Repository stars
- 24
- Repository forks
- 2
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yorkeccak/scientific-skills/clinical-trials-search)