{"id":"ac9730e5-e79f-4ab6-80f3-dd7bccc665fe","entityType":"agent","slug":"clawhub-18072937735-smyx-succulent-special-state-detection-anal","name":"Succulent Special State Detection | 多肉植物特殊状态识别","canonicalUrl":"https://www.xpersona.co/agent/clawhub-18072937735-smyx-succulent-special-state-detection-anal","canonicalPath":"/agent/clawhub-18072937735-smyx-succulent-special-state-detection-anal","generatedAt":"2026-10-10T07:59:37.486Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T23:43:17.907Z","emptyReason":null},"description":"AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops. | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。","descriptionLabel":"Source description","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.9K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-succulent-special-state-detection-analysis","sourceUrl":"https://clawhub.ai/18072937735/smyx-succulent-special-state-detection-analysis","homepage":"https://clawhub.ai/18072937735/skills/smyx-succulent-special-state-detection-analysis","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/18072937735/smyx-succulent-special-state-detection-analysis","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/18072937735/skills/smyx-succulent-special-state-detection-analysis","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":65,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Succulent Special State Detection | 多肉植物特殊状态识别 technical dossier on Xpersona with agent coverage, OPENCLEW support, and live trust metadata."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T23:43:17.907Z","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-09T23:43:17.907Z","emptyReason":null},"stars":null,"forks":null,"downloads":1875,"packageName":null,"latestVersion":"1.0.13","tractionLabel":"1.9K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T23:43:17.878Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T23:43:17.907Z","lastCrawledAt":"2026-10-09T23:43:17.878Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T23:43:17.878Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.13","createdAt":"2026-10-04T00:47:32.910Z","changelog":"- Updated SKILL.md with minor edits and version number bump (1.0.15 → 1.0.17) - Removed the file skill-card.md - No changes to the detection or analysis functionality - Documentation only update; no impact on end user features","fileCount":31,"zipByteSize":40496},{"version":"1.0.12","createdAt":"2026-09-24T15:14:46.927Z","changelog":"- Updated version to 1.0.15 in SKILL.md. - Documentation maintenance: `skill-card.md` removed. - Minor content or config adjustments in SKILL.md and config.yaml.","fileCount":31,"zipByteSize":40530},{"version":"1.0.11","createdAt":"2026-09-08T22:52:29.661Z","changelog":"- Updated skill documentation in SKILL.md with new version metadata. - Removed the file skill-card.md from the repository. - No user-facing functional changes.","fileCount":31,"zipByteSize":40633},{"version":"1.0.10","createdAt":"2026-08-28T17:54:28.687Z","changelog":"- Updated version to 1.0.12 in SKILL.md. - Minor content or documentation adjustments in SKILL.md. - Removed the file skill-card.md.","fileCount":31,"zipByteSize":40556},{"version":"1.0.9","createdAt":"2026-08-19T03:14:28.869Z","changelog":"- Updated version number to 1.0.10. - Updated documentation in SKILL.md, including sample commands and workflow details. - Removed the outdated skill-card.md documentation file. - Minor changes to scripts/smyx_common/scripts/config.yaml for configuration consistency.","fileCount":31,"zipByteSize":40664},{"version":"1.0.8","createdAt":"2026-08-11T10:19:33.999Z","changelog":"- Removed the skill-card.md file from the repository. - No other changes to core functionality or behavior.","fileCount":31,"zipByteSize":40628},{"version":"1.0.7","createdAt":"2026-08-08T23:10:32.247Z","changelog":"- Bumped version from 1.0.7 to 1.0.9. - Documentation update: The \"skill-card.md\" file was removed, with all usage and concepts now consolidated in \"SKILL.md\". - No functional or code changes; this is a documentation and cleanup release.","fileCount":31,"zipByteSize":40573},{"version":"1.0.6","createdAt":"2026-07-27T01:38:34.042Z","changelog":"- Updated SKILL.md with a new version number and documentation improvements. - Removed the file skill-card.md. - No changes to feature logic or core functionality.","fileCount":31,"zipByteSize":40706}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-succulent-special-state-detection-analysis","setupComplexity":"low","setupSteps":["Install using `clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-succulent-special-state-detection-analysis` in an isolated environment before connecting it to live workloads.","No published capability contract is available yet, so validate auth and request/response behavior manually.","Review the upstream CLAWHUB listing at https://clawhub.ai/18072937735/smyx-succulent-special-state-detection-analysis before using production credentials."],"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-18072937735-smyx-succulent-special-state-detection-anal/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-succulent-special-state-detection-anal/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-succulent-special-state-detection-anal/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-succulent-special-state-detection-anal/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-succulent-special-state-detection-anal/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-succulent-special-state-detection-anal/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-10T07:59:37.482Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-succulent-special-state-detection-anal/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-succulent-special-state-detection-anal/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-succulent-special-state-detection-anal/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-succulent-special-state-detection-anal/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":"medium","updatedAt":"2026-10-09T23:43:17.907Z","emptyReason":null},"readme":"Skill: Succulent Special State Detection | 多肉植物特殊状态识别\n\nOwner: 18072937735\n\nSummary: AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops. | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\n\nTags: latest:1.0.13\n\nVersion history:\n\nv1.0.13 | 2026-10-04T00:47:32.910Z | auto\n\n- Updated SKILL.md with minor edits and version number bump (1.0.15 → 1.0.17)\n- Removed the file skill-card.md\n- No changes to the detection or analysis functionality\n- Documentation only update; no impact on end user features\n\nv1.0.12 | 2026-09-24T15:14:46.927Z | auto\n\n- Updated version to 1.0.15 in SKILL.md.\n- Documentation maintenance: `skill-card.md` removed.\n- Minor content or config adjustments in SKILL.md and config.yaml.\n\nv1.0.11 | 2026-09-08T22:52:29.661Z | auto\n\n- Updated skill documentation in SKILL.md with new version metadata.\n- Removed the file skill-card.md from the repository.\n- No user-facing functional changes.\n\nv1.0.10 | 2026-08-28T17:54:28.687Z | auto\n\n- Updated version to 1.0.12 in SKILL.md.\n- Minor content or documentation adjustments in SKILL.md.\n- Removed the file skill-card.md.\n\nv1.0.9 | 2026-08-19T03:14:28.869Z | auto\n\n- Updated version number to 1.0.10.\n- Updated documentation in SKILL.md, including sample commands and workflow details.\n- Removed the outdated skill-card.md documentation file.\n- Minor changes to scripts/smyx_common/scripts/config.yaml for configuration consistency.\n\nv1.0.8 | 2026-08-11T10:19:33.999Z | auto\n\n- Removed the skill-card.md file from the repository.\n- No other changes to core functionality or behavior.\n\nv1.0.7 | 2026-08-08T23:10:32.247Z | auto\n\n- Bumped version from 1.0.7 to 1.0.9.\n- Documentation update: The \"skill-card.md\" file was removed, with all usage and concepts now consolidated in \"SKILL.md\".\n- No functional or code changes; this is a documentation and cleanup release.\n\nv1.0.6 | 2026-07-27T01:38:34.042Z | auto\n\n- Updated SKILL.md with a new version number and documentation improvements.\n- Removed the file skill-card.md.\n- No changes to feature logic or core functionality.\n\nv1.0.5 | 2026-07-13T10:33:26.655Z | auto\n\n- Internal documentation cleanup: removed obsolete skill-card.md file.\n- Updated utility script: changes made to skills/smyx_common/scripts/util.py.  \n- No changes to user-facing workflow or core functionality.\n\nv1.0.4 | 2026-07-06T15:18:31.436Z | auto\n\n- Updated version to 1.0.5.\n- SKILL.md revised with minor updates and maintenance.\n- Removed outdated skill-card.md file.\n- Internal configuration script updated (skills/smyx_common/scripts/config.py).\n\nv1.0.3 | 2026-06-30T01:20:24.731Z | auto\n\n- Minor code updates in dao.py and util.py under scripts/smyx_common.\n- No user-facing changes or new features introduced.\n- Internal improvements or refactoring only; skill behavior remains unchanged.\n\nv1.0.2 | 2026-06-26T22:48:24.809Z | auto\n\n**Major update: User identity handling is now fully automatic and never exposed to users. Workflow and documentation streamlined.**\n\n- User open-id (identity) is now handled only by the backend; user is never asked for, sees, or needs to supply identity parameters.\n- Documentation updated to remove all user-facing open-id acquisition and prompts, reflecting automatic and invisible identity binding.\n- Skill usage and workflow simplified: users only provide the image/video; all identity, report-linking, and API querying is handled internally.\n- Clarified and restyled SKILL.md: denser overview, clear workflow, tabulated sections, and improved formatting for resource and capability indexing.\n- Example commands and constraints rewritten to match new identity rules and to align with backend logic.\n- Deprecated/redundant files and legacy documentation (such as skill-card.md, old API scripts) removed.\n\nv1.0.1 | 2026-06-20T02:54:26.380Z | auto\n\nv1.0.1 Changelog\n\n- Updated open-id config file lookup order and unified config file location in documentation and scripts.\n- Adjusted config.yaml search path: scripts/config.yaml (skill root) now preferred over skills/smyx_common/scripts/config.yaml.\n- Added MIT-0 license field to metadata.\n- Removed deprecated documentation file (skill-card.md).\n- Improved clarity and accuracy of operation steps and parameter instructions in SKILL.md.\n\nv1.0.0 | 2026-05-23T18:06:08.577Z | auto\n\nInitial release of \"smyx-succulent-special-state-detection-analysis\":\n\n- Detects three major succulent health anomalies (black rot, melting, stretching) from HD images or videos.\n- Assesses severity and outputs anomaly type with confidence, without giving treatment steps.\n- Enforces strict open-id acquisition flow for analysis and history report queries.\n- Supports structured Markdown report outputs and automated history listing from cloud only.\n- Designed for use at home, in greenhouses, or flower shops, with bilingual (Chinese/English) documentation.\n\nArchive index:\n\nArchive v1.0.13: 31 files, 40496 bytes\n\nFiles: references/api_doc.md (699b), scripts/__init__.py (61b), scripts/config.py (692b), scripts/config.yaml (3b), scripts/skill.py (579b), scripts/smyx_succulent_special_state_detection_analysis.py (3480b), skill-card.md (2176b), SKILL.md (15353b), 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 (167b)\n\nFile v1.0.13:SKILL.md\n\n---\nname: \"smyx-succulent-special-state-detection-analysis\"\ndescription: \"AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops. | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\"\nversion: \"1.0.17\"\nlicense: \"MIT-0\"\n---\n\n# 🌵 Succulent Special State Detection | 多肉植物特殊状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **多肉植物特殊状态识别** |\n| 🎯 核心目标 | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` |\n\nAI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops.\n\n通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的多肉植物健康AI。你的任务是分析多肉植物的高清图像，检测是否存在黑腐、化水、徒长等特殊异常状态，评估严重程度。不要提供具体的救治步骤，仅输出识别到的状态类型及置信度。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n通过多肉植物高清图像检测黑腐病、化水、徒长三种特殊异常状态，输出状态类型、严重程度和置信度\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 黑腐病识别（茎基/叶片变黑腐烂） |\n| 2 | 化水识别（叶片透明水渍状） |\n| 3 | 徒长识别（茎节拉长/叶片松散） |\n| 4 | 严重程度分级（轻度/中度/重度） |\n| 5 | 置信度评分 |\n| 6 | 异常部位定位 |\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.smyx_succulent_special_state_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_succulent_special_state_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\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.smyx_succulent_special_state_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看识别结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地多肉植物图像/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络多肉植物图像/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--pet-type` | 对象类型，植物场景默认 other | 按需填写 |\n| `--list` | 显示多肉特殊状态识别历史报告列表清单 | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🖤 黑腐病（Black Rot）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 茎基部或叶片出现黑色/深褐色腐烂区域，组织变软流液 |\n| 常见诱因 | 高温高湿 + 伤口感染真菌（镰刀菌等）；浇水后积水未排 |\n| 死亡风险 | ⚠️ **极高** — 从感染到整株死亡可能仅需 3-7 天 |\n| 早期信号 | 茎基部轻微发黑、底部叶片异常脱落、轻压有软感 |\n| 进展速度 | 极快，尤其在夏季闷热环境 |\n\n### 黑腐严重程度分级\n\n| 级别 | 视觉表现 | 危险程度 |\n|------|----------|----------|\n| 🟡 轻度 | 局部叶片发黑，茎部尚未变软 | 及时处理可救回 |\n| 🟠 中度 | 茎基部发黑变软，多片叶片受影响 | 需紧急砍头抢救 |\n| 🔴 重度 | 大面积腐烂，整株发黑流液 | 通常不可逆，建议取健康叶片叶插 |\n\n## 💧 化水（Etiolation / Melting）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 叶片变为半透明/水渍状，质地变软呈果冻感，轻触即破 |\n| 常见诱因 | 浇水过多 + 通风不良；低温高湿环境下更易发生 |\n| 死亡风险 | ⚠️ **高** — 化水叶片不可恢复，且易蔓延至全株 |\n| 早期信号 | 底部叶片微微发黄变透明，触感变软 |\n| 与黑腐区别 | 化水为透明水渍状，黑腐为黑色腐烂；化水常是黑腐的前兆 |\n\n### 化水严重程度分级\n\n| 级别 | 视觉表现 | 处理紧迫性 |\n|------|----------|------------|\n| 🟡 轻度 | 1-2片底部叶片微透明 | 摘除化水叶，控水通风 |\n| 🟠 中度 | 多片叶片透明软化 | 需摘除所有化水叶，检查茎部是否健康 |\n| 🔴 重度 | 大面积化水，茎部也开始软化 | 紧急砍头至健康组织，晾干后重新发根 |\n\n## 🌿 徒长（Stretching / Etiolation）\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| 可逆性 | 不可逆（需砍头） | 不可逆（需摘叶） | 不可逆（需砍头重发） |\n| 主要诱因 | 真菌感染 | 水多+不通风 | 光照不足 |\n| 季节高发 | 夏季闷热 | 梅雨/冬季闷湿 | 冬季室内 |\n\n## 📊 置信度说明\n\n| 置信度区间 | 可靠性 | 说明 |\n|------------|--------|------|\n| 80%-100% | 🟢 高 | 特征明确，状态判定可靠 |\n| 60%-79% | 🟡 中 | 部分特征可见，建议补充特写图像 |\n| <60% | 🟠 低 | 特征不典型，可能处于早期，建议持续观察 |\n\n## ⚠️ 多肉养护高危季节提醒\n\n| 季节 | 高危状态 | 原因 | 预防要点 |\n|------|----------|------|----------|\n| 🌞 夏季（6-9月） | 黑腐 | 高温高湿，真菌活跃 | 遮阴通风，严格控水，避免叶心积水 |\n| 🌧️ 梅雨季 | 化水 | 持续阴雨，空气湿度大 | 停水，移至室内，加强通风 |\n| ❄️ 冬季 | 徒长 | 室内光照不足 | 补光灯辅助，减少浇水频率 |\n| 🍂 春秋 | 相对安全 | 温度适宜，光照充足 | 正常养护，是换盆叶插的好时机 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_succulent_special_state_detection_analysis.py`](scripts/smyx_succulent_special_state_detection_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/png/mp4/avi/mov 格式，最大 10MB |\n| 🔎 使用提醒 | **拍摄要求**：高清近景为主，需看清叶片和茎基细节；整体+特写各一张效果更佳 |\n| 🔎 使用提醒 | **仅输出状态类型及置信度，不提供具体救治步骤** |\n| 🔎 使用提醒 | 黑腐和化水早期症状相似，置信度可能偏低，建议持续观察 |\n| 🔎 使用提醒 | 多肉品种繁多（景天科、百合科、仙人掌科等），不同品种表现有差异 |\n| 🔎 使用提醒 | 夏季黑腐发展极快，发现疑似症状应尽早处理 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --input /path/to/succulent.jpg\n\n# 分析网络多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --url https://example.com/succulent.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_succulent_special_state_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --output result.json\n```\n\nFile v1.0.13:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-succulent-special-state-detection-analysis\",\n  \"version\": \"1.0.13\",\n  \"publishedAt\": 1791074852910\n}\n\nFile v1.0.13:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放多肉植物特殊状态识别 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动通用 AI 分析任务（多肉植物特殊状态识别）\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` - 多肉植物特殊状态识别\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: prod\n\nFile v1.0.13:skill-card.md\n\n## Description:\n\nAnalyzes succulent images or videos for black rot, translucent leaf damage, and stretching, returning condition assessments and severity information.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nHome growers, greenhouse operators, and florists use the skill to assess succulent images or videos for visible problems and review condition reports and past results.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Plant images, videos, or submitted URLs are sent to the Life Emergence cloud service.\n\nMitigation: Submit only media you are comfortable sharing with that service.\n\nRisk: The skill automatically manages a cloud identity and associates reports with it; identity and retention practices are not explicit.\n\nMitigation: Confirm identity and report-retention practices with the publisher before using sensitive media.\n\nRisk: Service tokens are stored in the workspace data directory, and the Python import path is unsafe.\n\nMitigation: Avoid shared machines and review the installation until the publisher fixes the import path and clarifies token handling.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/18072937735/skills/smyx-succulent-special-state-detection-analysis)\n- [Succulent analysis API documentation](references/api_doc.md)\n- [Analysis API error codes](skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [Analysis, Guidance, Text]\n\n**Output Format:** [Markdown reports or JSON]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include condition confidence, severity, and links to cloud-hosted reports; historical reports can be listed.]\n\n## Skill Version(s):\n\n1.0.13 (source: ClawHub release metadata; artifact frontmatter lists 1.0.17)\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: 31 files, 40530 bytes\n\nFiles: references/api_doc.md (699b), scripts/__init__.py (61b), scripts/config.py (692b), scripts/config.yaml (3b), scripts/skill.py (579b), scripts/smyx_succulent_special_state_detection_analysis.py (3480b), skill-card.md (2264b), SKILL.md (15353b), 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 (167b)\n\nFile v1.0.12:SKILL.md\n\n---\nname: \"smyx-succulent-special-state-detection-analysis\"\ndescription: \"AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops. | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\"\nversion: \"1.0.15\"\nlicense: \"MIT-0\"\n---\n\n# 🌵 Succulent Special State Detection | 多肉植物特殊状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **多肉植物特殊状态识别** |\n| 🎯 核心目标 | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` |\n\nAI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops.\n\n通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的多肉植物健康AI。你的任务是分析多肉植物的高清图像，检测是否存在黑腐、化水、徒长等特殊异常状态，评估严重程度。不要提供具体的救治步骤，仅输出识别到的状态类型及置信度。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n通过多肉植物高清图像检测黑腐病、化水、徒长三种特殊异常状态，输出状态类型、严重程度和置信度\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 黑腐病识别（茎基/叶片变黑腐烂） |\n| 2 | 化水识别（叶片透明水渍状） |\n| 3 | 徒长识别（茎节拉长/叶片松散） |\n| 4 | 严重程度分级（轻度/中度/重度） |\n| 5 | 置信度评分 |\n| 6 | 异常部位定位 |\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.smyx_succulent_special_state_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_succulent_special_state_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\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.smyx_succulent_special_state_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看识别结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地多肉植物图像/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络多肉植物图像/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--pet-type` | 对象类型，植物场景默认 other | 按需填写 |\n| `--list` | 显示多肉特殊状态识别历史报告列表清单 | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🖤 黑腐病（Black Rot）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 茎基部或叶片出现黑色/深褐色腐烂区域，组织变软流液 |\n| 常见诱因 | 高温高湿 + 伤口感染真菌（镰刀菌等）；浇水后积水未排 |\n| 死亡风险 | ⚠️ **极高** — 从感染到整株死亡可能仅需 3-7 天 |\n| 早期信号 | 茎基部轻微发黑、底部叶片异常脱落、轻压有软感 |\n| 进展速度 | 极快，尤其在夏季闷热环境 |\n\n### 黑腐严重程度分级\n\n| 级别 | 视觉表现 | 危险程度 |\n|------|----------|----------|\n| 🟡 轻度 | 局部叶片发黑，茎部尚未变软 | 及时处理可救回 |\n| 🟠 中度 | 茎基部发黑变软，多片叶片受影响 | 需紧急砍头抢救 |\n| 🔴 重度 | 大面积腐烂，整株发黑流液 | 通常不可逆，建议取健康叶片叶插 |\n\n## 💧 化水（Etiolation / Melting）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 叶片变为半透明/水渍状，质地变软呈果冻感，轻触即破 |\n| 常见诱因 | 浇水过多 + 通风不良；低温高湿环境下更易发生 |\n| 死亡风险 | ⚠️ **高** — 化水叶片不可恢复，且易蔓延至全株 |\n| 早期信号 | 底部叶片微微发黄变透明，触感变软 |\n| 与黑腐区别 | 化水为透明水渍状，黑腐为黑色腐烂；化水常是黑腐的前兆 |\n\n### 化水严重程度分级\n\n| 级别 | 视觉表现 | 处理紧迫性 |\n|------|----------|------------|\n| 🟡 轻度 | 1-2片底部叶片微透明 | 摘除化水叶，控水通风 |\n| 🟠 中度 | 多片叶片透明软化 | 需摘除所有化水叶，检查茎部是否健康 |\n| 🔴 重度 | 大面积化水，茎部也开始软化 | 紧急砍头至健康组织，晾干后重新发根 |\n\n## 🌿 徒长（Stretching / Etiolation）\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| 可逆性 | 不可逆（需砍头） | 不可逆（需摘叶） | 不可逆（需砍头重发） |\n| 主要诱因 | 真菌感染 | 水多+不通风 | 光照不足 |\n| 季节高发 | 夏季闷热 | 梅雨/冬季闷湿 | 冬季室内 |\n\n## 📊 置信度说明\n\n| 置信度区间 | 可靠性 | 说明 |\n|------------|--------|------|\n| 80%-100% | 🟢 高 | 特征明确，状态判定可靠 |\n| 60%-79% | 🟡 中 | 部分特征可见，建议补充特写图像 |\n| <60% | 🟠 低 | 特征不典型，可能处于早期，建议持续观察 |\n\n## ⚠️ 多肉养护高危季节提醒\n\n| 季节 | 高危状态 | 原因 | 预防要点 |\n|------|----------|------|----------|\n| 🌞 夏季（6-9月） | 黑腐 | 高温高湿，真菌活跃 | 遮阴通风，严格控水，避免叶心积水 |\n| 🌧️ 梅雨季 | 化水 | 持续阴雨，空气湿度大 | 停水，移至室内，加强通风 |\n| ❄️ 冬季 | 徒长 | 室内光照不足 | 补光灯辅助，减少浇水频率 |\n| 🍂 春秋 | 相对安全 | 温度适宜，光照充足 | 正常养护，是换盆叶插的好时机 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_succulent_special_state_detection_analysis.py`](scripts/smyx_succulent_special_state_detection_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/png/mp4/avi/mov 格式，最大 10MB |\n| 🔎 使用提醒 | **拍摄要求**：高清近景为主，需看清叶片和茎基细节；整体+特写各一张效果更佳 |\n| 🔎 使用提醒 | **仅输出状态类型及置信度，不提供具体救治步骤** |\n| 🔎 使用提醒 | 黑腐和化水早期症状相似，置信度可能偏低，建议持续观察 |\n| 🔎 使用提醒 | 多肉品种繁多（景天科、百合科、仙人掌科等），不同品种表现有差异 |\n| 🔎 使用提醒 | 夏季黑腐发展极快，发现疑似症状应尽早处理 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --input /path/to/succulent.jpg\n\n# 分析网络多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --url https://example.com/succulent.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_succulent_special_state_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --output result.json\n```\n\nFile v1.0.12:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-succulent-special-state-detection-analysis\",\n  \"version\": \"1.0.12\",\n  \"publishedAt\": 1790262886927\n}\n\nFile v1.0.12:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放多肉植物特殊状态识别 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动通用 AI 分析任务（多肉植物特殊状态识别）\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` - 多肉植物特殊状态识别\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: prod\n\nFile v1.0.12:skill-card.md\n\n## Description:\n\nAI-powered succulent image and video analysis that detects black rot, leaf melting, and stretching, then returns anomaly type, severity, confidence, and report links.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users, plant-care operators, greenhouse staff, and developers use this skill to analyze succulent images or videos for special health states and review structured results or historical cloud reports.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Images, videos, or URLs submitted for analysis are processed by lifeemergence.com services.\n\nMitigation: Use only media and URLs that are appropriate for third-party cloud processing, and avoid confidential plant-location or operational imagery unless the service has been approved for that data.\n\nRisk: Cloud report history is tied to an internal identity and local workspace data can store account tokens.\n\nMitigation: Review the local identity and token handling before use, isolate the workspace for sensitive environments, and remove or rotate stored credentials when access should end.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/18072937735/skills/smyx-succulent-special-state-detection-analysis)\n- [Skill Demo](https://lifeemergence.com/sample.html)\n- [API Interface Documentation](references/api_doc.md)\n- [Common Analysis API Documentation](skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, JSON, Guidance]\n\n**Output Format:** [Markdown text with JSON-style structured analysis results and report links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Can save output to a file and can list cloud report history for the resolved internal identity.]\n\n## Skill Version(s):\n\n1.0.12 (source: server release metadata; artifact frontmatter states 1.0.15)\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: 31 files, 40633 bytes\n\nFiles: references/api_doc.md (699b), scripts/__init__.py (61b), scripts/config.py (692b), scripts/config.yaml (3b), scripts/skill.py (579b), scripts/smyx_succulent_special_state_detection_analysis.py (3480b), skill-card.md (2584b), SKILL.md (15353b), 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 (167b)\n\nFile v1.0.11:SKILL.md\n\n---\nname: \"smyx-succulent-special-state-detection-analysis\"\ndescription: \"AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops. | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\"\nversion: \"1.0.14\"\nlicense: \"MIT-0\"\n---\n\n# 🌵 Succulent Special State Detection | 多肉植物特殊状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **多肉植物特殊状态识别** |\n| 🎯 核心目标 | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` |\n\nAI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops.\n\n通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的多肉植物健康AI。你的任务是分析多肉植物的高清图像，检测是否存在黑腐、化水、徒长等特殊异常状态，评估严重程度。不要提供具体的救治步骤，仅输出识别到的状态类型及置信度。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n通过多肉植物高清图像检测黑腐病、化水、徒长三种特殊异常状态，输出状态类型、严重程度和置信度\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 黑腐病识别（茎基/叶片变黑腐烂） |\n| 2 | 化水识别（叶片透明水渍状） |\n| 3 | 徒长识别（茎节拉长/叶片松散） |\n| 4 | 严重程度分级（轻度/中度/重度） |\n| 5 | 置信度评分 |\n| 6 | 异常部位定位 |\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.smyx_succulent_special_state_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_succulent_special_state_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\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.smyx_succulent_special_state_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看识别结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地多肉植物图像/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络多肉植物图像/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--pet-type` | 对象类型，植物场景默认 other | 按需填写 |\n| `--list` | 显示多肉特殊状态识别历史报告列表清单 | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🖤 黑腐病（Black Rot）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 茎基部或叶片出现黑色/深褐色腐烂区域，组织变软流液 |\n| 常见诱因 | 高温高湿 + 伤口感染真菌（镰刀菌等）；浇水后积水未排 |\n| 死亡风险 | ⚠️ **极高** — 从感染到整株死亡可能仅需 3-7 天 |\n| 早期信号 | 茎基部轻微发黑、底部叶片异常脱落、轻压有软感 |\n| 进展速度 | 极快，尤其在夏季闷热环境 |\n\n### 黑腐严重程度分级\n\n| 级别 | 视觉表现 | 危险程度 |\n|------|----------|----------|\n| 🟡 轻度 | 局部叶片发黑，茎部尚未变软 | 及时处理可救回 |\n| 🟠 中度 | 茎基部发黑变软，多片叶片受影响 | 需紧急砍头抢救 |\n| 🔴 重度 | 大面积腐烂，整株发黑流液 | 通常不可逆，建议取健康叶片叶插 |\n\n## 💧 化水（Etiolation / Melting）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 叶片变为半透明/水渍状，质地变软呈果冻感，轻触即破 |\n| 常见诱因 | 浇水过多 + 通风不良；低温高湿环境下更易发生 |\n| 死亡风险 | ⚠️ **高** — 化水叶片不可恢复，且易蔓延至全株 |\n| 早期信号 | 底部叶片微微发黄变透明，触感变软 |\n| 与黑腐区别 | 化水为透明水渍状，黑腐为黑色腐烂；化水常是黑腐的前兆 |\n\n### 化水严重程度分级\n\n| 级别 | 视觉表现 | 处理紧迫性 |\n|------|----------|------------|\n| 🟡 轻度 | 1-2片底部叶片微透明 | 摘除化水叶，控水通风 |\n| 🟠 中度 | 多片叶片透明软化 | 需摘除所有化水叶，检查茎部是否健康 |\n| 🔴 重度 | 大面积化水，茎部也开始软化 | 紧急砍头至健康组织，晾干后重新发根 |\n\n## 🌿 徒长（Stretching / Etiolation）\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| 可逆性 | 不可逆（需砍头） | 不可逆（需摘叶） | 不可逆（需砍头重发） |\n| 主要诱因 | 真菌感染 | 水多+不通风 | 光照不足 |\n| 季节高发 | 夏季闷热 | 梅雨/冬季闷湿 | 冬季室内 |\n\n## 📊 置信度说明\n\n| 置信度区间 | 可靠性 | 说明 |\n|------------|--------|------|\n| 80%-100% | 🟢 高 | 特征明确，状态判定可靠 |\n| 60%-79% | 🟡 中 | 部分特征可见，建议补充特写图像 |\n| <60% | 🟠 低 | 特征不典型，可能处于早期，建议持续观察 |\n\n## ⚠️ 多肉养护高危季节提醒\n\n| 季节 | 高危状态 | 原因 | 预防要点 |\n|------|----------|------|----------|\n| 🌞 夏季（6-9月） | 黑腐 | 高温高湿，真菌活跃 | 遮阴通风，严格控水，避免叶心积水 |\n| 🌧️ 梅雨季 | 化水 | 持续阴雨，空气湿度大 | 停水，移至室内，加强通风 |\n| ❄️ 冬季 | 徒长 | 室内光照不足 | 补光灯辅助，减少浇水频率 |\n| 🍂 春秋 | 相对安全 | 温度适宜，光照充足 | 正常养护，是换盆叶插的好时机 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_succulent_special_state_detection_analysis.py`](scripts/smyx_succulent_special_state_detection_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/png/mp4/avi/mov 格式，最大 10MB |\n| 🔎 使用提醒 | **拍摄要求**：高清近景为主，需看清叶片和茎基细节；整体+特写各一张效果更佳 |\n| 🔎 使用提醒 | **仅输出状态类型及置信度，不提供具体救治步骤** |\n| 🔎 使用提醒 | 黑腐和化水早期症状相似，置信度可能偏低，建议持续观察 |\n| 🔎 使用提醒 | 多肉品种繁多（景天科、百合科、仙人掌科等），不同品种表现有差异 |\n| 🔎 使用提醒 | 夏季黑腐发展极快，发现疑似症状应尽早处理 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --input /path/to/succulent.jpg\n\n# 分析网络多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --url https://example.com/succulent.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_succulent_special_state_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --output result.json\n```\n\nFile v1.0.11:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-succulent-special-state-detection-analysis\",\n  \"version\": \"1.0.11\",\n  \"publishedAt\": 1788907949661\n}\n\nFile v1.0.11:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放多肉植物特殊状态识别 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动通用 AI 分析任务（多肉植物特殊状态识别）\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` - 多肉植物特殊状态识别\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\nDetects black rot, melting or translucent leaves, and stretching in succulent plant images or videos, returning structured state, severity, confidence, and report information for plant-care review.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and plant-care operators use this skill to analyze succulent photos or videos for black rot, melting, and stretching indicators, then review structured status, severity, confidence, and report links. It is intended for home succulent care, succulent greenhouses, and flower shops.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill uploads plant images or videos to a cloud service and can query cloud report history.\n\nMitigation: Do not use sensitive photos, videos, or account contexts until the publisher explains data retention, deletion, and report-history access behavior.\n\nRisk: The skill silently creates or reuses an internal identity and stores service tokens in a local SQLite database.\n\nMitigation: Review the identity flow and local token storage before installation, and run only in workspaces where local credential persistence is acceptable.\n\nRisk: The security scan reports insecure network and debug defaults.\n\nMitigation: Confirm the installed package uses HTTPS-only production endpoints and verify credential destinations before using real media or accounts.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/18072937735/skills/smyx-succulent-special-state-detection-analysis)\n- [Skill Demo](https://lifeemergence.com/sample.html)\n- [API Documentation](artifact/references/api_doc.md)\n- [Analysis API Documentation](artifact/skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, json, shell commands, configuration]\n\n**Output Format:** [Markdown or JSON analysis output with structured state, severity, confidence, historical report records, and report links.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Supports local media paths, public media URLs, optional output files, and report-history queries.]\n\n## Skill Version(s):\n\n1.0.11 (source: server release evidence)\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: 31 files, 40556 bytes\n\nFiles: references/api_doc.md (699b), scripts/__init__.py (61b), scripts/config.py (692b), scripts/config.yaml (3b), scripts/skill.py (579b), scripts/smyx_succulent_special_state_detection_analysis.py (3480b), skill-card.md (2332b), SKILL.md (15353b), 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 (167b)\n\nFile v1.0.10:SKILL.md\n\n---\nname: \"smyx-succulent-special-state-detection-analysis\"\ndescription: \"AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops. | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\"\nversion: \"1.0.12\"\nlicense: \"MIT-0\"\n---\n\n# 🌵 Succulent Special State Detection | 多肉植物特殊状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **多肉植物特殊状态识别** |\n| 🎯 核心目标 | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` |\n\nAI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops.\n\n通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的多肉植物健康AI。你的任务是分析多肉植物的高清图像，检测是否存在黑腐、化水、徒长等特殊异常状态，评估严重程度。不要提供具体的救治步骤，仅输出识别到的状态类型及置信度。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n通过多肉植物高清图像检测黑腐病、化水、徒长三种特殊异常状态，输出状态类型、严重程度和置信度\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 黑腐病识别（茎基/叶片变黑腐烂） |\n| 2 | 化水识别（叶片透明水渍状） |\n| 3 | 徒长识别（茎节拉长/叶片松散） |\n| 4 | 严重程度分级（轻度/中度/重度） |\n| 5 | 置信度评分 |\n| 6 | 异常部位定位 |\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.smyx_succulent_special_state_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_succulent_special_state_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\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.smyx_succulent_special_state_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看识别结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地多肉植物图像/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络多肉植物图像/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--pet-type` | 对象类型，植物场景默认 other | 按需填写 |\n| `--list` | 显示多肉特殊状态识别历史报告列表清单 | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🖤 黑腐病（Black Rot）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 茎基部或叶片出现黑色/深褐色腐烂区域，组织变软流液 |\n| 常见诱因 | 高温高湿 + 伤口感染真菌（镰刀菌等）；浇水后积水未排 |\n| 死亡风险 | ⚠️ **极高** — 从感染到整株死亡可能仅需 3-7 天 |\n| 早期信号 | 茎基部轻微发黑、底部叶片异常脱落、轻压有软感 |\n| 进展速度 | 极快，尤其在夏季闷热环境 |\n\n### 黑腐严重程度分级\n\n| 级别 | 视觉表现 | 危险程度 |\n|------|----------|----------|\n| 🟡 轻度 | 局部叶片发黑，茎部尚未变软 | 及时处理可救回 |\n| 🟠 中度 | 茎基部发黑变软，多片叶片受影响 | 需紧急砍头抢救 |\n| 🔴 重度 | 大面积腐烂，整株发黑流液 | 通常不可逆，建议取健康叶片叶插 |\n\n## 💧 化水（Etiolation / Melting）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 叶片变为半透明/水渍状，质地变软呈果冻感，轻触即破 |\n| 常见诱因 | 浇水过多 + 通风不良；低温高湿环境下更易发生 |\n| 死亡风险 | ⚠️ **高** — 化水叶片不可恢复，且易蔓延至全株 |\n| 早期信号 | 底部叶片微微发黄变透明，触感变软 |\n| 与黑腐区别 | 化水为透明水渍状，黑腐为黑色腐烂；化水常是黑腐的前兆 |\n\n### 化水严重程度分级\n\n| 级别 | 视觉表现 | 处理紧迫性 |\n|------|----------|------------|\n| 🟡 轻度 | 1-2片底部叶片微透明 | 摘除化水叶，控水通风 |\n| 🟠 中度 | 多片叶片透明软化 | 需摘除所有化水叶，检查茎部是否健康 |\n| 🔴 重度 | 大面积化水，茎部也开始软化 | 紧急砍头至健康组织，晾干后重新发根 |\n\n## 🌿 徒长（Stretching / Etiolation）\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| 可逆性 | 不可逆（需砍头） | 不可逆（需摘叶） | 不可逆（需砍头重发） |\n| 主要诱因 | 真菌感染 | 水多+不通风 | 光照不足 |\n| 季节高发 | 夏季闷热 | 梅雨/冬季闷湿 | 冬季室内 |\n\n## 📊 置信度说明\n\n| 置信度区间 | 可靠性 | 说明 |\n|------------|--------|------|\n| 80%-100% | 🟢 高 | 特征明确，状态判定可靠 |\n| 60%-79% | 🟡 中 | 部分特征可见，建议补充特写图像 |\n| <60% | 🟠 低 | 特征不典型，可能处于早期，建议持续观察 |\n\n## ⚠️ 多肉养护高危季节提醒\n\n| 季节 | 高危状态 | 原因 | 预防要点 |\n|------|----------|------|----------|\n| 🌞 夏季（6-9月） | 黑腐 | 高温高湿，真菌活跃 | 遮阴通风，严格控水，避免叶心积水 |\n| 🌧️ 梅雨季 | 化水 | 持续阴雨，空气湿度大 | 停水，移至室内，加强通风 |\n| ❄️ 冬季 | 徒长 | 室内光照不足 | 补光灯辅助，减少浇水频率 |\n| 🍂 春秋 | 相对安全 | 温度适宜，光照充足 | 正常养护，是换盆叶插的好时机 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_succulent_special_state_detection_analysis.py`](scripts/smyx_succulent_special_state_detection_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/png/mp4/avi/mov 格式，最大 10MB |\n| 🔎 使用提醒 | **拍摄要求**：高清近景为主，需看清叶片和茎基细节；整体+特写各一张效果更佳 |\n| 🔎 使用提醒 | **仅输出状态类型及置信度，不提供具体救治步骤** |\n| 🔎 使用提醒 | 黑腐和化水早期症状相似，置信度可能偏低，建议持续观察 |\n| 🔎 使用提醒 | 多肉品种繁多（景天科、百合科、仙人掌科等），不同品种表现有差异 |\n| 🔎 使用提醒 | 夏季黑腐发展极快，发现疑似症状应尽早处理 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --input /path/to/succulent.jpg\n\n# 分析网络多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --url https://example.com/succulent.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_succulent_special_state_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --output result.json\n```\n\nFile v1.0.10:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-succulent-special-state-detection-analysis\",\n  \"version\": \"1.0.10\",\n  \"publishedAt\": 1787939668687\n}\n\nFile v1.0.10:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放多肉植物特殊状态识别 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动通用 AI 分析任务（多肉植物特殊状态识别）\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` - 多肉植物特殊状态识别\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: dev\n\nFile v1.0.10:skill-card.md\n\n## Description:\n\nDetects black rot, melting, and stretching in succulent images or videos, returning structured state, severity, confidence, and report-link results.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users such as home succulent growers, greenhouse operators, and flower shop staff use this skill to analyze succulent media for black rot, melting, and stretching signals. Agents can also query cloud report history and present structured findings, confidence, severity, and report links.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Plant images, videos, and report-history requests may be sent to external services.\n\nMitigation: Review configured service endpoints before installation and use only media approved for external processing.\n\nRisk: The skill silently creates or reuses a local identity and stores token material in local data storage.\n\nMitigation: Treat the local data directory and SQLite database as sensitive, restrict access, and clear stored credentials when needed.\n\nRisk: Bundled configuration may select development 192.168.1.234 endpoints.\n\nMitigation: Check or replace bundled configuration with approved production endpoints before running the skill.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-succulent-special-state-detection-analysis)\n- [API interface documentation](references/api_doc.md)\n- [Analysis API documentation](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, guidance]\n\n**Output Format:** [Markdown and JSON text, with report links when returned by the API]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include cloud history records and report export URLs.]\n\n## Skill Version(s):\n\n1.0.10 (source: server release evidence; artifact frontmatter states 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: 31 files, 40664 bytes\n\nFiles: references/api_doc.md (699b), scripts/__init__.py (61b), scripts/config.py (692b), scripts/config.yaml (3b), scripts/skill.py (579b), scripts/smyx_succulent_special_state_detection_analysis.py (3480b), skill-card.md (2593b), SKILL.md (15353b), 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 (166b)\n\nFile v1.0.9:SKILL.md\n\n---\nname: \"smyx-succulent-special-state-detection-analysis\"\ndescription: \"AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops. | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\"\nversion: \"1.0.10\"\nlicense: \"MIT-0\"\n---\n\n# 🌵 Succulent Special State Detection | 多肉植物特殊状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **多肉植物特殊状态识别** |\n| 🎯 核心目标 | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` |\n\nAI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops.\n\n通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的多肉植物健康AI。你的任务是分析多肉植物的高清图像，检测是否存在黑腐、化水、徒长等特殊异常状态，评估严重程度。不要提供具体的救治步骤，仅输出识别到的状态类型及置信度。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n通过多肉植物高清图像检测黑腐病、化水、徒长三种特殊异常状态，输出状态类型、严重程度和置信度\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 黑腐病识别（茎基/叶片变黑腐烂） |\n| 2 | 化水识别（叶片透明水渍状） |\n| 3 | 徒长识别（茎节拉长/叶片松散） |\n| 4 | 严重程度分级（轻度/中度/重度） |\n| 5 | 置信度评分 |\n| 6 | 异常部位定位 |\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.smyx_succulent_special_state_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_succulent_special_state_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\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.smyx_succulent_special_state_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看识别结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地多肉植物图像/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络多肉植物图像/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--pet-type` | 对象类型，植物场景默认 other | 按需填写 |\n| `--list` | 显示多肉特殊状态识别历史报告列表清单 | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🖤 黑腐病（Black Rot）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 茎基部或叶片出现黑色/深褐色腐烂区域，组织变软流液 |\n| 常见诱因 | 高温高湿 + 伤口感染真菌（镰刀菌等）；浇水后积水未排 |\n| 死亡风险 | ⚠️ **极高** — 从感染到整株死亡可能仅需 3-7 天 |\n| 早期信号 | 茎基部轻微发黑、底部叶片异常脱落、轻压有软感 |\n| 进展速度 | 极快，尤其在夏季闷热环境 |\n\n### 黑腐严重程度分级\n\n| 级别 | 视觉表现 | 危险程度 |\n|------|----------|----------|\n| 🟡 轻度 | 局部叶片发黑，茎部尚未变软 | 及时处理可救回 |\n| 🟠 中度 | 茎基部发黑变软，多片叶片受影响 | 需紧急砍头抢救 |\n| 🔴 重度 | 大面积腐烂，整株发黑流液 | 通常不可逆，建议取健康叶片叶插 |\n\n## 💧 化水（Etiolation / Melting）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 叶片变为半透明/水渍状，质地变软呈果冻感，轻触即破 |\n| 常见诱因 | 浇水过多 + 通风不良；低温高湿环境下更易发生 |\n| 死亡风险 | ⚠️ **高** — 化水叶片不可恢复，且易蔓延至全株 |\n| 早期信号 | 底部叶片微微发黄变透明，触感变软 |\n| 与黑腐区别 | 化水为透明水渍状，黑腐为黑色腐烂；化水常是黑腐的前兆 |\n\n### 化水严重程度分级\n\n| 级别 | 视觉表现 | 处理紧迫性 |\n|------|----------|------------|\n| 🟡 轻度 | 1-2片底部叶片微透明 | 摘除化水叶，控水通风 |\n| 🟠 中度 | 多片叶片透明软化 | 需摘除所有化水叶，检查茎部是否健康 |\n| 🔴 重度 | 大面积化水，茎部也开始软化 | 紧急砍头至健康组织，晾干后重新发根 |\n\n## 🌿 徒长（Stretching / Etiolation）\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| 可逆性 | 不可逆（需砍头） | 不可逆（需摘叶） | 不可逆（需砍头重发） |\n| 主要诱因 | 真菌感染 | 水多+不通风 | 光照不足 |\n| 季节高发 | 夏季闷热 | 梅雨/冬季闷湿 | 冬季室内 |\n\n## 📊 置信度说明\n\n| 置信度区间 | 可靠性 | 说明 |\n|------------|--------|------|\n| 80%-100% | 🟢 高 | 特征明确，状态判定可靠 |\n| 60%-79% | 🟡 中 | 部分特征可见，建议补充特写图像 |\n| <60% | 🟠 低 | 特征不典型，可能处于早期，建议持续观察 |\n\n## ⚠️ 多肉养护高危季节提醒\n\n| 季节 | 高危状态 | 原因 | 预防要点 |\n|------|----------|------|----------|\n| 🌞 夏季（6-9月） | 黑腐 | 高温高湿，真菌活跃 | 遮阴通风，严格控水，避免叶心积水 |\n| 🌧️ 梅雨季 | 化水 | 持续阴雨，空气湿度大 | 停水，移至室内，加强通风 |\n| ❄️ 冬季 | 徒长 | 室内光照不足 | 补光灯辅助，减少浇水频率 |\n| 🍂 春秋 | 相对安全 | 温度适宜，光照充足 | 正常养护，是换盆叶插的好时机 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_succulent_special_state_detection_analysis.py`](scripts/smyx_succulent_special_state_detection_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/png/mp4/avi/mov 格式，最大 10MB |\n| 🔎 使用提醒 | **拍摄要求**：高清近景为主，需看清叶片和茎基细节；整体+特写各一张效果更佳 |\n| 🔎 使用提醒 | **仅输出状态类型及置信度，不提供具体救治步骤** |\n| 🔎 使用提醒 | 黑腐和化水早期症状相似，置信度可能偏低，建议持续观察 |\n| 🔎 使用提醒 | 多肉品种繁多（景天科、百合科、仙人掌科等），不同品种表现有差异 |\n| 🔎 使用提醒 | 夏季黑腐发展极快，发现疑似症状应尽早处理 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --input /path/to/succulent.jpg\n\n# 分析网络多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --url https://example.com/succulent.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_succulent_special_state_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --output result.json\n```\n\nFile v1.0.9:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-succulent-special-state-detection-analysis\",\n  \"version\": \"1.0.9\",\n  \"publishedAt\": 1787109268869\n}\n\nFile v1.0.9:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放多肉植物特殊状态识别 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动通用 AI 分析任务（多肉植物特殊状态识别）\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` - 多肉植物特殊状态识别\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: dev\n\nFile v1.0.9:skill-card.md\n\n## Description:\n\nDetects black rot, water-soaked leaf melting, and stretching in succulent plant images or videos, then returns the detected condition, severity, confidence, and report output.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users, growers, greenhouse operators, and flower shop staff can use this skill to analyze succulent photos or videos for black rot, melting, and stretching. The skill supports image or video submissions, URL-based inputs, and cloud history lookups for previous reports.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Plant images, videos, or media URLs may be sent to a configured cloud analysis service.\n\nMitigation: Use non-sensitive media, avoid private URLs, and confirm endpoint configuration and retention expectations before deployment.\n\nRisk: Cloud history is associated with an internal identity and local workspace data may retain user or token information.\n\nMitigation: Run only in trusted workspaces, restrict shared access, and protect or clear local data stores according to policy.\n\nRisk: The authoritative security scan verdict is suspicious due to silent identity use, local token storage, media transfer to a cloud API, and automatic cloud history queries.\n\nMitigation: Install only after reviewing the publisher, service configuration, token handling, and whether automatic history lookup is acceptable for the target environment.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-succulent-special-state-detection-analysis)\n- [Succulent special-state detection API documentation](artifact/references/api_doc.md)\n- [Shared AI analysis API 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]\n\n**Output Format:** [Markdown text with structured JSON analysis content and optional report links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May save the returned report text to a user-specified output file.]\n\n## Skill Version(s):\n\n1.0.9 (source: server release metadata; artifact frontmatter reports 1.0.10)\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: 31 files, 40628 bytes\n\nFiles: references/api_doc.md (699b), scripts/__init__.py (61b), scripts/config.py (692b), scripts/config.yaml (3b), scripts/skill.py (579b), scripts/smyx_succulent_special_state_detection_analysis.py (3480b), skill-card.md (2490b), SKILL.md (15352b), 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 (166b)\n\nFile v1.0.8:SKILL.md\n\n---\nname: \"smyx-succulent-special-state-detection-analysis\"\ndescription: \"AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops. | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\"\nversion: \"1.0.9\"\nlicense: \"MIT-0\"\n---\n\n# 🌵 Succulent Special State Detection | 多肉植物特殊状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **多肉植物特殊状态识别** |\n| 🎯 核心目标 | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` |\n\nAI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops.\n\n通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的多肉植物健康AI。你的任务是分析多肉植物的高清图像，检测是否存在黑腐、化水、徒长等特殊异常状态，评估严重程度。不要提供具体的救治步骤，仅输出识别到的状态类型及置信度。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n通过多肉植物高清图像检测黑腐病、化水、徒长三种特殊异常状态，输出状态类型、严重程度和置信度\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 黑腐病识别（茎基/叶片变黑腐烂） |\n| 2 | 化水识别（叶片透明水渍状） |\n| 3 | 徒长识别（茎节拉长/叶片松散） |\n| 4 | 严重程度分级（轻度/中度/重度） |\n| 5 | 置信度评分 |\n| 6 | 异常部位定位 |\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.smyx_succulent_special_state_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_succulent_special_state_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\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.smyx_succulent_special_state_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看识别结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地多肉植物图像/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络多肉植物图像/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--pet-type` | 对象类型，植物场景默认 other | 按需填写 |\n| `--list` | 显示多肉特殊状态识别历史报告列表清单 | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🖤 黑腐病（Black Rot）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 茎基部或叶片出现黑色/深褐色腐烂区域，组织变软流液 |\n| 常见诱因 | 高温高湿 + 伤口感染真菌（镰刀菌等）；浇水后积水未排 |\n| 死亡风险 | ⚠️ **极高** — 从感染到整株死亡可能仅需 3-7 天 |\n| 早期信号 | 茎基部轻微发黑、底部叶片异常脱落、轻压有软感 |\n| 进展速度 | 极快，尤其在夏季闷热环境 |\n\n### 黑腐严重程度分级\n\n| 级别 | 视觉表现 | 危险程度 |\n|------|----------|----------|\n| 🟡 轻度 | 局部叶片发黑，茎部尚未变软 | 及时处理可救回 |\n| 🟠 中度 | 茎基部发黑变软，多片叶片受影响 | 需紧急砍头抢救 |\n| 🔴 重度 | 大面积腐烂，整株发黑流液 | 通常不可逆，建议取健康叶片叶插 |\n\n## 💧 化水（Etiolation / Melting）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 叶片变为半透明/水渍状，质地变软呈果冻感，轻触即破 |\n| 常见诱因 | 浇水过多 + 通风不良；低温高湿环境下更易发生 |\n| 死亡风险 | ⚠️ **高** — 化水叶片不可恢复，且易蔓延至全株 |\n| 早期信号 | 底部叶片微微发黄变透明，触感变软 |\n| 与黑腐区别 | 化水为透明水渍状，黑腐为黑色腐烂；化水常是黑腐的前兆 |\n\n### 化水严重程度分级\n\n| 级别 | 视觉表现 | 处理紧迫性 |\n|------|----------|------------|\n| 🟡 轻度 | 1-2片底部叶片微透明 | 摘除化水叶，控水通风 |\n| 🟠 中度 | 多片叶片透明软化 | 需摘除所有化水叶，检查茎部是否健康 |\n| 🔴 重度 | 大面积化水，茎部也开始软化 | 紧急砍头至健康组织，晾干后重新发根 |\n\n## 🌿 徒长（Stretching / Etiolation）\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| 可逆性 | 不可逆（需砍头） | 不可逆（需摘叶） | 不可逆（需砍头重发） |\n| 主要诱因 | 真菌感染 | 水多+不通风 | 光照不足 |\n| 季节高发 | 夏季闷热 | 梅雨/冬季闷湿 | 冬季室内 |\n\n## 📊 置信度说明\n\n| 置信度区间 | 可靠性 | 说明 |\n|------------|--------|------|\n| 80%-100% | 🟢 高 | 特征明确，状态判定可靠 |\n| 60%-79% | 🟡 中 | 部分特征可见，建议补充特写图像 |\n| <60% | 🟠 低 | 特征不典型，可能处于早期，建议持续观察 |\n\n## ⚠️ 多肉养护高危季节提醒\n\n| 季节 | 高危状态 | 原因 | 预防要点 |\n|------|----------|------|----------|\n| 🌞 夏季（6-9月） | 黑腐 | 高温高湿，真菌活跃 | 遮阴通风，严格控水，避免叶心积水 |\n| 🌧️ 梅雨季 | 化水 | 持续阴雨，空气湿度大 | 停水，移至室内，加强通风 |\n| ❄️ 冬季 | 徒长 | 室内光照不足 | 补光灯辅助，减少浇水频率 |\n| 🍂 春秋 | 相对安全 | 温度适宜，光照充足 | 正常养护，是换盆叶插的好时机 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_succulent_special_state_detection_analysis.py`](scripts/smyx_succulent_special_state_detection_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/png/mp4/avi/mov 格式，最大 10MB |\n| 🔎 使用提醒 | **拍摄要求**：高清近景为主，需看清叶片和茎基细节；整体+特写各一张效果更佳 |\n| 🔎 使用提醒 | **仅输出状态类型及置信度，不提供具体救治步骤** |\n| 🔎 使用提醒 | 黑腐和化水早期症状相似，置信度可能偏低，建议持续观察 |\n| 🔎 使用提醒 | 多肉品种繁多（景天科、百合科、仙人掌科等），不同品种表现有差异 |\n| 🔎 使用提醒 | 夏季黑腐发展极快，发现疑似症状应尽早处理 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --input /path/to/succulent.jpg\n\n# 分析网络多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --url https://example.com/succulent.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_succulent_special_state_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --output result.json\n```\n\nFile v1.0.8:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-succulent-special-state-detection-analysis\",\n  \"version\": \"1.0.8\",\n  \"publishedAt\": 1786443573999\n}\n\nFile v1.0.8:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放多肉植物特殊状态识别 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动通用 AI 分析任务（多肉植物特殊状态识别）\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` - 多肉植物特殊状态识别\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:\n\nAnalyzes succulent plant images or videos to detect black rot, leaf melting, and stretching, then returns the detected condition, severity, confidence, and report link.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers can use this skill to submit succulent plant media for cloud-based special-state detection and retrieve structured findings or historical reports. It is intended for home care, greenhouse, and flower-shop workflows where early visual identification of black rot, melting, or stretching is useful.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Plant images, videos, or remote media URLs are sent to a cloud analysis service.\n\nMitigation: Use the skill only with media that is acceptable to share with the service, and avoid submitting private or sensitive imagery.\n\nRisk: The skill can create or reuse an account-linked identity and store user records or service tokens locally.\n\nMitigation: Review and protect the workspace data directory, and rotate or remove stored tokens when the skill is no longer needed.\n\nRisk: History and report features query cloud-stored analysis records.\n\nMitigation: Use history queries only when retrieving cloud-stored reports is expected, and verify that returned records belong to the intended account context.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-succulent-special-state-detection-analysis)\n- [Publisher profile](https://clawhub.ai/user/18072937735)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [API interface documentation](references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, JSON, shell commands, files, guidance]\n\n**Output Format:** [Markdown report with structured JSON content and optional saved result file]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include severity, confidence, detected condition, history entries, and report export links.]\n\n## Skill Version(s):\n\n1.0.8 (source: server release metadata; artifact frontmatter says 1.0.9)\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.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: 31 files, 40573 bytes\n\nFiles: references/api_doc.md (699b), scripts/__init__.py (61b), scripts/config.py (692b), scripts/config.yaml (3b), scripts/skill.py (579b), scripts/smyx_succulent_special_state_detection_analysis.py (3480b), skill-card.md (2345b), SKILL.md (15352b), 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 (166b)\n\nFile v1.0.7:SKILL.md\n\n---\nname: \"smyx-succulent-special-state-detection-analysis\"\ndescription: \"AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops. | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\"\nversion: \"1.0.9\"\nlicense: \"MIT-0\"\n---\n\n# 🌵 Succulent Special State Detection | 多肉植物特殊状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **多肉植物特殊状态识别** |\n| 🎯 核心目标 | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` |\n\nAI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops.\n\n通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的多肉植物健康AI。你的任务是分析多肉植物的高清图像，检测是否存在黑腐、化水、徒长等特殊异常状态，评估严重程度。不要提供具体的救治步骤，仅输出识别到的状态类型及置信度。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n通过多肉植物高清图像检测黑腐病、化水、徒长三种特殊异常状态，输出状态类型、严重程度和置信度\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 黑腐病识别（茎基/叶片变黑腐烂） |\n| 2 | 化水识别（叶片透明水渍状） |\n| 3 | 徒长识别（茎节拉长/叶片松散） |\n| 4 | 严重程度分级（轻度/中度/重度） |\n| 5 | 置信度评分 |\n| 6 | 异常部位定位 |\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.smyx_succulent_special_state_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_succulent_special_state_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\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.smyx_succulent_special_state_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看识别结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地多肉植物图像/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络多肉植物图像/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--pet-type` | 对象类型，植物场景默认 other | 按需填写 |\n| `--list` | 显示多肉特殊状态识别历史报告列表清单 | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🖤 黑腐病（Black Rot）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 茎基部或叶片出现黑色/深褐色腐烂区域，组织变软流液 |\n| 常见诱因 | 高温高湿 + 伤口感染真菌（镰刀菌等）；浇水后积水未排 |\n| 死亡风险 | ⚠️ **极高** — 从感染到整株死亡可能仅需 3-7 天 |\n| 早期信号 | 茎基部轻微发黑、底部叶片异常脱落、轻压有软感 |\n| 进展速度 | 极快，尤其在夏季闷热环境 |\n\n### 黑腐严重程度分级\n\n| 级别 | 视觉表现 | 危险程度 |\n|------|----------|----------|\n| 🟡 轻度 | 局部叶片发黑，茎部尚未变软 | 及时处理可救回 |\n| 🟠 中度 | 茎基部发黑变软，多片叶片受影响 | 需紧急砍头抢救 |\n| 🔴 重度 | 大面积腐烂，整株发黑流液 | 通常不可逆，建议取健康叶片叶插 |\n\n## 💧 化水（Etiolation / Melting）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 叶片变为半透明/水渍状，质地变软呈果冻感，轻触即破 |\n| 常见诱因 | 浇水过多 + 通风不良；低温高湿环境下更易发生 |\n| 死亡风险 | ⚠️ **高** — 化水叶片不可恢复，且易蔓延至全株 |\n| 早期信号 | 底部叶片微微发黄变透明，触感变软 |\n| 与黑腐区别 | 化水为透明水渍状，黑腐为黑色腐烂；化水常是黑腐的前兆 |\n\n### 化水严重程度分级\n\n| 级别 | 视觉表现 | 处理紧迫性 |\n|------|----------|------------|\n| 🟡 轻度 | 1-2片底部叶片微透明 | 摘除化水叶，控水通风 |\n| 🟠 中度 | 多片叶片透明软化 | 需摘除所有化水叶，检查茎部是否健康 |\n| 🔴 重度 | 大面积化水，茎部也开始软化 | 紧急砍头至健康组织，晾干后重新发根 |\n\n## 🌿 徒长（Stretching / Etiolation）\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| 可逆性 | 不可逆（需砍头） | 不可逆（需摘叶） | 不可逆（需砍头重发） |\n| 主要诱因 | 真菌感染 | 水多+不通风 | 光照不足 |\n| 季节高发 | 夏季闷热 | 梅雨/冬季闷湿 | 冬季室内 |\n\n## 📊 置信度说明\n\n| 置信度区间 | 可靠性 | 说明 |\n|------------|--------|------|\n| 80%-100% | 🟢 高 | 特征明确，状态判定可靠 |\n| 60%-79% | 🟡 中 | 部分特征可见，建议补充特写图像 |\n| <60% | 🟠 低 | 特征不典型，可能处于早期，建议持续观察 |\n\n## ⚠️ 多肉养护高危季节提醒\n\n| 季节 | 高危状态 | 原因 | 预防要点 |\n|------|----------|------|----------|\n| 🌞 夏季（6-9月） | 黑腐 | 高温高湿，真菌活跃 | 遮阴通风，严格控水，避免叶心积水 |\n| 🌧️ 梅雨季 | 化水 | 持续阴雨，空气湿度大 | 停水，移至室内，加强通风 |\n| ❄️ 冬季 | 徒长 | 室内光照不足 | 补光灯辅助，减少浇水频率 |\n| 🍂 春秋 | 相对安全 | 温度适宜，光照充足 | 正常养护，是换盆叶插的好时机 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_succulent_special_state_detection_analysis.py`](scripts/smyx_succulent_special_state_detection_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/png/mp4/avi/mov 格式，最大 10MB |\n| 🔎 使用提醒 | **拍摄要求**：高清近景为主，需看清叶片和茎基细节；整体+特写各一张效果更佳 |\n| 🔎 使用提醒 | **仅输出状态类型及置信度，不提供具体救治步骤** |\n| 🔎 使用提醒 | 黑腐和化水早期症状相似，置信度可能偏低，建议持续观察 |\n| 🔎 使用提醒 | 多肉品种繁多（景天科、百合科、仙人掌科等），不同品种表现有差异 |\n| 🔎 使用提醒 | 夏季黑腐发展极快，发现疑似症状应尽早处理 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --input /path/to/succulent.jpg\n\n# 分析网络多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --url https://example.com/succulent.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_succulent_special_state_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --output result.json\n```\n\nFile v1.0.7:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-succulent-special-state-detection-analysis\",\n  \"version\": \"1.0.7\",\n  \"publishedAt\": 1786230632247\n}\n\nFile v1.0.7:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放多肉植物特殊状态识别 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动通用 AI 分析任务（多肉植物特殊状态识别）\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` - 多肉植物特殊状态识别\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:\n\nAnalyzes HD succulent images or videos to identify black rot, melting, and stretching, then returns anomaly type, severity, confidence, and report links for growers and plant-care operators.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users, developers, and plant-care operators use this skill to submit succulent media or URLs for special-state detection and to retrieve prior cloud reports linked to the current identity.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Media and URLs are sent to external lifeemergence services for analysis.\n\nMitigation: Use the skill only with images, videos, and URLs that the user is willing to process through those cloud services.\n\nRisk: The skill may create or reuse a local account identity and store authentication tokens in the workspace data directory.\n\nMitigation: Review the workspace data directory permissions before use and clear stored identity or token data when it is no longer needed.\n\nRisk: History retrieval may fetch prior cloud reports for the resolved identity.\n\nMitigation: Confirm that the active identity is appropriate before listing reports and avoid sharing report history beyond the intended user or workspace.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/18072937735/skills/smyx-succulent-special-state-detection-analysis)\n- [API Documentation](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, configuration, guidance]\n\n**Output Format:** [Markdown or JSON analysis output with report links and optional saved result files]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Supports local file or URL inputs, history-list retrieval, and basic, standard, or JSON detail levels.]\n\n## Skill Version(s):\n\n1.0.7 (source: server release metadata; artifact frontmatter reports 1.0.9)\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.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: 31 files, 40706 bytes\n\nFiles: references/api_doc.md (699b), scripts/__init__.py (61b), scripts/config.py (692b), scripts/config.yaml (3b), scripts/skill.py (579b), scripts/smyx_succulent_special_state_detection_analysis.py (3480b), skill-card.md (2716b), SKILL.md (15352b), 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 (166b)\n\nFile v1.0.6:SKILL.md\n\n---\nname: \"smyx-succulent-special-state-detection-analysis\"\ndescription: \"AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops. | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\"\nversion: \"1.0.7\"\nlicense: \"MIT-0\"\n---\n\n# 🌵 Succulent Special State Detection | 多肉植物特殊状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **多肉植物特殊状态识别** |\n| 🎯 核心目标 | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` |\n\nAI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops.\n\n通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的多肉植物健康AI。你的任务是分析多肉植物的高清图像，检测是否存在黑腐、化水、徒长等特殊异常状态，评估严重程度。不要提供具体的救治步骤，仅输出识别到的状态类型及置信度。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n通过多肉植物高清图像检测黑腐病、化水、徒长三种特殊异常状态，输出状态类型、严重程度和置信度\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 黑腐病识别（茎基/叶片变黑腐烂） |\n| 2 | 化水识别（叶片透明水渍状） |\n| 3 | 徒长识别（茎节拉长/叶片松散） |\n| 4 | 严重程度分级（轻度/中度/重度） |\n| 5 | 置信度评分 |\n| 6 | 异常部位定位 |\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.smyx_succulent_special_state_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_succulent_special_state_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\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.smyx_succulent_special_state_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看识别结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地多肉植物图像/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络多肉植物图像/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--pet-type` | 对象类型，植物场景默认 other | 按需填写 |\n| `--list` | 显示多肉特殊状态识别历史报告列表清单 | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🖤 黑腐病（Black Rot）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 茎基部或叶片出现黑色/深褐色腐烂区域，组织变软流液 |\n| 常见诱因 | 高温高湿 + 伤口感染真菌（镰刀菌等）；浇水后积水未排 |\n| 死亡风险 | ⚠️ **极高** — 从感染到整株死亡可能仅需 3-7 天 |\n| 早期信号 | 茎基部轻微发黑、底部叶片异常脱落、轻压有软感 |\n| 进展速度 | 极快，尤其在夏季闷热环境 |\n\n### 黑腐严重程度分级\n\n| 级别 | 视觉表现 | 危险程度 |\n|------|----------|----------|\n| 🟡 轻度 | 局部叶片发黑，茎部尚未变软 | 及时处理可救回 |\n| 🟠 中度 | 茎基部发黑变软，多片叶片受影响 | 需紧急砍头抢救 |\n| 🔴 重度 | 大面积腐烂，整株发黑流液 | 通常不可逆，建议取健康叶片叶插 |\n\n## 💧 化水（Etiolation / Melting）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 叶片变为半透明/水渍状，质地变软呈果冻感，轻触即破 |\n| 常见诱因 | 浇水过多 + 通风不良；低温高湿环境下更易发生 |\n| 死亡风险 | ⚠️ **高** — 化水叶片不可恢复，且易蔓延至全株 |\n| 早期信号 | 底部叶片微微发黄变透明，触感变软 |\n| 与黑腐区别 | 化水为透明水渍状，黑腐为黑色腐烂；化水常是黑腐的前兆 |\n\n### 化水严重程度分级\n\n| 级别 | 视觉表现 | 处理紧迫性 |\n|------|----------|------------|\n| 🟡 轻度 | 1-2片底部叶片微透明 | 摘除化水叶，控水通风 |\n| 🟠 中度 | 多片叶片透明软化 | 需摘除所有化水叶，检查茎部是否健康 |\n| 🔴 重度 | 大面积化水，茎部也开始软化 | 紧急砍头至健康组织，晾干后重新发根 |\n\n## 🌿 徒长（Stretching / Etiolation）\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| 可逆性 | 不可逆（需砍头） | 不可逆（需摘叶） | 不可逆（需砍头重发） |\n| 主要诱因 | 真菌感染 | 水多+不通风 | 光照不足 |\n| 季节高发 | 夏季闷热 | 梅雨/冬季闷湿 | 冬季室内 |\n\n## 📊 置信度说明\n\n| 置信度区间 | 可靠性 | 说明 |\n|------------|--------|------|\n| 80%-100% | 🟢 高 | 特征明确，状态判定可靠 |\n| 60%-79% | 🟡 中 | 部分特征可见，建议补充特写图像 |\n| <60% | 🟠 低 | 特征不典型，可能处于早期，建议持续观察 |\n\n## ⚠️ 多肉养护高危季节提醒\n\n| 季节 | 高危状态 | 原因 | 预防要点 |\n|------|----------|------|----------|\n| 🌞 夏季（6-9月） | 黑腐 | 高温高湿，真菌活跃 | 遮阴通风，严格控水，避免叶心积水 |\n| 🌧️ 梅雨季 | 化水 | 持续阴雨，空气湿度大 | 停水，移至室内，加强通风 |\n| ❄️ 冬季 | 徒长 | 室内光照不足 | 补光灯辅助，减少浇水频率 |\n| 🍂 春秋 | 相对安全 | 温度适宜，光照充足 | 正常养护，是换盆叶插的好时机 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_succulent_special_state_detection_analysis.py`](scripts/smyx_succulent_special_state_detection_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/png/mp4/avi/mov 格式，最大 10MB |\n| 🔎 使用提醒 | **拍摄要求**：高清近景为主，需看清叶片和茎基细节；整体+特写各一张效果更佳 |\n| 🔎 使用提醒 | **仅输出状态类型及置信度，不提供具体救治步骤** |\n| 🔎 使用提醒 | 黑腐和化水早期症状相似，置信度可能偏低，建议持续观察 |\n| 🔎 使用提醒 | 多肉品种繁多（景天科、百合科、仙人掌科等），不同品种表现有差异 |\n| 🔎 使用提醒 | 夏季黑腐发展极快，发现疑似症状应尽早处理 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --input /path/to/succulent.jpg\n\n# 分析网络多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --url https://example.com/succulent.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_succulent_special_state_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --output result.json\n```\n\nFile v1.0.6:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-succulent-special-state-detection-analysis\",\n  \"version\": \"1.0.6\",\n  \"publishedAt\": 1785116314042\n}\n\nFile v1.0.6:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放多肉植物特殊状态识别 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动通用 AI 分析任务（多肉植物特殊状态识别）\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` - 多肉植物特殊状态识别\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>\nAI-powered succulent special-state detection from HD images via plant cameras or smartphones that identifies black rot, etiolation/melting, and stretching, then returns anomaly type, severity, confidence, and report information for home care, greenhouses, and flower shops. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[18072937735](https://clawhub.ai/user/18072937735) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and plant-care operators use this skill to analyze succulent images or videos for three special health states: black rot, etiolation/melting, and stretching. The skill is intended to produce structured findings, severity grading, confidence values, and links to cloud-hosted report details. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Succulent images, videos, or supplied URLs may be sent to a remote service for analysis. <br>\nMitigation: Use only media and URLs that are appropriate for third-party processing; avoid private, internal, or sensitive inputs. <br>\nRisk: The skill may create or reuse a local account identity and persist auth-like tokens in the workspace data directory. <br>\nMitigation: Review the local workspace data directory before and after use, and remove stored identity or token files when they are no longer needed. <br>\nRisk: History queries may retrieve cloud report records automatically when the user asks for prior reports. <br>\nMitigation: Run history-list commands only when cloud report retrieval is intended, and review returned report links before sharing them. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-succulent-special-state-detection-analysis) <br>\n- [API documentation](references/api_doc.md) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown text containing structured JSON-like analysis results, severity and confidence fields, report-list output, and optional report export links.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May write the same textual report to a user-supplied output file when requested.] <br>\n\n## Skill Version(s): <br>\n1.0.6 (source: server release metadata) <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\n\nArchive v1.0.5: 31 files, 40628 bytes\n\nFiles: references/api_doc.md (699b), scripts/__init__.py (61b), scripts/config.py (692b), scripts/config.yaml (3b), scripts/skill.py (579b), scripts/smyx_succulent_special_state_detection_analysis.py (3480b), skill-card.md (2599b), SKILL.md (15352b), 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 (166b)\n\nFile v1.0.5:SKILL.md\n\n---\nname: \"smyx-succulent-special-state-detection-analysis\"\ndescription: \"AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops. | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\"\nversion: \"1.0.5\"\nlicense: \"MIT-0\"\n---\n\n# 🌵 Succulent Special State Detection | 多肉植物特殊状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **多肉植物特殊状态识别** |\n| 🎯 核心目标 | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` |\n\nAI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops.\n\n通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的多肉植物健康AI。你的任务是分析多肉植物的高清图像，检测是否存在黑腐、化水、徒长等特殊异常状态，评估严重程度。不要提供具体的救治步骤，仅输出识别到的状态类型及置信度。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n通过多肉植物高清图像检测黑腐病、化水、徒长三种特殊异常状态，输出状态类型、严重程度和置信度\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 黑腐病识别（茎基/叶片变黑腐烂） |\n| 2 | 化水识别（叶片透明水渍状） |\n| 3 | 徒长识别（茎节拉长/叶片松散） |\n| 4 | 严重程度分级（轻度/中度/重度） |\n| 5 | 置信度评分 |\n| 6 | 异常部位定位 |\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.smyx_succulent_special_state_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_succulent_special_state_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\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.smyx_succulent_special_state_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看识别结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地多肉植物图像/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络多肉植物图像/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--pet-type` | 对象类型，植物场景默认 other | 按需填写 |\n| `--list` | 显示多肉特殊状态识别历史报告列表清单 | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🖤 黑腐病（Black Rot）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 茎基部或叶片出现黑色/深褐色腐烂区域，组织变软流液 |\n| 常见诱因 | 高温高湿 + 伤口感染真菌（镰刀菌等）；浇水后积水未排 |\n| 死亡风险 | ⚠️ **极高** — 从感染到整株死亡可能仅需 3-7 天 |\n| 早期信号 | 茎基部轻微发黑、底部叶片异常脱落、轻压有软感 |\n| 进展速度 | 极快，尤其在夏季闷热环境 |\n\n### 黑腐严重程度分级\n\n| 级别 | 视觉表现 | 危险程度 |\n|------|----------|----------|\n| 🟡 轻度 | 局部叶片发黑，茎部尚未变软 | 及时处理可救回 |\n| 🟠 中度 | 茎基部发黑变软，多片叶片受影响 | 需紧急砍头抢救 |\n| 🔴 重度 | 大面积腐烂，整株发黑流液 | 通常不可逆，建议取健康叶片叶插 |\n\n## 💧 化水（Etiolation / Melting）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 叶片变为半透明/水渍状，质地变软呈果冻感，轻触即破 |\n| 常见诱因 | 浇水过多 + 通风不良；低温高湿环境下更易发生 |\n| 死亡风险 | ⚠️ **高** — 化水叶片不可恢复，且易蔓延至全株 |\n| 早期信号 | 底部叶片微微发黄变透明，触感变软 |\n| 与黑腐区别 | 化水为透明水渍状，黑腐为黑色腐烂；化水常是黑腐的前兆 |\n\n### 化水严重程度分级\n\n| 级别 | 视觉表现 | 处理紧迫性 |\n|------|----------|------------|\n| 🟡 轻度 | 1-2片底部叶片微透明 | 摘除化水叶，控水通风 |\n| 🟠 中度 | 多片叶片透明软化 | 需摘除所有化水叶，检查茎部是否健康 |\n| 🔴 重度 | 大面积化水，茎部也开始软化 | 紧急砍头至健康组织，晾干后重新发根 |\n\n## 🌿 徒长（Stretching / Etiolation）\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| 可逆性 | 不可逆（需砍头） | 不可逆（需摘叶） | 不可逆（需砍头重发） |\n| 主要诱因 | 真菌感染 | 水多+不通风 | 光照不足 |\n| 季节高发 | 夏季闷热 | 梅雨/冬季闷湿 | 冬季室内 |\n\n## 📊 置信度说明\n\n| 置信度区间 | 可靠性 | 说明 |\n|------------|--------|------|\n| 80%-100% | 🟢 高 | 特征明确，状态判定可靠 |\n| 60%-79% | 🟡 中 | 部分特征可见，建议补充特写图像 |\n| <60% | 🟠 低 | 特征不典型，可能处于早期，建议持续观察 |\n\n## ⚠️ 多肉养护高危季节提醒\n\n| 季节 | 高危状态 | 原因 | 预防要点 |\n|------|----------|------|----------|\n| 🌞 夏季（6-9月） | 黑腐 | 高温高湿，真菌活跃 | 遮阴通风，严格控水，避免叶心积水 |\n| 🌧️ 梅雨季 | 化水 | 持续阴雨，空气湿度大 | 停水，移至室内，加强通风 |\n| ❄️ 冬季 | 徒长 | 室内光照不足 | 补光灯辅助，减少浇水频率 |\n| 🍂 春秋 | 相对安全 | 温度适宜，光照充足 | 正常养护，是换盆叶插的好时机 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_succulent_special_state_detection_analysis.py`](scripts/smyx_succulent_special_state_detection_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/png/mp4/avi/mov 格式，最大 10MB |\n| 🔎 使用提醒 | **拍摄要求**：高清近景为主，需看清叶片和茎基细节；整体+特写各一张效果更佳 |\n| 🔎 使用提醒 | **仅输出状态类型及置信度，不提供具体救治步骤** |\n| 🔎 使用提醒 | 黑腐和化水早期症状相似，置信度可能偏低，建议持续观察 |\n| 🔎 使用提醒 | 多肉品种繁多（景天科、百合科、仙人掌科等），不同品种表现有差异 |\n| 🔎 使用提醒 | 夏季黑腐发展极快，发现疑似症状应尽早处理 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --input /path/to/succulent.jpg\n\n# 分析网络多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --url https://example.com/succulent.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_succulent_special_state_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --output result.json\n```\n\nFile v1.0.5:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-succulent-special-state-detection-analysis\",\n  \"version\": \"1.0.5\",\n  \"publishedAt\": 1783938806655\n}\n\nFile v1.0.5:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放多肉植物特殊状态识别 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动通用 AI 分析任务（多肉植物特殊状态识别）\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` - 多肉植物特殊状态识别\n\nFile v1.0.5: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.5:scripts/config.yaml\n\n{}\n\nFile v1.0.5:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.5: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.5: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.5: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.5:skill-card.md\n\n## Description: <br>\nAI-powered succulent special-state detection from plant images or videos that identifies black rot, melting, and stretching, then reports condition type, severity, confidence, and report links. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[18072937735](https://clawhub.ai/user/18072937735) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users, growers, greenhouse operators, and shop staff use this skill to analyze succulent plant images or videos for special abnormal states and review generated analysis reports. Agents can also query prior cloud-hosted reports for the associated internal user identity. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Uploaded plant images, videos, and report-history queries are processed by LifeEmergence remote services. <br>\nMitigation: Use the skill only when that remote processing is acceptable for the workspace and avoid submitting sensitive media. <br>\nRisk: The skill can create or reuse internal identity state and store token-bearing account records with limited user control. <br>\nMitigation: Run it in a dedicated workspace where third-party skill code is allowed to consume only intended identity environment variables and local state. <br>\nRisk: The security verdict is suspicious even though no individual risk findings were listed. <br>\nMitigation: Review the skill and its remote-service behavior before deployment, and monitor any generated local account or token records. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-succulent-special-state-detection-analysis) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n- [Succulent special-state API documentation](references/api_doc.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, shell commands, guidance] <br>\n**Output Format:** [Markdown and JSON-oriented analysis text with report links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May include condition type, severity, confidence, suggested observations, historical report tables, and remote report URLs.] <br>\n\n## Skill Version(s): <br>\n1.0.5 (source: frontmatter and 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.5:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.5:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.4: 31 files, 40731 bytes\n\nFiles: references/api_doc.md (699b), scripts/__init__.py (61b), scripts/config.py (692b), scripts/config.yaml (3b), scripts/skill.py (579b), scripts/smyx_succulent_special_state_detection_analysis.py (3480b), skill-card.md (3063b), SKILL.md (15352b), 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 (166b)\n\nFile v1.0.4:SKILL.md\n\n---\nname: \"smyx-succulent-special-state-detection-analysis\"\ndescription: \"AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops. | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\"\nversion: \"1.0.5\"\nlicense: \"MIT-0\"\n---\n\n# 🌵 Succulent Special State Detection | 多肉植物特殊状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **多肉植物特殊状态识别** |\n| 🎯 核心目标 | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` |\n\nAI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops.\n\n通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的多肉植物健康AI。你的任务是分析多肉植物的高清图像，检测是否存在黑腐、化水、徒长等特殊异常状态，评估严重程度。不要提供具体的救治步骤，仅输出识别到的状态类型及置信度。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n通过多肉植物高清图像检测黑腐病、化水、徒长三种特殊异常状态，输出状态类型、严重程度和置信度\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 黑腐病识别（茎基/叶片变黑腐烂） |\n| 2 | 化水识别（叶片透明水渍状） |\n| 3 | 徒长识别（茎节拉长/叶片松散） |\n| 4 | 严重程度分级（轻度/中度/重度） |\n| 5 | 置信度评分 |\n| 6 | 异常部位定位 |\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.smyx_succulent_special_state_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_succulent_special_state_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\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.smyx_succulent_special_state_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看识别结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地多肉植物图像/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络多肉植物图像/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--pet-type` | 对象类型，植物场景默认 other | 按需填写 |\n| `--list` | 显示多肉特殊状态识别历史报告列表清单 | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🖤 黑腐病（Black Rot）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 茎基部或叶片出现黑色/深褐色腐烂区域，组织变软流液 |\n| 常见诱因 | 高温高湿 + 伤口感染真菌（镰刀菌等）；浇水后积水未排 |\n| 死亡风险 | ⚠️ **极高** — 从感染到整株死亡可能仅需 3-7 天 |\n| 早期信号 | 茎基部轻微发黑、底部叶片异常脱落、轻压有软感 |\n| 进展速度 | 极快，尤其在夏季闷热环境 |\n\n### 黑腐严重程度分级\n\n| 级别 | 视觉表现 | 危险程度 |\n|------|----------|----------|\n| 🟡 轻度 | 局部叶片发黑，茎部尚未变软 | 及时处理可救回 |\n| 🟠 中度 | 茎基部发黑变软，多片叶片受影响 | 需紧急砍头抢救 |\n| 🔴 重度 | 大面积腐烂，整株发黑流液 | 通常不可逆，建议取健康叶片叶插 |\n\n## 💧 化水（Etiolation / Melting）\n\n| 项目 | 说明 |\n|------|------|\n| 识别特征 | 叶片变为半透明/水渍状，质地变软呈果冻感，轻触即破 |\n| 常见诱因 | 浇水过多 + 通风不良；低温高湿环境下更易发生 |\n| 死亡风险 | ⚠️ **高** — 化水叶片不可恢复，且易蔓延至全株 |\n| 早期信号 | 底部叶片微微发黄变透明，触感变软 |\n| 与黑腐区别 | 化水为透明水渍状，黑腐为黑色腐烂；化水常是黑腐的前兆 |\n\n### 化水严重程度分级\n\n| 级别 | 视觉表现 | 处理紧迫性 |\n|------|----------|------------|\n| 🟡 轻度 | 1-2片底部叶片微透明 | 摘除化水叶，控水通风 |\n| 🟠 中度 | 多片叶片透明软化 | 需摘除所有化水叶，检查茎部是否健康 |\n| 🔴 重度 | 大面积化水，茎部也开始软化 | 紧急砍头至健康组织，晾干后重新发根 |\n\n## 🌿 徒长（Stretching / Etiolation）\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| 可逆性 | 不可逆（需砍头） | 不可逆（需摘叶） | 不可逆（需砍头重发） |\n| 主要诱因 | 真菌感染 | 水多+不通风 | 光照不足 |\n| 季节高发 | 夏季闷热 | 梅雨/冬季闷湿 | 冬季室内 |\n\n## 📊 置信度说明\n\n| 置信度区间 | 可靠性 | 说明 |\n|------------|--------|------|\n| 80%-100% | 🟢 高 | 特征明确，状态判定可靠 |\n| 60%-79% | 🟡 中 | 部分特征可见，建议补充特写图像 |\n| <60% | 🟠 低 | 特征不典型，可能处于早期，建议持续观察 |\n\n## ⚠️ 多肉养护高危季节提醒\n\n| 季节 | 高危状态 | 原因 | 预防要点 |\n|------|----------|------|----------|\n| 🌞 夏季（6-9月） | 黑腐 | 高温高湿，真菌活跃 | 遮阴通风，严格控水，避免叶心积水 |\n| 🌧️ 梅雨季 | 化水 | 持续阴雨，空气湿度大 | 停水，移至室内，加强通风 |\n| ❄️ 冬季 | 徒长 | 室内光照不足 | 补光灯辅助，减少浇水频率 |\n| 🍂 春秋 | 相对安全 | 温度适宜，光照充足 | 正常养护，是换盆叶插的好时机 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_succulent_special_state_detection_analysis.py`](scripts/smyx_succulent_special_state_detection_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/png/mp4/avi/mov 格式，最大 10MB |\n| 🔎 使用提醒 | **拍摄要求**：高清近景为主，需看清叶片和茎基细节；整体+特写各一张效果更佳 |\n| 🔎 使用提醒 | **仅输出状态类型及置信度，不提供具体救治步骤** |\n| 🔎 使用提醒 | 黑腐和化水早期症状相似，置信度可能偏低，建议持续观察 |\n| 🔎 使用提醒 | 多肉品种繁多（景天科、百合科、仙人掌科等），不同品种表现有差异 |\n| 🔎 使用提醒 | 夏季黑腐发展极快，发现疑似症状应尽早处理 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --input /path/to/succulent.jpg\n\n# 分析网络多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --url https://example.com/succulent.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_succulent_special_state_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --output result.json\n```\n\nFile v1.0.4:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-succulent-special-state-detection-analysis\",\n  \"version\": \"1.0.4\",\n  \"publishedAt\": 1783351111436\n}\n\nFile v1.0.4:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放多肉植物特殊状态识别 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动通用 AI 分析任务（多肉植物特殊状态识别）\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` - 多肉植物特殊状态识别\n\nFile v1.0.4: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.4:scripts/config.yaml\n\n{}\n\nFile v1.0.4:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.4: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.4: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.4: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.4:skill-card.md\n\n## Description: <br>\nDetects black rot, leaf melting, and stretching in succulent images or videos, returning anomaly type, severity, confidence, and report links through a remote analysis service. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[18072937735](https://clawhub.ai/user/18072937735) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and developers use this skill to analyze succulent plant photos or videos for special health states such as black rot, transparent water-soaked leaves, and stretching. The skill is suited for home succulent care, greenhouse operations, and flower shop monitoring where structured detection output and report history are useful. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Plant photos, videos, or media URLs are sent to the configured remote analysis service. <br>\nMitigation: Use only non-sensitive plant media and avoid uploading files or URLs that should not leave the workspace. <br>\nRisk: The skill may create or reuse an account-linked identity and authenticate with the remote service without asking the user for an identity value. <br>\nMitigation: Run only in workspaces where this identity behavior is acceptable, and review workspace identity files before use. <br>\nRisk: Tokens may be stored locally in the shared workspace data store. <br>\nMitigation: Protect access to data/smyx-api-key.txt and the shared SQLite database, and avoid installing in workspaces containing credentials that should not be used by this skill. <br>\nRisk: History-list queries retrieve cloud report records associated with the resolved identity. <br>\nMitigation: Use the history feature only when cloud report retrieval is expected for the active workspace identity. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-succulent-special-state-detection-analysis) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n- [Succulent special state detection API documentation](references/api_doc.md) <br>\n- [Shared analysis API documentation](skills/smyx_analysis/references/api_doc.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, json, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown and JSON analysis reports, report-history lists, shell command examples, and optional saved text output.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Analysis accepts local image or video paths and public URLs; documented media formats include jpg, png, mp4, avi, and mov with a 10 MB limit.] <br>\n\n## Skill Version(s): <br>\n1.0.4 (source: server release metadata; artifact frontmatter reports 1.0.5) <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.4:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.4:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3","readmeExcerpt":"Skill: Succulent Special State Detection | 多肉植物特殊状态识别 Owner: 18072937735 Summary: AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outp","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"python -m scripts.smyx_succulent_special_state_detection_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --input /path/to/succulent.jpg\n\n# 分析网络多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --url https://example.com/succulent.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_succulent_special_state_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --output result.json"},{"language":"bash","snippet":"python -m scripts.smyx_succulent_special_state_detection_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --input /path/to/succulent.jpg\n\n# 分析网络多肉图像\npython -m scripts.smyx_succulent_special_state_detection_analysis --url https://example.com/succulent.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_succulent_special_state_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_succulent_special_state_detection_analysis --input succulent.jpg --output result.json"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: \"smyx-succulent-special-state-detection-analysis\"\ndescription: \"AI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops. | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\"\nversion: \"1.0.17\"\nlicense: \"MIT-0\"\n---\n\n# 🌵 Succulent Special State Detection | 多肉植物特殊状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **多肉植物特殊状态识别** |\n| 🎯 核心目标 | 通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` |\n\nAI-powered succulent special-state detection from HD images via plant cameras or smartphones. Identifies three critical conditions—black rot (stem base or leaves turning black and mushy), etiolation/melting (leaves becoming translucent and water-soaked), and stretching (elongated internodes, widened leaf spacing, loose rosette)—and outputs the anomaly type with severity grading, enabling early intervention such as beheading, water restriction, or increased light. Scenarios: home succulent care, succulent greenhouses, flower shops.\n\n通过多肉种植摄像头或手机拍摄的高清图像，利用AI视觉分析技术识别多肉植物的三种常见异常状态：黑腐病（茎基部或叶片变黑、腐烂）、化水（叶片透明化、水渍状）、徒长（茎节拉长、叶片间距增大、形态松散）。输出对应的异常状态类型及严重程度，帮助种植者及时采取处理措施（如砍头、控水、增加光照）。应用场景：多肉植物家庭养护、多肉大棚、花店。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的多肉植物健康AI。你的任务是分析多肉植物的高清图像，检测是否存在黑腐、化水、徒长等特殊异常状态，评估严重程度。不要提供具体的救治步骤，仅输出识别到的状态类型及置信度。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n通过多肉植物高清图像检测黑腐病、化水、徒长三种特殊异常状态，输出状态类型、严重程度和置信度\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 黑腐病识别（茎基/叶片变黑腐烂） |\n| 2 | 化水识别（叶片透明水渍状） |\n| 3 | 徒长识别（茎节拉长/叶片松散） |\n| 4 | 严重程度分级（轻度/中度/重度） |\n| 5 | 置信度评分 |\n| 6 | 异常部位定位 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供多肉植物图像或视频需要分析时，默认触发本技能进行特殊状态识别 |\n| 🔎 明确分析意图 | 当用户明确需要多肉状态检测时，提及黑腐、化水、徒长、多肉变黑、多肉透明、多肉长歪等关键词，并且上传了图像或视频文件 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史多肉状态报告、历史黑腐检测报告、多肉报告清单、显示所有状态报告、查询多肉健康记录 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-succulent-special-state-detection-analysis\",\n  \"version\": \"1.0.13\",\n  \"publishedAt\": 1791074852910\n}"},{"path":"references/api_doc.md","content":"# API 接口文档\n\n此处用于存放多肉植物特殊状态识别 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动通用 AI 分析任务（多肉植物特殊状态识别）\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `SMYX_SUCCULENT_SPECIAL_STATE_DETECTION_ANALYSIS` - 多肉植物特殊状态识别"},{"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":"{}"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":null,"editorialQuality":{"score":100,"threshold":65,"status":"thin","wordCount":930,"uniquenessScore":42,"reasons":["uniqueness-below-45"]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T23:43:17.907Z","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-09T23:43:17.907Z","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-10T07:59:37.486Z","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"}]}}}