Help users find over-the-counter medications they can buy on Apotea, match Apotea products to real Swedish medications via the swedish-medications skill, and compare suitable options without giving prescription, diagnosis, or emergency-care advice. Use when users ask what medicine to buy, which Apotea medication fits a symptom, or whether a product on Apotea is a real medication.
This skill narrows medication buying to Swedish OTC products that are actually listed on Apotea and can be matched to the local swedish-medications data. Use it for shopping help, not for diagnosis, emergencies, or prescription treatment choices.
This skill depends on swedish-medications.
Do not use buy-medication as a standalone source of medication truth. It relies on swedish-medications to:
If swedish-medications is unavailable, say that the medication verification step is missing and avoid making confident medication recommendations.
Do not recommend a product first. Start by checking whether the request is appropriate for OTC self-care.
Escalate instead of suggesting medication when the user mentions:
If the case is not clearly suitable for OTC self-care, say that directly and recommend pharmacist, 1177, or urgent care depending on severity.
If the user is asking what to buy, ask only for the details needed to avoid a bad suggestion:
Always use the swedish-medications skill before trusting an Apotea product as a medication. This is a required dependency, not an optional check.
Preferred checks:
node /Users/birger/Community/eir-open/skills/swedish-medications/scripts/fass_lookup.js "alvedon"
node /Users/birger/Community/eir-open/skills/swedish-medications/scripts/fass_lookup.js "omeprazol"
Use the lookup to confirm:
Apotea availability is time-sensitive. Prefer the live scraper when the user wants current availability.
Refresh the catalog:
node /Users/birger/Community/eir-open/skills/buy-medication/scripts/scrape_apotea_otc_medications.cjs
The scraper:
swedish-medicationsreferences/apotea-otc-medications.json and .mdIf you do not need a fresh scrape, read:
references/apotea-otc-medications.md for a quick summaryreferences/apotea-otc-medications.json for exact product rowsThe current snapshot was generated from live Apotea pages and includes 465 matched product pages across 169 unique medications.
When the case is appropriate for OTC self-care, give a short comparison instead of a single overconfident answer.
Good output shape:
Prefer substance-first reasoning. Example:
Do not:
Do:
Use the live catalog or snapshot to find Apotea-listed antihistamines and eye/nasal allergy medications, then validate them with swedish-medications. Compare by substance and sedation risk.
Check the product name against swedish-medications, then confirm the Apotea page classification is a medication in the snapshot or by re-running the scraper.
Stay within a single OTC indication and compare a few verified medications by active substance, form, pack size, and current Apotea price if available in the live scrape.
scripts/scrape_apotea_otc_medications.cjs: live Apotea scraper and matcherreferences/apotea-otc-medications.md: generated medication summaryreferences/apotea-otc-medications.json: generated structured product catalog