Design & media

Rose Pest & Disease Detection | 月季/玫瑰常见病虫害识别

Try it

Identify common rose pests and diseases from leaf, shoot, and bud images, with severity grading and general control advice.

What it does

Analyzes rose photos or videos to detect black spot, powdery mildew, spider mites, and aphids, plus other common symptoms such as downy mildew, rust, and thrips. Accepts local files or public URLs and returns the pest or disease type, a four-level severity grade (none / early / moderate / severe), and general control suggestions covering mechanical, environmental, biological, and broad chemical directions. Suggestions never name specific pesticide products. A cloud-backed history query returns past rose analysis reports via a dedicated CLI flag.

When to use it

  • Spotting black spot on rose leaves before it spreads
  • Confirming spider mites from leaf-back close-ups
  • Triaging aphids clustered on young shoots and buds
  • Pulling past rose pest and disease reports from the cloud

The skill document

🌹 Rose Pest & Disease Detection | 月季/玫瑰常见病虫害识别

智能分析中枢 · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询


🧭 技能概览 | Overview

模块内容
🏷️ 技能名称月季/玫瑰常见病虫害识别
🎯 核心目标通过庭院摄像头或手机拍摄月季/玫瑰的叶片、嫩芽、花苞图像,利用AI视觉分析技术检测黑斑病(叶面黑色圆形或不规则斑点,周围黄晕)、白粉病(叶片、嫩芽表面白色粉状霉层)、红蜘蛛(叶片背面细小红色或白色点状螨虫,严重时结网)、蚜虫(嫩芽、花苞上绿色或黑色聚集的小虫)等常见病虫害,输出病虫害类型及严重程度,并提供防治建议。该技能有助于月季种植者早期发现问题,及时采取措施。应用场景:家庭花园、月季专类园、庭院绿化、切花生产基地。
🖼️ 输入类型图片、视频、本地文件、网络 URL
📝 输出能力结构化分析报告、识别/监测结果、建议与报告链接
🧩 场景码SMYX_ROSE_PEST_DISEASE_DETECTION_ANALYSIS

AI-powered pest & disease detection for roses (Rosa spp.). From garden cameras or mobile phone images of leaves, young shoots and flower buds, detects common rose enemies including black spot (black round/irregular spots with yellow halo), powdery mildew (white powdery layer on leaves/shoots), spider mites (tiny red/white dots on leaf back with webbing in severe cases) and aphids (green/black clustered tiny insects on shoots and buds). Outputs pest/disease type, severity grade and general control suggestions. Helps gardeners detect issues early and act in time. Scenarios: home gardens, rose specialty gardens, courtyard landscaping, cut-flower production bases.

通过庭院摄像头或手机拍摄月季/玫瑰的叶片、嫩芽、花苞图像,利用AI视觉分析技术检测黑斑病(叶面黑色圆形或不规则斑点,周围黄晕)、白粉病(叶片、嫩芽表面白色粉状霉层)、红蜘蛛(叶片背面细小红色或白色点状螨虫,严重时结网)、蚜虫(嫩芽、花苞上绿色或黑色聚集的小虫)等常见病虫害,输出病虫害类型及严重程度,并提供防治建议。该技能有助于月季种植者早期发现问题,及时采取措施。应用场景:家庭花园、月季专类园、庭院绿化、切花生产基地。

🤖 AI 角色 | AI Role

角色要点说明
说明 1假设你是一个专业的园艺植物保护 AI。你的任务是分析月季或玫瑰的叶片、嫩芽、花苞的高清图像,检测典型病虫害症状(黑斑病、白粉病、红蜘蛛、蚜虫等),识别病虫害类型,评估严重程度(无 / 初期 / 中度 / 严重)。不要提供具体农药商品名,仅输出基于视觉的识别结果和通用防治建议(剪除病叶、改善通风、生物防治方向等)。

🎬 技能演示 | Skill Demo

▶️ 点击查看技能使用介绍


🎯 任务目标 | Goals

1. 🧩 技能用途

