tooluniverse-product-safety-surveillance

mims-harvard/tooluniverse

Постмаркетинговый надзор и поиск отзывов/нежелательных событий по устройствам, пище, косметике, ветпрепаратам и дефициту лекарств через openFDA.

Звёзды1 795
Авторmims-harvard

Установка

SKILL.md

Product Safety Surveillance (multi-product, openFDA)

Retrieve and interpret post-market safety records across every FDA-regulated product class except drug-AE signal mining: medical devices, food / dietary supplements / cosmetics, veterinary drugs, and drug supply (shortages), plus cross-product enforcement/recall reports.

KEY PRINCIPLES

  1. Decide the product class first. Device? Food/supplement/cosmetic? Vet drug? Drug shortage? Recall? The class picks the tool.
  2. Build a valid Lucene query. openFDA uses field-scoped field:value terms; combine with a space-separated AND. Phrases and special characters need care (see Query Grammar).
  3. Retrieve, then interpret. These are spontaneous/voluntary reports. Report the records and their fields; never assert causation or rates.
  4. Cite every record with the tool name, the openFDA endpoint, the query used, and the total hit count from meta.results.total.
  5. Stay in scope. If the request is drug-AE signal detection (PRR/ROR/IC), STOP and point to tooluniverse-pharmacovigilance / tooluniverse-adverse-event-detection.

When to Use vs When NOT to Use

USE for:

  • Device adverse events (MAUDE): "adverse events / malfunctions / deaths for [device]"
  • Device recalls & enforcement: "device recalls for [firm]", "Class I device recalls"
  • Device clearance context: "510(k) clearances for [device type]"
  • Food / dietary-supplement / cosmetic adverse events (CAERS): "supplement reactions", "cosmetic adverse events for [brand]"
  • Food recalls/enforcement: "food recall for listeria / undeclared allergen"
  • Veterinary drug adverse events: "adverse events for [drug] in dogs"
  • Drug shortages: "is [drug] in shortage", "injectables on current shortage"
  • Drug recalls/enforcement: "drug recalls for contamination"

DO NOT USE for (point elsewhere):

  • Drug adverse-event SIGNAL detection / disproportionality (PRR, ROR, IC) → tooluniverse-pharmacovigilance or tooluniverse-adverse-event-detection
  • Drug-AE association strength scoring, demographic risk stratification of drug AEs → same two skills
  • Drug efficacy, mechanism, pharmacogenomics → other tooluniverse-* skills

This skill retrieves and interprets multi-product safety records. It does not compute drug-AE signal statistics.


Tool Map (which tool for which question)

Product classQuestionToolopenFDA endpoint
DeviceAdverse events / malfunctions / deaths (MAUDE)OpenFDA_search_device_adverse_events/device/event.json
DeviceRecallsOpenFDA_search_device_recalls/device/recall.json
DeviceEnforcement / recall reportsOpenFDA_search_device_enforcement/device/enforcement.json
Device510(k) clearances (context)OpenFDA_search_device_510k/device/510k.json
Food/supplement/cosmeticAdverse events (CAERS)OpenFDA_search_food_adverse_events/food/event.json
FoodEnforcement / recall reportsOpenFDA_search_food_enforcement/food/enforcement.json
VeterinaryAnimal drug adverse eventsOpenFDA_search_animalvet_adverse_events/animalandveterinary/event.json
Drug supplyShortagesOpenFDA_search_drug_shortages/drug/shortages.json
DrugEnforcement / recall reportsOpenFDA_search_drug_enforcement/drug/enforcement.json
DrugAdverse events (raw FAERS records)OpenFDA_search_drug_events/drug/event.json
DrugLabelsOpenFDA_search_drug_labels/drug/label.json

All tools take a Lucene search string plus optional limit and skip. All are keyless and verified live.


