WebMD Drug Reviews Query Skill
SkillDatabases & dataQuery the WebMD Drug Reviews dataset (~362 k patient reviews, 2007, 2020). Use whenever the user asks about patient-reported drug effectiveness, ease of use, satisfaction ratings, side effects, or reviews for a specific drug or medical condition.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the WebMD Drug Reviews Query Skill skill
What this skill tells your AI
The instructions your AI receives, as published by qsong-github/drugclaw in skills/drug_review/webmd/SKILL.md and read by ahel’s review.
Search patient reviews by drug name or medical condition. Auto-fallback: if no drug matches, searches conditions.
| Input Example | Match Logic |
|---|---|
Lipitor | substring on Drug column |
High Blood Pressure | substring on Condition column |
| any text | try Drug first → fall back to Condition |
API
| Function | Input | Returns |
|---|---|---|
load_reviews(path) | CSV path (default DATA_PATH) | list[dict] |
search(rows, entity) | single entity string | list[dict] |
search_by_drug(rows, drug) | drug name string | list[dict] |
search_by_condition(rows, cond) | condition string | list[dict] |
search_batch(rows, entities) | list of entity strings | dict[str, list[dict]] |
summarize(hits, entity) | matched rows + label | compact text (counts, avg ratings, top conditions/drugs) |
to_json(hits) | matched rows | list[dict] |
Usage
See if __name__ == "__main__" block in 10_WebMD_Drug_Reviews.py for runnable examples covering: single drug lookup, single condition lookup, batch search, and JSON output.
Data
- Source:
webmd.csv(Kaggle – rohanharode07/webmd-drug-reviews-dataset) - Columns:
Drug,Condition,Reviews,Side,Age,Sex,Effectiveness,EaseofUse,Satisfaction - Ratings: 1-5 star scale for Effectiveness, EaseofUse, Satisfaction
- Path:
DATA_PATHvariable in10_WebMD_Drug_Reviews.py(resources_metadata/drug_review/WebMDDrugReviews/webmd.csv)
Signals
- GitHub stars
- 116
- Forks
- 3
- Last commit
- Aug 2026
Advanced
- Item type
- skill
- Key
webmd-drug-reviews- Source
- github.com/qsong-github/drugclaw
github.com/qsong-github/drugclaw
Related picks
Skill · wshobson
The pick for Pythonpython-pro
Skill · jeffallan
The pick for Pythonconnect
Skill · composiohq
More in Databases & dataanalytics
Skill · coreyhaines31
More in Databases & dataazure-kusto
Skill · microsoft
More in Databases & dataagentic-os
Skill · affaan-m
More in Databases & data