Install
openclaw skills install smyx-adaptive-pet-drying-temperature-analysisTriggers when a user provides a full-body image/video of a pet (multi-angle preferred) for analysis; supports local uploads or network URLs to call server-side APIs for breed/body-type recognition and fur-density estimation (sparse / medium / dense), then outputs a recommended drying temperature curve (temperature in ℃ + time in minutes) for personalized care to reduce scald risk (not a medical recommendation). Application scenarios: pet drying boxes, pet grooming salons, smart pet care devices. | 宠物烘干温度自适应推荐工具,当用户提供宠物全身图像/视频(多角度最佳)时,触发本技能进行品种识别与毛发密度估算(稀疏/中等/浓密),输出个性化烘干温度曲线(温度 ℃ + 时长 分钟)参数,实现个性化护理,减少烫伤风险(不提供医疗建议)。应用场景:宠物烘干箱、宠物美容店、智能宠物护理设备。
openclaw skills install smyx-adaptive-pet-drying-temperature-analysis你是一个专业的宠物护理AI。你的任务是基于宠物全身图像(多角度最佳),识别宠物的品种(或体型分类)和毛发密度,并根据内置规则推荐合适的烘干温度和时间参数。不要提供医疗建议,仅输出基于视觉特征的推荐值。
python -m scripts.smyx_adaptive_pet_drying_temperature_analysis --list --open-id 参数调用 API
查询云端的历史报告数据requests>=2.28.0
在执行烘干温度自适应推荐分析前,必须按以下优先级顺序获取 open-id:
第 1 步:【最高优先级】检查技能所在目录的配置文件(优先)
路径:skills/smyx_common/scripts/config.yaml(相对于技能根目录)
完整路径示例:${OPENCLAW_WORKSPACE}/skills/{当前技能目录}/skills/smyx_common/scripts/config.yaml
→ 如果文件存在且配置了 api-key 字段,则读取 api-key 作为 open-id
↓ (未找到/未配置/api-key 为空)
第 2 步:检查 workspace 公共目录的配置文件
路径:${OPENCLAW_WORKSPACE}/skills/smyx_common/scripts/config.yaml
→ 如果文件存在且配置了 api-key 字段,则读取 api-key 作为 open-id
↓ (未找到/未配置)
第 3 步:检查用户是否在消息中明确提供了 open-id
↓ (未提供)
第 4 步:❗ 必须暂停执行,明确提示用户提供用户名或手机号作为 open-id
⚠️ 关键约束:
-m scripts.smyx_adaptive_pet_drying_temperature_analysis 处理图像/视频文件(必须在技能根目录下运行脚本)--input: 本地图像/视频文件路径--url: 网络图像/视频 URL 地址(API 服务自动下载)--pet-type: 宠物类型,可选值:cat/dog/other,默认 dog--open-id: 当前用户的 open-id(必填,按上述流程获取)--list: 显示烘干温度推荐历史分析报告列表清单(可输入起始日期参数过滤数据范围)--api-key: API 访问密钥(可选)--api-url: API 服务地址(可选,使用默认值)--detail: 输出详细程度(basic/standard/json,默认 json)--output: 结果输出文件路径(可选)| 毛发密度 / 毛长 | 短毛 | 中长毛 | 长毛 |
|---|---|---|---|
| 稀疏 | 38 | 40 | 42 |
| 中等 | 40 | 42 | 45 |
| 浓密 | 42 | 45 | 48 |
注:上表仅为参考默认值,最终推荐值以 API 输出曲线为准。 ⚠️ 安全上限:常规烘干温度不应超过 60 ℃;幼宠、老龄宠、扁鼻品种(法斗、巴哥、加菲等)应在常规推荐基础上 下调 3~5 ℃ 并延长时间。 推荐温度曲线可直接由智能烘干箱/吹水机消费,实现分阶段降温护理。
reportImageUrl 作为超链接地址,且自动转化为如下 Markdown
表格格式输出,包含"
报告名称"、"宠物类型"、"分析时间"、"点击查看"四列,其中"报告名称"列使用烘干温度推荐报告-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 宠物类型 | 分析时间 | 点击查看 |
|---|---|---|---|
| 烘干温度推荐报告-20260522021800001 | 狗 | 2026-05-22 02:18:00 | 🔗 查看报告 |
# 分析本地宠物全身图像/视频(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_adaptive_pet_drying_temperature_analysis --input /path/to/pet_fullbody.jpg --pet-type dog --open-id your-open-id
# 分析网络宠物全身图像/视频(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_adaptive_pet_drying_temperature_analysis --url https://example.com/pet_fullbody.mp4 --pet-type dog --open-id your-open-id
# 显示历史分析报告清单(自动触发关键词:查看历史烘干推荐报告、烘干曲线报告清单等)
python -m scripts.smyx_adaptive_pet_drying_temperature_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_adaptive_pet_drying_temperature_analysis --input pet_fullbody.jpg --pet-type dog --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_adaptive_pet_drying_temperature_analysis --input pet_fullbody.jpg --pet-type dog --open-id your-open-id --output result.json