{"id":"94f40f4e-4d75-4020-8fd6-22c66fc497dd","entityType":"agent","slug":"clawhub-smyx-sunjinhui-smyx-plant-wilting-monitoring-analysis","name":"Plant Wilting Monitoring Skill | 植物枯萎监测技能","canonicalUrl":"https://www.xpersona.co/agent/clawhub-smyx-sunjinhui-smyx-plant-wilting-monitoring-analysis","canonicalPath":"/agent/clawhub-smyx-sunjinhui-smyx-plant-wilting-monitoring-analysis","generatedAt":"2026-10-10T06:31:32.526Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T15:11:27.458Z","emptyReason":null},"description":"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 Skill: Plant Wilting Monitoring Skill | 植物枯萎监测技能 Owner: smyx-sunjinhui Summary: Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 Tags: latest:1.0.15 Version history: v1.0.15 | 2026-10-04T14:09:26.382Z","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 2.4K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17cfv2h26b7hq5w47tgfy23xx83z9x6:smyx-plant-wilting-monitoring-analysis","sourceUrl":"https://clawhub.ai/smyx-sunjinhui/smyx-plant-wilting-monitoring-analysis","homepage":"https://clawhub.ai/smyx-sunjinhui/skills/smyx-plant-wilting-monitoring-analysis","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/smyx-sunjinhui/smyx-plant-wilting-monitoring-analysis","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/smyx-sunjinhui/skills/smyx-plant-wilting-monitoring-analysis","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":68,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warni"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T15:11:27.458Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T15:11:27.458Z","emptyReason":null},"stars":null,"forks":null,"downloads":2419,"packageName":null,"latestVersion":"1.0.15","tractionLabel":"2.4K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T15:11:27.432Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T15:11:27.458Z","lastCrawledAt":"2026-10-09T15:11:27.432Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T15:11:27.432Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.15","createdAt":"2026-10-04T14:09:26.382Z","changelog":"- Updated version to 1.0.19 in SKILL.md. - Minor documentation or metadata corrections in SKILL.md. - Removed obsolete file: skill-card.md.","fileCount":30,"zipByteSize":38379},{"version":"1.0.14","createdAt":"2026-09-26T04:10:25.946Z","changelog":"- Updated SKILL.md to increment the version from 1.0.16 to 1.0.18 and reflect recent changes. - Removed the deprecated skill-card.md file. - Made minor adjustments in configuration and documentation files (such as SKILL.md and config.yaml). - No changes to core logic or features; primarily documentation, version, and file cleanup.","fileCount":30,"zipByteSize":38385},{"version":"1.0.13","createdAt":"2026-09-07T06:59:28.301Z","changelog":"- Version updated from 1.0.14 to 1.0.16. - Documentation (SKILL.md) updated; wording adjustments, no functional changes. - Removed redundant \"skill-card.md\" file. - No changes to features, API, workflows, or user-facing command usage.","fileCount":30,"zipByteSize":38759},{"version":"1.0.12","createdAt":"2026-08-26T16:19:32.597Z","changelog":"- Updated version to 1.0.14. - Documentation improvements in SKILL.md. - Removed skill-card.md file. - No functional or API changes to skill logic.","fileCount":30,"zipByteSize":38515},{"version":"1.0.11","createdAt":"2026-08-16T19:17:33.480Z","changelog":"- Updated version number in SKILL.md from 1.0.12 to 1.0.13. - Removed outdated or redundant documentation file: skill-card.md. - Minor maintenance: updated or adjusted configuration files (e.g., config.yaml).","fileCount":30,"zipByteSize":38507},{"version":"1.0.10","createdAt":"2026-08-14T08:35:33.500Z","changelog":"- Removed the file skill-card.md from the project. - No changes to functionality or documentation in this version.","fileCount":30,"zipByteSize":38680},{"version":"1.0.9","createdAt":"2026-08-06T17:21:09.144Z","changelog":"- Updated version to 1.0.12. - SKILL.md updated with improved documentation and minor content fixes. - Removed redundant skill-card.md file.","fileCount":30,"zipByteSize":38583},{"version":"1.0.8","createdAt":"2026-08-01T16:17:30.241Z","changelog":"- Updated version to 1.0.11. - SKILL.md revised with latest version and documentation updates. - Removed the file: skill-card.md.","fileCount":30,"zipByteSize":38572}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17cfv2h26b7hq5w47tgfy23xx83z9x6:smyx-plant-wilting-monitoring-analysis","setupComplexity":"low","setupSteps":["Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-plant-wilting-monitoring-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-plant-wilting-monitoring-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-plant-wilting-monitoring-analysis/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-plant-wilting-monitoring-analysis/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-plant-wilting-monitoring-analysis/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-plant-wilting-monitoring-analysis/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-10T06:31:32.522Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-plant-wilting-monitoring-analysis/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-plant-wilting-monitoring-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-plant-wilting-monitoring-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-plant-wilting-monitoring-analysis/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T15:11:27.458Z","emptyReason":null},"readme":"Skill: Plant Wilting Monitoring Skill | 植物枯萎监测技能\n\nOwner: smyx-sunjinhui\n\nSummary: Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警\n\nTags: latest:1.0.15\n\nVersion history:\n\nv1.0.15 | 2026-10-04T14:09:26.382Z | auto\n\n- Updated version to 1.0.19 in SKILL.md.\n- Minor documentation or metadata corrections in SKILL.md.\n- Removed obsolete file: skill-card.md.\n\nv1.0.14 | 2026-09-26T04:10:25.946Z | auto\n\n- Updated SKILL.md to increment the version from 1.0.16 to 1.0.18 and reflect recent changes.\n- Removed the deprecated skill-card.md file.\n- Made minor adjustments in configuration and documentation files (such as SKILL.md and config.yaml).\n- No changes to core logic or features; primarily documentation, version, and file cleanup.\n\nv1.0.13 | 2026-09-07T06:59:28.301Z | auto\n\n- Version updated from 1.0.14 to 1.0.16.\n- Documentation (SKILL.md) updated; wording adjustments, no functional changes.\n- Removed redundant \"skill-card.md\" file.\n- No changes to features, API, workflows, or user-facing command usage.\n\nv1.0.12 | 2026-08-26T16:19:32.597Z | auto\n\n- Updated version to 1.0.14.\n- Documentation improvements in SKILL.md.\n- Removed skill-card.md file.\n- No functional or API changes to skill logic.\n\nv1.0.11 | 2026-08-16T19:17:33.480Z | auto\n\n- Updated version number in SKILL.md from 1.0.12 to 1.0.13.\n- Removed outdated or redundant documentation file: skill-card.md.\n- Minor maintenance: updated or adjusted configuration files (e.g., config.yaml).\n\nv1.0.10 | 2026-08-14T08:35:33.500Z | auto\n\n- Removed the file skill-card.md from the project.\n- No changes to functionality or documentation in this version.\n\nv1.0.9 | 2026-08-06T17:21:09.144Z | auto\n\n- Updated version to 1.0.12.\n- SKILL.md updated with improved documentation and minor content fixes.\n- Removed redundant skill-card.md file.\n\nv1.0.8 | 2026-08-01T16:17:30.241Z | auto\n\n- Updated version to 1.0.11.\n- SKILL.md revised with latest version and documentation updates.\n- Removed the file: skill-card.md.\n\nv1.0.7 | 2026-07-15T20:18:29.539Z | auto\n\n- Updated internal utility logic in skills/smyx_common/scripts/util.py.\n- Removed outdated or redundant documentation file skill-card.md.\n- No changes to user-facing features or interface.\n- Version number remains at 1.0.8 in documentation for consistency.\n\nv1.0.6 | 2026-07-09T01:20:09.220Z | auto\n\nVersion 1.0.8\n\n- Updated version metadata from 1.0.6 to 1.0.8 in SKILL.md.\n- No other content changes to the documentation or skill functionality.\n\nv1.0.5 | 2026-07-03T13:49:28.800Z | auto\n\n**Skill now supports full automation of user identity handling and strengthens privacy assurance.**\n\n- Internal identity (open-id) management is now fully automated—users are never prompted for, shown, or required to provide identity data.\n- All prompts and documentation updated: do not expose or ask for usernames/phone numbers; user flows are simplified and privacy-focused.\n- API scripts now silently infer or create user identity internally for all tasks, including history lookup.\n- Enhanced privacy, security, and data retention policies are now clearly outlined.\n- Outdated and local memory-based history retrieval is removed; history must always be fetched from the cloud API.\n- Documentation and examples revised for clearer, privacy-first workflows.\n\nv1.0.4 | 2026-05-26T04:35:39.418Z | auto\n\n- Added new analysis module under skills/smyx_analysis for improved code organization.\n- Removed legacy face_analysis module and related files.\n- Refactored config and skill script structure to streamline plant wilting analysis logic.\n- Updated requirements and configuration management for clearer dependency handling.\n- No user-facing command or workflow changes; functionality remains consistent.\n\nv1.0.2 | 2026-05-06T22:43:37.656Z | auto\n\n- Internal code updates made to skills/smyx_common/scripts/skill.py.\n- No user-facing changes or updates to documentation.\n- Functionality and usage remain the same.\n\nv1.0.1 | 2026-05-02T13:07:43.788Z | auto\n\n- Added version field to SKILL.md metadata header for clearer version tracking.\n- No functional logic or behavior changes; documentation only update.\n\nv1.0.0 | 2026-04-18T15:29:49.627Z | auto\n\nplant-wilting-monitoring-analysis 1.0.0 – Initial Release\n\n- Provides early monitoring of plant wilting using hyperspectral imaging and computer vision, detecting issues before visible symptoms.\n- Supports differentiation between environmental and disease-related wilting, with quantitative severity grading and early-warning output.\n- Enforces strict data usage rules: analysis and historical queries must use cloud APIs; local and long-term memory are not permitted.\n- Requires user open-id for all operations, with a forced acquisition flow and no default or assumed values.\n- Includes clear instructions for video/image input, report retrieval, and structured Markdown report output.\n- Offers guidance for various agricultural, horticultural, and research use cases.\n\nArchive index:\n\nArchive v1.0.15: 30 files, 38379 bytes\n\nFiles: scripts/__init__.py (31b), scripts/config.py (649b), scripts/config.yaml (3b), scripts/plant_wilting_monitoring_analysis.py (3206b), scripts/skill.py (573b), skill-card.md (2082b), SKILL.md (10841b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (158b)\n\nFile v1.0.15:SKILL.md\n\n---\nname: \"plant-wilting-monitoring-analysis\"\ndescription: \"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警\"\nversion: \"1.0.19\"\nlicense: \"MIT-0\"\n---\n\n# 🥀 Plant Wilting Monitoring Skill | 植物枯萎监测技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **植物枯萎监测技能** |\n| 🎯 核心目标 | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PLANT_WILTING_MONITORING` |\n\nEquipped with advanced hyperspectral imaging combined with computer vision and Raman spectroscopy analysis technology,\nthis skill accurately captures early wilting signs of plants before visible symptoms appear to the naked eye. Through\nin-depth analysis of leaf spectral reflectance, transpiration rate and molecular vibration fingerprints, the system\nsensitively identifies physiological changes and water stress caused by water deficit, high temperature, or vascular\nbundle diseases such as fusarium and verticillium wilt. Combined with temporal behavior modeling, this skill not only\ndistinguishes between environmental wilting and pathological wilt but also quantitatively evaluates the wilting grade,\nproviding critical early warning and decision support for precision irrigation and disease block.\n\n本技能搭载先进的高光谱成像结合计算机视觉与拉曼光谱分析技术，能够在肉眼可见症状出现之前，精准捕捉植物的早期枯萎迹象。系统通过深度分析叶片的光谱反射率、蒸腾速率及分子振动指纹，敏锐识别由缺水、高温或维管束病害（如镰刀菌、黄萎病）引起的生理性变化与水分胁迫。结合时序行为建模，该技能不仅能区分环境性萎蔫与病理性枯死，还能对枯萎等级进行量化评估，为精准灌溉与病害阻断提供关键的早期预警与决策支持。\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n监测植物早期枯萎迹象，区分环境性缺水萎蔫和病理性枯萎，量化评估枯萎等级，提供早期预警\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 早期枯萎特征提取 |\n| 2 | 萎蔫原因区分（环境/病理） |\n| 3 | 枯萎等级量化 |\n| 4 | 早期预警输出 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供植物叶片/植株视频/图片需要监测早期枯萎状况时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要植物枯萎监测、早期预警时，提及植物萎蔫、叶子发蔫、枯萎检测、早期预警、缺水监测等关键词，并且上传了视频/图片，自动触发本技能 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史监测报告、枯萎监测报告清单、监测报告列表、查询历史监测报告、显示所有监测报告、植物枯萎分析报告，查询植物枯萎监测分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.plant_wilting_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.plant_wilting_monitoring_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 监测要求 | Monitoring Requirements\n| 要求项 | 说明 |\n|---|---|\n| 目标叶片清晰 | 拍摄中上部成熟功能叶片，避免完全枯死或新生幼叶 |\n| 自然光拍摄 | 避免强烈逆光和反光，尽可能反映真实光谱特征 |\n| 时序对比更佳 | 如果有不同时间点的视频/图片，可分别上传进行对比分析 |\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备植物视频/图片输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行植物枯萎监测分析 | 调用 `-m scripts.plant_wilting_monitoring_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史植物枯萎监测分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/plant_wilting_monitoring_analysis.py`](scripts/plant_wilting_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png，最大 20MB |\n| 🧑‍⚖️ 结果性质 | 监测结果作为早期预警参考，最终诊断请结合田间实际情况和植保专家判断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于 用户名/手机号 生成的标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 监测本地视频/图片中植物的枯萎状况\npython -m scripts.plant_wilting_monitoring_analysis --input /path/to/plant.mp4\n\n# 监测网络视频/图片\npython -m scripts.plant_wilting_monitoring_analysis --url https://example.com/wilting.mp4\n\n# 显示历史监测报告/显示监测报告清单列表/显示历史植物枯萎监测（自动触发关键词：查看历史监测报告、历史报告、监测报告清单等）\npython -m scripts.plant_wilting_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --output result.json\n```\n\nFile v1.0.15:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-plant-wilting-monitoring-analysis\",\n  \"version\": \"1.0.15\",\n  \"publishedAt\": 1791122966382\n}\n\nFile v1.0.15:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.15:scripts/config.yaml\n\n{}\n\nFile v1.0.15:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.15:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.15:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.15:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.15:skill-card.md\n\n## Description:\n\nAnalyzes plant images or videos for signs of wilting and provides early warnings, recommendations, and report links.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nGrowers and agricultural advisers use plant images or videos to check for early wilting, review monitoring reports, and inform irrigation or disease-control decisions.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill silently creates or reuses a cloud-service identity and stores service tokens locally.\n\nMitigation: Review account and token handling before use, restrict access to stored tokens, and clarify opt-out and deletion options with the publisher.\n\nRisk: Plant media or media URLs are sent to an external cloud service.\n\nMitigation: Avoid sensitive media until the publisher documents retention and deletion practices; obtain appropriate consent before uploading.\n\nRisk: Wilting assessments may be mistaken for a definitive plant diagnosis.\n\nMitigation: Treat results as early warnings and confirm decisions against field conditions and expert advice.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/smyx-sunjinhui/skills/smyx-plant-wilting-monitoring-analysis)\n- [API documentation](skills/smyx_analysis/references/api_doc.md)\n- [Skill demonstration](https://lifeemergence.com/sample.html)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, JSON]\n\n**Output Format:** [Structured monitoring report or JSON, with recommendations and report links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Can return links to historical cloud reports.]\n\n## Skill Version(s):\n\n1.0.15 (source: server-resolved release)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.15:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.15:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.14: 30 files, 38385 bytes\n\nFiles: scripts/__init__.py (31b), scripts/config.py (649b), scripts/config.yaml (3b), scripts/plant_wilting_monitoring_analysis.py (3206b), scripts/skill.py (573b), skill-card.md (2082b), SKILL.md (10841b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (158b)\n\nFile v1.0.14:SKILL.md\n\n---\nname: \"plant-wilting-monitoring-analysis\"\ndescription: \"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警\"\nversion: \"1.0.18\"\nlicense: \"MIT-0\"\n---\n\n# 🥀 Plant Wilting Monitoring Skill | 植物枯萎监测技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **植物枯萎监测技能** |\n| 🎯 核心目标 | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PLANT_WILTING_MONITORING` |\n\nEquipped with advanced hyperspectral imaging combined with computer vision and Raman spectroscopy analysis technology,\nthis skill accurately captures early wilting signs of plants before visible symptoms appear to the naked eye. Through\nin-depth analysis of leaf spectral reflectance, transpiration rate and molecular vibration fingerprints, the system\nsensitively identifies physiological changes and water stress caused by water deficit, high temperature, or vascular\nbundle diseases such as fusarium and verticillium wilt. Combined with temporal behavior modeling, this skill not only\ndistinguishes between environmental wilting and pathological wilt but also quantitatively evaluates the wilting grade,\nproviding critical early warning and decision support for precision irrigation and disease block.\n\n本技能搭载先进的高光谱成像结合计算机视觉与拉曼光谱分析技术，能够在肉眼可见症状出现之前，精准捕捉植物的早期枯萎迹象。系统通过深度分析叶片的光谱反射率、蒸腾速率及分子振动指纹，敏锐识别由缺水、高温或维管束病害（如镰刀菌、黄萎病）引起的生理性变化与水分胁迫。结合时序行为建模，该技能不仅能区分环境性萎蔫与病理性枯死，还能对枯萎等级进行量化评估，为精准灌溉与病害阻断提供关键的早期预警与决策支持。\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n监测植物早期枯萎迹象，区分环境性缺水萎蔫和病理性枯萎，量化评估枯萎等级，提供早期预警\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 早期枯萎特征提取 |\n| 2 | 萎蔫原因区分（环境/病理） |\n| 3 | 枯萎等级量化 |\n| 4 | 早期预警输出 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供植物叶片/植株视频/图片需要监测早期枯萎状况时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要植物枯萎监测、早期预警时，提及植物萎蔫、叶子发蔫、枯萎检测、早期预警、缺水监测等关键词，并且上传了视频/图片，自动触发本技能 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史监测报告、枯萎监测报告清单、监测报告列表、查询历史监测报告、显示所有监测报告、植物枯萎分析报告，查询植物枯萎监测分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.plant_wilting_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.plant_wilting_monitoring_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 监测要求 | Monitoring Requirements\n| 要求项 | 说明 |\n|---|---|\n| 目标叶片清晰 | 拍摄中上部成熟功能叶片，避免完全枯死或新生幼叶 |\n| 自然光拍摄 | 避免强烈逆光和反光，尽可能反映真实光谱特征 |\n| 时序对比更佳 | 如果有不同时间点的视频/图片，可分别上传进行对比分析 |\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备植物视频/图片输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行植物枯萎监测分析 | 调用 `-m scripts.plant_wilting_monitoring_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史植物枯萎监测分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/plant_wilting_monitoring_analysis.py`](scripts/plant_wilting_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png，最大 20MB |\n| 🧑‍⚖️ 结果性质 | 监测结果作为早期预警参考，最终诊断请结合田间实际情况和植保专家判断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于 用户名/手机号 生成的标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 监测本地视频/图片中植物的枯萎状况\npython -m scripts.plant_wilting_monitoring_analysis --input /path/to/plant.mp4\n\n# 监测网络视频/图片\npython -m scripts.plant_wilting_monitoring_analysis --url https://example.com/wilting.mp4\n\n# 显示历史监测报告/显示监测报告清单列表/显示历史植物枯萎监测（自动触发关键词：查看历史监测报告、历史报告、监测报告清单等）\npython -m scripts.plant_wilting_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --output result.json\n```\n\nFile v1.0.14:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-plant-wilting-monitoring-analysis\",\n  \"version\": \"1.0.14\",\n  \"publishedAt\": 1790395825946\n}\n\nFile v1.0.14:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.14:scripts/config.yaml\n\n{}\n\nFile v1.0.14:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.14:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.14:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.14:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.14:skill-card.md\n\n## Description:\n\nAnalyzes plant images or videos through a cloud service to report potential wilting, provide early warnings, and retrieve previous reports.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nGrowers and agricultural teams use the skill to review plant imagery for possible wilting, obtain early-warning reports and recommendations, and view past analyses. Results are advisory and should be checked against field conditions and expert judgment.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Submitted media or URLs are sent to lifeemergence.com cloud APIs for processing.\n\nMitigation: Use only media approved for cloud processing and obtain appropriate consent before submitting it.\n\nRisk: The skill creates or reuses an internal user identity, queries cloud-stored history, and persists service tokens in a local workspace SQLite database.\n\nMitigation: Review identity linkage and history access before installation; restrict local database access and remove stored credentials when no longer needed.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/smyx-sunjinhui/skills/smyx-plant-wilting-monitoring-analysis)\n- [API documentation](skills/smyx_analysis/references/api_doc.md)\n- [Skill demonstration](https://lifeemergence.com/sample.html)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, JSON]\n\n**Output Format:** [Structured analysis reports or Markdown tables with report links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Can include monitoring results, recommendations, and links to cloud-stored reports.]\n\n## Skill Version(s):\n\n1.0.14 (source: server-resolved ClawHub release)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.14:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.14:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.13: 30 files, 38759 bytes\n\nFiles: scripts/__init__.py (31b), scripts/config.py (649b), scripts/config.yaml (3b), scripts/plant_wilting_monitoring_analysis.py (3206b), scripts/skill.py (573b), skill-card.md (2614b), SKILL.md (10841b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (472b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (158b)\n\nFile v1.0.13:SKILL.md\n\n---\nname: \"plant-wilting-monitoring-analysis\"\ndescription: \"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警\"\nversion: \"1.0.16\"\nlicense: \"MIT-0\"\n---\n\n# 🥀 Plant Wilting Monitoring Skill | 植物枯萎监测技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **植物枯萎监测技能** |\n| 🎯 核心目标 | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PLANT_WILTING_MONITORING` |\n\nEquipped with advanced hyperspectral imaging combined with computer vision and Raman spectroscopy analysis technology,\nthis skill accurately captures early wilting signs of plants before visible symptoms appear to the naked eye. Through\nin-depth analysis of leaf spectral reflectance, transpiration rate and molecular vibration fingerprints, the system\nsensitively identifies physiological changes and water stress caused by water deficit, high temperature, or vascular\nbundle diseases such as fusarium and verticillium wilt. Combined with temporal behavior modeling, this skill not only\ndistinguishes between environmental wilting and pathological wilt but also quantitatively evaluates the wilting grade,\nproviding critical early warning and decision support for precision irrigation and disease block.\n\n本技能搭载先进的高光谱成像结合计算机视觉与拉曼光谱分析技术，能够在肉眼可见症状出现之前，精准捕捉植物的早期枯萎迹象。系统通过深度分析叶片的光谱反射率、蒸腾速率及分子振动指纹，敏锐识别由缺水、高温或维管束病害（如镰刀菌、黄萎病）引起的生理性变化与水分胁迫。结合时序行为建模，该技能不仅能区分环境性萎蔫与病理性枯死，还能对枯萎等级进行量化评估，为精准灌溉与病害阻断提供关键的早期预警与决策支持。\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n监测植物早期枯萎迹象，区分环境性缺水萎蔫和病理性枯萎，量化评估枯萎等级，提供早期预警\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 早期枯萎特征提取 |\n| 2 | 萎蔫原因区分（环境/病理） |\n| 3 | 枯萎等级量化 |\n| 4 | 早期预警输出 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供植物叶片/植株视频/图片需要监测早期枯萎状况时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要植物枯萎监测、早期预警时，提及植物萎蔫、叶子发蔫、枯萎检测、早期预警、缺水监测等关键词，并且上传了视频/图片，自动触发本技能 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史监测报告、枯萎监测报告清单、监测报告列表、查询历史监测报告、显示所有监测报告、植物枯萎分析报告，查询植物枯萎监测分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.plant_wilting_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.plant_wilting_monitoring_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 监测要求 | Monitoring Requirements\n| 要求项 | 说明 |\n|---|---|\n| 目标叶片清晰 | 拍摄中上部成熟功能叶片，避免完全枯死或新生幼叶 |\n| 自然光拍摄 | 避免强烈逆光和反光，尽可能反映真实光谱特征 |\n| 时序对比更佳 | 如果有不同时间点的视频/图片，可分别上传进行对比分析 |\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备植物视频/图片输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行植物枯萎监测分析 | 调用 `-m scripts.plant_wilting_monitoring_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史植物枯萎监测分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/plant_wilting_monitoring_analysis.py`](scripts/plant_wilting_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png，最大 20MB |\n| 🧑‍⚖️ 结果性质 | 监测结果作为早期预警参考，最终诊断请结合田间实际情况和植保专家判断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于 用户名/手机号 生成的标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 监测本地视频/图片中植物的枯萎状况\npython -m scripts.plant_wilting_monitoring_analysis --input /path/to/plant.mp4\n\n# 监测网络视频/图片\npython -m scripts.plant_wilting_monitoring_analysis --url https://example.com/wilting.mp4\n\n# 显示历史监测报告/显示监测报告清单列表/显示历史植物枯萎监测（自动触发关键词：查看历史监测报告、历史报告、监测报告清单等）\npython -m scripts.plant_wilting_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --output result.json\n```\n\nFile v1.0.13:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-plant-wilting-monitoring-analysis\",\n  \"version\": \"1.0.13\",\n  \"publishedAt\": 1788764368301\n}\n\nFile v1.0.13:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.13:scripts/config.yaml\n\n{}\n\nFile v1.0.13:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.13:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.13:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.13:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: dev\n\nFile v1.0.13:skill-card.md\n\n## Description:\n\nEarly monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers use this skill to analyze plant images or videos for early wilting signs, distinguish environmental water stress from pathological wilt, estimate wilting severity, and retrieve prior cloud analysis reports.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill sends plant media and linked identity data to Life Emergence cloud services.\n\nMitigation: Install and use it only when those cloud data flows are acceptable for the media and users involved.\n\nRisk: The skill may silently reuse a workspace file named smyx-api-key.txt as identity.\n\nMitigation: Control access to the workspace data directory and review identity files before running analysis or history queries.\n\nRisk: Cloud tokens may be stored locally in plaintext SQLite.\n\nMitigation: Restrict local filesystem access, avoid shared workspaces for sensitive usage, and clear local data when no longer needed.\n\nRisk: Billing errors may prompt installation of a separate payment skill.\n\nMitigation: Review any payment-skill installation request before proceeding.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-plant-wilting-monitoring-analysis)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [API reference](skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, JSON, Guidance]\n\n**Output Format:** [Structured analysis report, Markdown history table, or JSON output with report links.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include plant wilting findings, severity assessment, recommendations, cloud report links, and historical report entries.]\n\n## Skill Version(s):\n\n1.0.13 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.13:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.13:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.12: 30 files, 38515 bytes\n\nFiles: scripts/__init__.py (31b), scripts/config.py (649b), scripts/config.yaml (3b), scripts/plant_wilting_monitoring_analysis.py (3206b), scripts/skill.py (573b), skill-card.md (2452b), SKILL.md (10841b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (472b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (158b)\n\nFile v1.0.12:SKILL.md\n\n---\nname: \"plant-wilting-monitoring-analysis\"\ndescription: \"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警\"\nversion: \"1.0.14\"\nlicense: \"MIT-0\"\n---\n\n# 🥀 Plant Wilting Monitoring Skill | 植物枯萎监测技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **植物枯萎监测技能** |\n| 🎯 核心目标 | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PLANT_WILTING_MONITORING` |\n\nEquipped with advanced hyperspectral imaging combined with computer vision and Raman spectroscopy analysis technology,\nthis skill accurately captures early wilting signs of plants before visible symptoms appear to the naked eye. Through\nin-depth analysis of leaf spectral reflectance, transpiration rate and molecular vibration fingerprints, the system\nsensitively identifies physiological changes and water stress caused by water deficit, high temperature, or vascular\nbundle diseases such as fusarium and verticillium wilt. Combined with temporal behavior modeling, this skill not only\ndistinguishes between environmental wilting and pathological wilt but also quantitatively evaluates the wilting grade,\nproviding critical early warning and decision support for precision irrigation and disease block.\n\n本技能搭载先进的高光谱成像结合计算机视觉与拉曼光谱分析技术，能够在肉眼可见症状出现之前，精准捕捉植物的早期枯萎迹象。系统通过深度分析叶片的光谱反射率、蒸腾速率及分子振动指纹，敏锐识别由缺水、高温或维管束病害（如镰刀菌、黄萎病）引起的生理性变化与水分胁迫。结合时序行为建模，该技能不仅能区分环境性萎蔫与病理性枯死，还能对枯萎等级进行量化评估，为精准灌溉与病害阻断提供关键的早期预警与决策支持。\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n监测植物早期枯萎迹象，区分环境性缺水萎蔫和病理性枯萎，量化评估枯萎等级，提供早期预警\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 早期枯萎特征提取 |\n| 2 | 萎蔫原因区分（环境/病理） |\n| 3 | 枯萎等级量化 |\n| 4 | 早期预警输出 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供植物叶片/植株视频/图片需要监测早期枯萎状况时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要植物枯萎监测、早期预警时，提及植物萎蔫、叶子发蔫、枯萎检测、早期预警、缺水监测等关键词，并且上传了视频/图片，自动触发本技能 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史监测报告、枯萎监测报告清单、监测报告列表、查询历史监测报告、显示所有监测报告、植物枯萎分析报告，查询植物枯萎监测分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.plant_wilting_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.plant_wilting_monitoring_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 监测要求 | Monitoring Requirements\n| 要求项 | 说明 |\n|---|---|\n| 目标叶片清晰 | 拍摄中上部成熟功能叶片，避免完全枯死或新生幼叶 |\n| 自然光拍摄 | 避免强烈逆光和反光，尽可能反映真实光谱特征 |\n| 时序对比更佳 | 如果有不同时间点的视频/图片，可分别上传进行对比分析 |\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备植物视频/图片输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行植物枯萎监测分析 | 调用 `-m scripts.plant_wilting_monitoring_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史植物枯萎监测分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/plant_wilting_monitoring_analysis.py`](scripts/plant_wilting_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png，最大 20MB |\n| 🧑‍⚖️ 结果性质 | 监测结果作为早期预警参考，最终诊断请结合田间实际情况和植保专家判断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于 用户名/手机号 生成的标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 监测本地视频/图片中植物的枯萎状况\npython -m scripts.plant_wilting_monitoring_analysis --input /path/to/plant.mp4\n\n# 监测网络视频/图片\npython -m scripts.plant_wilting_monitoring_analysis --url https://example.com/wilting.mp4\n\n# 显示历史监测报告/显示监测报告清单列表/显示历史植物枯萎监测（自动触发关键词：查看历史监测报告、历史报告、监测报告清单等）\npython -m scripts.plant_wilting_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --output result.json\n```\n\nFile v1.0.12:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-plant-wilting-monitoring-analysis\",\n  \"version\": \"1.0.12\",\n  \"publishedAt\": 1787761172597\n}\n\nFile v1.0.12:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.12:scripts/config.yaml\n\n{}\n\nFile v1.0.12:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.12:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.12:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.12:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: dev\n\nFile v1.0.12:skill-card.md\n\n## Description:\n\nEarly monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and agricultural developers use this skill to submit plant images, videos, or media URLs for early wilting monitoring, severity assessment, and report retrieval to support irrigation and disease-control decisions.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill can upload media or media URLs to a remote service and query cloud report history.\n\nMitigation: Use it only when remote analysis and cloud history retrieval are approved for the submitted plant media.\n\nRisk: The skill can automatically create or reuse an account identity and store tokens in the workspace data area.\n\nMitigation: Review local identity and token storage before deployment, and clear stored state when deprovisioning or changing users.\n\nRisk: The security evidence notes default non-HTTPS development endpoints.\n\nMitigation: Configure approved HTTPS production endpoints before use and reject private or non-HTTPS development endpoints in deployment.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-plant-wilting-monitoring-analysis)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [API interface documentation](skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, json, shell commands, guidance]\n\n**Output Format:** [JSON or Markdown text with analysis details, history rows, and report links depending on detail mode and list mode.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May upload local media or pass media URLs to a remote analysis service; history listing queries cloud reports for the resolved user identity.]\n\n## Skill Version(s):\n\n1.0.12 (source: server release metadata; artifact frontmatter states 1.0.14)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.12:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.12:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.11: 30 files, 38507 bytes\n\nFiles: scripts/__init__.py (31b), scripts/config.py (649b), scripts/config.yaml (3b), scripts/plant_wilting_monitoring_analysis.py (3206b), scripts/skill.py (573b), skill-card.md (2406b), SKILL.md (10841b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (472b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (158b)\n\nFile v1.0.11:SKILL.md\n\n---\nname: \"plant-wilting-monitoring-analysis\"\ndescription: \"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警\"\nversion: \"1.0.13\"\nlicense: \"MIT-0\"\n---\n\n# 🥀 Plant Wilting Monitoring Skill | 植物枯萎监测技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **植物枯萎监测技能** |\n| 🎯 核心目标 | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PLANT_WILTING_MONITORING` |\n\nEquipped with advanced hyperspectral imaging combined with computer vision and Raman spectroscopy analysis technology,\nthis skill accurately captures early wilting signs of plants before visible symptoms appear to the naked eye. Through\nin-depth analysis of leaf spectral reflectance, transpiration rate and molecular vibration fingerprints, the system\nsensitively identifies physiological changes and water stress caused by water deficit, high temperature, or vascular\nbundle diseases such as fusarium and verticillium wilt. Combined with temporal behavior modeling, this skill not only\ndistinguishes between environmental wilting and pathological wilt but also quantitatively evaluates the wilting grade,\nproviding critical early warning and decision support for precision irrigation and disease block.\n\n本技能搭载先进的高光谱成像结合计算机视觉与拉曼光谱分析技术，能够在肉眼可见症状出现之前，精准捕捉植物的早期枯萎迹象。系统通过深度分析叶片的光谱反射率、蒸腾速率及分子振动指纹，敏锐识别由缺水、高温或维管束病害（如镰刀菌、黄萎病）引起的生理性变化与水分胁迫。结合时序行为建模，该技能不仅能区分环境性萎蔫与病理性枯死，还能对枯萎等级进行量化评估，为精准灌溉与病害阻断提供关键的早期预警与决策支持。\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n监测植物早期枯萎迹象，区分环境性缺水萎蔫和病理性枯萎，量化评估枯萎等级，提供早期预警\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 早期枯萎特征提取 |\n| 2 | 萎蔫原因区分（环境/病理） |\n| 3 | 枯萎等级量化 |\n| 4 | 早期预警输出 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供植物叶片/植株视频/图片需要监测早期枯萎状况时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要植物枯萎监测、早期预警时，提及植物萎蔫、叶子发蔫、枯萎检测、早期预警、缺水监测等关键词，并且上传了视频/图片，自动触发本技能 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史监测报告、枯萎监测报告清单、监测报告列表、查询历史监测报告、显示所有监测报告、植物枯萎分析报告，查询植物枯萎监测分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.plant_wilting_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.plant_wilting_monitoring_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 监测要求 | Monitoring Requirements\n| 要求项 | 说明 |\n|---|---|\n| 目标叶片清晰 | 拍摄中上部成熟功能叶片，避免完全枯死或新生幼叶 |\n| 自然光拍摄 | 避免强烈逆光和反光，尽可能反映真实光谱特征 |\n| 时序对比更佳 | 如果有不同时间点的视频/图片，可分别上传进行对比分析 |\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备植物视频/图片输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行植物枯萎监测分析 | 调用 `-m scripts.plant_wilting_monitoring_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史植物枯萎监测分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/plant_wilting_monitoring_analysis.py`](scripts/plant_wilting_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png，最大 20MB |\n| 🧑‍⚖️ 结果性质 | 监测结果作为早期预警参考，最终诊断请结合田间实际情况和植保专家判断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于 用户名/手机号 生成的标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 监测本地视频/图片中植物的枯萎状况\npython -m scripts.plant_wilting_monitoring_analysis --input /path/to/plant.mp4\n\n# 监测网络视频/图片\npython -m scripts.plant_wilting_monitoring_analysis --url https://example.com/wilting.mp4\n\n# 显示历史监测报告/显示监测报告清单列表/显示历史植物枯萎监测（自动触发关键词：查看历史监测报告、历史报告、监测报告清单等）\npython -m scripts.plant_wilting_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --output result.json\n```\n\nFile v1.0.11:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-plant-wilting-monitoring-analysis\",\n  \"version\": \"1.0.11\",\n  \"publishedAt\": 1786907853480\n}\n\nFile v1.0.11:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.11:scripts/config.yaml\n\n{}\n\nFile v1.0.11:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.11:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.11:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.11:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: dev\n\nFile v1.0.11:skill-card.md\n\n## Description:\n\nEarly monitoring of plant wilting based on hyperspectral imaging and computer vision, capturing early signs before visible symptoms and providing early warnings for precision irrigation and disease control.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers use this skill to analyze plant images, videos, or submitted URLs for early wilting indicators, likely cause categories, severity estimates, recommendations, report links, and cloud report-history lookup.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Plant images, videos, or submitted URLs may be sent to the publisher's service.\n\nMitigation: Use the skill only when that data sharing is acceptable, and request explicit retention and deletion controls from the publisher before production use.\n\nRisk: The skill silently manages identity, stores reusable identity tokens locally, and queries cloud report history.\n\nMitigation: Review the automatic account-linkage behavior before installation, avoid sensitive identifiers, and ask the publisher for a way to reset or disable the local identity database.\n\nRisk: The release is bundled with a dev HTTP/private-network service configuration.\n\nMitigation: Require a production HTTPS-only configuration before deployment.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-plant-wilting-monitoring-analysis)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [API documentation](skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, json, files, guidance]\n\n**Output Format:** [Markdown or JSON analysis reports with optional saved output files]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Can output structured analysis results, recommendations, report links, and Markdown tables for cloud history queries.]\n\n## Skill Version(s):\n\n1.0.11 (source: server release metadata; artifact frontmatter reports 1.0.13)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.11:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.11:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.10: 30 files, 38680 bytes\n\nFiles: scripts/__init__.py (31b), scripts/config.py (649b), scripts/config.yaml (3b), scripts/plant_wilting_monitoring_analysis.py (3206b), scripts/skill.py (573b), skill-card.md (2823b), SKILL.md (10841b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (158b)\n\nFile v1.0.10:SKILL.md\n\n---\nname: \"plant-wilting-monitoring-analysis\"\ndescription: \"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警\"\nversion: \"1.0.12\"\nlicense: \"MIT-0\"\n---\n\n# 🥀 Plant Wilting Monitoring Skill | 植物枯萎监测技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **植物枯萎监测技能** |\n| 🎯 核心目标 | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PLANT_WILTING_MONITORING` |\n\nEquipped with advanced hyperspectral imaging combined with computer vision and Raman spectroscopy analysis technology,\nthis skill accurately captures early wilting signs of plants before visible symptoms appear to the naked eye. Through\nin-depth analysis of leaf spectral reflectance, transpiration rate and molecular vibration fingerprints, the system\nsensitively identifies physiological changes and water stress caused by water deficit, high temperature, or vascular\nbundle diseases such as fusarium and verticillium wilt. Combined with temporal behavior modeling, this skill not only\ndistinguishes between environmental wilting and pathological wilt but also quantitatively evaluates the wilting grade,\nproviding critical early warning and decision support for precision irrigation and disease block.\n\n本技能搭载先进的高光谱成像结合计算机视觉与拉曼光谱分析技术，能够在肉眼可见症状出现之前，精准捕捉植物的早期枯萎迹象。系统通过深度分析叶片的光谱反射率、蒸腾速率及分子振动指纹，敏锐识别由缺水、高温或维管束病害（如镰刀菌、黄萎病）引起的生理性变化与水分胁迫。结合时序行为建模，该技能不仅能区分环境性萎蔫与病理性枯死，还能对枯萎等级进行量化评估，为精准灌溉与病害阻断提供关键的早期预警与决策支持。\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n监测植物早期枯萎迹象，区分环境性缺水萎蔫和病理性枯萎，量化评估枯萎等级，提供早期预警\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 早期枯萎特征提取 |\n| 2 | 萎蔫原因区分（环境/病理） |\n| 3 | 枯萎等级量化 |\n| 4 | 早期预警输出 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供植物叶片/植株视频/图片需要监测早期枯萎状况时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要植物枯萎监测、早期预警时，提及植物萎蔫、叶子发蔫、枯萎检测、早期预警、缺水监测等关键词，并且上传了视频/图片，自动触发本技能 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史监测报告、枯萎监测报告清单、监测报告列表、查询历史监测报告、显示所有监测报告、植物枯萎分析报告，查询植物枯萎监测分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.plant_wilting_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.plant_wilting_monitoring_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 监测要求 | Monitoring Requirements\n| 要求项 | 说明 |\n|---|---|\n| 目标叶片清晰 | 拍摄中上部成熟功能叶片，避免完全枯死或新生幼叶 |\n| 自然光拍摄 | 避免强烈逆光和反光，尽可能反映真实光谱特征 |\n| 时序对比更佳 | 如果有不同时间点的视频/图片，可分别上传进行对比分析 |\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备植物视频/图片输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行植物枯萎监测分析 | 调用 `-m scripts.plant_wilting_monitoring_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史植物枯萎监测分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/plant_wilting_monitoring_analysis.py`](scripts/plant_wilting_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png，最大 20MB |\n| 🧑‍⚖️ 结果性质 | 监测结果作为早期预警参考，最终诊断请结合田间实际情况和植保专家判断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于 用户名/手机号 生成的标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 监测本地视频/图片中植物的枯萎状况\npython -m scripts.plant_wilting_monitoring_analysis --input /path/to/plant.mp4\n\n# 监测网络视频/图片\npython -m scripts.plant_wilting_monitoring_analysis --url https://example.com/wilting.mp4\n\n# 显示历史监测报告/显示监测报告清单列表/显示历史植物枯萎监测（自动触发关键词：查看历史监测报告、历史报告、监测报告清单等）\npython -m scripts.plant_wilting_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --output result.json\n```\n\nFile v1.0.10:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-plant-wilting-monitoring-analysis\",\n  \"version\": \"1.0.10\",\n  \"publishedAt\": 1786696533500\n}\n\nFile v1.0.10:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.10:scripts/config.yaml\n\n{}\n\nFile v1.0.10:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.10:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.10:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.10:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.10:skill-card.md\n\n## Description:\n\nMonitors plant wilting from image, video, or URL inputs, identifies early signs before visible symptoms, and returns structured warnings for irrigation and disease-control decisions.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users, growers, agronomists, and developers use this skill to submit plant images, videos, or URLs for early wilting monitoring, severity assessment, and cloud report lookup. Results support irrigation and disease-control decisions but should not replace field inspection or expert diagnosis.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Plant images, videos, URLs, and report history are sent to the lifeemergence cloud service for analysis.\n\nMitigation: Review the destination service before installation and avoid submitting sensitive media unless cloud processing and retention behavior are acceptable.\n\nRisk: The skill can create or reuse an internal account identity and store service tokens in a local workspace SQLite database.\n\nMitigation: Run it in a controlled workspace, protect or clear the workspace data directory after use, and review account and token handling before deployment.\n\nRisk: Cloud report history can be fetched automatically when history-report triggers are used.\n\nMitigation: Limit access to authorized workspaces and accounts, and confirm users understand that report history is associated with the internal identity.\n\nRisk: Wilting results are early-warning analysis outputs and may be incomplete or incorrect.\n\nMitigation: Use the output as decision support and confirm important irrigation or disease-control actions through field inspection or plant-health experts.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-plant-wilting-monitoring-analysis)\n- [API interface documentation](artifact/skills/smyx_analysis/references/api_doc.md)\n- [Skill demo](https://lifeemergence.com/sample.html)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, JSON, shell commands]\n\n**Output Format:** [Markdown text with JSON-formatted analysis content, report links, and optional saved output files]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Calls cloud analysis and report-history APIs; may write results to a user-specified output path.]\n\n## Skill Version(s):\n\n1.0.10 (source: server release evidence; artifact frontmatter reports 1.0.12)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.10:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.10:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.9: 30 files, 38583 bytes\n\nFiles: scripts/__init__.py (31b), scripts/config.py (649b), scripts/config.yaml (3b), scripts/plant_wilting_monitoring_analysis.py (3206b), scripts/skill.py (573b), skill-card.md (2595b), SKILL.md (10841b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (157b)\n\nFile v1.0.9:SKILL.md\n\n---\nname: \"plant-wilting-monitoring-analysis\"\ndescription: \"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警\"\nversion: \"1.0.12\"\nlicense: \"MIT-0\"\n---\n\n# 🥀 Plant Wilting Monitoring Skill | 植物枯萎监测技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **植物枯萎监测技能** |\n| 🎯 核心目标 | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PLANT_WILTING_MONITORING` |\n\nEquipped with advanced hyperspectral imaging combined with computer vision and Raman spectroscopy analysis technology,\nthis skill accurately captures early wilting signs of plants before visible symptoms appear to the naked eye. Through\nin-depth analysis of leaf spectral reflectance, transpiration rate and molecular vibration fingerprints, the system\nsensitively identifies physiological changes and water stress caused by water deficit, high temperature, or vascular\nbundle diseases such as fusarium and verticillium wilt. Combined with temporal behavior modeling, this skill not only\ndistinguishes between environmental wilting and pathological wilt but also quantitatively evaluates the wilting grade,\nproviding critical early warning and decision support for precision irrigation and disease block.\n\n本技能搭载先进的高光谱成像结合计算机视觉与拉曼光谱分析技术，能够在肉眼可见症状出现之前，精准捕捉植物的早期枯萎迹象。系统通过深度分析叶片的光谱反射率、蒸腾速率及分子振动指纹，敏锐识别由缺水、高温或维管束病害（如镰刀菌、黄萎病）引起的生理性变化与水分胁迫。结合时序行为建模，该技能不仅能区分环境性萎蔫与病理性枯死，还能对枯萎等级进行量化评估，为精准灌溉与病害阻断提供关键的早期预警与决策支持。\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n监测植物早期枯萎迹象，区分环境性缺水萎蔫和病理性枯萎，量化评估枯萎等级，提供早期预警\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 早期枯萎特征提取 |\n| 2 | 萎蔫原因区分（环境/病理） |\n| 3 | 枯萎等级量化 |\n| 4 | 早期预警输出 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供植物叶片/植株视频/图片需要监测早期枯萎状况时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要植物枯萎监测、早期预警时，提及植物萎蔫、叶子发蔫、枯萎检测、早期预警、缺水监测等关键词，并且上传了视频/图片，自动触发本技能 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史监测报告、枯萎监测报告清单、监测报告列表、查询历史监测报告、显示所有监测报告、植物枯萎分析报告，查询植物枯萎监测分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.plant_wilting_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.plant_wilting_monitoring_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 监测要求 | Monitoring Requirements\n| 要求项 | 说明 |\n|---|---|\n| 目标叶片清晰 | 拍摄中上部成熟功能叶片，避免完全枯死或新生幼叶 |\n| 自然光拍摄 | 避免强烈逆光和反光，尽可能反映真实光谱特征 |\n| 时序对比更佳 | 如果有不同时间点的视频/图片，可分别上传进行对比分析 |\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备植物视频/图片输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行植物枯萎监测分析 | 调用 `-m scripts.plant_wilting_monitoring_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史植物枯萎监测分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/plant_wilting_monitoring_analysis.py`](scripts/plant_wilting_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png，最大 20MB |\n| 🧑‍⚖️ 结果性质 | 监测结果作为早期预警参考，最终诊断请结合田间实际情况和植保专家判断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于 用户名/手机号 生成的标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 监测本地视频/图片中植物的枯萎状况\npython -m scripts.plant_wilting_monitoring_analysis --input /path/to/plant.mp4\n\n# 监测网络视频/图片\npython -m scripts.plant_wilting_monitoring_analysis --url https://example.com/wilting.mp4\n\n# 显示历史监测报告/显示监测报告清单列表/显示历史植物枯萎监测（自动触发关键词：查看历史监测报告、历史报告、监测报告清单等）\npython -m scripts.plant_wilting_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --output result.json\n```\n\nFile v1.0.9:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-plant-wilting-monitoring-analysis\",\n  \"version\": \"1.0.9\",\n  \"publishedAt\": 1786036869144\n}\n\nFile v1.0.9:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.9:scripts/config.yaml\n\n{}\n\nFile v1.0.9:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.9:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.9:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.9:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.9:skill-card.md\n\n## Description:\n\nEarly monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and external users can use this skill to submit plant image, video, or URL inputs for early wilting analysis, wilting-grade assessment, and environment-versus-pathology warning reports. It can also query identity-linked historical plant wilting reports from the cloud service.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill sends plant images, videos, or media URLs to a cloud analysis service.\n\nMitigation: Use only media appropriate for third-party cloud processing, and confirm the publisher's data retention and handling practices before installing for sensitive environments.\n\nRisk: The skill silently creates or reuses an internal user identity and queries identity-linked report history.\n\nMitigation: Review whether automatic identity creation and history lookup match the deployment's account, audit, and privacy expectations before use.\n\nRisk: The skill may store service tokens in a local workspace database.\n\nMitigation: Install only in workspaces where local credential storage is acceptable, and remove local workspace data when the skill is no longer trusted or needed.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-plant-wilting-monitoring-analysis)\n- [API interface documentation](artifact/skills/smyx_analysis/references/api_doc.md)\n- [Skill demo](https://lifeemergence.com/sample.html)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, json, shell commands, files, guidance]\n\n**Output Format:** [Markdown text with structured JSON report content, report links, and optional saved output files]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Uses local file paths or public media URLs as inputs, calls a cloud analysis API, and can return identity-linked historical report lists.]\n\n## Skill Version(s):\n\n1.0.9 (source: server release metadata; artifact frontmatter says 1.0.12)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.9:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.9:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.8: 30 files, 38572 bytes\n\nFiles: scripts/__init__.py (31b), scripts/config.py (649b), scripts/config.yaml (3b), scripts/plant_wilting_monitoring_analysis.py (3206b), scripts/skill.py (573b), skill-card.md (2596b), SKILL.md (10841b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (157b)\n\nFile v1.0.8:SKILL.md\n\n---\nname: \"plant-wilting-monitoring-analysis\"\ndescription: \"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警\"\nversion: \"1.0.11\"\nlicense: \"MIT-0\"\n---\n\n# 🥀 Plant Wilting Monitoring Skill | 植物枯萎监测技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **植物枯萎监测技能** |\n| 🎯 核心目标 | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PLANT_WILTING_MONITORING` |\n\nEquipped with advanced hyperspectral imaging combined with computer vision and Raman spectroscopy analysis technology,\nthis skill accurately captures early wilting signs of plants before visible symptoms appear to the naked eye. Through\nin-depth analysis of leaf spectral reflectance, transpiration rate and molecular vibration fingerprints, the system\nsensitively identifies physiological changes and water stress caused by water deficit, high temperature, or vascular\nbundle diseases such as fusarium and verticillium wilt. Combined with temporal behavior modeling, this skill not only\ndistinguishes between environmental wilting and pathological wilt but also quantitatively evaluates the wilting grade,\nproviding critical early warning and decision support for precision irrigation and disease block.\n\n本技能搭载先进的高光谱成像结合计算机视觉与拉曼光谱分析技术，能够在肉眼可见症状出现之前，精准捕捉植物的早期枯萎迹象。系统通过深度分析叶片的光谱反射率、蒸腾速率及分子振动指纹，敏锐识别由缺水、高温或维管束病害（如镰刀菌、黄萎病）引起的生理性变化与水分胁迫。结合时序行为建模，该技能不仅能区分环境性萎蔫与病理性枯死，还能对枯萎等级进行量化评估，为精准灌溉与病害阻断提供关键的早期预警与决策支持。\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n监测植物早期枯萎迹象，区分环境性缺水萎蔫和病理性枯萎，量化评估枯萎等级，提供早期预警\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 早期枯萎特征提取 |\n| 2 | 萎蔫原因区分（环境/病理） |\n| 3 | 枯萎等级量化 |\n| 4 | 早期预警输出 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供植物叶片/植株视频/图片需要监测早期枯萎状况时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要植物枯萎监测、早期预警时，提及植物萎蔫、叶子发蔫、枯萎检测、早期预警、缺水监测等关键词，并且上传了视频/图片，自动触发本技能 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史监测报告、枯萎监测报告清单、监测报告列表、查询历史监测报告、显示所有监测报告、植物枯萎分析报告，查询植物枯萎监测分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.plant_wilting_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.plant_wilting_monitoring_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 监测要求 | Monitoring Requirements\n| 要求项 | 说明 |\n|---|---|\n| 目标叶片清晰 | 拍摄中上部成熟功能叶片，避免完全枯死或新生幼叶 |\n| 自然光拍摄 | 避免强烈逆光和反光，尽可能反映真实光谱特征 |\n| 时序对比更佳 | 如果有不同时间点的视频/图片，可分别上传进行对比分析 |\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备植物视频/图片输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行植物枯萎监测分析 | 调用 `-m scripts.plant_wilting_monitoring_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史植物枯萎监测分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/plant_wilting_monitoring_analysis.py`](scripts/plant_wilting_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png，最大 20MB |\n| 🧑‍⚖️ 结果性质 | 监测结果作为早期预警参考，最终诊断请结合田间实际情况和植保专家判断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于 用户名/手机号 生成的标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 监测本地视频/图片中植物的枯萎状况\npython -m scripts.plant_wilting_monitoring_analysis --input /path/to/plant.mp4\n\n# 监测网络视频/图片\npython -m scripts.plant_wilting_monitoring_analysis --url https://example.com/wilting.mp4\n\n# 显示历史监测报告/显示监测报告清单列表/显示历史植物枯萎监测（自动触发关键词：查看历史监测报告、历史报告、监测报告清单等）\npython -m scripts.plant_wilting_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --output result.json\n```\n\nFile v1.0.8:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-plant-wilting-monitoring-analysis\",\n  \"version\": \"1.0.8\",\n  \"publishedAt\": 1785601050241\n}\n\nFile v1.0.8:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.8:scripts/config.yaml\n\n{}\n\nFile v1.0.8:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.8:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.8:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.8:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.8:skill-card.md\n\n## Description: <br>\nEarly monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users, growers, agronomists, and developers use this skill to analyze plant images, videos, or URLs for early wilting indicators, environmental versus pathological wilt signals, severity grading, and historical report lookup. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Plant media or supplied URLs may be sent to the configured cloud service for analysis. <br>\nMitigation: Use only media and URLs that are approved for external processing; avoid private, internal, or sensitive inputs. <br>\nRisk: Report history may be linked to a persistent local identity and tokens may be stored in the workspace data database. <br>\nMitigation: Use an isolated workspace for sensitive testing and review local credential or token storage before deployment. <br>\nRisk: Security evidence marks the release as suspicious and requiring review. <br>\nMitigation: Review and scan the skill before deployment, with particular attention to cloud identity handling, token storage, and outbound data transfer. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-plant-wilting-monitoring-analysis) <br>\n- [API interface documentation](skills/smyx_analysis/references/api_doc.md) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Analysis, API Calls, Markdown, JSON, Files, Shell commands, Guidance] <br>\n**Output Format:** [Markdown or JSON analysis report with optional saved output file and report links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Can return structured plant wilting monitoring results, recommendations, report links, or a Markdown table of cloud report history.] <br>\n\n## Skill Version(s): <br>\n1.0.8 (source: server release evidence; artifact frontmatter reports 1.0.11) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.8:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.8:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.7: 30 files, 38629 bytes\n\nFiles: scripts/__init__.py (31b), scripts/config.py (649b), scripts/config.yaml (3b), scripts/plant_wilting_monitoring_analysis.py (3206b), scripts/skill.py (573b), skill-card.md (2768b), SKILL.md (10840b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (157b)\n\nFile v1.0.7:SKILL.md\n\n---\nname: \"plant-wilting-monitoring-analysis\"\ndescription: \"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警\"\nversion: \"1.0.8\"\nlicense: \"MIT-0\"\n---\n\n# 🥀 Plant Wilting Monitoring Skill | 植物枯萎监测技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **植物枯萎监测技能** |\n| 🎯 核心目标 | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PLANT_WILTING_MONITORING` |\n\nEquipped with advanced hyperspectral imaging combined with computer vision and Raman spectroscopy analysis technology,\nthis skill accurately captures early wilting signs of plants before visible symptoms appear to the naked eye. Through\nin-depth analysis of leaf spectral reflectance, transpiration rate and molecular vibration fingerprints, the system\nsensitively identifies physiological changes and water stress caused by water deficit, high temperature, or vascular\nbundle diseases such as fusarium and verticillium wilt. Combined with temporal behavior modeling, this skill not only\ndistinguishes between environmental wilting and pathological wilt but also quantitatively evaluates the wilting grade,\nproviding critical early warning and decision support for precision irrigation and disease block.\n\n本技能搭载先进的高光谱成像结合计算机视觉与拉曼光谱分析技术，能够在肉眼可见症状出现之前，精准捕捉植物的早期枯萎迹象。系统通过深度分析叶片的光谱反射率、蒸腾速率及分子振动指纹，敏锐识别由缺水、高温或维管束病害（如镰刀菌、黄萎病）引起的生理性变化与水分胁迫。结合时序行为建模，该技能不仅能区分环境性萎蔫与病理性枯死，还能对枯萎等级进行量化评估，为精准灌溉与病害阻断提供关键的早期预警与决策支持。\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n监测植物早期枯萎迹象，区分环境性缺水萎蔫和病理性枯萎，量化评估枯萎等级，提供早期预警\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 早期枯萎特征提取 |\n| 2 | 萎蔫原因区分（环境/病理） |\n| 3 | 枯萎等级量化 |\n| 4 | 早期预警输出 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供植物叶片/植株视频/图片需要监测早期枯萎状况时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要植物枯萎监测、早期预警时，提及植物萎蔫、叶子发蔫、枯萎检测、早期预警、缺水监测等关键词，并且上传了视频/图片，自动触发本技能 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史监测报告、枯萎监测报告清单、监测报告列表、查询历史监测报告、显示所有监测报告、植物枯萎分析报告，查询植物枯萎监测分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.plant_wilting_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.plant_wilting_monitoring_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 监测要求 | Monitoring Requirements\n| 要求项 | 说明 |\n|---|---|\n| 目标叶片清晰 | 拍摄中上部成熟功能叶片，避免完全枯死或新生幼叶 |\n| 自然光拍摄 | 避免强烈逆光和反光，尽可能反映真实光谱特征 |\n| 时序对比更佳 | 如果有不同时间点的视频/图片，可分别上传进行对比分析 |\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备植物视频/图片输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行植物枯萎监测分析 | 调用 `-m scripts.plant_wilting_monitoring_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史植物枯萎监测分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/plant_wilting_monitoring_analysis.py`](scripts/plant_wilting_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png，最大 20MB |\n| 🧑‍⚖️ 结果性质 | 监测结果作为早期预警参考，最终诊断请结合田间实际情况和植保专家判断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于 用户名/手机号 生成的标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 监测本地视频/图片中植物的枯萎状况\npython -m scripts.plant_wilting_monitoring_analysis --input /path/to/plant.mp4\n\n# 监测网络视频/图片\npython -m scripts.plant_wilting_monitoring_analysis --url https://example.com/wilting.mp4\n\n# 显示历史监测报告/显示监测报告清单列表/显示历史植物枯萎监测（自动触发关键词：查看历史监测报告、历史报告、监测报告清单等）\npython -m scripts.plant_wilting_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --output result.json\n```\n\nFile v1.0.7:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-plant-wilting-monitoring-analysis\",\n  \"version\": \"1.0.7\",\n  \"publishedAt\": 1784146709539\n}\n\nFile v1.0.7:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.7:scripts/config.yaml\n\n{}\n\nFile v1.0.7:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.7:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.7:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.7:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.7:skill-card.md\n\n## Description: <br>\nEarly monitoring of plant wilting based on hyperspectral imaging and computer vision, capturing early wilting signs before visible symptoms and providing early warning for precision irrigation and disease control. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nDevelopers and agents use this skill to analyze plant image or video inputs, distinguish environmental wilting from pathological wilt, quantify wilting severity, and return early-warning reports with recommendations. It can also retrieve cloud-hosted historical plant wilting monitoring reports associated with the internally resolved identity. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Plant image or video inputs may be sent to lifeemergence.com services for analysis. <br>\nMitigation: Use only with plant media approved for external service processing, and avoid sensitive local files or shared workspaces unless that data flow is acceptable. <br>\nRisk: The skill silently creates or reuses an internal identity and ties cloud report history to that identity. <br>\nMitigation: Review the identity behavior before installation and run it only where automatic identity association and cloud history retrieval are acceptable. <br>\nRisk: Token-like credentials and user records may be stored locally in a workspace SQLite database. <br>\nMitigation: Avoid environments where local token storage is unacceptable, and isolate or clean the workspace data directory when testing or uninstalling the skill. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-plant-wilting-monitoring-analysis) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n- [API interface documentation](skills/smyx_analysis/references/api_doc.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown and JSON-style structured analysis text, with optional saved output files] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Outputs may include plant wilting analysis, severity and cause indicators, recommendations, report links, and cloud report-history listings.] <br>\n\n## Skill Version(s): <br>\n1.0.7 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.7:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.7:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.6: 30 files, 38598 bytes\n\nFiles: scripts/__init__.py (31b), scripts/config.py (649b), scripts/config.yaml (3b), scripts/plant_wilting_monitoring_analysis.py (3206b), scripts/skill.py (573b), skill-card.md (2872b), SKILL.md (10840b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28605b), _meta.json (157b)\n\nFile v1.0.6:SKILL.md\n\n---\nname: \"plant-wilting-monitoring-analysis\"\ndescription: \"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警\"\nversion: \"1.0.8\"\nlicense: \"MIT-0\"\n---\n\n# 🥀 Plant Wilting Monitoring Skill | 植物枯萎监测技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **植物枯萎监测技能** |\n| 🎯 核心目标 | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PLANT_WILTING_MONITORING` |\n\nEquipped with advanced hyperspectral imaging combined with computer vision and Raman spectroscopy analysis technology,\nthis skill accurately captures early wilting signs of plants before visible symptoms appear to the naked eye. Through\nin-depth analysis of leaf spectral reflectance, transpiration rate and molecular vibration fingerprints, the system\nsensitively identifies physiological changes and water stress caused by water deficit, high temperature, or vascular\nbundle diseases such as fusarium and verticillium wilt. Combined with temporal behavior modeling, this skill not only\ndistinguishes between environmental wilting and pathological wilt but also quantitatively evaluates the wilting grade,\nproviding critical early warning and decision support for precision irrigation and disease block.\n\n本技能搭载先进的高光谱成像结合计算机视觉与拉曼光谱分析技术，能够在肉眼可见症状出现之前，精准捕捉植物的早期枯萎迹象。系统通过深度分析叶片的光谱反射率、蒸腾速率及分子振动指纹，敏锐识别由缺水、高温或维管束病害（如镰刀菌、黄萎病）引起的生理性变化与水分胁迫。结合时序行为建模，该技能不仅能区分环境性萎蔫与病理性枯死，还能对枯萎等级进行量化评估，为精准灌溉与病害阻断提供关键的早期预警与决策支持。\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n监测植物早期枯萎迹象，区分环境性缺水萎蔫和病理性枯萎，量化评估枯萎等级，提供早期预警\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 早期枯萎特征提取 |\n| 2 | 萎蔫原因区分（环境/病理） |\n| 3 | 枯萎等级量化 |\n| 4 | 早期预警输出 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供植物叶片/植株视频/图片需要监测早期枯萎状况时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要植物枯萎监测、早期预警时，提及植物萎蔫、叶子发蔫、枯萎检测、早期预警、缺水监测等关键词，并且上传了视频/图片，自动触发本技能 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史监测报告、枯萎监测报告清单、监测报告列表、查询历史监测报告、显示所有监测报告、植物枯萎分析报告，查询植物枯萎监测分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.plant_wilting_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.plant_wilting_monitoring_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 监测要求 | Monitoring Requirements\n| 要求项 | 说明 |\n|---|---|\n| 目标叶片清晰 | 拍摄中上部成熟功能叶片，避免完全枯死或新生幼叶 |\n| 自然光拍摄 | 避免强烈逆光和反光，尽可能反映真实光谱特征 |\n| 时序对比更佳 | 如果有不同时间点的视频/图片，可分别上传进行对比分析 |\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备植物视频/图片输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行植物枯萎监测分析 | 调用 `-m scripts.plant_wilting_monitoring_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史植物枯萎监测分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/plant_wilting_monitoring_analysis.py`](scripts/plant_wilting_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png，最大 20MB |\n| 🧑‍⚖️ 结果性质 | 监测结果作为早期预警参考，最终诊断请结合田间实际情况和植保专家判断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于 用户名/手机号 生成的标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 监测本地视频/图片中植物的枯萎状况\npython -m scripts.plant_wilting_monitoring_analysis --input /path/to/plant.mp4\n\n# 监测网络视频/图片\npython -m scripts.plant_wilting_monitoring_analysis --url https://example.com/wilting.mp4\n\n# 显示历史监测报告/显示监测报告清单列表/显示历史植物枯萎监测（自动触发关键词：查看历史监测报告、历史报告、监测报告清单等）\npython -m scripts.plant_wilting_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --output result.json\n```\n\nFile v1.0.6:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-plant-wilting-monitoring-analysis\",\n  \"version\": \"1.0.6\",\n  \"publishedAt\": 1783560009220\n}\n\nFile v1.0.6:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.6:scripts/config.yaml\n\n{}\n\nFile v1.0.6:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.6:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.6:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.6:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.6:skill-card.md\n\n## Description: <br>\nEarly monitoring of plant wilting based on hyperspectral imaging and computer vision, capturing early wilting signs before visible symptoms and providing early warning for precision irrigation and disease control. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nDevelopers and external users can use this skill to analyze plant images, videos, or public media URLs for early wilting signs, likely causes, severity, recommendations, and report links. It also supports cloud history queries for prior plant wilting monitoring reports associated with the local skill identity. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Plant media and account identifiers are sent to lifeemergence.com services for analysis and history lookup. <br>\nMitigation: Use non-sensitive plant media, confirm upload consent, and avoid including private surroundings or unrelated personal data in images or videos. <br>\nRisk: The skill may create or reuse a hidden local identity and persist service tokens in workspace data storage. <br>\nMitigation: Review or clear the workspace data directory after use and avoid sharing workspace data artifacts. <br>\nRisk: History-report commands access cloud records linked to the resolved local identity. <br>\nMitigation: Ask for explicit confirmation before running history queries and present only the report data needed for the user's request. <br>\nRisk: Plant wilting analysis may be incomplete or inaccurate for final agronomic decisions. <br>\nMitigation: Treat outputs as early warning guidance and confirm with field inspection or a plant-health expert before irreversible treatment decisions. <br>\n\n\n## Reference(s): <br>\n- [API Interface Documentation](artifact/skills/smyx_analysis/references/api_doc.md) <br>\n- [Skill Demo](https://lifeemergence.com/sample.html) <br>\n- [ClawHub Skill Page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-plant-wilting-monitoring-analysis) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Text, Markdown, JSON] <br>\n**Output Format:** [Markdown or JSON structured analysis report with optional report link] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May include cloud history report listings and can save output to a caller-specified file.] <br>\n\n## Skill Version(s): <br>\n1.0.6 (source: server release metadata; artifact SKILL.md frontmatter reports 1.0.8) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.6:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.6:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3","readmeExcerpt":"Skill: Plant Wilting Monitoring Skill | 植物枯萎监测技能 Owner: smyx-sunjinhui Summary: Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 Tags: latest:1.0.15 Version history: v1.0.15 | 2026-10-04T14:09:26.382Z ","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"python -m scripts.plant_wilting_monitoring_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 监测本地视频/图片中植物的枯萎状况\npython -m scripts.plant_wilting_monitoring_analysis --input /path/to/plant.mp4\n\n# 监测网络视频/图片\npython -m scripts.plant_wilting_monitoring_analysis --url https://example.com/wilting.mp4\n\n# 显示历史监测报告/显示监测报告清单列表/显示历史植物枯萎监测（自动触发关键词：查看历史监测报告、历史报告、监测报告清单等）\npython -m scripts.plant_wilting_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --output result.json"},{"language":"bash","snippet":"python -m scripts.plant_wilting_monitoring_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 监测本地视频/图片中植物的枯萎状况\npython -m scripts.plant_wilting_monitoring_analysis --input /path/to/plant.mp4\n\n# 监测网络视频/图片\npython -m scripts.plant_wilting_monitoring_analysis --url https://example.com/wilting.mp4\n\n# 显示历史监测报告/显示监测报告清单列表/显示历史植物枯萎监测（自动触发关键词：查看历史监测报告、历史报告、监测报告清单等）\npython -m scripts.plant_wilting_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.plant_wilting_monitoring_analysis --input plant.jpg --output result.json"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: \"plant-wilting-monitoring-analysis\"\ndescription: \"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警\"\nversion: \"1.0.19\"\nlicense: \"MIT-0\"\n---\n\n# 🥀 Plant Wilting Monitoring Skill | 植物枯萎监测技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **植物枯萎监测技能** |\n| 🎯 核心目标 | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PLANT_WILTING_MONITORING` |\n\nEquipped with advanced hyperspectral imaging combined with computer vision and Raman spectroscopy analysis technology,\nthis skill accurately captures early wilting signs of plants before visible symptoms appear to the naked eye. Through\nin-depth analysis of leaf spectral reflectance, transpiration rate and molecular vibration fingerprints, the system\nsensitively identifies physiological changes and water stress caused by water deficit, high temperature, or vascular\nbundle diseases such as fusarium and verticillium wilt. Combined with temporal behavior modeling, this skill not only\ndistinguishes between environmental wilting and pathological wilt but also quantitatively evaluates the wilting grade,\nproviding critical early warning and decision support for precision irrigation and disease block.\n\n本技能搭载先进的高光谱成像结合计算机视觉与拉曼光谱分析技术，能够在肉眼可见症状出现之前，精准捕捉植物的早期枯萎迹象。系统通过深度分析叶片的光谱反射率、蒸腾速率及分子振动指纹，敏锐识别由缺水、高温或维管束病害（如镰刀菌、黄萎病）引起的生理性变化与水分胁迫。结合时序行为建模，该技能不仅能区分环境性萎蔫与病理性枯死，还能对枯萎等级进行量化评估，为精准灌溉与病害阻断提供关键的早期预警与决策支持。\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n监测植物早期枯萎迹象，区分环境性缺水萎蔫和病理性枯萎，量化评估枯萎等级，提供早期预警\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 早期枯萎特征提取 |\n| 2 | 萎蔫原因区分（环境/病理） |\n| 3 | 枯萎等级量化 |\n| 4 | 早期预警输出 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供植物叶片/植株视频/图片需要监测早期枯萎状况时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要植物枯萎监测、早期预警时，提及植物萎蔫、叶子发蔫、枯萎检测、早期预警、缺水监测等关键词，并且上传了视频/图片，自动触发本技能 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史监测报告、枯萎监测报告清单、监测报告列表、查询历史监测报告、显示所有监测报告、植物枯萎分析报告，查询植物枯萎监测分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.plant_wilting_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.plant_wilting_monitoring_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 监测要求 | Monitoring Requirements\n| 要求项 | 说明 |\n"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-plant-wilting-monitoring-analysis\",\n  \"version\": \"1.0.15\",\n  \"publishedAt\": 1791122966382\n}"},{"path":"skills/smyx_analysis/references/api_doc.md","content":"# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |"},{"path":"scripts/config.yaml","content":"{}"},{"path":"skills/smyx_analysis/scripts/config.yaml","content":"{}"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 Skill: Plant Wilting Monitoring Skill | 植物枯萎监测技能 Owner: smyx-sunjinhui Summary: Early monitoring of plant wilting based on hyperspectral imaging and computer vision, captures early wilting signs before visible symptoms, provides early warning for precision irrigation and disease control. | 植物枯萎监测技能，基于高光谱成像与计算机视觉，在肉眼可见症状前捕捉早期枯萎迹象，为精准灌溉和病害防控提供早期预警 Tags: latest:1.0.15 Version history: v1.0.15 | 2026-10-04T14:09:26.382Z","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":824,"uniquenessScore":50,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T15:11:27.458Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T15:11:27.458Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T06:31:32.526Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}