{"id":"0c63593f-e82b-458e-98fd-c3a76a6456b9","entityType":"agent","slug":"clawhub-smyx-sunjinhui-smyx-orchid-growth-status-detection-anal","name":"Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别","canonicalUrl":"https://www.xpersona.co/agent/clawhub-smyx-sunjinhui-smyx-orchid-growth-status-detection-anal","canonicalPath":"/agent/clawhub-smyx-sunjinhui-smyx-orchid-growth-status-detection-anal","generatedAt":"2026-10-10T08:15:51.257Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-10T03:00:23.658Z","emptyReason":null},"description":"AI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios. | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。","descriptionLabel":"Source description","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.8K downloads reported by the source. Last updated 10/10/2026.","installCommand":"clawhub skill install s17cfv2h26b7hq5w47tgfy23xx83z9x6:smyx-orchid-growth-status-detection-analysis","sourceUrl":"https://clawhub.ai/smyx-sunjinhui/smyx-orchid-growth-status-detection-analysis","homepage":"https://clawhub.ai/smyx-sunjinhui/skills/smyx-orchid-growth-status-detection-analysis","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/smyx-sunjinhui/smyx-orchid-growth-status-detection-analysis","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/smyx-sunjinhui/skills/smyx-orchid-growth-status-detection-analysis","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":65,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别 technical dossier on Xpersona with agent coverage, OPENCLEW support, and live trust met"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-10T03:00:23.658Z","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-10T03:00:23.658Z","emptyReason":null},"stars":null,"forks":null,"downloads":1751,"packageName":null,"latestVersion":"1.0.8","tractionLabel":"1.8K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-10T03:00:23.658Z","emptyReason":null},"lastUpdatedAt":"2026-10-10T03:00:23.658Z","lastCrawledAt":"2026-10-10T03:00:23.658Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-11T03:00:23.658Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.8","createdAt":"2026-08-17T19:23:33.296Z","changelog":"**smyx-orchid-growth-status-detection-analysis 1.0.8 – Minor update with housekeeping** - Removed the outdated `skill-card.md` file. - Updated configuration in `skills/smyx_common/scripts/config.yaml`. - No changes to analysis logic or user-facing functionality.","fileCount":31,"zipByteSize":40213},{"version":"1.0.7","createdAt":"2026-08-14T04:29:37.554Z","changelog":"- Updated SKILL.md: version bumped from 1.0.8 to 1.0.10. - Removed redundant file: skill-card.md. - No functional or capability changes; documentation and version metadata only.","fileCount":31,"zipByteSize":40304},{"version":"1.0.6","createdAt":"2026-08-07T18:47:46.168Z","changelog":"- Removed the file: skill-card.md - No functional or documentation changes to the SKILL.md - Version incremented with only documentation cleanup (removal of redundant sample file)","fileCount":31,"zipByteSize":40169},{"version":"1.0.5","createdAt":"2026-08-01T03:23:35.612Z","changelog":"smyx-orchid-growth-status-detection-analysis 1.0.5 - Updated SKILL.md with new version and description details. - Removed redundant file: skill-card.md. - No changes to scripts, APIs, or core functionality.","fileCount":31,"zipByteSize":40342},{"version":"1.0.4","createdAt":"2026-07-18T23:09:27.182Z","changelog":"- Updated SKILL.md content, including a version number bump to 1.0.6 - Removed skill-card.md file - No functional changes noted beyond documentation updates and maintenance","fileCount":31,"zipByteSize":40130},{"version":"1.0.3","createdAt":"2026-07-11T13:14:32.683Z","changelog":"- Updated internal scripts: config.py and util.py were modified for improved configuration and utility handling. - Removed redundant documentation file: skill-card.md. - No changes to user-facing functionality or workflow. - Documentation and usage remain consistent with the previous version.","fileCount":31,"zipByteSize":40150},{"version":"1.0.2","createdAt":"2026-07-02T23:29:26.560Z","changelog":"- Updated SKILL.md to version 1.0.4 with minor text and version adjustments. - Removed the obsolete skill-card.md file. - Other file changes likely include refinements or cleanup in scripts such as dao.py and util.py.","fileCount":31,"zipByteSize":40022},{"version":"1.0.1","createdAt":"2026-06-26T18:02:28.937Z","changelog":"- Major update: User identification process fully automated; users are no longer asked for or shown any internal identity parameters. - SKILL.md restructured and clarified for easier use and reference; sections and workflows are now more concise and visual. - Historical report queries now only use cloud API; all local/manual report retrieval is strictly forbidden. - Example usage updated: all commands no longer require open-id as input. - Various wording and presentation improvements for multi-language clarity and consistency.","fileCount":31,"zipByteSize":37043}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17cfv2h26b7hq5w47tgfy23xx83z9x6:smyx-orchid-growth-status-detection-analysis","setupComplexity":"low","setupSteps":["Install using `clawhub skill install s17cfv2h26b7hq5w47tgfy23xx83z9x6:smyx-orchid-growth-status-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/smyx-sunjinhui/smyx-orchid-growth-status-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-smyx-sunjinhui-smyx-orchid-growth-status-detection-anal/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-orchid-growth-status-detection-anal/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-orchid-growth-status-detection-anal/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-orchid-growth-status-detection-anal/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-orchid-growth-status-detection-anal/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-orchid-growth-status-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-10T08:15:51.254Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-orchid-growth-status-detection-anal/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-orchid-growth-status-detection-anal/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-orchid-growth-status-detection-anal/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-orchid-growth-status-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-10T03:00:23.658Z","emptyReason":null},"readme":"Skill: Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别\n\nOwner: smyx-sunjinhui\n\nSummary: AI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios. | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\n\nTags: latest:1.0.8\n\nVersion history:\n\nv1.0.8 | 2026-08-17T19:23:33.296Z | auto\n\n**smyx-orchid-growth-status-detection-analysis 1.0.8 – Minor update with housekeeping**\n\n- Removed the outdated `skill-card.md` file.\n- Updated configuration in `skills/smyx_common/scripts/config.yaml`.\n- No changes to analysis logic or user-facing functionality.\n\nv1.0.7 | 2026-08-14T04:29:37.554Z | auto\n\n- Updated SKILL.md: version bumped from 1.0.8 to 1.0.10.\n- Removed redundant file: skill-card.md.\n- No functional or capability changes; documentation and version metadata only.\n\nv1.0.6 | 2026-08-07T18:47:46.168Z | auto\n\n- Removed the file: skill-card.md\n- No functional or documentation changes to the SKILL.md\n- Version incremented with only documentation cleanup (removal of redundant sample file)\n\nv1.0.5 | 2026-08-01T03:23:35.612Z | auto\n\nsmyx-orchid-growth-status-detection-analysis 1.0.5\n\n- Updated SKILL.md with new version and description details.\n- Removed redundant file: skill-card.md.\n- No changes to scripts, APIs, or core functionality.\n\nv1.0.4 | 2026-07-18T23:09:27.182Z | auto\n\n- Updated SKILL.md content, including a version number bump to 1.0.6\n- Removed skill-card.md file\n- No functional changes noted beyond documentation updates and maintenance\n\nv1.0.3 | 2026-07-11T13:14:32.683Z | auto\n\n- Updated internal scripts: config.py and util.py were modified for improved configuration and utility handling.\n- Removed redundant documentation file: skill-card.md.\n- No changes to user-facing functionality or workflow.\n- Documentation and usage remain consistent with the previous version.\n\nv1.0.2 | 2026-07-02T23:29:26.560Z | auto\n\n- Updated SKILL.md to version 1.0.4 with minor text and version adjustments.\n- Removed the obsolete skill-card.md file.\n- Other file changes likely include refinements or cleanup in scripts such as dao.py and util.py.\n\nv1.0.1 | 2026-06-26T18:02:28.937Z | auto\n\n- Major update: User identification process fully automated; users are no longer asked for or shown any internal identity parameters.\n- SKILL.md restructured and clarified for easier use and reference; sections and workflows are now more concise and visual.\n- Historical report queries now only use cloud API; all local/manual report retrieval is strictly forbidden.\n- Example usage updated: all commands no longer require open-id as input.\n- Various wording and presentation improvements for multi-language clarity and consistency.\n\nv1.0.0 | 2026-05-23T18:06:27.094Z | auto\n\n- Initial release of \"smyx-orchid-growth-status-detection-analysis\" skill.\n- Detects orchid new-shoot count, flower-spike length, and root color/condition from HD images (including roots in transparent pots) using AI vision.\n- Delivers a holistic growth vitality assessment (vigorous/normal/weak) and general care guidance.\n- Enforces strict open-id retrieval before executing analysis or viewing history, with detailed control steps and user prompts if missing.\n- Supports history report lookup with results displayed in Markdown tables containing report links.\n- Designed for home orchid hobbyists, greenhouses, and horticulture studios to assist optimal repotting and feeding timing.\n\nArchive index:\n\nArchive v1.0.8: 31 files, 40213 bytes\n\nFiles: references/api_doc.md (720b), scripts/__init__.py (58b), scripts/config.py (697b), scripts/config.yaml (3b), scripts/skill.py (587b), scripts/smyx_orchid_growth_status_detection_analysis.py (3478b), skill-card.md (2392b), SKILL.md (14272b), 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 (163b)\n\nFile v1.0.8:SKILL.md\n\n---\nname: \"smyx-orchid-growth-status-detection-analysis\"\ndescription: \"AI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios. | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\"\nversion: \"1.0.10\"\nlicense: \"MIT-0\"\n---\n\n# 🌸 Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **兰花新芽/花梗/根系状态识别** |\n| 🎯 核心目标 | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_ORCHID_GROWTH_STATUS_DETECTION_ANALYSIS` |\n\nAI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios.\n\n通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\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_orchid_growth_status_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_orchid_growth_status_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_orchid_growth_status_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## 🌱 新芽萌发评估\n\n| 新芽数量 | 评级 | 说明 |\n|----------|------|------|\n| 3+ | 🟢 旺盛 | 生长活力极佳，株型扩展能力强 |\n| 1-2 | 🟡 正常 | 健康生长，符合正常分蘖节奏 |\n| 0 | 🟠 静止 | 处于休眠或养分储备期；若长期无芽需关注 |\n\n## 🌸 花梗（花箭）长度评估\n\n| 长度阶段 | 视觉表现 | 养护方向参考 |\n|----------|----------|--------------|\n| 萌动期（<5cm） | 假鳞茎旁出现绿色尖锥状突起 | 保持稳定环境，避免移动 |\n| 拔节期（5-20cm） | 花箭快速伸长，节间明显 | 注意支撑，防倒伏 |\n| 花苞期（>20cm） | 花箭顶端出现花苞 | 增加磷钾肥方向，准备开花 |\n| 无花梗 | 仅见叶片和新芽 | 可能营养未达开花条件，或非花期 |\n\n## 🌿 根系颜色识别与健康度\n\n| 根系颜色 | 健康度 | 视觉表现 | 含义 |\n|----------|--------|----------|------|\n| ⚪ 银白色 | 🟢 极佳 | 根尖饱满有水雾感，外层覆盖银白色根被 | 充水后呈现，活跃健康根系 |\n| 🟢 翠绿色 | 🟢 优秀 | 透明盆中可见的健康吸水根 | 正在光合作用与吸水，活力强 |\n| 🟡 浅黄色 | 🟡 普通 | 较老的根系 | 老化但仍具功能 |\n| 🟠 褐色 | 🟠 衰退 | 干瘪、表皮褐变 | 老化或缺水，需关注 |\n| ⚫ 黑色 | 🔴 腐烂 | 软烂发黑、有臭味 | 烂根，需紧急处理 |\n\n## 📊 生长活力综合评级\n\n| 评级 | 综合特征 | 养护方向 |\n|------|----------|----------|\n| 🟢 旺盛 | 新芽 ≥2，根系以白/绿为主（>70%健康根） | 维持当前养护，可适当增肥促进开花 |\n| 🟡 正常 | 新芽 1-2，根系健康根占 40-70% | 保持稳定，关注水肥平衡 |\n| 🟠 衰弱 | 无新芽，褐/黑根超 50% | 需检查浇水/通风/植料，必要时换盆 |\n| 🔴 危重 | 假鳞茎萎缩、烂根超过 70% | 紧急处理：剪除烂根、消毒、重新上盆 |\n\n## 📅 兰花养护关键节点参考\n\n| 季节 | 重点观察指标 | 常见问题 |\n|------|--------------|----------|\n| 🌸 春季 | 新芽萌发数量、花梗抽出 | 春化不足导致无花 |\n| 🌞 夏季 | 根系颜色（防烂根） | 高温烂根、叶片晒伤 |\n| 🍂 秋季 | 花梗发育、株型饱满度 | 花苞败育、新芽不健壮 |\n| ❄️ 冬季 | 假鳞茎饱满度、根系状态 | 低温烂根、冻害 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_orchid_growth_status_detection_analysis.py`](scripts/smyx_orchid_growth_status_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| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input /path/to/orchid.jpg\n\n# 分析网络兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --url https://example.com/orchid.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_orchid_growth_status_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --output result.json\n```\n\nFile v1.0.8:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-orchid-growth-status-detection-analysis\",\n  \"version\": \"1.0.8\",\n  \"publishedAt\": 1786994613296\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_ORCHID_GROWTH_STATUS_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: dev\n\nFile v1.0.8:skill-card.md\n\n## Description:\n\nAnalyzes orchid images or videos to identify new shoots, flower-spike growth, root color and condition, then returns a growth-status assessment with care guidance.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and horticulture operators use this skill to analyze orchid plant and transparent-pot root imagery for growth monitoring, repotting timing, and care-direction decisions. It is intended for home orchid care, greenhouses, and horticulture studios.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Orchid photos, videos, or supplied URLs may be sent to the configured cloud service.\n\nMitigation: Use only approved media, disclose the remote processing behavior to users, and avoid privacy-sensitive images unless consent and policy review are in place.\n\nRisk: The skill may silently provision or reuse a remote identity and store service tokens in the local workspace.\n\nMitigation: Document identity handling, restrict workspace access, and rotate or remove stored tokens when uninstalling or changing users.\n\nRisk: Historical reports are associated with an internal identity.\n\nMitigation: Confirm the intended account context before querying history and avoid using the skill in shared workspaces without access controls.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-orchid-growth-status-detection-analysis)\n- [Publisher profile](https://clawhub.ai/user/smyx-sunjinhui)\n- [API documentation](artifact/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 report with optional JSON detail and report link]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include structured analysis results, visual growth indicators, care guidance, and historical report links.]\n\n## Skill Version(s):\n\n1.0.8 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.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, 40304 bytes\n\nFiles: references/api_doc.md (720b), scripts/__init__.py (58b), scripts/config.py (697b), scripts/config.yaml (3b), scripts/skill.py (587b), scripts/smyx_orchid_growth_status_detection_analysis.py (3478b), skill-card.md (2618b), SKILL.md (14272b), 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 (163b)\n\nFile v1.0.7:SKILL.md\n\n---\nname: \"smyx-orchid-growth-status-detection-analysis\"\ndescription: \"AI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios. | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\"\nversion: \"1.0.10\"\nlicense: \"MIT-0\"\n---\n\n# 🌸 Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **兰花新芽/花梗/根系状态识别** |\n| 🎯 核心目标 | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_ORCHID_GROWTH_STATUS_DETECTION_ANALYSIS` |\n\nAI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios.\n\n通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\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_orchid_growth_status_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_orchid_growth_status_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_orchid_growth_status_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## 🌱 新芽萌发评估\n\n| 新芽数量 | 评级 | 说明 |\n|----------|------|------|\n| 3+ | 🟢 旺盛 | 生长活力极佳，株型扩展能力强 |\n| 1-2 | 🟡 正常 | 健康生长，符合正常分蘖节奏 |\n| 0 | 🟠 静止 | 处于休眠或养分储备期；若长期无芽需关注 |\n\n## 🌸 花梗（花箭）长度评估\n\n| 长度阶段 | 视觉表现 | 养护方向参考 |\n|----------|----------|--------------|\n| 萌动期（<5cm） | 假鳞茎旁出现绿色尖锥状突起 | 保持稳定环境，避免移动 |\n| 拔节期（5-20cm） | 花箭快速伸长，节间明显 | 注意支撑，防倒伏 |\n| 花苞期（>20cm） | 花箭顶端出现花苞 | 增加磷钾肥方向，准备开花 |\n| 无花梗 | 仅见叶片和新芽 | 可能营养未达开花条件，或非花期 |\n\n## 🌿 根系颜色识别与健康度\n\n| 根系颜色 | 健康度 | 视觉表现 | 含义 |\n|----------|--------|----------|------|\n| ⚪ 银白色 | 🟢 极佳 | 根尖饱满有水雾感，外层覆盖银白色根被 | 充水后呈现，活跃健康根系 |\n| 🟢 翠绿色 | 🟢 优秀 | 透明盆中可见的健康吸水根 | 正在光合作用与吸水，活力强 |\n| 🟡 浅黄色 | 🟡 普通 | 较老的根系 | 老化但仍具功能 |\n| 🟠 褐色 | 🟠 衰退 | 干瘪、表皮褐变 | 老化或缺水，需关注 |\n| ⚫ 黑色 | 🔴 腐烂 | 软烂发黑、有臭味 | 烂根，需紧急处理 |\n\n## 📊 生长活力综合评级\n\n| 评级 | 综合特征 | 养护方向 |\n|------|----------|----------|\n| 🟢 旺盛 | 新芽 ≥2，根系以白/绿为主（>70%健康根） | 维持当前养护，可适当增肥促进开花 |\n| 🟡 正常 | 新芽 1-2，根系健康根占 40-70% | 保持稳定，关注水肥平衡 |\n| 🟠 衰弱 | 无新芽，褐/黑根超 50% | 需检查浇水/通风/植料，必要时换盆 |\n| 🔴 危重 | 假鳞茎萎缩、烂根超过 70% | 紧急处理：剪除烂根、消毒、重新上盆 |\n\n## 📅 兰花养护关键节点参考\n\n| 季节 | 重点观察指标 | 常见问题 |\n|------|--------------|----------|\n| 🌸 春季 | 新芽萌发数量、花梗抽出 | 春化不足导致无花 |\n| 🌞 夏季 | 根系颜色（防烂根） | 高温烂根、叶片晒伤 |\n| 🍂 秋季 | 花梗发育、株型饱满度 | 花苞败育、新芽不健壮 |\n| ❄️ 冬季 | 假鳞茎饱满度、根系状态 | 低温烂根、冻害 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_orchid_growth_status_detection_analysis.py`](scripts/smyx_orchid_growth_status_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| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input /path/to/orchid.jpg\n\n# 分析网络兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --url https://example.com/orchid.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_orchid_growth_status_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --output result.json\n```\n\nFile v1.0.7:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-orchid-growth-status-detection-analysis\",\n  \"version\": \"1.0.7\",\n  \"publishedAt\": 1786681777554\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_ORCHID_GROWTH_STATUS_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 orchid images or videos to detect new shoots, flower spikes, root color and root condition, then returns a growth-status assessment and care-oriented guidance.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal orchid hobbyists, greenhouse staff, and horticulture studios use this skill to evaluate orchid vitality from plant and transparent-pot root media. It supports growth-status analysis, structured reports, report links, and cloud report history lookup.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Orchid images, videos, or supplied media URLs are sent to the LifeEmergence cloud service for analysis.\n\nMitigation: Use only media that is appropriate to share with that service, and avoid sensitive personal media or private/internal URLs unless the service and retention practices are trusted.\n\nRisk: Report history is associated with an internal identity that the skill creates or reuses automatically.\n\nMitigation: Review workspace identity handling before installation and avoid using the history feature where identity-linked report records are not acceptable.\n\nRisk: Account tokens and profile data may be stored in the workspace data directory.\n\nMitigation: Protect the workspace data directory, restrict access to shared workspaces, and remove stored credentials when the skill is no longer needed.\n\n## Reference(s):\n\n- [Orchid Growth Status Detection API Documentation](references/api_doc.md)\n- [SMYX Analysis API Documentation](skills/smyx_analysis/references/api_doc.md)\n- [Skill Demo](https://lifeemergence.com/sample.html)\n- [ClawHub Skill Page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-orchid-growth-status-detection-analysis)\n\n## Skill Output:\n\n**Output Type(s):** [Analysis, Markdown, JSON, Files, API Calls, Guidance]\n\n**Output Format:** [Markdown text containing structured JSON-style analysis results and report links; optional saved output file]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Supports jpg, png, mp4, avi, and mov inputs up to 10 MB; history queries return cloud report records.]\n\n## Skill Version(s):\n\n1.0.7 (source: server release metadata; artifact frontmatter states 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.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, 40169 bytes\n\nFiles: references/api_doc.md (720b), scripts/__init__.py (58b), scripts/config.py (697b), scripts/config.yaml (3b), scripts/skill.py (587b), scripts/smyx_orchid_growth_status_detection_analysis.py (3478b), skill-card.md (2359b), SKILL.md (14271b), 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 (163b)\n\nFile v1.0.6:SKILL.md\n\n---\nname: \"smyx-orchid-growth-status-detection-analysis\"\ndescription: \"AI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios. | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\"\nversion: \"1.0.8\"\nlicense: \"MIT-0\"\n---\n\n# 🌸 Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **兰花新芽/花梗/根系状态识别** |\n| 🎯 核心目标 | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_ORCHID_GROWTH_STATUS_DETECTION_ANALYSIS` |\n\nAI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios.\n\n通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\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_orchid_growth_status_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_orchid_growth_status_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_orchid_growth_status_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## 🌱 新芽萌发评估\n\n| 新芽数量 | 评级 | 说明 |\n|----------|------|------|\n| 3+ | 🟢 旺盛 | 生长活力极佳，株型扩展能力强 |\n| 1-2 | 🟡 正常 | 健康生长，符合正常分蘖节奏 |\n| 0 | 🟠 静止 | 处于休眠或养分储备期；若长期无芽需关注 |\n\n## 🌸 花梗（花箭）长度评估\n\n| 长度阶段 | 视觉表现 | 养护方向参考 |\n|----------|----------|--------------|\n| 萌动期（<5cm） | 假鳞茎旁出现绿色尖锥状突起 | 保持稳定环境，避免移动 |\n| 拔节期（5-20cm） | 花箭快速伸长，节间明显 | 注意支撑，防倒伏 |\n| 花苞期（>20cm） | 花箭顶端出现花苞 | 增加磷钾肥方向，准备开花 |\n| 无花梗 | 仅见叶片和新芽 | 可能营养未达开花条件，或非花期 |\n\n## 🌿 根系颜色识别与健康度\n\n| 根系颜色 | 健康度 | 视觉表现 | 含义 |\n|----------|--------|----------|------|\n| ⚪ 银白色 | 🟢 极佳 | 根尖饱满有水雾感，外层覆盖银白色根被 | 充水后呈现，活跃健康根系 |\n| 🟢 翠绿色 | 🟢 优秀 | 透明盆中可见的健康吸水根 | 正在光合作用与吸水，活力强 |\n| 🟡 浅黄色 | 🟡 普通 | 较老的根系 | 老化但仍具功能 |\n| 🟠 褐色 | 🟠 衰退 | 干瘪、表皮褐变 | 老化或缺水，需关注 |\n| ⚫ 黑色 | 🔴 腐烂 | 软烂发黑、有臭味 | 烂根，需紧急处理 |\n\n## 📊 生长活力综合评级\n\n| 评级 | 综合特征 | 养护方向 |\n|------|----------|----------|\n| 🟢 旺盛 | 新芽 ≥2，根系以白/绿为主（>70%健康根） | 维持当前养护，可适当增肥促进开花 |\n| 🟡 正常 | 新芽 1-2，根系健康根占 40-70% | 保持稳定，关注水肥平衡 |\n| 🟠 衰弱 | 无新芽，褐/黑根超 50% | 需检查浇水/通风/植料，必要时换盆 |\n| 🔴 危重 | 假鳞茎萎缩、烂根超过 70% | 紧急处理：剪除烂根、消毒、重新上盆 |\n\n## 📅 兰花养护关键节点参考\n\n| 季节 | 重点观察指标 | 常见问题 |\n|------|--------------|----------|\n| 🌸 春季 | 新芽萌发数量、花梗抽出 | 春化不足导致无花 |\n| 🌞 夏季 | 根系颜色（防烂根） | 高温烂根、叶片晒伤 |\n| 🍂 秋季 | 花梗发育、株型饱满度 | 花苞败育、新芽不健壮 |\n| ❄️ 冬季 | 假鳞茎饱满度、根系状态 | 低温烂根、冻害 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_orchid_growth_status_detection_analysis.py`](scripts/smyx_orchid_growth_status_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| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input /path/to/orchid.jpg\n\n# 分析网络兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --url https://example.com/orchid.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_orchid_growth_status_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --output result.json\n```\n\nFile v1.0.6:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-orchid-growth-status-detection-analysis\",\n  \"version\": \"1.0.6\",\n  \"publishedAt\": 1786128466168\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_ORCHID_GROWTH_STATUS_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:\n\nDetects orchid shoots, flower spikes, and visible root condition from user-provided orchid images or videos, then returns a structured growth-status assessment and care guidance.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal orchid hobbyists, greenhouse operators, and horticulture studios use this skill to assess visible growth status from orchid media, including new shoot count, flower-spike development, and root color or condition. Agents can use the output to summarize plant vitality, surface care considerations, and retrieve prior analysis reports when supported.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill may upload orchid media or media URLs to lifeemergence.com services.\n\nMitigation: Use only media or URLs approved for that service, and avoid inputs that should not be associated with the external analysis provider.\n\nRisk: The skill may create or reuse a local identity and store account tokens locally for report history.\n\nMitigation: Review local data retention before use, including how to delete the local identity database and API key files when they are no longer needed.\n\nRisk: Historical report lookup has limited user-facing control.\n\nMitigation: Use the skill only where the local identity and report-history behavior is acceptable, and restrict access to local data files.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-orchid-growth-status-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, guidance]\n\n**Output Format:** [Markdown report or JSON analysis output with report links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include cloud-hosted report links and historical report tables.]\n\n## Skill Version(s):\n\n1.0.6 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.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, 40342 bytes\n\nFiles: references/api_doc.md (720b), scripts/__init__.py (58b), scripts/config.py (697b), scripts/config.yaml (3b), scripts/skill.py (587b), scripts/smyx_orchid_growth_status_detection_analysis.py (3478b), skill-card.md (2909b), SKILL.md (14271b), 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 (163b)\n\nFile v1.0.5:SKILL.md\n\n---\nname: \"smyx-orchid-growth-status-detection-analysis\"\ndescription: \"AI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios. | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\"\nversion: \"1.0.8\"\nlicense: \"MIT-0\"\n---\n\n# 🌸 Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **兰花新芽/花梗/根系状态识别** |\n| 🎯 核心目标 | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_ORCHID_GROWTH_STATUS_DETECTION_ANALYSIS` |\n\nAI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios.\n\n通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\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_orchid_growth_status_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_orchid_growth_status_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_orchid_growth_status_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## 🌱 新芽萌发评估\n\n| 新芽数量 | 评级 | 说明 |\n|----------|------|------|\n| 3+ | 🟢 旺盛 | 生长活力极佳，株型扩展能力强 |\n| 1-2 | 🟡 正常 | 健康生长，符合正常分蘖节奏 |\n| 0 | 🟠 静止 | 处于休眠或养分储备期；若长期无芽需关注 |\n\n## 🌸 花梗（花箭）长度评估\n\n| 长度阶段 | 视觉表现 | 养护方向参考 |\n|----------|----------|--------------|\n| 萌动期（<5cm） | 假鳞茎旁出现绿色尖锥状突起 | 保持稳定环境，避免移动 |\n| 拔节期（5-20cm） | 花箭快速伸长，节间明显 | 注意支撑，防倒伏 |\n| 花苞期（>20cm） | 花箭顶端出现花苞 | 增加磷钾肥方向，准备开花 |\n| 无花梗 | 仅见叶片和新芽 | 可能营养未达开花条件，或非花期 |\n\n## 🌿 根系颜色识别与健康度\n\n| 根系颜色 | 健康度 | 视觉表现 | 含义 |\n|----------|--------|----------|------|\n| ⚪ 银白色 | 🟢 极佳 | 根尖饱满有水雾感，外层覆盖银白色根被 | 充水后呈现，活跃健康根系 |\n| 🟢 翠绿色 | 🟢 优秀 | 透明盆中可见的健康吸水根 | 正在光合作用与吸水，活力强 |\n| 🟡 浅黄色 | 🟡 普通 | 较老的根系 | 老化但仍具功能 |\n| 🟠 褐色 | 🟠 衰退 | 干瘪、表皮褐变 | 老化或缺水，需关注 |\n| ⚫ 黑色 | 🔴 腐烂 | 软烂发黑、有臭味 | 烂根，需紧急处理 |\n\n## 📊 生长活力综合评级\n\n| 评级 | 综合特征 | 养护方向 |\n|------|----------|----------|\n| 🟢 旺盛 | 新芽 ≥2，根系以白/绿为主（>70%健康根） | 维持当前养护，可适当增肥促进开花 |\n| 🟡 正常 | 新芽 1-2，根系健康根占 40-70% | 保持稳定，关注水肥平衡 |\n| 🟠 衰弱 | 无新芽，褐/黑根超 50% | 需检查浇水/通风/植料，必要时换盆 |\n| 🔴 危重 | 假鳞茎萎缩、烂根超过 70% | 紧急处理：剪除烂根、消毒、重新上盆 |\n\n## 📅 兰花养护关键节点参考\n\n| 季节 | 重点观察指标 | 常见问题 |\n|------|--------------|----------|\n| 🌸 春季 | 新芽萌发数量、花梗抽出 | 春化不足导致无花 |\n| 🌞 夏季 | 根系颜色（防烂根） | 高温烂根、叶片晒伤 |\n| 🍂 秋季 | 花梗发育、株型饱满度 | 花苞败育、新芽不健壮 |\n| ❄️ 冬季 | 假鳞茎饱满度、根系状态 | 低温烂根、冻害 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_orchid_growth_status_detection_analysis.py`](scripts/smyx_orchid_growth_status_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| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input /path/to/orchid.jpg\n\n# 分析网络兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --url https://example.com/orchid.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_orchid_growth_status_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --output result.json\n```\n\nFile v1.0.5:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-orchid-growth-status-detection-analysis\",\n  \"version\": \"1.0.5\",\n  \"publishedAt\": 1785554615612\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_ORCHID_GROWTH_STATUS_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 orchid growth-status detection from HD images, including roots visible through transparent pots, that measures new-shoot count, flower-spike length, root color and condition, overall vitality, and care guidance. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal orchid hobbyists, greenhouse operators, horticulture studios, and agent users use this skill to analyze orchid images or videos for shoots, flower spikes, root condition, growth vitality, history reports, and care guidance. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Orchid images, videos, or supplied media URLs are sent to lifeemergence.com analysis services. <br>\nMitigation: Use only with media intended for that third-party service, avoid sensitive or private content, and review endpoint configuration before deployment. <br>\nRisk: The skill can create or reuse a local user identity, store tokens, and associate report history with cloud services. <br>\nMitigation: Run in a workspace where persistent local identity storage is expected, review data/smyx-api-key.txt and the workspace data directory, and avoid shared workspaces unless that behavior is approved. <br>\nRisk: Cloud report history and exported report links may expose analysis records beyond the local agent session. <br>\nMitigation: Confirm users understand that history lookups come from the cloud service and restrict use to approved accounts or environments. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-orchid-growth-status-detection-analysis) <br>\n- [Publisher profile](https://clawhub.ai/user/smyx-sunjinhui) <br>\n- [Skill usage demo](https://lifeemergence.com/sample.html) <br>\n- [API interface documentation](artifact/references/api_doc.md) <br>\n- [Analysis API documentation](artifact/skills/smyx_analysis/references/api_doc.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown report text with structured JSON-like analysis content, command examples, and report links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Outputs may include orchid growth assessments, root and spike status, history report listings, and cloud report export links.] <br>\n\n## Skill Version(s): <br>\n1.0.5 (source: server release metadata; artifact frontmatter says 1.0.8) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.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, 40130 bytes\n\nFiles: references/api_doc.md (720b), scripts/__init__.py (58b), scripts/config.py (697b), scripts/config.yaml (3b), scripts/skill.py (587b), scripts/smyx_orchid_growth_status_detection_analysis.py (3478b), skill-card.md (2264b), SKILL.md (14271b), 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 (163b)\n\nFile v1.0.4:SKILL.md\n\n---\nname: \"smyx-orchid-growth-status-detection-analysis\"\ndescription: \"AI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios. | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\"\nversion: \"1.0.6\"\nlicense: \"MIT-0\"\n---\n\n# 🌸 Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **兰花新芽/花梗/根系状态识别** |\n| 🎯 核心目标 | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_ORCHID_GROWTH_STATUS_DETECTION_ANALYSIS` |\n\nAI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios.\n\n通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\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_orchid_growth_status_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_orchid_growth_status_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_orchid_growth_status_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## 🌱 新芽萌发评估\n\n| 新芽数量 | 评级 | 说明 |\n|----------|------|------|\n| 3+ | 🟢 旺盛 | 生长活力极佳，株型扩展能力强 |\n| 1-2 | 🟡 正常 | 健康生长，符合正常分蘖节奏 |\n| 0 | 🟠 静止 | 处于休眠或养分储备期；若长期无芽需关注 |\n\n## 🌸 花梗（花箭）长度评估\n\n| 长度阶段 | 视觉表现 | 养护方向参考 |\n|----------|----------|--------------|\n| 萌动期（<5cm） | 假鳞茎旁出现绿色尖锥状突起 | 保持稳定环境，避免移动 |\n| 拔节期（5-20cm） | 花箭快速伸长，节间明显 | 注意支撑，防倒伏 |\n| 花苞期（>20cm） | 花箭顶端出现花苞 | 增加磷钾肥方向，准备开花 |\n| 无花梗 | 仅见叶片和新芽 | 可能营养未达开花条件，或非花期 |\n\n## 🌿 根系颜色识别与健康度\n\n| 根系颜色 | 健康度 | 视觉表现 | 含义 |\n|----------|--------|----------|------|\n| ⚪ 银白色 | 🟢 极佳 | 根尖饱满有水雾感，外层覆盖银白色根被 | 充水后呈现，活跃健康根系 |\n| 🟢 翠绿色 | 🟢 优秀 | 透明盆中可见的健康吸水根 | 正在光合作用与吸水，活力强 |\n| 🟡 浅黄色 | 🟡 普通 | 较老的根系 | 老化但仍具功能 |\n| 🟠 褐色 | 🟠 衰退 | 干瘪、表皮褐变 | 老化或缺水，需关注 |\n| ⚫ 黑色 | 🔴 腐烂 | 软烂发黑、有臭味 | 烂根，需紧急处理 |\n\n## 📊 生长活力综合评级\n\n| 评级 | 综合特征 | 养护方向 |\n|------|----------|----------|\n| 🟢 旺盛 | 新芽 ≥2，根系以白/绿为主（>70%健康根） | 维持当前养护，可适当增肥促进开花 |\n| 🟡 正常 | 新芽 1-2，根系健康根占 40-70% | 保持稳定，关注水肥平衡 |\n| 🟠 衰弱 | 无新芽，褐/黑根超 50% | 需检查浇水/通风/植料，必要时换盆 |\n| 🔴 危重 | 假鳞茎萎缩、烂根超过 70% | 紧急处理：剪除烂根、消毒、重新上盆 |\n\n## 📅 兰花养护关键节点参考\n\n| 季节 | 重点观察指标 | 常见问题 |\n|------|--------------|----------|\n| 🌸 春季 | 新芽萌发数量、花梗抽出 | 春化不足导致无花 |\n| 🌞 夏季 | 根系颜色（防烂根） | 高温烂根、叶片晒伤 |\n| 🍂 秋季 | 花梗发育、株型饱满度 | 花苞败育、新芽不健壮 |\n| ❄️ 冬季 | 假鳞茎饱满度、根系状态 | 低温烂根、冻害 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_orchid_growth_status_detection_analysis.py`](scripts/smyx_orchid_growth_status_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| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input /path/to/orchid.jpg\n\n# 分析网络兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --url https://example.com/orchid.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_orchid_growth_status_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --output result.json\n```\n\nFile v1.0.4:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-orchid-growth-status-detection-analysis\",\n  \"version\": \"1.0.4\",\n  \"publishedAt\": 1784416167182\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_ORCHID_GROWTH_STATUS_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>\nAnalyzes orchid images or videos to estimate new-shoot count, flower-spike growth, root color and condition, overall vitality, and care-oriented observations. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nOrchid hobbyists, greenhouse operators, and horticulture studios use this skill to review orchid media for visible growth status, including shoots, flower spikes, and roots visible through transparent pots. It can also return or list structured cloud-backed analysis reports. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Submitted orchid media and URLs are processed by the publisher's cloud service. <br>\nMitigation: Use non-sensitive media unless the publisher clarifies retention, access, and handling of private or signed URLs. <br>\nRisk: The skill can create or reuse a persistent local identity and store auth tokens in a workspace SQLite database. <br>\nMitigation: Avoid shared workspaces, keep per-user workspace separation, and remove local tokens or databases after use when required by policy. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-orchid-growth-status-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 summaries and JSON-backed structured analysis reports] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May include report links and historical report listings returned by the provider's cloud service.] <br>\n\n## Skill Version(s): <br>\n1.0.4 (source: ClawHub release evidence; artifact frontmatter reports 1.0.6) <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\n\nArchive v1.0.3: 31 files, 40150 bytes\n\nFiles: references/api_doc.md (720b), scripts/__init__.py (58b), scripts/config.py (697b), scripts/config.yaml (3b), scripts/skill.py (587b), scripts/smyx_orchid_growth_status_detection_analysis.py (3478b), skill-card.md (2493b), SKILL.md (14271b), 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 (163b)\n\nFile v1.0.3:SKILL.md\n\n---\nname: \"smyx-orchid-growth-status-detection-analysis\"\ndescription: \"AI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios. | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\"\nversion: \"1.0.4\"\nlicense: \"MIT-0\"\n---\n\n# 🌸 Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **兰花新芽/花梗/根系状态识别** |\n| 🎯 核心目标 | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_ORCHID_GROWTH_STATUS_DETECTION_ANALYSIS` |\n\nAI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios.\n\n通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\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_orchid_growth_status_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_orchid_growth_status_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_orchid_growth_status_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## 🌱 新芽萌发评估\n\n| 新芽数量 | 评级 | 说明 |\n|----------|------|------|\n| 3+ | 🟢 旺盛 | 生长活力极佳，株型扩展能力强 |\n| 1-2 | 🟡 正常 | 健康生长，符合正常分蘖节奏 |\n| 0 | 🟠 静止 | 处于休眠或养分储备期；若长期无芽需关注 |\n\n## 🌸 花梗（花箭）长度评估\n\n| 长度阶段 | 视觉表现 | 养护方向参考 |\n|----------|----------|--------------|\n| 萌动期（<5cm） | 假鳞茎旁出现绿色尖锥状突起 | 保持稳定环境，避免移动 |\n| 拔节期（5-20cm） | 花箭快速伸长，节间明显 | 注意支撑，防倒伏 |\n| 花苞期（>20cm） | 花箭顶端出现花苞 | 增加磷钾肥方向，准备开花 |\n| 无花梗 | 仅见叶片和新芽 | 可能营养未达开花条件，或非花期 |\n\n## 🌿 根系颜色识别与健康度\n\n| 根系颜色 | 健康度 | 视觉表现 | 含义 |\n|----------|--------|----------|------|\n| ⚪ 银白色 | 🟢 极佳 | 根尖饱满有水雾感，外层覆盖银白色根被 | 充水后呈现，活跃健康根系 |\n| 🟢 翠绿色 | 🟢 优秀 | 透明盆中可见的健康吸水根 | 正在光合作用与吸水，活力强 |\n| 🟡 浅黄色 | 🟡 普通 | 较老的根系 | 老化但仍具功能 |\n| 🟠 褐色 | 🟠 衰退 | 干瘪、表皮褐变 | 老化或缺水，需关注 |\n| ⚫ 黑色 | 🔴 腐烂 | 软烂发黑、有臭味 | 烂根，需紧急处理 |\n\n## 📊 生长活力综合评级\n\n| 评级 | 综合特征 | 养护方向 |\n|------|----------|----------|\n| 🟢 旺盛 | 新芽 ≥2，根系以白/绿为主（>70%健康根） | 维持当前养护，可适当增肥促进开花 |\n| 🟡 正常 | 新芽 1-2，根系健康根占 40-70% | 保持稳定，关注水肥平衡 |\n| 🟠 衰弱 | 无新芽，褐/黑根超 50% | 需检查浇水/通风/植料，必要时换盆 |\n| 🔴 危重 | 假鳞茎萎缩、烂根超过 70% | 紧急处理：剪除烂根、消毒、重新上盆 |\n\n## 📅 兰花养护关键节点参考\n\n| 季节 | 重点观察指标 | 常见问题 |\n|------|--------------|----------|\n| 🌸 春季 | 新芽萌发数量、花梗抽出 | 春化不足导致无花 |\n| 🌞 夏季 | 根系颜色（防烂根） | 高温烂根、叶片晒伤 |\n| 🍂 秋季 | 花梗发育、株型饱满度 | 花苞败育、新芽不健壮 |\n| ❄️ 冬季 | 假鳞茎饱满度、根系状态 | 低温烂根、冻害 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_orchid_growth_status_detection_analysis.py`](scripts/smyx_orchid_growth_status_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| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input /path/to/orchid.jpg\n\n# 分析网络兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --url https://example.com/orchid.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_orchid_growth_status_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --output result.json\n```\n\nFile v1.0.3:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-orchid-growth-status-detection-analysis\",\n  \"version\": \"1.0.3\",\n  \"publishedAt\": 1783775672683\n}\n\nFile v1.0.3: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_ORCHID_GROWTH_STATUS_DETECTION_ANALYSIS` - 兰花新芽/花梗/根系状态识别\n\nFile v1.0.3: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.3:scripts/config.yaml\n\n{}\n\nFile v1.0.3:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.3: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.3: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.3: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.3:skill-card.md\n\n## Description: <br>\nAnalyzes orchid images or videos to identify new shoots, flower-spike growth, root color and condition, overall growth vitality, and care-direction guidance. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal orchid hobbyists, greenhouse operators, and horticulture studios use this skill to analyze orchid images or videos for new-shoot counts, spike growth, root condition, overall vitality, and care-direction guidance. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Orchid media may be sent to a remote service for processing. <br>\nMitigation: Use only images or videos that are acceptable for cloud processing, and avoid private home, greenhouse, or personally identifying content unless that handling is acceptable. <br>\nRisk: The skill may create or reuse an internal account identity and store tokens locally. <br>\nMitigation: Review the identity and token-storage behavior before installation, and clear local skill data when account-linked access should no longer persist. <br>\nRisk: History-report queries can retrieve account-linked report data. <br>\nMitigation: Limit use of history retrieval to users and environments where account-linked report access is expected. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-orchid-growth-status-detection-analysis) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n- [API documentation](artifact/references/api_doc.md) <br>\n- [Analysis API documentation](artifact/skills/smyx_analysis/references/api_doc.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, JSON, shell commands, guidance] <br>\n**Output Format:** [Markdown and JSON-like structured text, with optional output file content.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May include structured analysis results, report export links, and history-report listings.] <br>\n\n## Skill Version(s): <br>\n1.0.3 (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.3:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.3:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.2: 31 files, 40022 bytes\n\nFiles: references/api_doc.md (720b), scripts/__init__.py (58b), scripts/config.py (697b), scripts/config.yaml (3b), scripts/skill.py (587b), scripts/smyx_orchid_growth_status_detection_analysis.py (3478b), skill-card.md (2811b), SKILL.md (14271b), 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 (22801b), 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 (163b)\n\nFile v1.0.2:SKILL.md\n\n---\nname: \"smyx-orchid-growth-status-detection-analysis\"\ndescription: \"AI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios. | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\"\nversion: \"1.0.4\"\nlicense: \"MIT-0\"\n---\n\n# 🌸 Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **兰花新芽/花梗/根系状态识别** |\n| 🎯 核心目标 | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_ORCHID_GROWTH_STATUS_DETECTION_ANALYSIS` |\n\nAI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios.\n\n通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\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_orchid_growth_status_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_orchid_growth_status_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_orchid_growth_status_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## 🌱 新芽萌发评估\n\n| 新芽数量 | 评级 | 说明 |\n|----------|------|------|\n| 3+ | 🟢 旺盛 | 生长活力极佳，株型扩展能力强 |\n| 1-2 | 🟡 正常 | 健康生长，符合正常分蘖节奏 |\n| 0 | 🟠 静止 | 处于休眠或养分储备期；若长期无芽需关注 |\n\n## 🌸 花梗（花箭）长度评估\n\n| 长度阶段 | 视觉表现 | 养护方向参考 |\n|----------|----------|--------------|\n| 萌动期（<5cm） | 假鳞茎旁出现绿色尖锥状突起 | 保持稳定环境，避免移动 |\n| 拔节期（5-20cm） | 花箭快速伸长，节间明显 | 注意支撑，防倒伏 |\n| 花苞期（>20cm） | 花箭顶端出现花苞 | 增加磷钾肥方向，准备开花 |\n| 无花梗 | 仅见叶片和新芽 | 可能营养未达开花条件，或非花期 |\n\n## 🌿 根系颜色识别与健康度\n\n| 根系颜色 | 健康度 | 视觉表现 | 含义 |\n|----------|--------|----------|------|\n| ⚪ 银白色 | 🟢 极佳 | 根尖饱满有水雾感，外层覆盖银白色根被 | 充水后呈现，活跃健康根系 |\n| 🟢 翠绿色 | 🟢 优秀 | 透明盆中可见的健康吸水根 | 正在光合作用与吸水，活力强 |\n| 🟡 浅黄色 | 🟡 普通 | 较老的根系 | 老化但仍具功能 |\n| 🟠 褐色 | 🟠 衰退 | 干瘪、表皮褐变 | 老化或缺水，需关注 |\n| ⚫ 黑色 | 🔴 腐烂 | 软烂发黑、有臭味 | 烂根，需紧急处理 |\n\n## 📊 生长活力综合评级\n\n| 评级 | 综合特征 | 养护方向 |\n|------|----------|----------|\n| 🟢 旺盛 | 新芽 ≥2，根系以白/绿为主（>70%健康根） | 维持当前养护，可适当增肥促进开花 |\n| 🟡 正常 | 新芽 1-2，根系健康根占 40-70% | 保持稳定，关注水肥平衡 |\n| 🟠 衰弱 | 无新芽，褐/黑根超 50% | 需检查浇水/通风/植料，必要时换盆 |\n| 🔴 危重 | 假鳞茎萎缩、烂根超过 70% | 紧急处理：剪除烂根、消毒、重新上盆 |\n\n## 📅 兰花养护关键节点参考\n\n| 季节 | 重点观察指标 | 常见问题 |\n|------|--------------|----------|\n| 🌸 春季 | 新芽萌发数量、花梗抽出 | 春化不足导致无花 |\n| 🌞 夏季 | 根系颜色（防烂根） | 高温烂根、叶片晒伤 |\n| 🍂 秋季 | 花梗发育、株型饱满度 | 花苞败育、新芽不健壮 |\n| ❄️ 冬季 | 假鳞茎饱满度、根系状态 | 低温烂根、冻害 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_orchid_growth_status_detection_analysis.py`](scripts/smyx_orchid_growth_status_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| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input /path/to/orchid.jpg\n\n# 分析网络兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --url https://example.com/orchid.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_orchid_growth_status_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --output result.json\n```\n\nFile v1.0.2:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-orchid-growth-status-detection-analysis\",\n  \"version\": \"1.0.2\",\n  \"publishedAt\": 1783034966560\n}\n\nFile v1.0.2: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_ORCHID_GROWTH_STATUS_DETECTION_ANALYSIS` - 兰花新芽/花梗/根系状态识别\n\nFile v1.0.2: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.2:scripts/config.yaml\n\n{}\n\nFile v1.0.2:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.2: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.2: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.2: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.2:skill-card.md\n\n## Description: <br>\nAnalyzes orchid images, videos, or URLs to identify new shoots, flower-spike growth, and visible root condition, then returns a structured growth-status assessment and care guidance. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users such as orchid hobbyists, greenhouse operators, and horticulture studios use this skill to evaluate orchid growth from media inputs and review current or historical structured reports. It is intended to support visual care decisions, not to prescribe exact fertilizer or medication dosages. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Cloud analysis sends orchid images, videos, or URLs to the LifeEmergence service. <br>\nMitigation: Use non-sensitive media and avoid private or internal URLs unless the user has approved sending that content to the remote service. <br>\nRisk: The skill may create or reuse a local account identity and keep tokens or identity values in the workspace. <br>\nMitigation: Run it in an isolated workspace when identities or tokens should not be reused, and review local data storage before and after installation. <br>\nRisk: Reports are tied to an automatically managed local identity. <br>\nMitigation: Do not use the historical report feature in shared workspaces unless all users accept the identity and report-link association. <br>\n\n\n## Reference(s): <br>\n- [ClawHub Skill Page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-orchid-growth-status-detection-analysis) <br>\n- [Publisher Profile](https://clawhub.ai/user/smyx-sunjinhui) <br>\n- [Skill Demo](https://lifeemergence.com/sample.html) <br>\n- [Orchid Analysis API Document](references/api_doc.md) <br>\n- [Shared API Error Reference](skills/smyx_analysis/references/api_doc.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Text, Markdown, JSON, Shell commands, Guidance] <br>\n**Output Format:** [Markdown text with structured analysis content, JSON-style report data, report links, and optional file output.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Accepts local media paths or public media URLs, supports historical report listing, and documents a 10 MB input-size limit for supported media formats.] <br>\n\n## Skill Version(s): <br>\n1.0.2 (source: ClawHub release metadata; artifact frontmatter reports 1.0.4) <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.2:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.2:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.1: 31 files, 37043 bytes\n\nFiles: references/api_doc.md (720b), scripts/__init__.py (58b), scripts/config.py (697b), scripts/config.yaml (3b), scripts/skill.py (587b), scripts/smyx_orchid_growth_status_detection_analysis.py (3478b), skill-card.md (2615b), SKILL.md (14271b), 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 (22801b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (13468b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (23409b), _meta.json (163b)\n\nFile v1.0.1:SKILL.md\n\n---\nname: \"smyx-orchid-growth-status-detection-analysis\"\ndescription: \"AI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios. | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\"\nversion: \"1.0.2\"\nlicense: \"MIT-0\"\n---\n\n# 🌸 Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **兰花新芽/花梗/根系状态识别** |\n| 🎯 核心目标 | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_ORCHID_GROWTH_STATUS_DETECTION_ANALYSIS` |\n\nAI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios.\n\n通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\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_orchid_growth_status_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_orchid_growth_status_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_orchid_growth_status_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## 🌱 新芽萌发评估\n\n| 新芽数量 | 评级 | 说明 |\n|----------|------|------|\n| 3+ | 🟢 旺盛 | 生长活力极佳，株型扩展能力强 |\n| 1-2 | 🟡 正常 | 健康生长，符合正常分蘖节奏 |\n| 0 | 🟠 静止 | 处于休眠或养分储备期；若长期无芽需关注 |\n\n## 🌸 花梗（花箭）长度评估\n\n| 长度阶段 | 视觉表现 | 养护方向参考 |\n|----------|----------|--------------|\n| 萌动期（<5cm） | 假鳞茎旁出现绿色尖锥状突起 | 保持稳定环境，避免移动 |\n| 拔节期（5-20cm） | 花箭快速伸长，节间明显 | 注意支撑，防倒伏 |\n| 花苞期（>20cm） | 花箭顶端出现花苞 | 增加磷钾肥方向，准备开花 |\n| 无花梗 | 仅见叶片和新芽 | 可能营养未达开花条件，或非花期 |\n\n## 🌿 根系颜色识别与健康度\n\n| 根系颜色 | 健康度 | 视觉表现 | 含义 |\n|----------|--------|----------|------|\n| ⚪ 银白色 | 🟢 极佳 | 根尖饱满有水雾感，外层覆盖银白色根被 | 充水后呈现，活跃健康根系 |\n| 🟢 翠绿色 | 🟢 优秀 | 透明盆中可见的健康吸水根 | 正在光合作用与吸水，活力强 |\n| 🟡 浅黄色 | 🟡 普通 | 较老的根系 | 老化但仍具功能 |\n| 🟠 褐色 | 🟠 衰退 | 干瘪、表皮褐变 | 老化或缺水，需关注 |\n| ⚫ 黑色 | 🔴 腐烂 | 软烂发黑、有臭味 | 烂根，需紧急处理 |\n\n## 📊 生长活力综合评级\n\n| 评级 | 综合特征 | 养护方向 |\n|------|----------|----------|\n| 🟢 旺盛 | 新芽 ≥2，根系以白/绿为主（>70%健康根） | 维持当前养护，可适当增肥促进开花 |\n| 🟡 正常 | 新芽 1-2，根系健康根占 40-70% | 保持稳定，关注水肥平衡 |\n| 🟠 衰弱 | 无新芽，褐/黑根超 50% | 需检查浇水/通风/植料，必要时换盆 |\n| 🔴 危重 | 假鳞茎萎缩、烂根超过 70% | 紧急处理：剪除烂根、消毒、重新上盆 |\n\n## 📅 兰花养护关键节点参考\n\n| 季节 | 重点观察指标 | 常见问题 |\n|------|--------------|----------|\n| 🌸 春季 | 新芽萌发数量、花梗抽出 | 春化不足导致无花 |\n| 🌞 夏季 | 根系颜色（防烂根） | 高温烂根、叶片晒伤 |\n| 🍂 秋季 | 花梗发育、株型饱满度 | 花苞败育、新芽不健壮 |\n| ❄️ 冬季 | 假鳞茎饱满度、根系状态 | 低温烂根、冻害 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_orchid_growth_status_detection_analysis.py`](scripts/smyx_orchid_growth_status_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| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载 |\n| 📜 报告输出 | 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input /path/to/orchid.jpg\n\n# 分析网络兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --url https://example.com/orchid.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_orchid_growth_status_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --output result.json\n```\n\nFile v1.0.1:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-orchid-growth-status-detection-analysis\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1782496948937\n}\n\nFile v1.0.1: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_ORCHID_GROWTH_STATUS_DETECTION_ANALYSIS` - 兰花新芽/花梗/根系状态识别\n\nFile v1.0.1: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.1:scripts/config.yaml\n\n{}\n\nFile v1.0.1:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.1: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.1: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.1: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.1:skill-card.md\n\n## Description: <br>\nAI-powered orchid growth-status detection from orchid images or videos, including visible roots in transparent pots, that reports shoot count, flower-spike growth, root condition, overall vitality, and care guidance. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users such as orchid hobbyists, greenhouse operators, and horticulture studios use this skill to analyze orchid media for new shoots, flower spikes, root color, root health, and plant vitality. It can also return cloud-stored historical report records for the internally associated user identity. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: The skill uploads orchid images or videos to a cloud-backed analysis service and can query cloud report history. <br>\nMitigation: Use it only with media suitable for remote processing and deploy it where cloud report access is acceptable. <br>\nRisk: The skill silently creates or reuses an internal identity and persists local account tokens. <br>\nMitigation: Run it in isolated workspaces or accounts, and clear local state before switching users or sharing an environment. <br>\nRisk: Historical report access is tied to the internally associated identity. <br>\nMitigation: Confirm identity and report isolation requirements before enabling history queries in shared or multi-user deployments. <br>\n\n\n## Reference(s): <br>\n- [ClawHub Skill Page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-orchid-growth-status-detection-analysis) <br>\n- [Skill Demo](https://lifeemergence.com/sample.html) <br>\n- [Orchid Analysis 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, guidance] <br>\n**Output Format:** [Markdown summaries and tables, JSON analysis details, and report links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Supports image/video files or URLs, cloud-backed report retrieval, and optional output-file writing.] <br>\n\n## Skill Version(s): <br>\n1.0.1 (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.1:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.1:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.0: 31 files, 35607 bytes\n\nFiles: references/api_doc.md (720b), scripts/__init__.py (58b), scripts/api_service.py (1704b), scripts/config.py (697b), scripts/config.yaml (3b), scripts/skill.py (587b), scripts/smyx_orchid_growth_status_detection_analysis.py (3394b), SKILL.md (13763b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (2094b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1857b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (11394b), skills/smyx_analysis/scripts/smyx_analysis.py (3691b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (45b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2518b), 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 (20423b), skills/smyx_common/scripts/config.yaml (463b), skills/smyx_common/scripts/dao.py (11119b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (18384b), _meta.json (163b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: \"smyx-orchid-growth-status-detection-analysis\"\ndescription: \"AI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios. | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\"\nversion: \"1.0.0\"\n---\n\n# Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别\n\nAI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios.\n\n通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\n\n## 🎯 AI 角色\n\n**假设你是一个专业的兰花栽培AI。你的任务是分析兰花的整体图像（包括假鳞茎、叶片、花梗）以及透明盆内的根系图像，检测新芽萌发数量、花梗长度、根系颜色和状态，综合评估兰花当前生长活力。不要提供具体的施肥或用药剂量，仅输出基于视觉的生长状态指标。**\n\n## 任务目标\n\n- 本 Skill 用于：通过兰花植株图像及透明盆内根系图像，检测新芽/花梗/根系三大核心指标，综合评估生长活力\n- 能力包含：新芽萌发数量统计、花梗（花箭）长度评估、根系颜色识别（白/绿/褐/黑）、根系健康度评估、生长活力综合评级（旺盛/正常/衰弱）、养护方向参考\n- 触发条件:\n    1. **默认触发**：当用户提供兰花植株或根系图像/视频需要分析时，默认触发本技能进行生长状态识别\n    2. 当用户明确需要兰花生长状态检测时，提及兰花新芽、花箭、花梗、兰花根、根系颜色、兰花换盆、兰花施肥等关键词，并且上传了图像或视频文件\n    3. 当用户提及以下关键词时，**自动触发历史报告查询功能**\n       ：查看历史兰花报告、历史兰花状态报告、兰花报告清单、显示所有兰花报告、查询兰花生长记录\n- 自动行为：\n    1. 如果用户上传了附件或者图像/视频文件，则自动保存为本地文件\n    2. **⚠️ 强制数据获取规则（次高优先级）**：如果用户触发任何历史报告查询关键词（如\"查看所有兰花报告\"、\"显示兰花状态报告\"、\"查看历史报告\"等），**必须**：\n        - 直接使用 `python -m scripts.smyx_orchid_growth_status_detection_analysis --list --open-id` 参数调用 API\n          查询云端的历史报告数据\n        - **严格禁止**：从本地 memory 目录读取历史会话信息、严格禁止手动汇总本地记录中的报告、严格禁止从长期记忆中提取报告\n        - **必须统一**从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果\n\n## 前置准备\n\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 操作步骤\n\n### 🔒 open-id 获取流程控制（强制执行，防止遗漏）\n\n**在执行兰花生长状态识别前，必须按以下优先级顺序获取 open-id：**\n\n```\n第 1 步：【最高优先级】检查技能所在目录的配置文件（优先）\n        路径：skills/smyx_common/scripts/config.yaml（相对于技能根目录）\n        完整路径示例：${OPENCLAW_WORKSPACE}/skills/{当前技能目录}/skills/smyx_common/scripts/config.yaml\n        → 如果文件存在且配置了 api-key 字段，则读取 api-key 作为 open-id\n        ↓ (未找到/未配置/api-key 为空)\n第 2 步：检查 workspace 公共目录的配置文件\n        路径：${OPENCLAW_WORKSPACE}/skills/smyx_common/scripts/config.yaml\n        → 如果文件存在且配置了 api-key 字段，则读取 api-key 作为 open-id\n        ↓ (未找到/未配置)\n第 3 步：检查用户是否在消息中明确提供了 open-id\n        ↓ (未提供)\n第 4 步：❗ 必须暂停执行，明确提示用户提供用户名或手机号作为 open-id\n```\n\n**⚠️ 关键约束：**\n\n- **禁止**自行假设,自行推导,自行生成 open-id 值（如 openclaw-control-ui、default、userC113、user123 等）\n- **禁止**跳过 open-id 验证直接调用 API\n- **必须**在获取到有效 open-id 后才能继续执行分析\n- 如果用户拒绝提供 open-id，说明用途（用于保存和查询历史报告记录），并询问是否继续\n\n---\n\n- 标准流程:\n    1. **准备图像/视频输入**\n        - 提供本地兰花图像/视频文件路径或网络 URL\n        - 拍摄建议：\n          - **建议拍摄两张**：植株整体（看新芽/花梗）+ 透明盆侧面（看根系）\n          - 高清近景，光线充足均匀\n          - 透明盆拍摄根系时贴近盆壁\n          - 固定角度定期拍摄，便于跟踪生长变化\n        - 支持图像（jpg/png）和视频（mp4/avi/mov）格式\n    2. **获取 open-id（强制执行）**\n        - 按上述流程控制获取 open-id\n        - 如无法获取，必须提示用户提供用户名或手机号\n    3. **执行生长状态识别**\n        - 调用 `-m scripts.smyx_orchid_growth_status_detection_analysis` 处理图像/视频文件（**必须在技能根目录下运行脚本**）\n        - 参数说明:\n            - `--input`: 本地兰花图像/视频文件路径\n            - `--url`: 网络兰花图像/视频 URL 地址（API 服务自动下载）\n            - `--pet-type`: 对象类型，植物场景默认 other\n            - `--open-id`: 当前用户的 open-id（必填，按上述流程获取）\n            - `--list`: 显示兰花生长状态识别历史报告列表清单\n            - `--api-key`: API 访问密钥（可选）\n            - `--api-url`: API 服务地址（可选，使用默认值）\n            - `--detail`: 输出详细程度（basic/standard/json，默认 json）\n            - `--output`: 结果输出文件路径（可选）\n    4. **查看识别结果**\n        - 接收结构化的兰花生长状态报告\n        - 包含：**新芽萌发数量**、**花梗（花箭）长度估计**、**根系颜色分布**（白/绿/褐/黑各占比）、**根系健康度**、**综合生长活力评级**（旺盛/正常/衰弱）、**养护方向参考**\n        - **重要提示**：仅输出基于视觉的生长状态指标，**不提供具体的施肥或用药剂量**\n\n## 🌱 新芽萌发评估\n\n| 新芽数量 | 评级 | 说明 |\n|----------|------|------|\n| 3+ | 🟢 旺盛 | 生长活力极佳，株型扩展能力强 |\n| 1-2 | 🟡 正常 | 健康生长，符合正常分蘖节奏 |\n| 0 | 🟠 静止 | 处于休眠或养分储备期；若长期无芽需关注 |\n\n## 🌸 花梗（花箭）长度评估\n\n| 长度阶段 | 视觉表现 | 养护方向参考 |\n|----------|----------|--------------|\n| 萌动期（<5cm） | 假鳞茎旁出现绿色尖锥状突起 | 保持稳定环境，避免移动 |\n| 拔节期（5-20cm） | 花箭快速伸长，节间明显 | 注意支撑，防倒伏 |\n| 花苞期（>20cm） | 花箭顶端出现花苞 | 增加磷钾肥方向，准备开花 |\n| 无花梗 | 仅见叶片和新芽 | 可能营养未达开花条件，或非花期 |\n\n## 🌿 根系颜色识别与健康度\n\n| 根系颜色 | 健康度 | 视觉表现 | 含义 |\n|----------|--------|----------|------|\n| ⚪ 银白色 | 🟢 极佳 | 根尖饱满有水雾感，外层覆盖银白色根被 | 充水后呈现，活跃健康根系 |\n| 🟢 翠绿色 | 🟢 优秀 | 透明盆中可见的健康吸水根 | 正在光合作用与吸水，活力强 |\n| 🟡 浅黄色 | 🟡 普通 | 较老的根系 | 老化但仍具功能 |\n| 🟠 褐色 | 🟠 衰退 | 干瘪、表皮褐变 | 老化或缺水，需关注 |\n| ⚫ 黑色 | 🔴 腐烂 | 软烂发黑、有臭味 | 烂根，需紧急处理 |\n\n## 📊 生长活力综合评级\n\n| 评级 | 综合特征 | 养护方向 |\n|------|----------|----------|\n| 🟢 旺盛 | 新芽 ≥2，根系以白/绿为主（>70%健康根） | 维持当前养护，可适当增肥促进开花 |\n| 🟡 正常 | 新芽 1-2，根系健康根占 40-70% | 保持稳定，关注水肥平衡 |\n| 🟠 衰弱 | 无新芽，褐/黑根超 50% | 需检查浇水/通风/植料，必要时换盆 |\n| 🔴 危重 | 假鳞茎萎缩、烂根超过 70% | 紧急处理：剪除烂根、消毒、重新上盆 |\n\n## 📅 兰花养护关键节点参考\n\n| 季节 | 重点观察指标 | 常见问题 |\n|------|--------------|----------|\n| 🌸 春季 | 新芽萌发数量、花梗抽出 | 春化不足导致无花 |\n| 🌞 夏季 | 根系颜色（防烂根） | 高温烂根、叶片晒伤 |\n| 🍂 秋季 | 花梗发育、株型饱满度 | 花苞败育、新芽不健壮 |\n| ❄️ 冬季 | 假鳞茎饱满度、根系状态 | 低温烂根、冻害 |\n\n## 资源索引\n\n- 必要脚本：见 [scripts/smyx_orchid_growth_status_detection_analysis.py](scripts/smyx_orchid_growth_status_detection_analysis.py)(用途：调用 API 进行兰花生长状态识别，本地文件上传，网络 URL 由 API 服务自动下载)\n- 配置文件：见 [scripts/config.py](scripts/config.py)(用途：配置 API 地址、默认参数和场景代码)\n- 领域参考：见 [references/api_doc.md](references/api_doc.md)(何时读取：需要了解 API 接口详细规范和错误码时)\n\n## 注意事项\n\n- 仅在需要时读取参考文档，保持上下文简洁\n- 支持 jpg/png/mp4/avi/mov 格式，最大 10MB\n- **拍摄要求**：建议整体+根系两张图；根系拍摄必须为透明盆且贴近盆壁\n- API 密钥可选，如果通过参数传入则必须确保调用鉴权成功，否则忽略鉴权\n- **仅输出基于视觉的生长状态指标，不提供具体施肥或用药剂量**\n- 不透明盆无法识别根系，仅能评估新芽和花梗\n- 兰花品种繁多（蝴蝶兰/卡特兰/石斛/国兰/万代等），不同品种根系/花梗形态差异大\n- 根系刚浇水会呈翠绿色（吸水状态），干燥时呈银白色（根被显露），均为健康\n- 长期无新芽不一定是衰弱，可能处于休眠/养分储备期，需结合季节判断\n- 禁止临时生成脚本，只能用技能本身的脚本\n- 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，API 服务会自动下载\n- 当显示历史识别报告清单的时候，从接口返回 json 数据中提取字段 reportImageUrl 作为超链接地址，且自动转化为如下 Markdown\n  表格格式输出，包含\"报告名称\"、\"对象类型\"、\"分析时间\"、\"点击查看\"四列，其中\"报告名称\"列使用`兰花生长状态报告-{记录id}`形式拼接, \"点击查看\"\n  列使用\n  `[🔗 查看报告](reportImageUrl)`\n  格式的超链接，用户点击即可直接跳转到对应的完整报告页面。\n- 表格输出示例：\n  | 报告名称 | 对象类型 | 分析时间 | 点击查看 |\n  |----------|----------|----------|----------|\n  | 兰花生长状态报告-20260312172200001 | 植物 | 2026-03-12 17:22:00 | [🔗 查看报告](https://example.com/report?id=xxx) |\n\n## 使用示例\n\n```bash\n# 分析本地兰花图像（以下只是示例，禁止直接使用openclaw-control-ui 作为 open-id）\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input /path/to/orchid.jpg --open-id your-open-id\n\n# 分析网络兰花图像（以下只是示例，禁止直接使用openclaw-control-ui 作为 open-id）\npython -m scripts.smyx_orchid_growth_status_detection_analysis --url https://example.com/orchid.jpg --open-id your-open-id\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_orchid_growth_status_detection_analysis --list --open-id your-open-id\n\n# 输出精简报告\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --open-id your-open-id --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --open-id your-open-id --output result.json\n```\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-orchid-growth-status-detection-analysis\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1779559587094\n}\n\nFile v1.0.0: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_ORCHID_GROWTH_STATUS_DETECTION_ANALYSIS` - 兰花新芽/花梗/根系状态识别\n\nFile v1.0.0:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口地址\n\n`POST https://your-api-server.com/api/v1/common-analysis`\n\n## 请求头\n\n| 字段           | 必选 | 说明                            |\n|--------------|----|-------------------------------|\n| X-API-Key    | 是  | API访问密钥                       |\n| Content-Type | 是  | 文件上传或 application/json（URL模式） |\n\n## 请求参数\n\n### 1. 文件上传模式\n\n| 字段           | 类型     | 必选 | 说明                                    |\n|--------------|--------|----|---------------------------------------|\n| video        | file   | 是  | MP4视频文件                               |\n| detail_level | string | 否  | 输出详细程度：basic/standard/full，默认standard |\n\n### 2. URL模式\n\n| 字段           | 类型     | 必选 | 说明                                    |\n|--------------|--------|----|---------------------------------------|\n| video_url    | string | 是  | 可公开访问的视频URL                           |\n| detail_level | string | 否  | 输出详细程度：basic/standard/full，默认standard |\n\n## 响应格式\n\n```json\n{\n  \"code\": 200,\n  \"message\": \"success\",\n  \"data\": {\n    \"analysis_time\": \"2026-03-10 15:30:00\",\n    \"face_detection\": {\n      \"status\": \"success\",\n      \"face_count\": 1,\n      \"quality_score\": 95\n    },\n    \"diagnosis\": {\n      \"overall_constitution\": \"平和质\",\n      \"organ_condition\": {\n        \"liver\": \"正常\",\n        \"heart\": \"轻微火旺\",\n        \"spleen\": \"略虚\",\n        \"lung\": \"正常\",\n        \"kidney\": \"正常\"\n      },\n      \"color_analysis\": {\n        \"complexion\": \"微黄\",\n        \"correspondence\": \"脾胃功能略弱\"\n      }\n    },\n    \"health_warnings\": [\n      \"注意休息，避免熬夜\"\n    ],\n    \"suggestions\": [\n      \"饮食清淡，减少辛辣食物摄入\"\n    ]\n  }\n}\n```\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.0:scripts/config.yaml\n\n{}\n\nFile v1.0.0:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.0: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.0: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.0:skills/smyx_common/scripts/config.yaml\n\nenv: prod\n\nApiEnum:\n  api-key:\n  api-secret-key:\n  database-url:\n  base-url-open-api: \"https://open.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitor.lifeemergence.com\"\n  base-url-health: \"https://lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: false\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: \"XIAN_ZHAO_GAN_ZHI\"\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret:\n  default--skill-platform-name: ARK_CLAW\n\nFile v1.0.0:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.0:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3","readmeExcerpt":"Skill: Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别 Owner: smyx-sunjinhui Summary: AI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vig","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"python -m scripts.smyx_orchid_growth_status_detection_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input /path/to/orchid.jpg\n\n# 分析网络兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --url https://example.com/orchid.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_orchid_growth_status_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --output result.json"},{"language":"bash","snippet":"python -m scripts.smyx_orchid_growth_status_detection_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input /path/to/orchid.jpg\n\n# 分析网络兰花图像\npython -m scripts.smyx_orchid_growth_status_detection_analysis --url https://example.com/orchid.jpg\n\n# 显示历史识别报告/显示报告清单列表\npython -m scripts.smyx_orchid_growth_status_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_orchid_growth_status_detection_analysis --input orchid.jpg --output result.json"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: \"smyx-orchid-growth-status-detection-analysis\"\ndescription: \"AI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios. | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\"\nversion: \"1.0.10\"\nlicense: \"MIT-0\"\n---\n\n# 🌸 Orchid Growth Status Detection (Shoots / Spike / Roots) | 兰花新芽/花梗/根系状态识别\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **兰花新芽/花梗/根系状态识别** |\n| 🎯 核心目标 | 通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\\\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\\\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_ORCHID_GROWTH_STATUS_DETECTION_ANALYSIS` |\n\nAI-powered orchid growth-status detection from HD images (including roots visible through transparent pots) via orchid cameras or smartphones. Measures new-shoot count, flower-spike length, and root color/condition (white = healthy, brown = aged, black = rotten) to deliver a holistic vitality assessment (vigorous / normal / weak) plus care guidance such as 'three new shoots, healthy roots, increase phosphorus-potassium to promote spike growth'. Helps orchid hobbyists pinpoint repotting and feeding timing. Scenarios: home orchid care, orchid greenhouses, horticulture studios.\n\n通过兰花栽培专用摄像头或手机拍摄的高清图像（包括透明兰盆内的根系），利用AI视觉分析技术检测兰花新芽萌发数量、花梗（花箭）生长长度以及根系颜色（白色健康、褐色老化、黑色腐烂），综合输出兰花的生长状态评估（旺盛/正常/衰弱）及养护建议（如\"新芽萌发3个，根系健康，可适当增加磷钾肥促进花梗生长\"）。有助于兰花爱好者精准掌握植株生长节奏，及时调整水肥管理。应用场景：兰花家庭养护、兰花大棚、兰花园艺工作室。\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| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史兰花报告、历史兰花状态报告、兰"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-orchid-growth-status-detection-analysis\",\n  \"version\": \"1.0.8\",\n  \"publishedAt\": 1786994613296\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_ORCHID_GROWTH_STATUS_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":1052,"uniquenessScore":43,"reasons":["uniqueness-below-45"]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-10T03:00:23.658Z","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-10T03:00:23.658Z","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-10T08:15:51.257Z","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"}]}}}