openFDA Query Grammar (CRITICAL — read before querying)

  • Field-scoped term: field:value (e.g. event_type:Death, status:Current).
  • Nested fields use dot paths: device.generic_name:pacemaker, products.industry_name:Cosmetics, animal.species:Dog, reaction.veddra_term_name:Vomiting, drug.active_ingredients.name:carprofen.
  • Combine terms with a SPACE-separated AND (verified working): device.generic_name:pacemaker AND event_type:Death.<!-- -->
    • Do NOT use +AND+ — the +-joined boolean form errors through these tools. Use a literal space around AND.
  • Multi-word values: join with + only for adjacency within a single field value (e.g. device.generic_name:infusion+pump). This is matched as tokens, not an exact phrase.
  • Avoid raw special characters ((, ), /, leading +) inside values — they break the query. Pick a simpler token (e.g. products.industry_name:Dietary instead of the full Dietary Conventional Foods/Meal Replacements).
  • Dates are strings: device AE/MAUDE use YYYYMMDD (e.g. date_received); recalls/enforcement use YYYY-MM-DD (e.g. event_date_initiated, recall_initiation_date).
  • Result envelope: every successful call returns {status:"success", data:{meta:{results:{total, skip, limit}}, results:[...]}}. Read the hit count from data.meta.results.total.
  • Counts/aggregations: native openFDA supports &count=<field>; these TU wrappers center on search. To rank terms, retrieve a batch (e.g. limit:100) and tally the field yourself in Python.

Interpretation Tables (raw openFDA field → meaning)

Medical devices — MAUDE adverse events (/device/event.json)

FieldMeaning
event_typeDeath, Injury, Malfunction, or No answer provided. Death/Injury = patient harm; Malfunction = device failure without (reported) harm.
device[].generic_name / device[].brand_nameDevice category / trade name.
device[].manufacturer_d_nameDevice manufacturer.
patient[]Patient-level outcome data (may be sparse).
mdr_text[].textNarrative; text_type_code distinguishes event description vs manufacturer narrative.
report_numberMAUDE report id. Duplicate / follow-up reports of the same event are common — do not count reports as distinct events.
date_receivedYYYYMMDD FDA received date.

Medical devices — recalls (/device/recall.json)

FieldMeaning
product_descriptionWhat was recalled.
recalling_firmFirm issuing the recall.
recall_statuse.g. Open, Terminated. Terminated = FDA closed the action.
product_codeFDA device product code.
k_numbers[]Associated 510(k) clearance numbers.
root_cause_descriptionFDA root-cause category (e.g. Labeling design).
event_date_initiatedYYYY-MM-DD recall start.

Enforcement reports (device / drug / food /.../enforcement.json)

FieldMeaning
classificationRecall severity: Class I (serious/fatal hazard), Class II (temporary/reversible), Class III (unlikely to cause harm).
statusOngoing / Terminated / Completed.
reason_for_recallWhy recalled.
product_descriptionRecalled product.
recalling_firmFirm.

Food / supplement / cosmetic — CAERS adverse events (/food/event.json)

FieldMeaning
reactions[]MedDRA reaction terms (British spelling, e.g. Diarrhoea, Nausea).
outcomes[]e.g. Hospitalization, Life Threatening, Disability, Death, Other Serious or Important Medical Event, Visited an ER.
products[].industry_nameProduct category (Cosmetics, Dietary Conventional Foods/Meal Replacements, Milk/Butter/Dried Milk Prod, …).
products[].roleSUSPECT (implicated) vs CONCOMITANT (also consumed).
products[].name_brandBrand name.
consumerage, gender of the consumer (often sparse).

Veterinary — animal drug adverse events (/animalandveterinary/event.json)

FieldMeaning
animal.speciesDog, Cat, Horse, …
animal.genderAnimal sex.
number_of_animals_affectedCount in the report.
reaction[].veddra_term_nameVeDDRA clinical sign (e.g. Vomiting, Diarrhoea).
drug[].brand_name / drug[].active_ingredients[].nameImplicated product / active.
drug[].used_according_to_label / off_label_useLabel vs off-label use.

Drug shortages (/drug/shortages.json)

FieldMeaning
statusCurrent or Resolved.
availabilitye.g. Unavailable, Limited.
generic_nameDrug in shortage.
shortage_reasone.g. Delay in shipping of the drug, Demand increase for the drug.
dosage_forme.g. Injection, Tablet.
therapeutic_category[]Clinical category.
company_nameManufacturer.
update_type / initial_posting_date / update_datePosting metadata.

