Search

PythonReactSEOPDF
OpenClaw

drug-safety-review

Comprehensive medication safety review system providing real-time analysis of drug-drug interactions, contraindications, allergy risks, and dosing optimization. Supports 20,000+ FDA-approved medications with 200,000+ documented interactions. Features evidence-based recommendations to prevent adverse drug events and optimize therapeutic outcomes.

andyxcg0 source installs☆ 0 Repository starsv1.0.0

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install andyxcg/drug-safety-review

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Drug Safety Review

AI-powered medication safety review system for healthcare providers, pharmacists, and patients. Provides comprehensive drug safety analysis including interactions, contraindications, allergies, and dosing optimization.

Features

  1. Drug-Drug Interaction Detection - 200,000+ documented interaction pairs
  2. Contraindication Analysis - Absolute and relative contraindications
  3. Allergy Detection - Drug and excipient allergy screening
  4. Dosing Optimization - Renal, hepatic, and age-based adjustments
  5. Monitoring Recommendations - Lab tests and clinical monitoring
  6. Alternative Therapy Suggestions - Safer medication alternatives

Quick Start

Review medication safety:
from scripts.safety_review import review_medications
import os

# Set environment variables
os.environ["SKILL_BILLING_API_KEY"] = "your-api-key"
os.environ["SKILL_ID"] = "your-skill-id"

# Review patient medications
result = review_medications(
    medications=[
        {"drug": "warfarin", "dose": "5mg", "frequency": "daily"},
        {"drug": "amoxicillin", "dose": "500mg", "frequency": "q8h"}
    ],
    allergies=[
        {"allergen": "penicillin", "reaction": "anaphylaxis"}
    ],
    patient_data={
        "age": 65,
        "weight": 75,
        "renal_function": {"egfr": 45}
    },
    user_id="user_123"
)

# Check result
if result["success"]:
    print("安全状态:", result["safety_status"])
    print("警报数量:", len(result["alerts"]))
    for alert in result["alerts"]:
        print(f"- [{alert['severity']}] {alert['title']}")
else:
    print("错误:", result["error"])
    if "paymentUrl" in result:
        print("充值链接:", result["paymentUrl"])
API Usage:
# Set environment variables
export SKILL_BILLING_API_KEY="your-api-key"
export SKILL_ID="your-skill-id"

# Run safety review
python scripts/safety_review.py \
  --medications '[{"drug":"warfarin","dose":"5mg"}]' \
  --allergies '[{"allergen":"penicillin"}]'...

Source information

Source
github
Repository
openclaw/skills
Path
skills/andyxcg/drug-safety-review
Version
1.0.0
Commit
7828eb7b55466e22bca3d337d21073ce8f8ae97e
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

Drug Safety Review

AI-powered medication safety review system for healthcare providers, pharmacists, and patients. Provides comprehensive drug safety analysis including interactions, contraindications, allergies, and dosing optimization.

Features

  • Drug-Drug Interaction Detection - 200,000+ documented interaction pairs
  • Contraindication Analysis - Absolute and relative contraindications
  • Allergy Detection - Drug and excipient allergy screening
  • Dosing Optimization - Renal, hepatic, and age-based adjustments
  • Monitoring Recommendations - Lab tests and clinical monitoring
  • Alternative Therapy Suggestions - Safer medication alternatives

Installation

  1. Clone or download this skill to your OpenClaw workspace:
cd /home/node/.openclaw/workspace/skills/
  1. Install Python dependencies (if any additional packages are needed):
pip install -r requirements.txt  # if requirements.txt exists
  1. Copy the environment variables file and configure:
cp .env.example .env
# Edit .env with your actual API keys

Environment Variables Configuration

Copy .env.example to .env and configure the following variables:

Required Variables
Variable Description Required
SKILL_BILLING_API_KEY Your SkillPay API key for billing Yes
SKILL_ID Your Skill ID from SkillPay dashboard Yes
Optional Variables
Variable Description Default
FDA_API_KEY FDA API key for drug label information -
DAILYMED_API_KEY DailyMed API key for product labels -
RXNORM_API_KEY RxNorm API key for drug normalization -
DRUGBANK_API_KEY DrugBank API key for comprehensive data -
OPENAI_API_KEY OpenAI API key for enhanced analysis -
PHI_ENCRYPTION_KEY Encryption key for PHI protection -
DATA_RETENTION_DAYS Days to retain safety review data 90
`AUDIT_LOGGING_...

Extracted content

SKILL.md
# Drug Safety Review

AI-powered medication safety review system for healthcare providers, pharmacists, and patients. Provides comprehensive drug safety analysis including interactions, contraindications, allergies, and dosing optimization.

## Features

1. **Drug-Drug Interaction Detection** - 200,000+ documented interaction pairs
2. **Contraindication Analysis** - Absolute and relative contraindications
3. **Allergy Detection** - Drug and excipient allergy screening
4. **Dosing Optimization** - Renal, hepatic, and age-based adjustments
5. **Monitoring Recommendations** - Lab tests and clinical monitoring
6. **Alternative Therapy Suggestions** - Safer medication alternatives

## Quick Start

### Review medication safety:

```python
from scripts.safety_review import review_medications
import os

