DrugLib Reviews Query Skill
SkillDatabases & dataQuery the DrugLib.com Drug Review Dataset (UCI #461). Use whenever the user asks about patient drug reviews, drug effectiveness ratings, side-effect profiles, or condition-specific treatment experiences from DrugLib.com.
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 DrugLib 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/drugs_com_reviews/SKILL.md and read by ahel’s review.
Search patient drug reviews by drug name or medical condition. Auto-detects entity type and routes to the appropriate field.
| Input Pattern | Detected As | Match Logic |
|---|---|---|
single/two-word term (e.g. lamictal) | drug name | substring on urlDrugName |
multi-word or medical keyword (e.g. bipolar disorder) | condition | substring on condition |
Condition keywords that trigger condition routing: disease, disorder, syndrome, infection, pain, cancer, diabetes, hypertension, depression, anxiety, asthma, arthritis, migraine, allergy, insomnia, nausea, obesity, acne, gerd, copd.
API
| Function | Input | Returns |
|---|---|---|
load_reviews() | — | list[dict] (cached) |
search(entity) | single entity string | list[dict] |
search_batch(entities) | list of entity strings | dict[str, list[dict]] |
summarize(hits, entity) | list[dict] + label | compact LLM-readable text |
to_json(hits) | list[dict] | list[dict] (JSON-serialisable) |
Usage
See if __name__ == "__main__" block in 16_DRUGLIB_REVIEWS.py for runnable
examples covering: drug name search, condition search, batch search, and JSON
output.
Data
- Source: Drug Review Dataset (Druglib.com), UCI ML Repository #461
- Citation: Kallumadi, S. & Gräßer, F. (2018). Drug Reviews (Druglib.com) [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C55G6J
- License: CC BY 4.0
- Files:
drugLibTrain_raw.tsv,drugLibTest_raw.tsv(TSV, merged at load) - Path:
DATA_DIRvariable in16_DRUGLIB_REVIEWS.py - Columns:
| Column | Type | Description |
|---|---|---|
urlDrugName | str | Drug name (lowercase, URL-style) |
rating | int 0–9 | Overall patient satisfaction |
effectiveness | str | Highly / Considerably / Moderately / Marginally Effective, Ineffective |
sideEffects | str | No / Mild / Moderate / Severe / Extremely Severe Side Effects |
condition | str | Medical condition being treated |
benefitsReview | str | Free-text review of benefits |
sideEffectsReview | str | Free-text review of side effects |
commentsReview | str | Free-text general comments |
Signals
- GitHub stars
- 116
- Forks
- 3
- Last commit
- Aug 2026
Advanced
- Item type
- skill
- Key
druglib-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