Logo: Openfda Animal

Openfda Animal

Organisatioun
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.

Iwwersiicht

EditeurOpenVet-Projects
RepositoryVetClaw
Skill-Nummopenfda-animal
Stären
47
Forks
10
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    OpenVet-Projects huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Openfda Animal an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/OpenVet-Projects/VetClaw/tree/main/skills/databases/openfda-animal
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Openfda Animal an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Openfda Animal automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Openfda Animal net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Openfda Animal op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Openfda Animal besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Openfda Animal an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/OpenVet-Projects/VetClaw/tree/main/skills/databases/openfda-animal an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Openfda Animal benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Openfda Animal benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Openfda Animal domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Openfda Animal gratis?

Jo. OpenVet-Projects huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