Logo di Openfda Animal

Openfda Animal

Organizzazione
OpenVet-Projects
openfda-animal

Query the openFDA Animal and Veterinary endpoints for adverse event reports, approved animal drug products, and veterinary device data. REST API access to FDA CVM public datasets.

Panoramica

Pubblicato daOpenVet-Projects
RepositoryVetClaw
Nome della skillopenfda-animal
Stelle
47
Fork
10
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da OpenVet-Projects su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Openfda Animal in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/OpenVet-Projects/VetClaw/tree/main/skills/databases/openfda-animal
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OpenVet-Projects/VetClaw.git /tmp/VetClaw
mkdir -p .claude/skills
cp -r /tmp/VetClaw/skills/databases/openfda-animal .claude/skills/openfda-animal
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Openfda Animal in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Openfda Animal non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Openfda Animal non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

OpenFDA Animal & Veterinary

Overview

openFDA provides free, public REST API access to FDA CVM (Center for Veterinary Medicine) databases of animal drug adverse events, approved animal products, and veterinary device data. This skill covers API endpoints, query syntax, searchable fields, rate limits, and SDK integration for veterinary AI applications.

When to Use

  • User queries adverse event frequency for a veterinary drug
  • User searches for FDA-approved animal drug products (NADA database)
  • User researches safety signals or patterns in veterinary pharmacovigilance
  • User programmatically integrates FDA data into a VetClaw application
  • Keywords: openFDA, FDA CVM, adverse event, animal drug, NADA, API, veterinary device, safety signal

API Endpoints

Animal & Veterinary Events (Adverse Event Reports):

https://api.fda.gov/animalandveterinary/event.json

Searchable fields: animal species, drug name, adverse reaction, outcome, date reported

Approved Animal Drug Products (NADA Database):

https://api.fda.gov/animalandveterinary/approved_animal_drug_applications.json

Searchable fields: trade name, generic name, applicant, approval date, species

Veterinary Device Events:

https://api.fda.gov/animalandveterinary/device_event.json

Searchable fields: device type, malfunction, injury, manufacturer

Query Syntax

Basic GET Request:

https://api.fda.gov/animalandveterinary/event.json?search=FIELD:VALUE&limit=10&skip=0

Common Parameters:

  • search: Query expression (field-value pairs connected with AND/OR)
  • limit: Results per page (1-1000, default 20)
  • skip: Offset for pagination (for results >1000)
  • count: Aggregate count by field instead of returning individual records
  • sort: Order results (field name)

Boolean Operators:

  • AND: Both conditions must match
  • OR: Either condition matches
  • NOT: Exclude results matching condition
  • Parentheses for complex expressions: (field1:value1 OR field1:value2) AND field2:value3

Field Query Examples:

drug.name:"amoxicillin" AND animal.species:"DOG"
reaction.veddra_term_name:"hepatotoxicity"
original_receive_date:[20200101 TO 20241231]
outcome:"Fatal"

Searchable Fields - Adverse Events

Drug Fields:

  • drug.name - Generic or brand name
  • drug.dose_value - Numerical dose
  • drug.dose_unit - Unit (mg, mL, etc.)
  • drug.route - Route of administration (PO, IV, IM, topical, etc.)
  • drug.frequency - Dosing frequency

Animal Fields:

  • animal.species - Species affected (DOG, CAT, HORSE, CATTLE, BIRD, etc. — English names, matching the openFDA data and the SDK)
  • animal.breed - Breed (searchable for breed predisposition studies)
  • animal.age_value - Numerical age
  • animal.age_unit - Unit (year, month, week, day)
  • animal.sex - Male, female, unknown
  • animal.weight_value - Weight (for dose-response analysis)

Reaction Fields:

  • reaction.veddra_term_name - VEDDRA (Veterinary Dictionary for Drug Event Reports and Analysis) standardized term
  • reaction.outcome - Death, Euthanasia, Serious, Non-serious, Recovered, Recovering, Unknown
  • reaction.severity - Severity classification

Report Fields:

  • original_receive_date - Date FDA received report (query format: YYYYMMDD)
  • unique_aer_id_number - Unique FDA adverse event report ID (primary identifier)
  • report_id - FDA report identifier
  • serious - Boolean (whether report indicates serious adverse outcome)

Common Veterinary VEDDRA Terms

TermCategoryExamples
HepatotoxicityOrgan toxicityElevated ALT, liver damage
NephrotoxicityOrgan toxicityElevated creatinine, kidney failure
CardiotoxicityOrgan toxicityArrhythmias, myocarditis
GastrointestinalSystemVomiting, diarrhea, hemorrhage
DermatitisSkinRash, hives, edema
AnaphylaxisImmuneShock, acute hypersensitivity
ThrombocytopeniaHematologicLow platelet count, bleeding
SeizureNeurologicConvulsions, ataxia
DeathFatalLethal outcome

Rate Limits

  • Without API key: 240 requests per minute, 1,000 requests per day
  • With API key (free): 240 requests per minute, 120,000 requests per day
  • Rate Limit Headers: Response includes X-Rate-Limit-Limit, X-Rate-Limit-Remaining
  • Exceeding Limits: Server returns HTTP 429 (Too Many Requests); implement exponential backoff retry

Register for API Key: https://open.fda.gov/apis/authentication/

VetClaw SDK Integration

