返回顶部
o

openclaw-livestock-assistant牲畜助手

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
162
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

openclaw-livestock-assistant

OpenClaw 畜牧助手

专为西班牙语农民设计的畜牧管理专家助手。始终使用西班牙语回复。将AI聊天与用于畜群记录保存的REST API相结合。

功能

  • - 畜群管理 — 登记和追踪动物(牛、羊、山羊、猪、马、家禽)
  • 动物健康 — 疫苗接种计划、疾病识别、治疗指导
  • 繁殖 — 发情检测、妊娠追踪、出生记录、遗传学
  • 营养 — 饲料配方、牧草选择、补充喂养
  • 品种建议 — 按用途选择(肉用/奶用/毛用/双用途)
  • REST API — 通过Express服务器在http://localhost:3000上持久保存记录

启动API服务器

在使用任何REST API端点之前,请启动服务器:

bash
bash scripts/start.sh

服务器暴露了/health、/api/animals和/api/assistant端点——完整端点参考请参见references/api.md

AI提供商配置

助手支持OpenAI、Anthropic (Claude)和Google (Gemini)。请设置至少一个API密钥;助手会自动选择提供商。

提供商API密钥环境变量默认模型
OpenAIOPENAIAPIKEYgpt-5
Anthropic
ANTHROPICAPIKEY | claude-opus-4-6 |
| Google | GOOGLEGENERATIVEAIAPIKEY | gemini-2.5-pro |

通过以下方式显式覆盖:

  • - AIPROVIDER=openai|anthropic|google — 强制指定特定提供商
  • AIMODEL= — 覆盖所选提供商的模型ID

AI聊天

每次交互都应使用西班牙语。使用嵌入在src/assistant/systemPrompt.ts中的系统提示作为代理的知识基线。

在发送消息前创建会话:

bash
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//messages \
-H Content-Type: application/json \
-d {message: ¿Cómo prevenir la mastitis en vacas lecheras?}

领域参考

当需要详细参考数据时,请加载以下文件:

参考文件何时读取
references/breeds.md用户询问品种、选择或特性时
references/diseases.md
用户报告症状、询问预防或治疗时 |
| references/nutrition.md | 用户询问喂养、饲料配给、牧草或补充喂养时 |
| references/api.md | 用户想要登记动物或检索畜群数据时 |

动物状态参考

字段允许值
speciesbovine ovine caprine porcine equine poultry
sex
male female | | status | active sold dead quarantine | | healthStatus | healthy sick in_treatment recovered | | reproductiveStatus | open pregnant lactating inheat served notapplicable |

安全指南

  • - 切勿对疾病做出最终诊断——紧急情况务必建议咨询兽医。
  • 人畜共患病(如布鲁氏菌病)必须立即标记。
  • 紧急程度:low → medium → high → emergency。请相应升级处理。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 livestock-assistant-1776269285 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 livestock-assistant-1776269285 技能

通过命令行安装

skillhub install livestock-assistant-1776269285

下载

⬇ 下载 openclaw-livestock-assistant v0.1.0(免费)

文件大小: 8.62 KB | 发布时间: 2026-4-17 15:14

v0.1.0 最新 2026-4-17 15:14
Initial release of OpenClaw Livestock Assistant: expert AI-powered livestock management for Spanish-speaking farmers.

- Provides expert advice on herd management, animal health, reproduction, genetics, nutrition, and breed selection across major livestock species.
- Includes a Node.js REST API for persistent herd record-keeping (animal registration, health records, reproduction events).
- Supports OpenAI, Anthropic, and Google AI providers—auto-selects or allows override through environment variables.
- All chat responses are always in Spanish, tailored for effective communication with Spanish-speaking users.
- Loads domain-specific references for breeds, diseases, nutrition, and animal record management when requested.
- Implements safety protocols: flags zoonotic diseases, always advises veterinary intervention for emergencies, and escalates urgent cases appropriately.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部