nSIDES Query Skill
SkillDatabases & dataQuery the nSIDES drug side effect databases (OnSIDES, OffSIDES, KidSIDES). Use whenever the user asks about drug adverse reactions, side effects, off-label safety signals, or pediatric drug safety for a given drug name.
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 nSIDES Query Skill skill
What this skill tells your AI
The instructions your AI receives, as published by qsong-github/drugclaw in skills/adr/nsides/SKILL.md and read by ahel’s review.
Search drug adverse reactions across three complementary nSIDES sources by drug name.
| Source | Content | Method | Scale |
|---|---|---|---|
| OnSIDES v3.1.0 | Label-extracted ADEs (US/EU/UK/JP) | PubMedBERT NLP on product labels | 1,955 ingredients, 5.5M drug-ADE pairs |
| OffSIDES | Off-label side effects | Propensity-score matching on FAERS | 3,300+ drugs |
| KidSIDES | Pediatric safety signals by developmental phase | Disproportionality analysis on FAERS | Age-stratified ADE signals |
Entity Detection
| Input | Routing |
|---|---|
| any free text | substring match on drug / ingredient name across all three sources |
No ID-based routing — all queries are natural-language drug names.
API
| Function | Input | Returns |
|---|---|---|
search(entity, limit) | drug name string | dict with keys: entity, onsides, offsides, kidsides |
search_batch(entities, limit) | list of drug names | list[dict] |
search_onsides(drug_name, limit) | drug name | list[dict] — ingredient, effect, meddra_id, source, label_count |
search_offsides(drug_name, limit) | drug name | list[dict] — drug, condition, PRR, A/B/C/D |
search_kidsides(drug_name, limit) | drug name | list[dict] — drug, event, nichd_phase, gam_score, ror |
summarize(result) | single search() output | compact text |
to_json(result) | single search() output | JSON string |
Output Fields
OnSIDES row
ingredient— RxNorm ingredient nameeffect— MedDRA adverse effect termmeddra_id— MedDRA concept IDsource— label origin country (US / EU / UK / JP)label_count— number of labels reporting this ADE
OffSIDES row
drug— RxNorm drug namecondition— MedDRA side effect namePRR— proportional reporting ratio (>1 = signal)A/B/C/D— 2×2 contingency countsmean_reporting_frequency— proportion of drug reports with this effect
KidSIDES row
drug— drug concept nameevent— adverse event namenichd_phase— NICHD developmental phase (e.g. "Neonatal", "Infancy", "Adolescence")gam_score— GAM model scoreror/ror_lower/ror_upper— reporting odds ratio with 95% CI
Usage
See if __name__ == "__main__" block in 15_nSIDES.py for runnable examples:
single-drug query, batch query, text summary, and JSON output.
Data
| File | Location | Size |
|---|---|---|
onsides.db | DATA_DIR/onsides.db | SQLite, from OnSIDES v3.1.0 release |
OFFSIDES.csv.gz | DATA_DIR/OFFSIDES.csv.gz | gzipped CSV |
ade_nichd.csv.gz | DATA_DIR/ade_nichd.csv.gz | gzipped CSV (172 MB) |
drug.csv.gz | DATA_DIR/drug.csv.gz | KidSIDES drug dictionary |
event.csv.gz | DATA_DIR/event.csv.gz | KidSIDES event dictionary |
dictionary.csv.gz | DATA_DIR/dictionary.csv.gz | NICHD phase dictionary |
DATA_DIR default: resources_metadata/adr/nSIDES
Citations
- OnSIDES: Tanaka Y et al. OnSIDES database: Extracting adverse drug events from drug labels using NLP models. Med. 2025;100642. doi:10.1016/j.medj.2025.100642
- OffSIDES / TwoSIDES: Tatonetti NP et al. Data-driven prediction of drug effects and interactions. Sci Transl Med. 2012;4(125):125ra31. doi:10.1126/scitranslmed.3003377
- KidSIDES: Giangreco NP, Tatonetti NP. A database of pediatric drug effects to evaluate ontogenic mechanisms. Med. 2022.
Signals
- GitHub stars
- 116
- Forks
- 3
- Last commit
- Aug 2026
Advanced
- Item type
- skill
- Key
nsides-query- Source
- github.com/qsong-github/drugclaw
github.com/qsong-github/drugclaw
Related picks
Skill · aiskillstore
The pick for SQLitebrain
Skill · coco-research
The pick for SQLitesqlite-adonet
Skill · dotnet
The pick for SQLitepython-performance-optimization
Skill · wshobson
The pick for Pythonpython-pro
Skill · jeffallan
The pick for Pythonconnect
Skill · composiohq
More in Databases & data