Workflow

  1. Classify the product from the request (device / food-supplement-cosmetic / vet / drug shortage / recall).
  2. Pick the tool from the Tool Map.
  3. Build the Lucene query following Query Grammar (single field for a first pass; add AND for combinations). Keep values simple; avoid special characters.
  4. Run it and read data.meta.results.total and data.results[].
  5. Interpret the fields with the table above. For severity: device event_type:Death; enforcement classification:Class I; CAERS outcomes:Death/Hospitalization; shortage status:Current.
  6. Summarize and cite. Report counts, key fields, the query used, and the LIMITATIONS caveat. To rank terms, pull limit:100 and tally in Python (no count aggregation in these wrappers).
  7. If out of scope (drug-AE signal/PRR/ROR), stop and route to the pharmacovigilance skills.

Worked Examples (verified live)

Example 1 — Device deaths for a device type (MAUDE)

"Are there any reported deaths in adverse-event reports for pacemakers?"

OpenFDA_search_device_adverse_events {"search":"device.generic_name:pacemaker AND event_type:Death","limit":1}

Real output (abbrev): status:success, meta.results.total = 16619; first record event_type = Death, device.generic_name = DEFIBRILLATOR/PACEMAKER. Interpretation: 16,619 MAUDE reports match a pacemaker device with a Death event type. These are spontaneous reports — duplicates likely, and "Death" means a death was reported in temporal association, not that the device caused it.

Example 2 — Device recalls for a firm

"What device recalls has Medtronic Navigation issued?"

OpenFDA_search_device_recalls {"search":"recalling_firm:Medtronic","limit":1}

Real output (abbrev): total = 1896; first record recall_status = Terminated, product_code = HAW, root_cause_description = Labeling design, k_numbers = ["K990214"], event_date_initiated = 2011-01-20, product_description = a tactile probe for spine surgery. Interpretation: 1,896 recall records match firms containing "Medtronic". recall_status: Terminated means FDA has closed this action; the root cause was a labeling-design issue.

Example 3 — Drug shortage lookup for an injectable

"Is ketorolac injection in shortage right now?"

OpenFDA_search_drug_shortages {"search":"dosage_form:Injection AND status:Current","limit":1}

Real output (abbrev): total = 799; first record generic_name = Ketorolac Tromethamine Injection, status = Current, shortage_reason = Delay in shipping of the drug, availability = Unavailable, company_name = Fresenius Kabi USA, LLC. Interpretation: 799 current shortage records are injectables; ketorolac tromethamine injection is currently in shortage (status Current, availability Unavailable) due to a shipping delay.

Example 4 — Supplement / cosmetic CAERS reactions

"Are there CAERS adverse-event reports implicating cosmetics?"

OpenFDA_search_food_adverse_events {"search":"products.industry_name:Cosmetics","limit":1}

Real output (abbrev): total = 52214; first record products[].industry_name = Cosmetics, products[].role = SUSPECT, outcomes = ["Hospitalization","Other Serious or Important Medical Event"]. Interpretation: 52,214 CAERS reports name a cosmetic product as SUSPECT. CAERS is voluntary; a SUSPECT role reflects the reporter's attribution, not a verified causal link.

Example 5 — Veterinary adverse events for a drug in a species

"What adverse events are reported for carprofen in dogs?"

OpenFDA_search_animalvet_adverse_events {"search":"drug.active_ingredients.name:carprofen AND animal.species:Dog","limit":1}

Real output (abbrev): total = 46469; first record animal.species = Dog, reaction[].veddra_term_name includes Leucocytosis NOS, Neutrophilia, Depression, Elevated alanine aminotransferase (ALT). Interpretation: 46,469 veterinary reports match carprofen-containing products in dogs. VeDDRA terms describe reported clinical signs; counts reflect reporting, not incidence.


