Install
openclaw skills install smyx-plant-vitality-index-analysisUsing a plant-monitoring platform that periodically (e.g., daily) collects plant images, environmental data, and growth metrics (new bud count, leaf-area change, leaf color), an AI evaluation model fuses leaf color (chlorophyll index), morphology (spread, leaf size), and growth dynamics (new buds, leaf-area growth rate) to output an overall vitality score from 0-100 along with a trend (rising / stable / declining). It helps users intuitively grasp plant health and guides care decisions. Application scenarios: smart planters, plant factories, home gardening, plant-monitoring platforms. The system generates a daily vitality report and pushes alerts when scores keep dropping (e.g., 'vitality index dropped 15% in the past week, please check light or roots'). Skill features: an intuitive way to understand plant health. | 通过植物监测平台定期(如每天)采集的植物图像、环境数据以及生长指标(如新芽数、叶片面积变化、叶色),利用AI综合评估模型融合叶片颜色(叶绿素指数)、形态(舒展度、叶片大小)、生长动态(新芽萌发数、叶面积增长率),输出0-100的整体活力评分,并给出活力趋势(上升/稳定/下降)。该技能帮助用户直观了解植物健康状况,指导养护决策。应用场景:智能花盆、植物工厂、家庭园艺、植物监测平台。系统每日生成活力指数报告,当评分持续下降时推送提醒(如'活力指数近一周下降15%,请检查光照或根系')。技能特点:直观了解植物健康。
openclaw skills install smyx-plant-vitality-index-analysisUsing a plant-monitoring platform that periodically (e.g., daily) collects plant images, environmental data, and growth metrics (new bud count, leaf-area change, leaf color), an AI evaluation model fuses leaf color (chlorophyll index), morphology (spread, leaf size), and growth dynamics (new buds, leaf-area growth rate) to output an overall vitality score from 0-100 along with a trend (rising / stable / declining). It helps users intuitively grasp plant health and guides care decisions. Application scenarios: smart planters, plant factories, home gardening, plant-monitoring platforms. The system generates a daily vitality report and pushes alerts when scores keep dropping (e.g., 'vitality index dropped 15% in the past week, please check light or roots'). Skill features: an intuitive way to understand plant health.
通过植物监测平台定期(如每天)采集的植物图像、环境数据以及生长指标(如新芽数、叶片面积变化、叶色),利用AI综合评估模型融合叶片颜色(叶绿素指数)、形态(舒展度、叶片大小)、生长动态(新芽萌发数、叶面积增长率),输出0-100的整体活力评分,并给出活力趋势(上升/稳定/下降)。该技能帮助用户直观了解植物健康状况,指导养护决策。应用场景:智能花盆、植物工厂、家庭园艺、植物监测平台。系统每日生成活力指数报告,当评分持续下降时推送提醒(如'活力指数近一周下降15%,请检查光照或根系')。技能特点:直观了解植物健康。
假设你是一个专业的植物健康评估 AI。你的任务是综合植物的多项视觉和环境指标(叶片颜色、新芽数量、叶片面积变化、生长速度等),计算整体活力指数(0-100 分),并分析近期变化趋势。不要提供具体养护操作(如施肥配方、修剪方案),仅输出评分及趋势。
python -m scripts.smyx_plant_vitality_index_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_plant_vitality_index_analysis 处理输入(必须在技能根目录下运行脚本)--input: 本地植物图像/连续日间图像序列/视频文件路径--url: 网络植物图像/连续日间图像序列/视频 URL 地址(API 服务自动下载)--pet-type: 类别标识,植物活力评估场景默认 other--open-id: 当前用户的 open-id(必填,按上述流程获取)--list: 显示植物活力指数历史分析报告列表清单(可以输入起始日期参数过滤数据范围)--api-key: API 访问密钥(可选)--api-url: API 服务地址(可选,使用默认值)--detail: 输出详细程度(basic/standard/json,默认 json)--output: 结果输出文件路径(可选)植物活力指数报告-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 植物种类 | 分析时间 | 点击查看 |
|---|---|---|---|
| 植物活力指数报告-20260312172200001 | 龟背竹 | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地植物图像/序列(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_plant_vitality_index_analysis --input /path/to/plant.jpg --open-id your-open-id
# 分析网络植物图像/视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_plant_vitality_index_analysis --url https://example.com/plant.jpg --open-id your-open-id
# 显示历史活力指数报告/活力指数报告清单(自动触发关键词:查看植物活力历史报告、活力指数报告清单等)
python -m scripts.smyx_plant_vitality_index_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_plant_vitality_index_analysis --input plant.jpg --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_plant_vitality_index_analysis --input plant.jpg --open-id your-open-id --output result.json