'Create a minimal working OpenEvidence example.
Scanned 9/2/2026
Install to Claude Code
npx -y skills add jeremylongshore/tons-of-skills-marketplace --skill openevidence-hello-world --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Openevidence Hello World?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/jeremylongshore-openevidence-hello-world-tons-of-skills-marketplace)More formats (shields.io, HTML) on the badges page.
---
name: openevidence-hello-world
description: 'Create a minimal working OpenEvidence example.
Trigger: "openevidence hello world", "openevidence example", "test openevidence".
'
allowed-tools: Read, Write, Edit, Bash(npm:*), Grep
version: 1.13.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
tags:
- saas
- openevidence
- healthcare
compatibility: Designed for Claude Code
---
# OpenEvidence Hello World
## Overview
Minimal working examples demonstrating core OpenEvidence API functionality.
## Instructions
### Step 1: Clinical Query
```typescript
const result = await client.query({
question: 'What is the recommended treatment for acute migraine in adults?',
context: 'emergency_department',
evidence_level: 'high', // Filter by evidence quality
max_citations: 10
});
console.log('Answer:', result.answer);
console.log('Confidence:', result.confidence);
result.citations.forEach(c =>
console.log(` [${c.journal}] ${c.title} (${c.year}) — ${c.evidence_level}`)
);
```
### Step 2: Drug Interaction Check
```typescript
const interactions = await client.interactions.check({
medications: ['metformin', 'lisinopril', 'atorvastatin'],
patient_context: { age: 65, conditions: ['diabetes', 'hypertension'] }
});
interactions.forEach(i =>
console.log(`${i.drug1} + ${i.drug2}: ${i.severity} — ${i.description}`)
);
```
### Step 3: Guideline Lookup
```typescript
const guidelines = await client.guidelines.search({
condition: 'hypertension',
source: ['ACC/AHA', 'ESC'],
year_min: 2023
});
guidelines.forEach(g =>
console.log(`${g.source}: ${g.title} (${g.year})`)
);
```
## Error Handling
| Error | Cause | Solution |
|-------|-------|----------|
| Auth error | Invalid credentials | Check OPENEVIDENCE_API_KEY |
| Not found | Invalid endpoint | Verify API URL |
| Rate limit | Too many requests | Implement backoff |
## Resources
- [OpenEvidence API Docs](https://www.openevidence.com)
## Next Steps
See `openevidence-local-dev-loop`.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!