Limitations (state these in every report)

  • Spontaneous / voluntary reports. MAUDE (device), CAERS (food/supplement/cosmetic), FAERS (drug), and the animal/vet system are passive surveillance. Reports are unverified and a report is not a confirmed causal event.
  • No causation, no denominator. Counts (meta.results.total) are report counts, not incidence or rates. There is no exposure denominator, so you cannot compute risk.
  • Reporting bias. Serious events, new products, recalls, and media/regulatory attention drive reporting spikes (Weber effect). High counts may reflect usage volume or attention, not hazard.
  • Duplicate reports. MAUDE in particular contains follow-up/duplicate reports of the same event; do not treat report counts as event counts.
  • CAERS voluntary & sparse. Consumer/age/gender fields are often missing; SUSPECT role is reporter attribution.
  • This skill does not compute signal statistics (PRR/ROR/IC). For drug-AE disproportionality use tooluniverse-pharmacovigilance / tooluniverse-adverse-event-detection.
  • Data currency: each response carries a meta.last_updated date; openFDA lags real-world events.

See references/openfda_fields.md for the full per-endpoint field reference and additional query examples.


References

  • openFDA: https://open.fda.gov
  • MAUDE (device adverse events): https://www.fda.gov/medical-devices/mandatory-reporting-requirements-manufacturers-importers-and-device-user-facilities
  • Device recalls / 510(k): https://www.fda.gov/medical-devices
  • CAERS (food/supplement/cosmetic): https://www.fda.gov/food/compliance-enforcement/cfsan-adverse-event-reporting-system-caers
  • Drug shortages: https://www.fda.gov/drugs/drug-shortages
  • Recall classifications: https://www.fda.gov/safety/industry-guidance-recalls

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: tooluniverse-product-safety-surveillance](https://darkplay.ru/ai/skills/mims-harvard-tooluniverse-tooluniverse-product-safety-surveillance)

Из того же репозитория

tooluniverse-lipidomics Анализ липидов и их связи с заболеваниями через LIPID MAPS, HMDB, KEGG и PubChem. ★1,8K tooluniverse-model-organism-genetics Межвидовой генетический анализ через базы модельных организмов: MGI, ZFIN, FlyBase, SGD и ★1,8K tooluniverse-kegg-disease-drug Сеть болезнь–лекарство–вариант на основе баз KEGG для репозиционирования препаратов. ★1,8K tooluniverse-adverse-outcome-pathway Связь химических веществ с неблагоприятными исходами (AOP) через AOPWiki, GHS и IARC. ★1,8K tooluniverse-metabolomics-pathway Анализ метаболических путей: идентификация метаболитов, картирование путей, связи с болезн ★1,8K tooluniverse-comparative-genomics Сравнение генов между видами и анализ ортологов через Ensembl, NCBI, UniProt и другие базы ★1,8K tooluniverse-pathway-disease-genetics Связывание вариантов GWAS с генами, путями (Reactome, KEGG, WikiPathways) и лекарствами-ми ★1,8K tooluniverse-protein-modification-analysis Анализ посттрансляционных модификаций: фосфорилирование, убиквитинирование, ацетилирование ★1,8K

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

eccaffaan-m · Нативный для harness операторский слой ECC: 67 агентов, 278 навыков, 94 шима устаревших…
441 комп.
Cpp Revieweraffaan-m · Ревьюер C++: безопасность памяти, современные идиомы, конкурентность, производительность.
225 587 ★
Django Revieweraffaan-m · Ревьюер Django: ORM, DRF, миграции, безопасность и production-практики.
225 587 ★
Fastapi Revieweraffaan-m · Проверяет FastAPI-приложения: async, DI, Pydantic, безопасность, OpenAPI и тесты.
225 587 ★
Fsharp Revieweraffaan-m · Ревьюер кода F#: функциональные идиомы, типы, сопоставление с образцом и…
225 587 ★
Gan Planneraffaan-m · GAN Harness — агент-планировщик: разворачивает промпт в полную спецификацию продукта.
225 587 ★
Healthcare Revieweraffaan-m · Проверяет медицинский код: клиническая безопасность, CDSS, PHI и целостность данных.
225 587 ★
Kotlin Revieweraffaan-m · Ревьюер Kotlin и Android/KMP: корутины, Compose, архитектура и типичные ошибки.
225 587 ★
Marketing Agentaffaan-m · Маркетинг-стратег и копирайтер: кампании, позиционирование, тексты и контент-планы.
225 587 ★
Mle Revieweraffaan-m · Ревьюер ML-инженерии: данные, признаки, обучение, оценка, сервинг и мониторинг.
225 587 ★

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8