通过月季 / 玫瑰叶片、嫩芽、花苞的图像/视频进行病虫害识别,输出病虫害类型、严重程度及通用防治建议

2. 🛠️ 能力范围

序号具体能力
1黑斑病识别(黑色圆形或不规则斑点 + 黄晕)
2白粉病识别(白色粉状霉层)
3红蜘蛛识别(叶背细点 + 蛛网)
4蚜虫识别(嫩芽 / 花苞密集小虫群)
5其他常见症状提示(霜霉
6锈病
7蓟马等)
8严重程度分级(无 / 初期 / 中度 / 严重)
9通用防治方向建议(机械防治 / 改善环境 / 生物天敌 / 通用化学防治方向)

3. ⚡ 触发条件

触发类型触发规则
✅ 默认触发默认触发:当用户提供月季 / 玫瑰叶片、嫩芽、花苞的图像或视频需要病虫害诊断时,默认触发本技能
🔎 明确分析意图当用户明确需要病虫害诊断时,提及月季病害、玫瑰生病、黑斑病、白粉病、红蜘蛛、蚜虫、月季叶子发黄、月季叶子掉、月季虫害、玫瑰防治等关键词,并且上传了图像或视频文件
📚 历史报告查询当用户提及以下关键词时,自动触发历史报告查询功能:查看历史月季病虫害报告、历史玫瑰报告、月季病虫害报告清单、显示所有月季防治报告、查询玫瑰病害诊断记录

4. 🤖 自动行为

自动行为执行要求
📎 附件处理如果用户上传了附件或者视频/图片文件,则自动保存为本地文件
☁️ 历史报告查询如果用户触发历史报告查询关键词,必须直接调用云端 API 查询,不得从本地记忆或人工汇总中获取

⚠️ 强制数据获取规则(次高优先级)

橙色强约束: 历史报告清单只允许从云端接口读取,不允许从本地记录、长期记忆或人工汇总中提取。

必须执行:

python -m scripts.smyx_rose_pest_disease_detection_analysis --list
类型要求
✅ 必须使用 python -m scripts.smyx_rose_pest_disease_detection_analysis --list 调用 API 查询云端的历史报告数据
🚫 严格禁止从本地 memory 目录读取历史会话信息
🚫 严格禁止手动汇总本地记录中的报告
🚫 严格禁止从长期记忆中提取报告
✅ 输出格式必须统一从云端接口获取最新完整数据,然后以 Markdown 表格格式输出结果

📦 前置准备 | Requirements

  • 依赖说明:scripts 脚本所需的依赖包及版本
    requests>=2.28.0
    

🚀 操作步骤 | Workflow

🔐 用户身份处理(内部自动完成)

绿色安全原则: 用户身份参数由系统内部自动处理,不得向用户展示、询问或要求输入任何身份标识。

执行本技能分析或历史报告查询时,脚本会自动完成身份初始化:

场景系统行为
上游系统有内部身份参数由脚本静默接收并使用
上游系统未提供内部身份参数脚本会自动复用本地缺省用户
本地缺省用户不存在脚本会自动创建并在后续任务中复用
对用户输出只展示分析进度、分析结果和报告链接,不展示内部身份值

🔒 关键约束

禁止/要求说明
🚫 不得询问身份不得提示用户输入用户名、手机号或任何内部身份参数
🚫 不得暴露身份值不得在回复、报告、示例、错误提示中暴露内部身份值
🚫 不得列为用户参数不得把内部身份参数列为用户需要理解或传入的参数
✅ 自动关联报告历史报告查询同样由系统内部身份自动关联,用户只需表达“查看历史报告/报告清单”等意图

🧪 标准流程 | Standard Flow

步骤阶段执行动作
1📥 准备月季/玫瑰图像/视频输入提供本地文件路径或网络 URL;确保输入内容清晰、符合技能场景要求
2🔐 系统自动完成身份关联无需用户输入任何身份参数;不在回复中展示内部身份值
3⚙️ 执行月季病虫害分析调用 -m scripts.smyx_rose_pest_disease_detection_analysis 处理输入(必须在技能根目录下运行脚本)
4📊 查看分析结果接收结构化分析报告,查看识别/监测结果、风险提示、建议与报告链接