VetClaw includes reference clients for this API. See sdk/ in the repo root.

Python (sdk/python/openfda_vet.py):

python
from openfda_vet import OpenFDAVet

client = OpenFDAVet(api_key="YOUR_KEY")

# Search adverse events by species and drug
events = client.search(species="Dog", drug="Amoxicillin", limit=100)

# Count adverse events by reaction for a specific drug
reactions = client.top_reactions("Cat", drug="Methimazole")

# Count adverse events by outcome
outcomes = client.count("reaction.outcome", species="Dog", drug="Ivermectin")

TypeScript (sdk/typescript/openfda-vet.ts):

typescript
import { OpenFDAVet } from "./openfda-vet";

const client = new OpenFDAVet("YOUR_KEY");

// Search adverse events
const events = await client.search({ species: "Dog", drug: "Amoxicillin", limit: 100 });

// Count top reactions
const reactions = await client.topReactions("Cat", "Methimazole");

// Paginate through results
for await (const page of client.paginate({ species: "Dog", drug: "Ivermectin" })) {
  for (const event of page) console.log(event.unique_aer_id_number);
}

Practical Query Examples

Query 1: MDR1 Sensitivity to Ivermectin

Search for ivermectin adverse events in herding breeds (known MDR1 mutation risk):
drug.name:"ivermectin"
  AND animal.breed:("Collie" OR "Australian Shepherd" OR "Sheltie")
  AND reaction.outcome:("Death" OR "Serious" OR "Euthanasia")
Limit: 100

Query 2: Acetaminophen in Cats (Lethal Combination)

drug.name:"acetaminophen" AND animal.species:"CAT"
Expected outcome: High rate of hepatotoxicity, death (acetaminophen is lethal to cats)

Query 3: Drug Withdrawal Time Safety

Drug: penicillin, Animal: CATTLE, Outcome: Recovery with residue concerns
Verify no unusual severe outcomes reported; extract timeline to recovery

Query 4: Breed Predisposition to Drug Reaction

reaction.veddra_term_name:"seizure"
  AND (drug.name:"phenobarbital" OR drug.name:"levetiracetam")
  AND animal.species:"DOG"
Group by breed to identify predispositions

Query 5: Time-Based Safety Trend

drug.name:"enalapril"
  AND animal.species:"CAT"
  AND original_receive_date:[20150101 TO 20241231]
Count by year to track safety signal emergence over time

Response Structure

Adverse Event Record Example:

json
{
  "unique_aer_id_number": "USA-USFDACVM-2024-US-123456",
  "report_id": "123456789",
  "original_receive_date": "2024-03-15",
  "animal": {
    "species": "DOG",
    "breed": "Labrador Retriever",
    "age_value": 5,
    "age_unit": "year",
    "sex": "female",
    "weight_value": 30,
    "weight_unit": "kg"
  },
  "drug": {
    "name": "amoxicillin",
    "dose_value": 250,
    "dose_unit": "mg",
    "route": "oral",
    "frequency": "twice daily"
  },
  "reaction": {
    "veddra_term_name": "vomiting",
    "outcome": "Recovered",
    "severity": "moderate"
  },
  "serious": false
}

Use Cases in Veterinary AI

  1. Safety Signal Detection: Aggregate adverse events by drug-species-breed to identify unexpected patterns (e.g., increased hepatotoxicity in specific breed using drug X)

  2. Pharmacovigilance Monitoring: Track trends in serious adverse events over time; alert veterinarians to emerging safety signals

  3. Breed-Specific Dosing Refinement: Identify adverse event clusters by breed; inform precision medicine protocols

  4. Drug Interaction Warnings: Cross-reference adverse events to identify potential drug-drug interactions not captured in single-drug studies

  5. Clinical Decision Support: When recommending a drug, query recent adverse events to provide evidence-based safety profile to veterinarian

Limitations

  • Reporting Bias: Adverse events are voluntarily reported; underreporting of minor side effects, overreporting of serious outcomes
  • Incomplete Data: Many adverse event reports lack complete signalment (breed, age), dosing information, or outcome details
  • Temporal Lag: FDA data is typically 6-12 months behind current clinical use; emerging signals may not be captured
  • Causality Uncertainty: Reported adverse event may not be causally related to drug (confounding variables, concurrent medications)
  • Approved Drug Products Database: Limited to FDA-approved products; extralabel use (common in veterinary medicine) not captured
  • This skill is reference only: Data interpretation requires clinical expertise; not a substitute for veterinary consultation

Sources

Rate Limit Best Practices

  • Implement exponential backoff (wait 2^attempt seconds if rate limited)
  • Cache results locally to minimize API calls
  • Use count endpoint instead of fetching all records if only aggregate data needed
  • Batch queries by date range to reduce total requests
  • Monitor X-Rate-Limit-Remaining header; pause if approaching limit

Domande frequenti

Cosa fa la skill IA Openfda Animal?

Query the openFDA Animal and Veterinary endpoints for adverse event reports, approved animal drug products, and veterinary device data. REST API access to FDA CVM public datasets.

Perché usare Openfda Animal su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Openfda Animal è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Openfda Animal in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/OpenVet-Projects/VetClaw/tree/main/skills/databases/openfda-animal. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Openfda Animal?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Openfda Animal?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Openfda Animal: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Openfda Animal è gratuita?

Sì. È pubblicata su GitHub da OpenVet-Projects con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