Drug adverse event query

From vitaclaw/vitaclaw · View interactive version

Drug adverse event query is an AI agent skill from the GitHub repository vitaclaw/vitaclaw. Queries drug adverse event reports from the openFDA FAERS API, including frequency, severity, and outcome distributions. Use when the user wants to understand reported side effects for a medication.

How to use this skill

Skill file

Drug Adverse Event Query

This skill queries drug adverse event report data through the openFDA FAERS (FDA Adverse Event Reporting System) API.

Overview

FAERS is the FDA's adverse event reporting system that collects spontaneous reports of post-marketing drug adverse reactions. This skill provides the following query capabilities:

  1. Adverse Event Frequency Query (search_adverse_events): Retrieves the most frequently reported adverse reactions for a drug along with report counts
  2. Serious Adverse Event Query (search_serious_events): Retrieves only events flagged as "serious"
  3. Outcome Distribution Query (search_outcomes): Retrieves the ratio of serious vs. non-serious adverse events
  4. Comprehensive Report (get_full_report): Combines all three queries above to generate a complete adverse reaction profile

Usage

python drug_adverse_event.py <drug-name>

Examples:

python drug_adverse_event.py osimertinib
python drug_adverse_event.py pembrolizumab
python drug_adverse_event.py metformin

API Details

Important Disclaimers

FAERS is a spontaneous reporting system with the following limitations:

Query results are for reference only. Clinical decisions should be based on a comprehensive evaluation of drug labels, clinical trial data, and guideline recommendations.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.