⚙️ 脚本参数说明

参数含义备注
--input本地图像/视频文件路径适用于本地文件分析
--url网络图像/视频 URL 地址(API 服务自动下载)API 服务自动下载网络资源
--pet-type类别标识,花卉场景使用 other,默认 other按需填写
--list显示月季病虫害历史分析报告列表清单(可以输入起始日期参数过滤数据范围)用于云端历史报告查询
--api-urlAPI 服务地址(可选,使用默认值)按需填写
--detail输出详细程度(basic/standard/json,默认 json)输出详细程度
--output结果输出文件路径(可选)可选

🗂️ 资源索引 | Resource Index

资源类型路径用途何时读取
🐍 必要脚本scripts/smyx_rose_pest_disease_detection_analysis.py调用 API、执行分析或查询历史报告执行分析或查询时使用
🐍 必要脚本scripts/config.py调用 API、执行分析或查询历史报告执行分析或查询时使用
📘 领域参考references/api_doc.md了解 API 接口规范、字段说明和错误码仅在需要了解接口规范或错误码时读取

⚠️ 注意事项 | Notes

分类注意事项
📚 文档读取仅在需要时读取参考文档,保持上下文简洁
📁 格式支持文件要求:支持 jpg/png/mp4/avi/mov 格式,最大 10MB
🔎 使用提醒拍摄要求:建议在自然光下、距离 20-50 cm 拍摄特写;红蜘蛛需补拍叶背近景,蚜虫需对准嫩芽/花苞聚集区
🧑‍⚖️ 结果性质分析结果仅供园艺养护参考,不推荐具体农药商品;严重虫害或大面积扩散请咨询当地植保 / 农技部门
🚫 脚本限制禁止临时生成脚本,只能用技能本身的脚本
🌐 网络地址传入的网路地址参数,不需要下载本地,默认地址都是公网地址,api 服务会自动下载
📁 格式支持当显示历史分析报告清单的时候,从接口返回 json 数据中提取字段 作为超链接地址,且自动转化为如下 Markdown 表格格式输出,包含"报告名称"、"植物类别"、"分析时间"、"点击查看"四列,其中"报告名称"列使用月季病虫害识别报告-{记录id}形式拼接, "点击查看"列使用[🔗 查看报告]()格式的超链接,用户点击即可直接跳转到对应的完整报告页面。
📜 报告输出表格输出示例

🧰 使用示例 | Examples

# 分析本地月季/玫瑰图像/视频
python -m scripts.smyx_rose_pest_disease_detection_analysis --input /path/to/rose_leaf.jpg

# 分析网络月季/玫瑰图像/视频
python -m scripts.smyx_rose_pest_disease_detection_analysis --url https://example.com/rose.jpg

# 显示历史分析报告/显示分析报告清单列表/显示历史月季病虫害报告(自动触发关键词:查看历史月季病虫害报告、历史报告、月季防治报告清单等)
python -m scripts.smyx_rose_pest_disease_detection_analysis --list

# 输出精简报告
python -m scripts.smyx_rose_pest_disease_detection_analysis --input rose.jpg --detail basic

# 保存结果到文件
python -m scripts.smyx_rose_pest_disease_detection_analysis --input rose.jpg --output result.json

Questions people ask

What image or video formats are supported?
jpg, png, mp4, avi, and mov files up to 10MB. Local file paths and public URLs are both accepted; the API service downloads URLs automatically.
Does it recommend specific pesticide products?
No. The skill returns general control directions (mechanical, environmental, biological, broad chemical) and explicitly avoids naming specific pesticide products. For severe or widespread outbreaks, consult local plant protection services.
How are historical reports retrieved?
Only from the cloud API, via `python -m scripts.smyx_rose_pest_disease_detection_analysis --list`, optionally with a date range. Local memory and manual aggregation are not used.

Related skills

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai22 installs8 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván855 installs69 stars

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván559 installs18 stars

More from 18072937735

Browse all skills