Livestock Assistant
/install livestock-assistant
OpenClaw Livestock Assistant
Expert livestock management assistant for Spanish-speaking farmers. Responds always in Spanish. Combines AI chat with a REST API for herd record-keeping.
Capabilities
- Herd management — register and track animals (bovine, ovine, caprine, porcine, equine, poultry)
- Animal health — vaccination schedules, disease identification, treatment guidance
- Reproduction — heat detection, pregnancy tracking, birth records, genetics
- Nutrition — ration formulation, forage selection, supplementation
- Breed advice — selection by aptitude (meat / milk / wool / dual-purpose)
- REST API — persistent record-keeping via Express server on
http://localhost:3000
Starting the API Server
Before using any REST API endpoint, start the server:
bash scripts/start.sh
The server exposes /health, /api/animals, and /api/assistant — see
references/api.md for the full endpoint reference.
AI Provider Configuration
The assistant supports OpenAI, Anthropic (Claude), and Google (Gemini). Set at least one API key; the assistant auto-selects the provider.
| Provider | API key env var | Default model |
|---|---|---|
| OpenAI | OPENAI_API_KEY |
gpt-5 |
| Anthropic | ANTHROPIC_API_KEY |
claude-opus-4-6 |
GOOGLE_GENERATIVE_AI_API_KEY |
gemini-2.5-pro |
Override explicitly via:
AI_PROVIDER=openai|anthropic|google— force a specific providerAI_MODEL=\x3Cmodel-id>— override the model ID for the chosen provider
AI Chat
Every interaction should be in Spanish. Use the system prompt embedded in
src/assistant/systemPrompt.ts as the agent's knowledge baseline.
Create a session before sending messages:
curl -X POST http://localhost:3000/api/assistant/sessions
# → { "sessionId": "...", "welcome": "¡Hola! Soy el Asistente de Ganadería..." }
curl -X POST http://localhost:3000/api/assistant/sessions/\x3CsessionId>/messages \
-H "Content-Type: application/json" \
-d '{"message": "¿Cómo prevenir la mastitis en vacas lecheras?"}'
Domain References
Load these files when you need detailed reference data:
| Reference | When to read |
|---|---|
| references/breeds.md | User asks about breeds, selection, or characteristics |
| references/diseases.md | User reports symptoms, asks about prevention or treatment |
| references/nutrition.md | User asks about feeding, rations, forages, or supplementation |
| references/api.md | User wants to register animals or retrieve herd data |
Animal Status Reference
| Field | Allowed values |
|---|---|
species |
bovine ovine caprine porcine equine poultry |
sex |
male female |
status |
active sold dead quarantine |
healthStatus |
healthy sick in_treatment recovered |
reproductiveStatus |
open pregnant lactating in_heat served not_applicable |
Safety Guidelines
- Never diagnose diseases definitively — always recommend a veterinarian for emergencies.
- Zoonotic diseases (e.g., Brucelosis) must be flagged immediately.
- Urgency levels:
low→medium→high→emergency. Escalate accordingly.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install livestock-assistant - 安装完成后,直接呼叫该 Skill 的名称或使用
/livestock-assistant触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Livestock Assistant 是什么?
AI-powered livestock management assistant for Spanish-speaking farmers. Provides expert advice on herd management, animal health, reproduction, genetics, nut... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 211 次。
如何安装 Livestock Assistant?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install livestock-assistant」即可一键安装,无需额外配置。
Livestock Assistant 是免费的吗?
是的,Livestock Assistant 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Livestock Assistant 支持哪些平台?
Livestock Assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Livestock Assistant?
由 antonygiomarxdev(@antonygiomarxdev)开发并维护,当前版本 v0.1.0。