# Set environment variables
os.environ["SKILL_BILLING_API_KEY"] = "your-api-key"
os.environ["SKILL_ID"] = "your-skill-id"

# Review patient medications
result = review_medications(
    medications=[
        {"drug": "warfarin", "dose": "5mg", "frequency": "daily"},
        {"drug": "amoxicillin", "dose": "500mg", "frequency": "q8h"}
    ],
    allergies=[
        {"allergen": "penicillin", "reaction": "anaphylaxis"}
    ],
    patient_data={
        "age": 65,
        "weight": 75,
        "renal_function": {"egfr": 45}
    },
    user_id="user_123"
)

# Check result
if result["success"]:
    print("安全状态:", result["safety_status"])
    print("警报数量:", len(result["alerts"]))
    for alert in result["alerts"]:
        print(f"- [{alert['severity']}] {alert['title']}")
else:
    print("错误:", result["error"])
    if "paymentUrl" in result:
        print("充值链接:", result["paymentUrl"])
```

### API Usage:

```bash
# Set environment variables
export SKILL_BILLING_API_KEY="your-api-key"
export SKILL_ID="your-skill-id"

# Run safety review
python scripts/safety_review.py \
  --medications '[{"drug":"warfarin","dose":"5mg"}]' \
  --allergies '[{"allergen":"penicillin"}]'...
README
# Drug Safety Review

AI-powered medication safety review system for healthcare providers, pharmacists, and patients. Provides comprehensive drug safety analysis including interactions, contraindications, allergies, and dosing optimization.

## Features

- **Drug-Drug Interaction Detection** - 200,000+ documented interaction pairs
- **Contraindication Analysis** - Absolute and relative contraindications
- **Allergy Detection** - Drug and excipient allergy screening
- **Dosing Optimization** - Renal, hepatic, and age-based adjustments
- **Monitoring Recommendations** - Lab tests and clinical monitoring
- **Alternative Therapy Suggestions** - Safer medication alternatives

## Installation

1. Clone or download this skill to your OpenClaw workspace:
```bash
cd /home/node/.openclaw/workspace/skills/
```

2. Install Python dependencies (if any additional packages are needed):
```bash
pip install -r requirements.txt  # if requirements.txt exists
```

3. Copy the environment variables file and configure:
```bash
cp .env.example .env
# Edit .env with your actual API keys
```

## Environment Variables Configuration

Copy `.env.example` to `.env` and configure the following variables:

### Required Variables

| Variable | Description | Required |
|----------|-------------|----------|
| `SKILL_BILLING_API_KEY` | Your SkillPay API key for billing | Yes |
| `SKILL_ID` | Your Skill ID from SkillPay dashboard | Yes |

### Optional Variables

| Variable | Description | Default |
|----------|-------------|---------|
| `FDA_API_KEY` | FDA API key for drug label information | - |
| `DAILYMED_API_KEY` | DailyMed API key for product labels | - |
| `RXNORM_API_KEY` | RxNorm API key for drug normalization | - |
| `DRUGBANK_API_KEY` | DrugBank API key for comprehensive data | - |
| `OPENAI_API_KEY` | OpenAI API key for enhanced analysis | - |
| `PHI_ENCRYPTION_KEY` | Encryption key for PHI protection | - |
| `DATA_RETENTION_DAYS` | Days to retain safety review data | 90 |
| `AUDIT_LOGGING_...

Related skills

OpenClaw

xint

0xnyk

X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

flightclaw

jackculpan

Track flight prices from Google Flights with this OpenClaw skill. Search routes, monitor prices, and get alerts when prices drop.

OpenClaw

openclaw-trading-assistant

openclaw-trade

openclaw trading assistant| openclaw trading skill | nof1.ai & openclaw [moltbot] collaboration | We get the best practices from alpha arena trading seasons and bring it to clawdbot All top AI agents, realtime...