{"id":"20596f04-5ccb-4921-baab-152229477594","entityType":"agent","slug":"clawhub-18072937735-smyx-egg-incubation-monitoring-analysis","name":"Egg Incubation Monitoring (Turtle/Snake) | 孵化箱内龟蛋/蛇蛋发育监测","canonicalUrl":"https://www.xpersona.co/agent/clawhub-18072937735-smyx-egg-incubation-monitoring-analysis","canonicalPath":"/agent/clawhub-18072937735-smyx-egg-incubation-monitoring-analysis","generatedAt":"2026-10-10T09:26:28.707Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T19:06:19.907Z","emptyReason":null},"description":"Through a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass. | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。","descriptionLabel":"Source description","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 2.1K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-egg-incubation-monitoring-analysis","sourceUrl":"https://clawhub.ai/18072937735/smyx-egg-incubation-monitoring-analysis","homepage":"https://clawhub.ai/18072937735/skills/smyx-egg-incubation-monitoring-analysis","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/18072937735/smyx-egg-incubation-monitoring-analysis","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/18072937735/skills/smyx-egg-incubation-monitoring-analysis","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":66,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Egg Incubation Monitoring (Turtle/Snake) | 孵化箱内龟蛋/蛇蛋发育监测 technical dossier on Xpersona with agent coverage, OPENCLEW support, and live trust metadata."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T19:06:19.907Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T19:06:19.907Z","emptyReason":null},"stars":null,"forks":null,"downloads":2096,"packageName":null,"latestVersion":"1.0.15","tractionLabel":"2.1K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T19:06:19.907Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T19:06:19.907Z","lastCrawledAt":"2026-10-09T19:06:19.907Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T19:06:19.907Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.15","createdAt":"2026-09-28T19:17:37.087Z","changelog":"- Removed the file skill-card.md. - No changes to core features or functionality. - Documentation and skill description remain unchanged.","fileCount":31,"zipByteSize":46062},{"version":"1.0.14","createdAt":"2026-09-27T11:32:26.680Z","changelog":"- Updated version to 1.0.15. - Minor documentation updates in SKILL.md. - Removed legacy file skill-card.md. - No changes to functional logic; core features and workflow remain unchanged.","fileCount":31,"zipByteSize":46054},{"version":"1.0.13","createdAt":"2026-09-17T18:48:35.414Z","changelog":"smyx-egg-incubation-monitoring-analysis 1.0.13 - Updated skill documentation in SKILL.md for improved clarity and detail. - Removed skill-card.md file.","fileCount":31,"zipByteSize":46292},{"version":"1.0.12","createdAt":"2026-08-27T14:00:48.735Z","changelog":"- Updated version number in SKILL.md. - Removed skill-card.md from the project. - No user-facing functional or behavioral changes.","fileCount":31,"zipByteSize":46420},{"version":"1.0.11","createdAt":"2026-08-17T18:40:37.382Z","changelog":"Version 1.0.11 - Removed the file: skill-card.md. - No other functionality or documentation changes.","fileCount":31,"zipByteSize":46379},{"version":"1.0.10","createdAt":"2026-08-16T11:43:30.310Z","changelog":"- Updated internal versioning from 1.0.8 to 1.0.9 in SKILL.md. - Minor edits and maintenance performed on documentation files. - Removed the redundant skill-card.md file.","fileCount":31,"zipByteSize":46328},{"version":"1.0.9","createdAt":"2026-08-06T02:07:45.313Z","changelog":"Version 1.0.9 - Updated documentation: SKILL.md is updated with minor content or metadata changes. - Removed skill-card.md from the project. - No changes to core features or logic.","fileCount":31,"zipByteSize":46268},{"version":"1.0.8","createdAt":"2026-07-28T20:13:47.270Z","changelog":"- Updated SKILL.md file version from 1.0.5 to 1.0.6 with minor edits. - Removed the file skill-card.md. - No new features or major logic changes; documentation and metadata adjustments only.","fileCount":31,"zipByteSize":46351}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-egg-incubation-monitoring-analysis","setupComplexity":"low","setupSteps":["Install using `clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-egg-incubation-monitoring-analysis` in an isolated environment before connecting it to live workloads.","No published capability contract is available yet, so validate auth and request/response behavior manually.","Review the upstream CLAWHUB listing at https://clawhub.ai/18072937735/smyx-egg-incubation-monitoring-analysis before using production credentials."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-egg-incubation-monitoring-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-egg-incubation-monitoring-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-egg-incubation-monitoring-analysis/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-egg-incubation-monitoring-analysis/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-egg-incubation-monitoring-analysis/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-egg-incubation-monitoring-analysis/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-10T09:26:28.700Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-egg-incubation-monitoring-analysis/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-egg-incubation-monitoring-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-egg-incubation-monitoring-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-egg-incubation-monitoring-analysis/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T19:06:19.907Z","emptyReason":null},"readme":"Skill: Egg Incubation Monitoring (Turtle/Snake) | 孵化箱内龟蛋/蛇蛋发育监测\n\nOwner: 18072937735\n\nSummary: Through a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass. | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。\n\nTags: latest:1.0.15\n\nVersion history:\n\nv1.0.15 | 2026-09-28T19:17:37.087Z | auto\n\n- Removed the file skill-card.md.  \n- No changes to core features or functionality.  \n- Documentation and skill description remain unchanged.\n\nv1.0.14 | 2026-09-27T11:32:26.680Z | auto\n\n- Updated version to 1.0.15.\n- Minor documentation updates in SKILL.md.\n- Removed legacy file skill-card.md.\n- No changes to functional logic; core features and workflow remain unchanged.\n\nv1.0.13 | 2026-09-17T18:48:35.414Z | auto\n\nsmyx-egg-incubation-monitoring-analysis 1.0.13\n\n- Updated skill documentation in SKILL.md for improved clarity and detail.\n- Removed skill-card.md file.\n\nv1.0.12 | 2026-08-27T14:00:48.735Z | auto\n\n- Updated version number in SKILL.md.\n- Removed skill-card.md from the project.\n- No user-facing functional or behavioral changes.\n\nv1.0.11 | 2026-08-17T18:40:37.382Z | auto\n\nVersion 1.0.11\n\n- Removed the file: skill-card.md.\n- No other functionality or documentation changes.\n\nv1.0.10 | 2026-08-16T11:43:30.310Z | auto\n\n- Updated internal versioning from 1.0.8 to 1.0.9 in SKILL.md.\n- Minor edits and maintenance performed on documentation files.\n- Removed the redundant skill-card.md file.\n\nv1.0.9 | 2026-08-06T02:07:45.313Z | auto\n\nVersion 1.0.9\n\n- Updated documentation: SKILL.md is updated with minor content or metadata changes.\n- Removed skill-card.md from the project.\n- No changes to core features or logic.\n\nv1.0.8 | 2026-07-28T20:13:47.270Z | auto\n\n- Updated SKILL.md file version from 1.0.5 to 1.0.6 with minor edits.\n- Removed the file skill-card.md.\n- No new features or major logic changes; documentation and metadata adjustments only.\n\nv1.0.7 | 2026-07-15T06:52:46.606Z | auto\n\n**Changelog for smyx-egg-incubation-monitoring-analysis 1.0.7**\n\n- Updated documentation in SKILL.md with minor content or metadata changes.\n- Removed redundant file: skill-card.md.\n- Made small modifications in skills/smyx_common/scripts/util.py (details not specified).\n- No major feature updates or behavioral changes indicated.\n\nv1.0.6 | 2026-07-08T21:44:27.732Z | auto\n\n- Updated version to 1.0.6.\n- Minor documentation changes in SKILL.md; version number in metadata updated.\n- No functional changes to the code or skill logic.\n\nv1.0.5 | 2026-07-02T16:30:35.486Z | auto\n\n**smyx-egg-incubation-monitoring-analysis 1.0.5 Changelog**\n\n- Major update to user identity and historical report retrieval: user identity (open-id) is now handled internally and is never requested from or displayed to end users.\n- Updated SKILL.md to clarify that all identity/authentication is fully automatic; all prompts to ask users for usernames or phone numbers have been removed.\n- Refactored and cleaned up scripts: centralised identity flow in the backend, ensuring seamless internal association for analysis and report queries.\n- Improved consistency and clarity in documentation, merging bilingual explanations and providing structured task and capability overviews.\n- Removed outdated files (`scripts/api_service.py`, `skill-card.md`) for better project organisation.\n\nv1.0.4 | 2026-06-23T11:28:33.946Z | auto\n\nsmyx-egg-incubation-monitoring-analysis v1.0.4\n\n- Updated internal documentation and references, including SKILL.md, to improve clarity and accuracy.\n- Refined code structure and configuration management in config.yaml, util.py, and dao.py for better maintainability.\n- Removed outdated file skill-card.md.\n- Adjusted and updated script logic in smyx_analysis.py.\n- Improved API documentation and references.\n\nv1.0.0 | 2026-06-18T01:53:15.755Z | auto\n\nVersion 1.0.1\n\n- Updated SKILL.md content (minor adjustments; version bumped to 1.0.1).\n- Removed obsolete file: skill-card.md.\n- Made minor changes to the shared configuration file at skills/smyx_common/scripts/config.yaml.\n\nv1.0.3 | 2026-06-15T17:58:26.816Z | auto\n\nsmyx-egg-incubation-monitoring-analysis 1.0.3 Changelog\n\n- Expanded and clarified skill description, use cases, and safety/usage warnings.\n- Strengthened detailed AI visual analysis indicators for turtle and snake egg incubation, including shell color, vascular, embryo, and developmental stage detection.\n- Enhanced multilingual documentation and task objectives (English and Chinese).\n- Introduced strict open-id acquisition sequence and enforcement to protect historical report integrity.\n- Outlined comprehensive workflow, input requirements, and failure-handling for user and deployment scenarios.\n- Added explicit prohibition of invasive actions, temperature/humidity recommendations, and unauthorized open-id assumptions.\n\nArchive index:\n\nArchive v1.0.15: 31 files, 46062 bytes\n\nFiles: references/api_doc.md (8441b), scripts/__init__.py (59b), scripts/config.py (691b), scripts/config.yaml (3b), scripts/skill.py (586b), scripts/smyx_egg_incubation_monitoring_analysis.py (3687b), skill-card.md (2031b), SKILL.md (20503b), 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 (159b)\n\nFile v1.0.15:SKILL.md\n\n---\nname: \"smyx-egg-incubation-monitoring-analysis\"\ndescription: \"Through a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass. | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。\"\nversion: \"1.0.15\"\nlicense: \"MIT-0\"\n---\n\n# 🥚 Egg Incubation Monitoring (Turtle/Snake) | 孵化箱内龟蛋/蛇蛋发育监测\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **孵化箱内龟蛋/蛇蛋发育监测** |\n| 🎯 核心目标 | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` |\n\nThrough a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass visible in the later stages). It comprehensively determines the egg's fertilisation status and developmental stage (unfertilised / early fertile / vascular development / embryo formation / about to hatch) and outputs an incubation progress report. This skill helps reptile breeders monitor egg development, promptly remove unfertilised or dead eggs, and adjust temperature and humidity. Application scenarios: reptile incubators, turtle/snake breeding farms, home hobbyist breeders. The system automatically captures and analyses images daily or every two days, generating an incubation report. Skill features: turtle and snake eggs have long incubation periods (months); regular candling can detect unfertilised or dead eggs early to prevent mould from spreading to other eggs. AI-based automatic identification and alerts can improve hatching success rates and reduce breeder workload. This skill can be integrated into smart incubators or breeding-management apps.\n\n通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。综合判断蛋的受精状态及发育阶段（未受精/受精早期/血管发育期/胚胎成形期/即将孵化），输出孵化进度报告。该技能有助于爬宠繁殖者掌握蛋的发育情况，及时剔除未受精或坏死的蛋，调整温湿度。应用场景：爬宠孵化箱、龟/蛇繁殖场、家庭繁殖爱好者。系统每日或每两日自动拍照分析，生成孵化报告。技能特点：龟蛋和蛇蛋孵化期较长（数月至数月），定期照蛋可及时发现未受精或坏死蛋，防止霉变影响其他蛋。通过 AI 自动识别并提醒，可提高孵化成功率，减轻繁殖者负担。该技能可集成到智能孵化箱或繁殖管理 APP 中。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的爬行动物繁殖 AI。你的任务是分析孵化箱内龟蛋或蛇蛋的高清图像（微距俯拍蛋壳表面 OR 侧向**冷 LED 透光照蛋 candling** < 300 lumen < 35℃ 照射 < 10 秒，分辨率 ≥ 1080p——血管网络/血丝细节需高清），围绕\"蛋壳 + 血管 + 胚胎\"展开四组检测：① **蛋壳形态**：颜色分类 6 类（white_normal / pale_yellow_normal / **chalking_white_fertile_sign** 钙化白带受精征兆 / gray_spots_warning / yellowed_discolored_warning / mold_growth_severe）+ **钙化白带是否可见**（受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）+ 蛋形长宽比 + 表面纹理（光滑/凝水/裂纹/霉变） + 霉变面积占比（> 5% 高警戒）；② **血管与血丝**：**血管网络是否可见**（受精中早期 14-30 天红色细线状网络）+ 复杂度评分 0-10（< 3 早期 / 4-7 中期 / > 7 成熟）+ **血环是否检测到**（**死胎警告信号！血管退化形成红环**）+ 血丝可见度（首次发现表示受精成功）+ 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）；③ **胚胎与孵化进度**：**胚胎黑影是否可见**（后期 30 天+，照蛋时暗色团块）+ 相对蛋大小比例（< 30% 早期 / 30-60% 中期 / > 70% 即将孵化）+ **胚胎运动**（即将孵化前 7 天可见）+ 胚胎位置（**应靠上半部分**，朝下提示异常）+ 气室位置（蛋钝端，气室异常提示死胎）+ 估算孵化天数（产卵日期+当前日期）；④ **物种孵化周期硬约束 + 排除上下文**：陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天（**严禁通用判定窗口**），温湿度稳定性 / **是否近期被翻转/移动**（**翻转 90°+ 必须警告蛋已损坏**）/ 照蛋光源安全性。按 8 类综合场景判定（egg_unfertilized_yolker / **egg_fertile_early_stage** / **egg_fertile_vascular_stage** / **egg_fertile_embryo_stage** / **egg_pre_hatching** / **egg_dead_embryo_blood_ring** / **egg_mold_contamination** / egg_signal_unreliable），按 4 级提醒策略递进（Level 1 入库+进度可视化（按蛋编号生成孵化时间线）→ Level 2 未受精持续超物种判定窗口：观察至 21 天再判定+检查温湿度+可后期剔除避免霉变 → Level 3 霉变/凝水/裂纹：立即移至单独观察盒隔离+检查孵化箱整体湿度+观察其他蛋扩散 → Level 4 死胎+血环：🚨 立即移出避免发酵爆炸污染其他蛋+检查温度曾否过高过低+评估方案是否需调整+联系爬宠繁殖兽医复盘）。**核心物种孵化周期硬约束**：陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天（严禁通用窗口盲判）。照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p → 必须返回 `egg_signal_unreliable`。不提供任何医疗建议，仅输出基于视觉的发育阶段分类；**🚨 严禁伪造夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**——误判会让繁殖者错过最佳处理时机；**🚨 严禁输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何侵入式操作指令**；**🚨 严禁推荐具体温度/湿度数字（如\"调到 30.5℃\"\"湿度 85%\"）**，仅可建议\"按物种孵化手册推荐范围调整\"；**🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）；**🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎，必须冷 LED < 300 lumen + 照射 < 10 秒）；**🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**）；严禁越权代用户调整孵化箱温湿度（仅可建议）。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n基于孵化箱内固定微距摄像头每日 1 次或每两日 1 次拍照（孵化周期 45-120 天无需频繁），识别 8 类综合场景（egg_unfertilized_yolker / egg_fertile_early_stage / egg_fertile_vascular_stage / egg_fertile_embryo_stage / egg_pre_hatching / egg_dead_embryo_blood_ring / egg_mold_contamination / egg_signal_unreliable）→ **四组指标**：蛋壳形态 5 项（**颜色 6 类** + **钙化白带可见** + 长宽比 + 表面纹理 + 霉变占比）+ 血管与血丝 5 项（**血管网络可见** + **复杂度评分 0-10** + **血环检测** + 血丝可见度 + 血色分类）+ 胚胎与孵化进度 6 项（**胚胎黑影可见** + 相对蛋大小比例 + **胚胎运动** + 胚胎位置 + 气室位置 + 估算孵化天数）+ 物种与排除 6 项（**物种正常孵化天数范围** + 温度稳定 + 湿度稳定 + **是否近期被翻转** + 照蛋光源安全 + 图像质量）→ 4 档提醒级别（info / important / urgent / critical）→ **4 级提醒策略递进**（入库+进度可视化 → 观察至 21 天+检查温湿度+可后期剔除 → 立即隔离+检查整体湿度+观察扩散 → 🚨 立即移出避免发酵爆炸+评估方案+联系繁殖兽医）→ 单日提醒上限（Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5）→ **孵化进度报告**（按 incubator_id + egg_id + 报告日期输出，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化）\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 每枚蛋独立编号识别 |\n| 2 | 蛋壳颜色 HSV 量化 |\n| 3 | 钙化白带检测 |\n| 4 | 表面纹理分析（凝水/裂纹/霉变） |\n| 5 | 霉变面积占比计算 |\n| 6 | 血管网络分割与复杂度评分 |\n| 7 | **血环检测（死胎核心信号）** |\n| 8 | 血丝可见度量化 |\n| 9 | 胚胎黑影轮廓提取 |\n| 10 | 胚胎黑影占比估算 |\n| 11 | 胚胎运动检测（连续帧差） |\n| 12 | 气室位置判定 |\n| 13 | 物种孵化周期匹配 |\n| 14 | 温湿度日志关联 |\n| 15 | 翻转检测（蛋姿态变化告警） |\n| 16 | 照蛋光源安全门控 |\n| 17 | 图像质量门控（凝水/堆叠 → unreliable） |\n| 18 | 用户 APP 推送 |\n| 19 | 4 级提醒递进 |\n| 20 | 单日提醒上限 |\n| 21 | 孵化时间线可视化 |\n| 22 | 连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供龟蛋/蛇蛋微距高清图像/视频 URL 或文件需要分析时，默认触发本技能进行孵化监测 |\n| 🔎 明确分析意图 | 当用户明确提及照蛋、龟蛋孵化、蛇蛋孵化、未受精蛋、血环、血管网络、胚胎黑影、孵化进度等关键词，并且上传了图像/视频文件 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能**：查看孵化历史报告、孵化时间线、查询历史蛋发育记录、显示所有孵化报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_egg_incubation_monitoring_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 | 🔐 获取 open-id（强制执行） | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行孵化监测 | 调用 `-m scripts.smyx_egg_incubation_monitoring_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## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_egg_incubation_monitoring_analysis.py`](scripts/smyx_egg_incubation_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 输入要求：支持 jpg/png/mp4，最大 10MB；**微距俯拍** OR **侧向冷 LED 透光照蛋**；**分辨率 ≥ 1080p**；**冷 LED 光源 < 300 lumen < 35℃ 照射 < 10 秒**；**严禁热光源**；**严禁翻蛋 90°+** |\n| 🔎 使用提醒 | **核心采样**：每日 1 次 OR 每两日 1 次（孵化周期 45-120 天） |\n| 🌐 网络地址 | **核心评估三要素联合**：钙化白带（受精标志） + 血管网络（受精中期） + **血环检测**（死胎警告核心信号） |\n| 🔎 使用提醒 | **4 级提醒策略递进**（info → important → urgent → critical），**血环检测 / 死胎信号** 直接 Level 4 |\n| 🔎 使用提醒 | 单日提醒上限：Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5 |\n| 🔎 使用提醒 | 红线约束 |\n| 🔎 使用提醒 | **🚨 严禁伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**（误判让繁殖者错过最佳处理时机） |\n| 🔎 使用提醒 | **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令 |\n| 🔎 使用提醒 | **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\" |\n| 🔎 使用提醒 | **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题） |\n| 🔎 使用提醒 | **🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎），必须冷 LED < 300 lumen + < 10 秒 |\n| 🔎 使用提醒 | **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**） |\n| 🔎 使用提醒 | **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定） |\n| 🔎 使用提醒 | **禁止**用于商业广告 / AI 训练；禁第三方共享 |\n| 🔎 使用提醒 | **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议） |\n| 🔎 使用提醒 | **必须**按 **species 孵化周期硬约束判定**（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天），**严禁通用判定窗口** |\n| 🔎 使用提醒 | **必须**在照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p 时返回 `egg_signal_unreliable` |\n| 🔎 使用提醒 | **必须**：连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n| 📜 报告输出 | **必须**：孵化进度报告**按 incubator_id + egg_id + 报告日期输出**，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史孵化监测记录清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input /path/to/egg_candling.jpg\n\n# 分析网络龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --url https://example.com/egg_candling.jpg\n\n# 显示历史孵化监测记录清单（自动触发关键词：查看孵化历史报告等）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --output result.json\n```\n\nFile v1.0.15:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-egg-incubation-monitoring-analysis\",\n  \"version\": \"1.0.15\",\n  \"publishedAt\": 1790623057087\n}\n\nFile v1.0.15: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/health-analysis/v2/start-health-analysis` - 启动龟蛋/蛇蛋孵化监测任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果（受精状态/发育阶段/蛋壳颜色/血管网络/胚胎黑影）\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史孵化监测记录\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出孵化进度报告\n\n## 场景代码\n\n- `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` - 孵化箱内龟蛋/蛇蛋发育监测\n\n## 输入约束\n\n- 摄像头：孵化箱内固定**微距摄像头** OR **高分辨率摄像头 + 微距镜头**\n- 分辨率 ≥ 1080p（**血管网络/血丝细节需高清**）；建议含已知尺寸参考物（毫米刻度）\n- 拍摄角度：\n  - **侧向透光照蛋**（关键照蛋技术 candling，从蛋下方/侧方用 LED 冷光源透射）OR\n  - **微距俯拍蛋壳表面**（用于颜色/纹理/灰斑识别）\n- 光照：**冷 LED 光源（< 300 lumen，<35°C）**，照蛋时间 < 10 秒（**严禁热光源长时间照射，胚胎对热敏感**）\n- 不可移动蛋，**严禁翻转**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡）\n- **核心采样窗口**：每日 1 次 OR 每两日 1 次（孵化周期长 45-120 天，无需频繁）\n- 多蛋窝场景按摄像头 ID + 蛋编号双重绑定（每枚蛋必须独立编号）\n- **部署时必须录入**：物种（陆龟/水龟/玉米蛇/球蟒/王蛇等）、产卵日期（用于计算孵化天数）、孵化温度方案、孵化湿度方案、蛋窝总数\n\n## 关键观测信号\n\n### 蛋壳形态\n- `egg_shell_color_classification` - **蛋壳颜色分类**（核心指标：white_normal / pale_yellow_normal / **chalking_white_fertile_sign**（粉白受精征兆，蛋壳钙化）/ gray_spots_warning / **yellowed_discolored_warning** / mold_growth_severe）\n- `egg_shell_calcification_zone_visible` - **钙化白带是否可见**（核心指标，受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）\n- `egg_shape_aspect_ratio` - 蛋形长宽比\n- `egg_surface_texture` - 表面纹理（smooth_normal / sweating_water_droplets_warning / cracked / mold_visible）\n- `mold_area_ratio` - 霉变面积占比（**> 5% 高警戒**）\n\n### 血管与血丝\n- `vascular_network_detected` - **血管网络是否可见**（核心指标，受精中早期 14-30 天，红色细线状网络）\n- `vascular_network_complexity_score_0_10` - 血管网络复杂度评分（**< 3 早期 / 4-7 中期 / > 7 成熟**）\n- `blood_ring_detected` - **血环是否检测到**（**死胎警告信号！血管退化形成红环**）\n- `blood_streaks_visible` - 血丝可见度（首次发现血丝表示受精成功）\n- `blood_color_classification` - 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）\n\n### 胚胎与孵化进度\n- `embryo_shadow_detected` - **胚胎黑影是否可见**（核心指标，后期 30 天+，照蛋时可见暗色团块）\n- `embryo_shadow_size_relative` - 胚胎黑影相对蛋大小比例（早期 < 30% / 中期 30-60% / 即将孵化 > 70%）\n- `embryo_movement_detected` - **胚胎运动是否检测到**（即将孵化前 7 天可见胚胎在蛋内活动）\n- `embryo_position_normal` - 胚胎位置是否正常（**应靠上半部分**，朝下提示异常）\n- `air_cell_position_normal` - 气室位置是否正常（蛋钝端，气室异常提示死胎）\n- `incubation_days_estimated` - 估算孵化天数（基于产卵日期 + 当前日期）\n\n### 上下文与排除信号\n- `species_normal_incubation_days_range` - 物种正常孵化天数范围（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70）\n- `temperature_stable_within_range` - 温度是否稳定在物种推荐范围\n- `humidity_stable_within_range` - 湿度是否稳定在物种推荐范围\n- `is_recently_flipped_or_moved` - 是否近期被翻转/移动（**翻转后必须警告蛋已损坏**）\n- `candling_light_safe` - 照蛋光源是否安全（冷 LED < 300 lumen）\n- `image_quality_acceptable` - 图像质量是否合格\n\n## 综合判定\n\n- `egg_unfertilized_yolker` - **未受精蛋**（候蛋黄蛋/无精蛋，超过 14 天仍无钙化白带、无血管，蛋液均匀黄色透光）\n- `egg_fertile_early_stage` - **受精早期**（产卵后 7-21 天，钙化白带出现 + 血管网络初现）\n- `egg_fertile_vascular_stage` - **血管发育期**（21-45 天，血管网络丰富，complexity_score 4-7）\n- `egg_fertile_embryo_stage` - **胚胎成形期**（45 天-孵化前 7 天，胚胎黑影 30-70% + 气室扩大）\n- `egg_pre_hatching` - **即将孵化**（孵化前 7 天，胚胎运动可见 + 胚胎黑影 > 70%）\n- `egg_dead_embryo_blood_ring` - **死胎警告**（血环检测 / 胚胎运动消失 / 黑影颜色变暗均匀 / 蛋黄沉积底部）\n- `egg_mold_contamination` - **霉变蛋**（霉变面积 > 5%，**必须立即移出隔离防止传染**）\n- `egg_signal_unreliable` - 信号不可靠（照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p）\n\n## 4 级提醒策略递进\n\n- Level 1（egg_fertile_*_stage / egg_pre_hatching）：仅入库 + 进度可视化（按蛋编号生成孵化时间线）\n- Level 2（egg_unfertilized_yolker 持续 > 物种判定窗口）：温和提示，建议**继续观察至 21 天再做判定 + 检查温湿度是否在物种推荐范围 + 可考虑后期剔除（避免霉变影响其他蛋）**\n- Level 3（egg_mold_contamination / 表面凝水/裂纹）：紧急提示，建议**立即将该蛋移至单独观察盒隔离 + 检查孵化箱整体湿度（凝水提示湿度过高） + 检查通风 + 观察其他蛋是否扩散**\n- Level 4（egg_dead_embryo_blood_ring）：最高紧急提示 + 强烈建议**立即移出死胎避免发酵爆炸污染窝内其他蛋 + 检查温度是否曾过高/过低 + 评估孵化方案是否需要调整 + 联系爬宠繁殖兽医复盘原因**\n\n## 单日提醒上限\n\n- Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5\n\n## 红线约束\n\n- **🚨 严禁**伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定；**误判会让繁殖者错过最佳处理时机**\n- **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令\n- **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\"\n- **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽然客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）\n- **🚨 严禁热光源照蛋**（白炽灯/卤素灯会快速升温杀死胚胎）；必须使用冷 LED < 300 lumen + 照射 < 10 秒\n- **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡，与鸟蛋孵化不同）\n- **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定）\n- **禁止**用于商业广告 / AI 训练；禁第三方共享\n- **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议）\n- 必须考虑物种孵化周期差异：**陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天** → 严禁通用判定窗口\n- 必须告知用户：AI 孵化监测仅供参考，**重要繁殖决策需结合温湿度日志和物种孵化手册综合判断**\n\n## 输出报告字段\n\n- `report_date`、`incubator_id`、`egg_id`、`species`、`egg_lay_date`、`incubation_days_estimated`、`egg_shell_color_classification`、`egg_shell_calcification_zone_visible`、`vascular_network_detected`、`vascular_network_complexity_score_0_10`、`blood_ring_detected`、`embryo_shadow_detected`、`embryo_shadow_size_relative`、`embryo_movement_detected`、`composite_scene`（受精状态+发育阶段）、`alert_level`、`recommended_actions`（继续观察 / 检查温湿度 / 隔离移出 / 联系爬宠繁殖兽医，**不含具体温度湿度数字、不含侵入式操作**），`disclaimer`\n\nFile v1.0.15:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.15:scripts/config.yaml\n\n{}\n\nFile v1.0.15:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.15:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.15:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.15:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.15:skill-card.md\n\n## Description:\n\nAnalyzes turtle and snake egg images or videos to track visible development signs and produce incubation progress reports.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nReptile breeders and hobbyists use the skill to review turtle or snake egg images and videos, monitor development signs, and consult incubation reports and historical results.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Egg images, videos, and supplied URLs are sent to a remote service for analysis.\n\nMitigation: Use only media and public URLs approved for cloud processing; avoid private or internal URLs and sensitive media.\n\nRisk: The skill automatically creates or reuses an account identity and stores local tokens and history.\n\nMitigation: Use it only where automatic identity creation and local persistence are acceptable; protect access to the host and stored credentials.\n\nRisk: Uncertain image-based development assessments could lead to harmful handling or incubation decisions.\n\nMitigation: Check image quality and species-specific guidance, do not perform invasive egg handling, and consult a reptile breeding veterinarian about concerning findings.\n\n## Reference(s):\n\n- [Egg Incubation Monitoring API documentation](references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [Analysis, Guidance]\n\n**Output Format:** [Text, Markdown tables, or JSON]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Incubation status, alerts, recommendations, report links, and historical records when available.]\n\n## Skill Version(s):\n\n1.0.15 (source: skill frontmatter and server release)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.15:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.15:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.14: 31 files, 46054 bytes\n\nFiles: references/api_doc.md (8441b), scripts/__init__.py (59b), scripts/config.py (691b), scripts/config.yaml (3b), scripts/skill.py (586b), scripts/smyx_egg_incubation_monitoring_analysis.py (3687b), skill-card.md (2059b), SKILL.md (20503b), 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 (159b)\n\nFile v1.0.14:SKILL.md\n\n---\nname: \"smyx-egg-incubation-monitoring-analysis\"\ndescription: \"Through a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass. | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。\"\nversion: \"1.0.15\"\nlicense: \"MIT-0\"\n---\n\n# 🥚 Egg Incubation Monitoring (Turtle/Snake) | 孵化箱内龟蛋/蛇蛋发育监测\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **孵化箱内龟蛋/蛇蛋发育监测** |\n| 🎯 核心目标 | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` |\n\nThrough a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass visible in the later stages). It comprehensively determines the egg's fertilisation status and developmental stage (unfertilised / early fertile / vascular development / embryo formation / about to hatch) and outputs an incubation progress report. This skill helps reptile breeders monitor egg development, promptly remove unfertilised or dead eggs, and adjust temperature and humidity. Application scenarios: reptile incubators, turtle/snake breeding farms, home hobbyist breeders. The system automatically captures and analyses images daily or every two days, generating an incubation report. Skill features: turtle and snake eggs have long incubation periods (months); regular candling can detect unfertilised or dead eggs early to prevent mould from spreading to other eggs. AI-based automatic identification and alerts can improve hatching success rates and reduce breeder workload. This skill can be integrated into smart incubators or breeding-management apps.\n\n通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。综合判断蛋的受精状态及发育阶段（未受精/受精早期/血管发育期/胚胎成形期/即将孵化），输出孵化进度报告。该技能有助于爬宠繁殖者掌握蛋的发育情况，及时剔除未受精或坏死的蛋，调整温湿度。应用场景：爬宠孵化箱、龟/蛇繁殖场、家庭繁殖爱好者。系统每日或每两日自动拍照分析，生成孵化报告。技能特点：龟蛋和蛇蛋孵化期较长（数月至数月），定期照蛋可及时发现未受精或坏死蛋，防止霉变影响其他蛋。通过 AI 自动识别并提醒，可提高孵化成功率，减轻繁殖者负担。该技能可集成到智能孵化箱或繁殖管理 APP 中。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的爬行动物繁殖 AI。你的任务是分析孵化箱内龟蛋或蛇蛋的高清图像（微距俯拍蛋壳表面 OR 侧向**冷 LED 透光照蛋 candling** < 300 lumen < 35℃ 照射 < 10 秒，分辨率 ≥ 1080p——血管网络/血丝细节需高清），围绕\"蛋壳 + 血管 + 胚胎\"展开四组检测：① **蛋壳形态**：颜色分类 6 类（white_normal / pale_yellow_normal / **chalking_white_fertile_sign** 钙化白带受精征兆 / gray_spots_warning / yellowed_discolored_warning / mold_growth_severe）+ **钙化白带是否可见**（受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）+ 蛋形长宽比 + 表面纹理（光滑/凝水/裂纹/霉变） + 霉变面积占比（> 5% 高警戒）；② **血管与血丝**：**血管网络是否可见**（受精中早期 14-30 天红色细线状网络）+ 复杂度评分 0-10（< 3 早期 / 4-7 中期 / > 7 成熟）+ **血环是否检测到**（**死胎警告信号！血管退化形成红环**）+ 血丝可见度（首次发现表示受精成功）+ 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）；③ **胚胎与孵化进度**：**胚胎黑影是否可见**（后期 30 天+，照蛋时暗色团块）+ 相对蛋大小比例（< 30% 早期 / 30-60% 中期 / > 70% 即将孵化）+ **胚胎运动**（即将孵化前 7 天可见）+ 胚胎位置（**应靠上半部分**，朝下提示异常）+ 气室位置（蛋钝端，气室异常提示死胎）+ 估算孵化天数（产卵日期+当前日期）；④ **物种孵化周期硬约束 + 排除上下文**：陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天（**严禁通用判定窗口**），温湿度稳定性 / **是否近期被翻转/移动**（**翻转 90°+ 必须警告蛋已损坏**）/ 照蛋光源安全性。按 8 类综合场景判定（egg_unfertilized_yolker / **egg_fertile_early_stage** / **egg_fertile_vascular_stage** / **egg_fertile_embryo_stage** / **egg_pre_hatching** / **egg_dead_embryo_blood_ring** / **egg_mold_contamination** / egg_signal_unreliable），按 4 级提醒策略递进（Level 1 入库+进度可视化（按蛋编号生成孵化时间线）→ Level 2 未受精持续超物种判定窗口：观察至 21 天再判定+检查温湿度+可后期剔除避免霉变 → Level 3 霉变/凝水/裂纹：立即移至单独观察盒隔离+检查孵化箱整体湿度+观察其他蛋扩散 → Level 4 死胎+血环：🚨 立即移出避免发酵爆炸污染其他蛋+检查温度曾否过高过低+评估方案是否需调整+联系爬宠繁殖兽医复盘）。**核心物种孵化周期硬约束**：陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天（严禁通用窗口盲判）。照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p → 必须返回 `egg_signal_unreliable`。不提供任何医疗建议，仅输出基于视觉的发育阶段分类；**🚨 严禁伪造夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**——误判会让繁殖者错过最佳处理时机；**🚨 严禁输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何侵入式操作指令**；**🚨 严禁推荐具体温度/湿度数字（如\"调到 30.5℃\"\"湿度 85%\"）**，仅可建议\"按物种孵化手册推荐范围调整\"；**🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）；**🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎，必须冷 LED < 300 lumen + 照射 < 10 秒）；**🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**）；严禁越权代用户调整孵化箱温湿度（仅可建议）。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n基于孵化箱内固定微距摄像头每日 1 次或每两日 1 次拍照（孵化周期 45-120 天无需频繁），识别 8 类综合场景（egg_unfertilized_yolker / egg_fertile_early_stage / egg_fertile_vascular_stage / egg_fertile_embryo_stage / egg_pre_hatching / egg_dead_embryo_blood_ring / egg_mold_contamination / egg_signal_unreliable）→ **四组指标**：蛋壳形态 5 项（**颜色 6 类** + **钙化白带可见** + 长宽比 + 表面纹理 + 霉变占比）+ 血管与血丝 5 项（**血管网络可见** + **复杂度评分 0-10** + **血环检测** + 血丝可见度 + 血色分类）+ 胚胎与孵化进度 6 项（**胚胎黑影可见** + 相对蛋大小比例 + **胚胎运动** + 胚胎位置 + 气室位置 + 估算孵化天数）+ 物种与排除 6 项（**物种正常孵化天数范围** + 温度稳定 + 湿度稳定 + **是否近期被翻转** + 照蛋光源安全 + 图像质量）→ 4 档提醒级别（info / important / urgent / critical）→ **4 级提醒策略递进**（入库+进度可视化 → 观察至 21 天+检查温湿度+可后期剔除 → 立即隔离+检查整体湿度+观察扩散 → 🚨 立即移出避免发酵爆炸+评估方案+联系繁殖兽医）→ 单日提醒上限（Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5）→ **孵化进度报告**（按 incubator_id + egg_id + 报告日期输出，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化）\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 每枚蛋独立编号识别 |\n| 2 | 蛋壳颜色 HSV 量化 |\n| 3 | 钙化白带检测 |\n| 4 | 表面纹理分析（凝水/裂纹/霉变） |\n| 5 | 霉变面积占比计算 |\n| 6 | 血管网络分割与复杂度评分 |\n| 7 | **血环检测（死胎核心信号）** |\n| 8 | 血丝可见度量化 |\n| 9 | 胚胎黑影轮廓提取 |\n| 10 | 胚胎黑影占比估算 |\n| 11 | 胚胎运动检测（连续帧差） |\n| 12 | 气室位置判定 |\n| 13 | 物种孵化周期匹配 |\n| 14 | 温湿度日志关联 |\n| 15 | 翻转检测（蛋姿态变化告警） |\n| 16 | 照蛋光源安全门控 |\n| 17 | 图像质量门控（凝水/堆叠 → unreliable） |\n| 18 | 用户 APP 推送 |\n| 19 | 4 级提醒递进 |\n| 20 | 单日提醒上限 |\n| 21 | 孵化时间线可视化 |\n| 22 | 连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供龟蛋/蛇蛋微距高清图像/视频 URL 或文件需要分析时，默认触发本技能进行孵化监测 |\n| 🔎 明确分析意图 | 当用户明确提及照蛋、龟蛋孵化、蛇蛋孵化、未受精蛋、血环、血管网络、胚胎黑影、孵化进度等关键词，并且上传了图像/视频文件 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能**：查看孵化历史报告、孵化时间线、查询历史蛋发育记录、显示所有孵化报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_egg_incubation_monitoring_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 | 🔐 获取 open-id（强制执行） | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行孵化监测 | 调用 `-m scripts.smyx_egg_incubation_monitoring_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## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_egg_incubation_monitoring_analysis.py`](scripts/smyx_egg_incubation_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 输入要求：支持 jpg/png/mp4，最大 10MB；**微距俯拍** OR **侧向冷 LED 透光照蛋**；**分辨率 ≥ 1080p**；**冷 LED 光源 < 300 lumen < 35℃ 照射 < 10 秒**；**严禁热光源**；**严禁翻蛋 90°+** |\n| 🔎 使用提醒 | **核心采样**：每日 1 次 OR 每两日 1 次（孵化周期 45-120 天） |\n| 🌐 网络地址 | **核心评估三要素联合**：钙化白带（受精标志） + 血管网络（受精中期） + **血环检测**（死胎警告核心信号） |\n| 🔎 使用提醒 | **4 级提醒策略递进**（info → important → urgent → critical），**血环检测 / 死胎信号** 直接 Level 4 |\n| 🔎 使用提醒 | 单日提醒上限：Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5 |\n| 🔎 使用提醒 | 红线约束 |\n| 🔎 使用提醒 | **🚨 严禁伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**（误判让繁殖者错过最佳处理时机） |\n| 🔎 使用提醒 | **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令 |\n| 🔎 使用提醒 | **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\" |\n| 🔎 使用提醒 | **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题） |\n| 🔎 使用提醒 | **🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎），必须冷 LED < 300 lumen + < 10 秒 |\n| 🔎 使用提醒 | **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**） |\n| 🔎 使用提醒 | **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定） |\n| 🔎 使用提醒 | **禁止**用于商业广告 / AI 训练；禁第三方共享 |\n| 🔎 使用提醒 | **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议） |\n| 🔎 使用提醒 | **必须**按 **species 孵化周期硬约束判定**（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天），**严禁通用判定窗口** |\n| 🔎 使用提醒 | **必须**在照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p 时返回 `egg_signal_unreliable` |\n| 🔎 使用提醒 | **必须**：连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n| 📜 报告输出 | **必须**：孵化进度报告**按 incubator_id + egg_id + 报告日期输出**，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史孵化监测记录清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input /path/to/egg_candling.jpg\n\n# 分析网络龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --url https://example.com/egg_candling.jpg\n\n# 显示历史孵化监测记录清单（自动触发关键词：查看孵化历史报告等）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --output result.json\n```\n\nFile v1.0.14:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-egg-incubation-monitoring-analysis\",\n  \"version\": \"1.0.14\",\n  \"publishedAt\": 1790508746680\n}\n\nFile v1.0.14: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/health-analysis/v2/start-health-analysis` - 启动龟蛋/蛇蛋孵化监测任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果（受精状态/发育阶段/蛋壳颜色/血管网络/胚胎黑影）\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史孵化监测记录\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出孵化进度报告\n\n## 场景代码\n\n- `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` - 孵化箱内龟蛋/蛇蛋发育监测\n\n## 输入约束\n\n- 摄像头：孵化箱内固定**微距摄像头** OR **高分辨率摄像头 + 微距镜头**\n- 分辨率 ≥ 1080p（**血管网络/血丝细节需高清**）；建议含已知尺寸参考物（毫米刻度）\n- 拍摄角度：\n  - **侧向透光照蛋**（关键照蛋技术 candling，从蛋下方/侧方用 LED 冷光源透射）OR\n  - **微距俯拍蛋壳表面**（用于颜色/纹理/灰斑识别）\n- 光照：**冷 LED 光源（< 300 lumen，<35°C）**，照蛋时间 < 10 秒（**严禁热光源长时间照射，胚胎对热敏感**）\n- 不可移动蛋，**严禁翻转**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡）\n- **核心采样窗口**：每日 1 次 OR 每两日 1 次（孵化周期长 45-120 天，无需频繁）\n- 多蛋窝场景按摄像头 ID + 蛋编号双重绑定（每枚蛋必须独立编号）\n- **部署时必须录入**：物种（陆龟/水龟/玉米蛇/球蟒/王蛇等）、产卵日期（用于计算孵化天数）、孵化温度方案、孵化湿度方案、蛋窝总数\n\n## 关键观测信号\n\n### 蛋壳形态\n- `egg_shell_color_classification` - **蛋壳颜色分类**（核心指标：white_normal / pale_yellow_normal / **chalking_white_fertile_sign**（粉白受精征兆，蛋壳钙化）/ gray_spots_warning / **yellowed_discolored_warning** / mold_growth_severe）\n- `egg_shell_calcification_zone_visible` - **钙化白带是否可见**（核心指标，受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）\n- `egg_shape_aspect_ratio` - 蛋形长宽比\n- `egg_surface_texture` - 表面纹理（smooth_normal / sweating_water_droplets_warning / cracked / mold_visible）\n- `mold_area_ratio` - 霉变面积占比（**> 5% 高警戒**）\n\n### 血管与血丝\n- `vascular_network_detected` - **血管网络是否可见**（核心指标，受精中早期 14-30 天，红色细线状网络）\n- `vascular_network_complexity_score_0_10` - 血管网络复杂度评分（**< 3 早期 / 4-7 中期 / > 7 成熟**）\n- `blood_ring_detected` - **血环是否检测到**（**死胎警告信号！血管退化形成红环**）\n- `blood_streaks_visible` - 血丝可见度（首次发现血丝表示受精成功）\n- `blood_color_classification` - 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）\n\n### 胚胎与孵化进度\n- `embryo_shadow_detected` - **胚胎黑影是否可见**（核心指标，后期 30 天+，照蛋时可见暗色团块）\n- `embryo_shadow_size_relative` - 胚胎黑影相对蛋大小比例（早期 < 30% / 中期 30-60% / 即将孵化 > 70%）\n- `embryo_movement_detected` - **胚胎运动是否检测到**（即将孵化前 7 天可见胚胎在蛋内活动）\n- `embryo_position_normal` - 胚胎位置是否正常（**应靠上半部分**，朝下提示异常）\n- `air_cell_position_normal` - 气室位置是否正常（蛋钝端，气室异常提示死胎）\n- `incubation_days_estimated` - 估算孵化天数（基于产卵日期 + 当前日期）\n\n### 上下文与排除信号\n- `species_normal_incubation_days_range` - 物种正常孵化天数范围（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70）\n- `temperature_stable_within_range` - 温度是否稳定在物种推荐范围\n- `humidity_stable_within_range` - 湿度是否稳定在物种推荐范围\n- `is_recently_flipped_or_moved` - 是否近期被翻转/移动（**翻转后必须警告蛋已损坏**）\n- `candling_light_safe` - 照蛋光源是否安全（冷 LED < 300 lumen）\n- `image_quality_acceptable` - 图像质量是否合格\n\n## 综合判定\n\n- `egg_unfertilized_yolker` - **未受精蛋**（候蛋黄蛋/无精蛋，超过 14 天仍无钙化白带、无血管，蛋液均匀黄色透光）\n- `egg_fertile_early_stage` - **受精早期**（产卵后 7-21 天，钙化白带出现 + 血管网络初现）\n- `egg_fertile_vascular_stage` - **血管发育期**（21-45 天，血管网络丰富，complexity_score 4-7）\n- `egg_fertile_embryo_stage` - **胚胎成形期**（45 天-孵化前 7 天，胚胎黑影 30-70% + 气室扩大）\n- `egg_pre_hatching` - **即将孵化**（孵化前 7 天，胚胎运动可见 + 胚胎黑影 > 70%）\n- `egg_dead_embryo_blood_ring` - **死胎警告**（血环检测 / 胚胎运动消失 / 黑影颜色变暗均匀 / 蛋黄沉积底部）\n- `egg_mold_contamination` - **霉变蛋**（霉变面积 > 5%，**必须立即移出隔离防止传染**）\n- `egg_signal_unreliable` - 信号不可靠（照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p）\n\n## 4 级提醒策略递进\n\n- Level 1（egg_fertile_*_stage / egg_pre_hatching）：仅入库 + 进度可视化（按蛋编号生成孵化时间线）\n- Level 2（egg_unfertilized_yolker 持续 > 物种判定窗口）：温和提示，建议**继续观察至 21 天再做判定 + 检查温湿度是否在物种推荐范围 + 可考虑后期剔除（避免霉变影响其他蛋）**\n- Level 3（egg_mold_contamination / 表面凝水/裂纹）：紧急提示，建议**立即将该蛋移至单独观察盒隔离 + 检查孵化箱整体湿度（凝水提示湿度过高） + 检查通风 + 观察其他蛋是否扩散**\n- Level 4（egg_dead_embryo_blood_ring）：最高紧急提示 + 强烈建议**立即移出死胎避免发酵爆炸污染窝内其他蛋 + 检查温度是否曾过高/过低 + 评估孵化方案是否需要调整 + 联系爬宠繁殖兽医复盘原因**\n\n## 单日提醒上限\n\n- Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5\n\n## 红线约束\n\n- **🚨 严禁**伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定；**误判会让繁殖者错过最佳处理时机**\n- **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令\n- **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\"\n- **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽然客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）\n- **🚨 严禁热光源照蛋**（白炽灯/卤素灯会快速升温杀死胚胎）；必须使用冷 LED < 300 lumen + 照射 < 10 秒\n- **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡，与鸟蛋孵化不同）\n- **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定）\n- **禁止**用于商业广告 / AI 训练；禁第三方共享\n- **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议）\n- 必须考虑物种孵化周期差异：**陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天** → 严禁通用判定窗口\n- 必须告知用户：AI 孵化监测仅供参考，**重要繁殖决策需结合温湿度日志和物种孵化手册综合判断**\n\n## 输出报告字段\n\n- `report_date`、`incubator_id`、`egg_id`、`species`、`egg_lay_date`、`incubation_days_estimated`、`egg_shell_color_classification`、`egg_shell_calcification_zone_visible`、`vascular_network_detected`、`vascular_network_complexity_score_0_10`、`blood_ring_detected`、`embryo_shadow_detected`、`embryo_shadow_size_relative`、`embryo_movement_detected`、`composite_scene`（受精状态+发育阶段）、`alert_level`、`recommended_actions`（继续观察 / 检查温湿度 / 隔离移出 / 联系爬宠繁殖兽医，**不含具体温度湿度数字、不含侵入式操作**），`disclaimer`\n\nFile v1.0.14:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.14:scripts/config.yaml\n\n{}\n\nFile v1.0.14:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.14:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.14:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.14:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.14:skill-card.md\n\n## Description:\n\nAnalyzes turtle and snake egg images or videos for visible incubation signals and produces developmental reports with access to cloud-based history.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nReptile breeders and incubator operators use egg images or videos to review visible development signals, receive incubation reports, and look up prior reports by egg.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Egg images and videos are uploaded to a cloud service, rather than analyzed solely on the user's device.\n\nMitigation: Confirm that upload is acceptable before use and ask the publisher to document data retention and deletion.\n\nRisk: The skill silently creates or reuses identity records and stores authentication tokens locally.\n\nMitigation: Review remote account creation and local token storage with the publisher before installing.\n\nRisk: History queries can access identity-linked cloud reports without a separate user confirmation.\n\nMitigation: Require confirmation before history queries and limit access to authorized reports.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/18072937735/skills/smyx-egg-incubation-monitoring-analysis)\n- [Egg incubation monitoring API documentation](references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, JSON]\n\n**Output Format:** [Structured JSON reports or Markdown report summaries and history tables]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include report links or save results to a file.]\n\n## Skill Version(s):\n\n1.0.14 (source: ClawHub release metadata; bundled SKILL.md says 1.0.15)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.14:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.14:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.13: 31 files, 46292 bytes\n\nFiles: references/api_doc.md (8441b), scripts/__init__.py (59b), scripts/config.py (691b), scripts/config.yaml (3b), scripts/skill.py (586b), scripts/smyx_egg_incubation_monitoring_analysis.py (3687b), skill-card.md (2500b), SKILL.md (20503b), 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 (159b)\n\nFile v1.0.13:SKILL.md\n\n---\nname: \"smyx-egg-incubation-monitoring-analysis\"\ndescription: \"Through a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass. | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。\"\nversion: \"1.0.13\"\nlicense: \"MIT-0\"\n---\n\n# 🥚 Egg Incubation Monitoring (Turtle/Snake) | 孵化箱内龟蛋/蛇蛋发育监测\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **孵化箱内龟蛋/蛇蛋发育监测** |\n| 🎯 核心目标 | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` |\n\nThrough a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass visible in the later stages). It comprehensively determines the egg's fertilisation status and developmental stage (unfertilised / early fertile / vascular development / embryo formation / about to hatch) and outputs an incubation progress report. This skill helps reptile breeders monitor egg development, promptly remove unfertilised or dead eggs, and adjust temperature and humidity. Application scenarios: reptile incubators, turtle/snake breeding farms, home hobbyist breeders. The system automatically captures and analyses images daily or every two days, generating an incubation report. Skill features: turtle and snake eggs have long incubation periods (months); regular candling can detect unfertilised or dead eggs early to prevent mould from spreading to other eggs. AI-based automatic identification and alerts can improve hatching success rates and reduce breeder workload. This skill can be integrated into smart incubators or breeding-management apps.\n\n通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。综合判断蛋的受精状态及发育阶段（未受精/受精早期/血管发育期/胚胎成形期/即将孵化），输出孵化进度报告。该技能有助于爬宠繁殖者掌握蛋的发育情况，及时剔除未受精或坏死的蛋，调整温湿度。应用场景：爬宠孵化箱、龟/蛇繁殖场、家庭繁殖爱好者。系统每日或每两日自动拍照分析，生成孵化报告。技能特点：龟蛋和蛇蛋孵化期较长（数月至数月），定期照蛋可及时发现未受精或坏死蛋，防止霉变影响其他蛋。通过 AI 自动识别并提醒，可提高孵化成功率，减轻繁殖者负担。该技能可集成到智能孵化箱或繁殖管理 APP 中。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的爬行动物繁殖 AI。你的任务是分析孵化箱内龟蛋或蛇蛋的高清图像（微距俯拍蛋壳表面 OR 侧向**冷 LED 透光照蛋 candling** < 300 lumen < 35℃ 照射 < 10 秒，分辨率 ≥ 1080p——血管网络/血丝细节需高清），围绕\"蛋壳 + 血管 + 胚胎\"展开四组检测：① **蛋壳形态**：颜色分类 6 类（white_normal / pale_yellow_normal / **chalking_white_fertile_sign** 钙化白带受精征兆 / gray_spots_warning / yellowed_discolored_warning / mold_growth_severe）+ **钙化白带是否可见**（受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）+ 蛋形长宽比 + 表面纹理（光滑/凝水/裂纹/霉变） + 霉变面积占比（> 5% 高警戒）；② **血管与血丝**：**血管网络是否可见**（受精中早期 14-30 天红色细线状网络）+ 复杂度评分 0-10（< 3 早期 / 4-7 中期 / > 7 成熟）+ **血环是否检测到**（**死胎警告信号！血管退化形成红环**）+ 血丝可见度（首次发现表示受精成功）+ 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）；③ **胚胎与孵化进度**：**胚胎黑影是否可见**（后期 30 天+，照蛋时暗色团块）+ 相对蛋大小比例（< 30% 早期 / 30-60% 中期 / > 70% 即将孵化）+ **胚胎运动**（即将孵化前 7 天可见）+ 胚胎位置（**应靠上半部分**，朝下提示异常）+ 气室位置（蛋钝端，气室异常提示死胎）+ 估算孵化天数（产卵日期+当前日期）；④ **物种孵化周期硬约束 + 排除上下文**：陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天（**严禁通用判定窗口**），温湿度稳定性 / **是否近期被翻转/移动**（**翻转 90°+ 必须警告蛋已损坏**）/ 照蛋光源安全性。按 8 类综合场景判定（egg_unfertilized_yolker / **egg_fertile_early_stage** / **egg_fertile_vascular_stage** / **egg_fertile_embryo_stage** / **egg_pre_hatching** / **egg_dead_embryo_blood_ring** / **egg_mold_contamination** / egg_signal_unreliable），按 4 级提醒策略递进（Level 1 入库+进度可视化（按蛋编号生成孵化时间线）→ Level 2 未受精持续超物种判定窗口：观察至 21 天再判定+检查温湿度+可后期剔除避免霉变 → Level 3 霉变/凝水/裂纹：立即移至单独观察盒隔离+检查孵化箱整体湿度+观察其他蛋扩散 → Level 4 死胎+血环：🚨 立即移出避免发酵爆炸污染其他蛋+检查温度曾否过高过低+评估方案是否需调整+联系爬宠繁殖兽医复盘）。**核心物种孵化周期硬约束**：陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天（严禁通用窗口盲判）。照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p → 必须返回 `egg_signal_unreliable`。不提供任何医疗建议，仅输出基于视觉的发育阶段分类；**🚨 严禁伪造夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**——误判会让繁殖者错过最佳处理时机；**🚨 严禁输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何侵入式操作指令**；**🚨 严禁推荐具体温度/湿度数字（如\"调到 30.5℃\"\"湿度 85%\"）**，仅可建议\"按物种孵化手册推荐范围调整\"；**🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）；**🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎，必须冷 LED < 300 lumen + 照射 < 10 秒）；**🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**）；严禁越权代用户调整孵化箱温湿度（仅可建议）。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n基于孵化箱内固定微距摄像头每日 1 次或每两日 1 次拍照（孵化周期 45-120 天无需频繁），识别 8 类综合场景（egg_unfertilized_yolker / egg_fertile_early_stage / egg_fertile_vascular_stage / egg_fertile_embryo_stage / egg_pre_hatching / egg_dead_embryo_blood_ring / egg_mold_contamination / egg_signal_unreliable）→ **四组指标**：蛋壳形态 5 项（**颜色 6 类** + **钙化白带可见** + 长宽比 + 表面纹理 + 霉变占比）+ 血管与血丝 5 项（**血管网络可见** + **复杂度评分 0-10** + **血环检测** + 血丝可见度 + 血色分类）+ 胚胎与孵化进度 6 项（**胚胎黑影可见** + 相对蛋大小比例 + **胚胎运动** + 胚胎位置 + 气室位置 + 估算孵化天数）+ 物种与排除 6 项（**物种正常孵化天数范围** + 温度稳定 + 湿度稳定 + **是否近期被翻转** + 照蛋光源安全 + 图像质量）→ 4 档提醒级别（info / important / urgent / critical）→ **4 级提醒策略递进**（入库+进度可视化 → 观察至 21 天+检查温湿度+可后期剔除 → 立即隔离+检查整体湿度+观察扩散 → 🚨 立即移出避免发酵爆炸+评估方案+联系繁殖兽医）→ 单日提醒上限（Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5）→ **孵化进度报告**（按 incubator_id + egg_id + 报告日期输出，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化）\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 每枚蛋独立编号识别 |\n| 2 | 蛋壳颜色 HSV 量化 |\n| 3 | 钙化白带检测 |\n| 4 | 表面纹理分析（凝水/裂纹/霉变） |\n| 5 | 霉变面积占比计算 |\n| 6 | 血管网络分割与复杂度评分 |\n| 7 | **血环检测（死胎核心信号）** |\n| 8 | 血丝可见度量化 |\n| 9 | 胚胎黑影轮廓提取 |\n| 10 | 胚胎黑影占比估算 |\n| 11 | 胚胎运动检测（连续帧差） |\n| 12 | 气室位置判定 |\n| 13 | 物种孵化周期匹配 |\n| 14 | 温湿度日志关联 |\n| 15 | 翻转检测（蛋姿态变化告警） |\n| 16 | 照蛋光源安全门控 |\n| 17 | 图像质量门控（凝水/堆叠 → unreliable） |\n| 18 | 用户 APP 推送 |\n| 19 | 4 级提醒递进 |\n| 20 | 单日提醒上限 |\n| 21 | 孵化时间线可视化 |\n| 22 | 连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供龟蛋/蛇蛋微距高清图像/视频 URL 或文件需要分析时，默认触发本技能进行孵化监测 |\n| 🔎 明确分析意图 | 当用户明确提及照蛋、龟蛋孵化、蛇蛋孵化、未受精蛋、血环、血管网络、胚胎黑影、孵化进度等关键词，并且上传了图像/视频文件 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能**：查看孵化历史报告、孵化时间线、查询历史蛋发育记录、显示所有孵化报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_egg_incubation_monitoring_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 | 🔐 获取 open-id（强制执行） | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行孵化监测 | 调用 `-m scripts.smyx_egg_incubation_monitoring_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## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_egg_incubation_monitoring_analysis.py`](scripts/smyx_egg_incubation_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 输入要求：支持 jpg/png/mp4，最大 10MB；**微距俯拍** OR **侧向冷 LED 透光照蛋**；**分辨率 ≥ 1080p**；**冷 LED 光源 < 300 lumen < 35℃ 照射 < 10 秒**；**严禁热光源**；**严禁翻蛋 90°+** |\n| 🔎 使用提醒 | **核心采样**：每日 1 次 OR 每两日 1 次（孵化周期 45-120 天） |\n| 🌐 网络地址 | **核心评估三要素联合**：钙化白带（受精标志） + 血管网络（受精中期） + **血环检测**（死胎警告核心信号） |\n| 🔎 使用提醒 | **4 级提醒策略递进**（info → important → urgent → critical），**血环检测 / 死胎信号** 直接 Level 4 |\n| 🔎 使用提醒 | 单日提醒上限：Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5 |\n| 🔎 使用提醒 | 红线约束 |\n| 🔎 使用提醒 | **🚨 严禁伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**（误判让繁殖者错过最佳处理时机） |\n| 🔎 使用提醒 | **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令 |\n| 🔎 使用提醒 | **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\" |\n| 🔎 使用提醒 | **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题） |\n| 🔎 使用提醒 | **🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎），必须冷 LED < 300 lumen + < 10 秒 |\n| 🔎 使用提醒 | **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**） |\n| 🔎 使用提醒 | **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定） |\n| 🔎 使用提醒 | **禁止**用于商业广告 / AI 训练；禁第三方共享 |\n| 🔎 使用提醒 | **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议） |\n| 🔎 使用提醒 | **必须**按 **species 孵化周期硬约束判定**（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天），**严禁通用判定窗口** |\n| 🔎 使用提醒 | **必须**在照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p 时返回 `egg_signal_unreliable` |\n| 🔎 使用提醒 | **必须**：连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n| 📜 报告输出 | **必须**：孵化进度报告**按 incubator_id + egg_id + 报告日期输出**，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史孵化监测记录清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input /path/to/egg_candling.jpg\n\n# 分析网络龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --url https://example.com/egg_candling.jpg\n\n# 显示历史孵化监测记录清单（自动触发关键词：查看孵化历史报告等）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --output result.json\n```\n\nFile v1.0.13:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-egg-incubation-monitoring-analysis\",\n  \"version\": \"1.0.13\",\n  \"publishedAt\": 1789670915414\n}\n\nFile v1.0.13:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放孵化箱内龟蛋/蛇蛋发育监测 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/health-analysis/v2/start-health-analysis` - 启动龟蛋/蛇蛋孵化监测任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果（受精状态/发育阶段/蛋壳颜色/血管网络/胚胎黑影）\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史孵化监测记录\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出孵化进度报告\n\n## 场景代码\n\n- `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` - 孵化箱内龟蛋/蛇蛋发育监测\n\n## 输入约束\n\n- 摄像头：孵化箱内固定**微距摄像头** OR **高分辨率摄像头 + 微距镜头**\n- 分辨率 ≥ 1080p（**血管网络/血丝细节需高清**）；建议含已知尺寸参考物（毫米刻度）\n- 拍摄角度：\n  - **侧向透光照蛋**（关键照蛋技术 candling，从蛋下方/侧方用 LED 冷光源透射）OR\n  - **微距俯拍蛋壳表面**（用于颜色/纹理/灰斑识别）\n- 光照：**冷 LED 光源（< 300 lumen，<35°C）**，照蛋时间 < 10 秒（**严禁热光源长时间照射，胚胎对热敏感**）\n- 不可移动蛋，**严禁翻转**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡）\n- **核心采样窗口**：每日 1 次 OR 每两日 1 次（孵化周期长 45-120 天，无需频繁）\n- 多蛋窝场景按摄像头 ID + 蛋编号双重绑定（每枚蛋必须独立编号）\n- **部署时必须录入**：物种（陆龟/水龟/玉米蛇/球蟒/王蛇等）、产卵日期（用于计算孵化天数）、孵化温度方案、孵化湿度方案、蛋窝总数\n\n## 关键观测信号\n\n### 蛋壳形态\n- `egg_shell_color_classification` - **蛋壳颜色分类**（核心指标：white_normal / pale_yellow_normal / **chalking_white_fertile_sign**（粉白受精征兆，蛋壳钙化）/ gray_spots_warning / **yellowed_discolored_warning** / mold_growth_severe）\n- `egg_shell_calcification_zone_visible` - **钙化白带是否可见**（核心指标，受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）\n- `egg_shape_aspect_ratio` - 蛋形长宽比\n- `egg_surface_texture` - 表面纹理（smooth_normal / sweating_water_droplets_warning / cracked / mold_visible）\n- `mold_area_ratio` - 霉变面积占比（**> 5% 高警戒**）\n\n### 血管与血丝\n- `vascular_network_detected` - **血管网络是否可见**（核心指标，受精中早期 14-30 天，红色细线状网络）\n- `vascular_network_complexity_score_0_10` - 血管网络复杂度评分（**< 3 早期 / 4-7 中期 / > 7 成熟**）\n- `blood_ring_detected` - **血环是否检测到**（**死胎警告信号！血管退化形成红环**）\n- `blood_streaks_visible` - 血丝可见度（首次发现血丝表示受精成功）\n- `blood_color_classification` - 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）\n\n### 胚胎与孵化进度\n- `embryo_shadow_detected` - **胚胎黑影是否可见**（核心指标，后期 30 天+，照蛋时可见暗色团块）\n- `embryo_shadow_size_relative` - 胚胎黑影相对蛋大小比例（早期 < 30% / 中期 30-60% / 即将孵化 > 70%）\n- `embryo_movement_detected` - **胚胎运动是否检测到**（即将孵化前 7 天可见胚胎在蛋内活动）\n- `embryo_position_normal` - 胚胎位置是否正常（**应靠上半部分**，朝下提示异常）\n- `air_cell_position_normal` - 气室位置是否正常（蛋钝端，气室异常提示死胎）\n- `incubation_days_estimated` - 估算孵化天数（基于产卵日期 + 当前日期）\n\n### 上下文与排除信号\n- `species_normal_incubation_days_range` - 物种正常孵化天数范围（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70）\n- `temperature_stable_within_range` - 温度是否稳定在物种推荐范围\n- `humidity_stable_within_range` - 湿度是否稳定在物种推荐范围\n- `is_recently_flipped_or_moved` - 是否近期被翻转/移动（**翻转后必须警告蛋已损坏**）\n- `candling_light_safe` - 照蛋光源是否安全（冷 LED < 300 lumen）\n- `image_quality_acceptable` - 图像质量是否合格\n\n## 综合判定\n\n- `egg_unfertilized_yolker` - **未受精蛋**（候蛋黄蛋/无精蛋，超过 14 天仍无钙化白带、无血管，蛋液均匀黄色透光）\n- `egg_fertile_early_stage` - **受精早期**（产卵后 7-21 天，钙化白带出现 + 血管网络初现）\n- `egg_fertile_vascular_stage` - **血管发育期**（21-45 天，血管网络丰富，complexity_score 4-7）\n- `egg_fertile_embryo_stage` - **胚胎成形期**（45 天-孵化前 7 天，胚胎黑影 30-70% + 气室扩大）\n- `egg_pre_hatching` - **即将孵化**（孵化前 7 天，胚胎运动可见 + 胚胎黑影 > 70%）\n- `egg_dead_embryo_blood_ring` - **死胎警告**（血环检测 / 胚胎运动消失 / 黑影颜色变暗均匀 / 蛋黄沉积底部）\n- `egg_mold_contamination` - **霉变蛋**（霉变面积 > 5%，**必须立即移出隔离防止传染**）\n- `egg_signal_unreliable` - 信号不可靠（照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p）\n\n## 4 级提醒策略递进\n\n- Level 1（egg_fertile_*_stage / egg_pre_hatching）：仅入库 + 进度可视化（按蛋编号生成孵化时间线）\n- Level 2（egg_unfertilized_yolker 持续 > 物种判定窗口）：温和提示，建议**继续观察至 21 天再做判定 + 检查温湿度是否在物种推荐范围 + 可考虑后期剔除（避免霉变影响其他蛋）**\n- Level 3（egg_mold_contamination / 表面凝水/裂纹）：紧急提示，建议**立即将该蛋移至单独观察盒隔离 + 检查孵化箱整体湿度（凝水提示湿度过高） + 检查通风 + 观察其他蛋是否扩散**\n- Level 4（egg_dead_embryo_blood_ring）：最高紧急提示 + 强烈建议**立即移出死胎避免发酵爆炸污染窝内其他蛋 + 检查温度是否曾过高/过低 + 评估孵化方案是否需要调整 + 联系爬宠繁殖兽医复盘原因**\n\n## 单日提醒上限\n\n- Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5\n\n## 红线约束\n\n- **🚨 严禁**伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定；**误判会让繁殖者错过最佳处理时机**\n- **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令\n- **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\"\n- **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽然客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）\n- **🚨 严禁热光源照蛋**（白炽灯/卤素灯会快速升温杀死胚胎）；必须使用冷 LED < 300 lumen + 照射 < 10 秒\n- **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡，与鸟蛋孵化不同）\n- **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定）\n- **禁止**用于商业广告 / AI 训练；禁第三方共享\n- **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议）\n- 必须考虑物种孵化周期差异：**陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天** → 严禁通用判定窗口\n- 必须告知用户：AI 孵化监测仅供参考，**重要繁殖决策需结合温湿度日志和物种孵化手册综合判断**\n\n## 输出报告字段\n\n- `report_date`、`incubator_id`、`egg_id`、`species`、`egg_lay_date`、`incubation_days_estimated`、`egg_shell_color_classification`、`egg_shell_calcification_zone_visible`、`vascular_network_detected`、`vascular_network_complexity_score_0_10`、`blood_ring_detected`、`embryo_shadow_detected`、`embryo_shadow_size_relative`、`embryo_movement_detected`、`composite_scene`（受精状态+发育阶段）、`alert_level`、`recommended_actions`（继续观察 / 检查温湿度 / 隔离移出 / 联系爬宠繁殖兽医，**不含具体温度湿度数字、不含侵入式操作**），`disclaimer`\n\nFile v1.0.13:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.13:scripts/config.yaml\n\n{}\n\nFile v1.0.13:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.13:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.13:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.13:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: dev\n\nFile v1.0.13:skill-card.md\n\n## Description:\n\nAnalyzes fixed-camera images or video of turtle or snake eggs to classify shell, vascular, embryo, and incubation-stage signals and produce an incubation progress report.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal reptile breeders, incubator operators, and hobbyist keepers use this skill to review egg imagery, monitor fertilization and development signals, generate progress reports, and query prior reports.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The security verdict is suspicious because the skill can silently create or reuse a cloud identity, store tokens locally, and send selected media, URLs, report history, and an internal identity to the vendor service.\n\nMitigation: Review account behavior and data handling before deployment; use the skill only where sending those inputs to the vendor service is acceptable.\n\nRisk: Default development transport settings may use plaintext HTTP endpoints.\n\nMitigation: Fix or override development configuration to trusted HTTPS endpoints before use.\n\nRisk: The skill produces breeding-stage classifications and handling guidance that could affect animal welfare if overstated or used without review.\n\nMitigation: Treat results as visual-analysis support, confirm important decisions against species incubation guidance and logs, and avoid invasive or automated environment-control actions.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-egg-incubation-monitoring-analysis)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [API documentation](references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown and JSON-like structured analysis text, with shell commands for invoking analysis and history lookup.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include report links, alert levels, recommended actions, and optional saved output files.]\n\n## Skill Version(s):\n\n1.0.13 (source: frontmatter and server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.13:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.13:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.12: 31 files, 46420 bytes\n\nFiles: references/api_doc.md (8441b), scripts/__init__.py (59b), scripts/config.py (691b), scripts/config.yaml (3b), scripts/skill.py (586b), scripts/smyx_egg_incubation_monitoring_analysis.py (3687b), skill-card.md (2941b), SKILL.md (20503b), 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 (159b)\n\nFile v1.0.12:SKILL.md\n\n---\nname: \"smyx-egg-incubation-monitoring-analysis\"\ndescription: \"Through a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass. | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。\"\nversion: \"1.0.11\"\nlicense: \"MIT-0\"\n---\n\n# 🥚 Egg Incubation Monitoring (Turtle/Snake) | 孵化箱内龟蛋/蛇蛋发育监测\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **孵化箱内龟蛋/蛇蛋发育监测** |\n| 🎯 核心目标 | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` |\n\nThrough a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass visible in the later stages). It comprehensively determines the egg's fertilisation status and developmental stage (unfertilised / early fertile / vascular development / embryo formation / about to hatch) and outputs an incubation progress report. This skill helps reptile breeders monitor egg development, promptly remove unfertilised or dead eggs, and adjust temperature and humidity. Application scenarios: reptile incubators, turtle/snake breeding farms, home hobbyist breeders. The system automatically captures and analyses images daily or every two days, generating an incubation report. Skill features: turtle and snake eggs have long incubation periods (months); regular candling can detect unfertilised or dead eggs early to prevent mould from spreading to other eggs. AI-based automatic identification and alerts can improve hatching success rates and reduce breeder workload. This skill can be integrated into smart incubators or breeding-management apps.\n\n通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。综合判断蛋的受精状态及发育阶段（未受精/受精早期/血管发育期/胚胎成形期/即将孵化），输出孵化进度报告。该技能有助于爬宠繁殖者掌握蛋的发育情况，及时剔除未受精或坏死的蛋，调整温湿度。应用场景：爬宠孵化箱、龟/蛇繁殖场、家庭繁殖爱好者。系统每日或每两日自动拍照分析，生成孵化报告。技能特点：龟蛋和蛇蛋孵化期较长（数月至数月），定期照蛋可及时发现未受精或坏死蛋，防止霉变影响其他蛋。通过 AI 自动识别并提醒，可提高孵化成功率，减轻繁殖者负担。该技能可集成到智能孵化箱或繁殖管理 APP 中。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的爬行动物繁殖 AI。你的任务是分析孵化箱内龟蛋或蛇蛋的高清图像（微距俯拍蛋壳表面 OR 侧向**冷 LED 透光照蛋 candling** < 300 lumen < 35℃ 照射 < 10 秒，分辨率 ≥ 1080p——血管网络/血丝细节需高清），围绕\"蛋壳 + 血管 + 胚胎\"展开四组检测：① **蛋壳形态**：颜色分类 6 类（white_normal / pale_yellow_normal / **chalking_white_fertile_sign** 钙化白带受精征兆 / gray_spots_warning / yellowed_discolored_warning / mold_growth_severe）+ **钙化白带是否可见**（受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）+ 蛋形长宽比 + 表面纹理（光滑/凝水/裂纹/霉变） + 霉变面积占比（> 5% 高警戒）；② **血管与血丝**：**血管网络是否可见**（受精中早期 14-30 天红色细线状网络）+ 复杂度评分 0-10（< 3 早期 / 4-7 中期 / > 7 成熟）+ **血环是否检测到**（**死胎警告信号！血管退化形成红环**）+ 血丝可见度（首次发现表示受精成功）+ 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）；③ **胚胎与孵化进度**：**胚胎黑影是否可见**（后期 30 天+，照蛋时暗色团块）+ 相对蛋大小比例（< 30% 早期 / 30-60% 中期 / > 70% 即将孵化）+ **胚胎运动**（即将孵化前 7 天可见）+ 胚胎位置（**应靠上半部分**，朝下提示异常）+ 气室位置（蛋钝端，气室异常提示死胎）+ 估算孵化天数（产卵日期+当前日期）；④ **物种孵化周期硬约束 + 排除上下文**：陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天（**严禁通用判定窗口**），温湿度稳定性 / **是否近期被翻转/移动**（**翻转 90°+ 必须警告蛋已损坏**）/ 照蛋光源安全性。按 8 类综合场景判定（egg_unfertilized_yolker / **egg_fertile_early_stage** / **egg_fertile_vascular_stage** / **egg_fertile_embryo_stage** / **egg_pre_hatching** / **egg_dead_embryo_blood_ring** / **egg_mold_contamination** / egg_signal_unreliable），按 4 级提醒策略递进（Level 1 入库+进度可视化（按蛋编号生成孵化时间线）→ Level 2 未受精持续超物种判定窗口：观察至 21 天再判定+检查温湿度+可后期剔除避免霉变 → Level 3 霉变/凝水/裂纹：立即移至单独观察盒隔离+检查孵化箱整体湿度+观察其他蛋扩散 → Level 4 死胎+血环：🚨 立即移出避免发酵爆炸污染其他蛋+检查温度曾否过高过低+评估方案是否需调整+联系爬宠繁殖兽医复盘）。**核心物种孵化周期硬约束**：陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天（严禁通用窗口盲判）。照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p → 必须返回 `egg_signal_unreliable`。不提供任何医疗建议，仅输出基于视觉的发育阶段分类；**🚨 严禁伪造夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**——误判会让繁殖者错过最佳处理时机；**🚨 严禁输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何侵入式操作指令**；**🚨 严禁推荐具体温度/湿度数字（如\"调到 30.5℃\"\"湿度 85%\"）**，仅可建议\"按物种孵化手册推荐范围调整\"；**🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）；**🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎，必须冷 LED < 300 lumen + 照射 < 10 秒）；**🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**）；严禁越权代用户调整孵化箱温湿度（仅可建议）。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n基于孵化箱内固定微距摄像头每日 1 次或每两日 1 次拍照（孵化周期 45-120 天无需频繁），识别 8 类综合场景（egg_unfertilized_yolker / egg_fertile_early_stage / egg_fertile_vascular_stage / egg_fertile_embryo_stage / egg_pre_hatching / egg_dead_embryo_blood_ring / egg_mold_contamination / egg_signal_unreliable）→ **四组指标**：蛋壳形态 5 项（**颜色 6 类** + **钙化白带可见** + 长宽比 + 表面纹理 + 霉变占比）+ 血管与血丝 5 项（**血管网络可见** + **复杂度评分 0-10** + **血环检测** + 血丝可见度 + 血色分类）+ 胚胎与孵化进度 6 项（**胚胎黑影可见** + 相对蛋大小比例 + **胚胎运动** + 胚胎位置 + 气室位置 + 估算孵化天数）+ 物种与排除 6 项（**物种正常孵化天数范围** + 温度稳定 + 湿度稳定 + **是否近期被翻转** + 照蛋光源安全 + 图像质量）→ 4 档提醒级别（info / important / urgent / critical）→ **4 级提醒策略递进**（入库+进度可视化 → 观察至 21 天+检查温湿度+可后期剔除 → 立即隔离+检查整体湿度+观察扩散 → 🚨 立即移出避免发酵爆炸+评估方案+联系繁殖兽医）→ 单日提醒上限（Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5）→ **孵化进度报告**（按 incubator_id + egg_id + 报告日期输出，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化）\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 每枚蛋独立编号识别 |\n| 2 | 蛋壳颜色 HSV 量化 |\n| 3 | 钙化白带检测 |\n| 4 | 表面纹理分析（凝水/裂纹/霉变） |\n| 5 | 霉变面积占比计算 |\n| 6 | 血管网络分割与复杂度评分 |\n| 7 | **血环检测（死胎核心信号）** |\n| 8 | 血丝可见度量化 |\n| 9 | 胚胎黑影轮廓提取 |\n| 10 | 胚胎黑影占比估算 |\n| 11 | 胚胎运动检测（连续帧差） |\n| 12 | 气室位置判定 |\n| 13 | 物种孵化周期匹配 |\n| 14 | 温湿度日志关联 |\n| 15 | 翻转检测（蛋姿态变化告警） |\n| 16 | 照蛋光源安全门控 |\n| 17 | 图像质量门控（凝水/堆叠 → unreliable） |\n| 18 | 用户 APP 推送 |\n| 19 | 4 级提醒递进 |\n| 20 | 单日提醒上限 |\n| 21 | 孵化时间线可视化 |\n| 22 | 连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供龟蛋/蛇蛋微距高清图像/视频 URL 或文件需要分析时，默认触发本技能进行孵化监测 |\n| 🔎 明确分析意图 | 当用户明确提及照蛋、龟蛋孵化、蛇蛋孵化、未受精蛋、血环、血管网络、胚胎黑影、孵化进度等关键词，并且上传了图像/视频文件 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能**：查看孵化历史报告、孵化时间线、查询历史蛋发育记录、显示所有孵化报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_egg_incubation_monitoring_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 | 🔐 获取 open-id（强制执行） | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行孵化监测 | 调用 `-m scripts.smyx_egg_incubation_monitoring_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## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_egg_incubation_monitoring_analysis.py`](scripts/smyx_egg_incubation_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 输入要求：支持 jpg/png/mp4，最大 10MB；**微距俯拍** OR **侧向冷 LED 透光照蛋**；**分辨率 ≥ 1080p**；**冷 LED 光源 < 300 lumen < 35℃ 照射 < 10 秒**；**严禁热光源**；**严禁翻蛋 90°+** |\n| 🔎 使用提醒 | **核心采样**：每日 1 次 OR 每两日 1 次（孵化周期 45-120 天） |\n| 🌐 网络地址 | **核心评估三要素联合**：钙化白带（受精标志） + 血管网络（受精中期） + **血环检测**（死胎警告核心信号） |\n| 🔎 使用提醒 | **4 级提醒策略递进**（info → important → urgent → critical），**血环检测 / 死胎信号** 直接 Level 4 |\n| 🔎 使用提醒 | 单日提醒上限：Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5 |\n| 🔎 使用提醒 | 红线约束 |\n| 🔎 使用提醒 | **🚨 严禁伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**（误判让繁殖者错过最佳处理时机） |\n| 🔎 使用提醒 | **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令 |\n| 🔎 使用提醒 | **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\" |\n| 🔎 使用提醒 | **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题） |\n| 🔎 使用提醒 | **🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎），必须冷 LED < 300 lumen + < 10 秒 |\n| 🔎 使用提醒 | **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**） |\n| 🔎 使用提醒 | **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定） |\n| 🔎 使用提醒 | **禁止**用于商业广告 / AI 训练；禁第三方共享 |\n| 🔎 使用提醒 | **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议） |\n| 🔎 使用提醒 | **必须**按 **species 孵化周期硬约束判定**（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天），**严禁通用判定窗口** |\n| 🔎 使用提醒 | **必须**在照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p 时返回 `egg_signal_unreliable` |\n| 🔎 使用提醒 | **必须**：连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n| 📜 报告输出 | **必须**：孵化进度报告**按 incubator_id + egg_id + 报告日期输出**，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史孵化监测记录清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input /path/to/egg_candling.jpg\n\n# 分析网络龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --url https://example.com/egg_candling.jpg\n\n# 显示历史孵化监测记录清单（自动触发关键词：查看孵化历史报告等）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --output result.json\n```\n\nFile v1.0.12:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-egg-incubation-monitoring-analysis\",\n  \"version\": \"1.0.12\",\n  \"publishedAt\": 1787839248735\n}\n\nFile v1.0.12:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放孵化箱内龟蛋/蛇蛋发育监测 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/health-analysis/v2/start-health-analysis` - 启动龟蛋/蛇蛋孵化监测任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果（受精状态/发育阶段/蛋壳颜色/血管网络/胚胎黑影）\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史孵化监测记录\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出孵化进度报告\n\n## 场景代码\n\n- `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` - 孵化箱内龟蛋/蛇蛋发育监测\n\n## 输入约束\n\n- 摄像头：孵化箱内固定**微距摄像头** OR **高分辨率摄像头 + 微距镜头**\n- 分辨率 ≥ 1080p（**血管网络/血丝细节需高清**）；建议含已知尺寸参考物（毫米刻度）\n- 拍摄角度：\n  - **侧向透光照蛋**（关键照蛋技术 candling，从蛋下方/侧方用 LED 冷光源透射）OR\n  - **微距俯拍蛋壳表面**（用于颜色/纹理/灰斑识别）\n- 光照：**冷 LED 光源（< 300 lumen，<35°C）**，照蛋时间 < 10 秒（**严禁热光源长时间照射，胚胎对热敏感**）\n- 不可移动蛋，**严禁翻转**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡）\n- **核心采样窗口**：每日 1 次 OR 每两日 1 次（孵化周期长 45-120 天，无需频繁）\n- 多蛋窝场景按摄像头 ID + 蛋编号双重绑定（每枚蛋必须独立编号）\n- **部署时必须录入**：物种（陆龟/水龟/玉米蛇/球蟒/王蛇等）、产卵日期（用于计算孵化天数）、孵化温度方案、孵化湿度方案、蛋窝总数\n\n## 关键观测信号\n\n### 蛋壳形态\n- `egg_shell_color_classification` - **蛋壳颜色分类**（核心指标：white_normal / pale_yellow_normal / **chalking_white_fertile_sign**（粉白受精征兆，蛋壳钙化）/ gray_spots_warning / **yellowed_discolored_warning** / mold_growth_severe）\n- `egg_shell_calcification_zone_visible` - **钙化白带是否可见**（核心指标，受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）\n- `egg_shape_aspect_ratio` - 蛋形长宽比\n- `egg_surface_texture` - 表面纹理（smooth_normal / sweating_water_droplets_warning / cracked / mold_visible）\n- `mold_area_ratio` - 霉变面积占比（**> 5% 高警戒**）\n\n### 血管与血丝\n- `vascular_network_detected` - **血管网络是否可见**（核心指标，受精中早期 14-30 天，红色细线状网络）\n- `vascular_network_complexity_score_0_10` - 血管网络复杂度评分（**< 3 早期 / 4-7 中期 / > 7 成熟**）\n- `blood_ring_detected` - **血环是否检测到**（**死胎警告信号！血管退化形成红环**）\n- `blood_streaks_visible` - 血丝可见度（首次发现血丝表示受精成功）\n- `blood_color_classification` - 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）\n\n### 胚胎与孵化进度\n- `embryo_shadow_detected` - **胚胎黑影是否可见**（核心指标，后期 30 天+，照蛋时可见暗色团块）\n- `embryo_shadow_size_relative` - 胚胎黑影相对蛋大小比例（早期 < 30% / 中期 30-60% / 即将孵化 > 70%）\n- `embryo_movement_detected` - **胚胎运动是否检测到**（即将孵化前 7 天可见胚胎在蛋内活动）\n- `embryo_position_normal` - 胚胎位置是否正常（**应靠上半部分**，朝下提示异常）\n- `air_cell_position_normal` - 气室位置是否正常（蛋钝端，气室异常提示死胎）\n- `incubation_days_estimated` - 估算孵化天数（基于产卵日期 + 当前日期）\n\n### 上下文与排除信号\n- `species_normal_incubation_days_range` - 物种正常孵化天数范围（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70）\n- `temperature_stable_within_range` - 温度是否稳定在物种推荐范围\n- `humidity_stable_within_range` - 湿度是否稳定在物种推荐范围\n- `is_recently_flipped_or_moved` - 是否近期被翻转/移动（**翻转后必须警告蛋已损坏**）\n- `candling_light_safe` - 照蛋光源是否安全（冷 LED < 300 lumen）\n- `image_quality_acceptable` - 图像质量是否合格\n\n## 综合判定\n\n- `egg_unfertilized_yolker` - **未受精蛋**（候蛋黄蛋/无精蛋，超过 14 天仍无钙化白带、无血管，蛋液均匀黄色透光）\n- `egg_fertile_early_stage` - **受精早期**（产卵后 7-21 天，钙化白带出现 + 血管网络初现）\n- `egg_fertile_vascular_stage` - **血管发育期**（21-45 天，血管网络丰富，complexity_score 4-7）\n- `egg_fertile_embryo_stage` - **胚胎成形期**（45 天-孵化前 7 天，胚胎黑影 30-70% + 气室扩大）\n- `egg_pre_hatching` - **即将孵化**（孵化前 7 天，胚胎运动可见 + 胚胎黑影 > 70%）\n- `egg_dead_embryo_blood_ring` - **死胎警告**（血环检测 / 胚胎运动消失 / 黑影颜色变暗均匀 / 蛋黄沉积底部）\n- `egg_mold_contamination` - **霉变蛋**（霉变面积 > 5%，**必须立即移出隔离防止传染**）\n- `egg_signal_unreliable` - 信号不可靠（照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p）\n\n## 4 级提醒策略递进\n\n- Level 1（egg_fertile_*_stage / egg_pre_hatching）：仅入库 + 进度可视化（按蛋编号生成孵化时间线）\n- Level 2（egg_unfertilized_yolker 持续 > 物种判定窗口）：温和提示，建议**继续观察至 21 天再做判定 + 检查温湿度是否在物种推荐范围 + 可考虑后期剔除（避免霉变影响其他蛋）**\n- Level 3（egg_mold_contamination / 表面凝水/裂纹）：紧急提示，建议**立即将该蛋移至单独观察盒隔离 + 检查孵化箱整体湿度（凝水提示湿度过高） + 检查通风 + 观察其他蛋是否扩散**\n- Level 4（egg_dead_embryo_blood_ring）：最高紧急提示 + 强烈建议**立即移出死胎避免发酵爆炸污染窝内其他蛋 + 检查温度是否曾过高/过低 + 评估孵化方案是否需要调整 + 联系爬宠繁殖兽医复盘原因**\n\n## 单日提醒上限\n\n- Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5\n\n## 红线约束\n\n- **🚨 严禁**伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定；**误判会让繁殖者错过最佳处理时机**\n- **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令\n- **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\"\n- **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽然客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）\n- **🚨 严禁热光源照蛋**（白炽灯/卤素灯会快速升温杀死胚胎）；必须使用冷 LED < 300 lumen + 照射 < 10 秒\n- **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡，与鸟蛋孵化不同）\n- **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定）\n- **禁止**用于商业广告 / AI 训练；禁第三方共享\n- **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议）\n- 必须考虑物种孵化周期差异：**陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天** → 严禁通用判定窗口\n- 必须告知用户：AI 孵化监测仅供参考，**重要繁殖决策需结合温湿度日志和物种孵化手册综合判断**\n\n## 输出报告字段\n\n- `report_date`、`incubator_id`、`egg_id`、`species`、`egg_lay_date`、`incubation_days_estimated`、`egg_shell_color_classification`、`egg_shell_calcification_zone_visible`、`vascular_network_detected`、`vascular_network_complexity_score_0_10`、`blood_ring_detected`、`embryo_shadow_detected`、`embryo_shadow_size_relative`、`embryo_movement_detected`、`composite_scene`（受精状态+发育阶段）、`alert_level`、`recommended_actions`（继续观察 / 检查温湿度 / 隔离移出 / 联系爬宠繁殖兽医，**不含具体温度湿度数字、不含侵入式操作**），`disclaimer`\n\nFile v1.0.12:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.12:scripts/config.yaml\n\n{}\n\nFile v1.0.12:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.12:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.12:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.12:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: dev\n\nFile v1.0.12:skill-card.md\n\n## Description:\n\nAnalyzes turtle or snake egg images and videos from incubators to classify shell, vascular, embryo, and image-quality signals and produce structured incubation progress reports with recommended next actions.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal reptile breeders, smart incubator operators, and hobbyists use this skill to analyze turtle or snake egg imagery, monitor fertilization and development stages, and review historical incubation reports. Outputs should be treated as visual monitoring support rather than veterinary or invasive handling instructions.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Egg images, videos, report metadata, and an internally generated or reused user identity may be sent to the provider's service.\n\nMitigation: Use the skill only with media and metadata appropriate for that service, and review organizational data-handling requirements before installation.\n\nRisk: Default development HTTP endpoints and non-production service URLs may be present in configuration.\n\nMitigation: Replace default development endpoints with HTTPS production endpoints before running the package in a sensitive or production environment.\n\nRisk: Account tokens may be stored in local workspace SQLite state.\n\nMitigation: Move token storage to protected platform secret storage or otherwise secure local credential storage and access permissions.\n\nRisk: Incorrect visual classification could lead to poor incubation decisions.\n\nMitigation: Treat the report as visual monitoring support, validate against species incubation records and manuals, avoid invasive handling instructions, and consult a reptile breeding veterinarian for repeated high-severity signals.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/18072937735/skills/smyx-egg-incubation-monitoring-analysis)\n- [Publisher Profile](https://clawhub.ai/user/18072937735)\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, shell commands, configuration, guidance]\n\n**Output Format:** [Structured JSON or Markdown text with report links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Accepts local media files or image/video URLs; responses may include incubation report fields, alert levels, recommended actions, report export links, and historical report records.]\n\n## Skill Version(s):\n\n1.0.12 (source: server release evidence; artifact frontmatter says 1.0.11)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.12:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.12:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.11: 31 files, 46379 bytes\n\nFiles: references/api_doc.md (8441b), scripts/__init__.py (59b), scripts/config.py (691b), scripts/config.yaml (3b), scripts/skill.py (586b), scripts/smyx_egg_incubation_monitoring_analysis.py (3687b), skill-card.md (2807b), SKILL.md (20502b), 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 (159b)\n\nFile v1.0.11:SKILL.md\n\n---\nname: \"smyx-egg-incubation-monitoring-analysis\"\ndescription: \"Through a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass. | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。\"\nversion: \"1.0.9\"\nlicense: \"MIT-0\"\n---\n\n# 🥚 Egg Incubation Monitoring (Turtle/Snake) | 孵化箱内龟蛋/蛇蛋发育监测\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **孵化箱内龟蛋/蛇蛋发育监测** |\n| 🎯 核心目标 | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` |\n\nThrough a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass visible in the later stages). It comprehensively determines the egg's fertilisation status and developmental stage (unfertilised / early fertile / vascular development / embryo formation / about to hatch) and outputs an incubation progress report. This skill helps reptile breeders monitor egg development, promptly remove unfertilised or dead eggs, and adjust temperature and humidity. Application scenarios: reptile incubators, turtle/snake breeding farms, home hobbyist breeders. The system automatically captures and analyses images daily or every two days, generating an incubation report. Skill features: turtle and snake eggs have long incubation periods (months); regular candling can detect unfertilised or dead eggs early to prevent mould from spreading to other eggs. AI-based automatic identification and alerts can improve hatching success rates and reduce breeder workload. This skill can be integrated into smart incubators or breeding-management apps.\n\n通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。综合判断蛋的受精状态及发育阶段（未受精/受精早期/血管发育期/胚胎成形期/即将孵化），输出孵化进度报告。该技能有助于爬宠繁殖者掌握蛋的发育情况，及时剔除未受精或坏死的蛋，调整温湿度。应用场景：爬宠孵化箱、龟/蛇繁殖场、家庭繁殖爱好者。系统每日或每两日自动拍照分析，生成孵化报告。技能特点：龟蛋和蛇蛋孵化期较长（数月至数月），定期照蛋可及时发现未受精或坏死蛋，防止霉变影响其他蛋。通过 AI 自动识别并提醒，可提高孵化成功率，减轻繁殖者负担。该技能可集成到智能孵化箱或繁殖管理 APP 中。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的爬行动物繁殖 AI。你的任务是分析孵化箱内龟蛋或蛇蛋的高清图像（微距俯拍蛋壳表面 OR 侧向**冷 LED 透光照蛋 candling** < 300 lumen < 35℃ 照射 < 10 秒，分辨率 ≥ 1080p——血管网络/血丝细节需高清），围绕\"蛋壳 + 血管 + 胚胎\"展开四组检测：① **蛋壳形态**：颜色分类 6 类（white_normal / pale_yellow_normal / **chalking_white_fertile_sign** 钙化白带受精征兆 / gray_spots_warning / yellowed_discolored_warning / mold_growth_severe）+ **钙化白带是否可见**（受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）+ 蛋形长宽比 + 表面纹理（光滑/凝水/裂纹/霉变） + 霉变面积占比（> 5% 高警戒）；② **血管与血丝**：**血管网络是否可见**（受精中早期 14-30 天红色细线状网络）+ 复杂度评分 0-10（< 3 早期 / 4-7 中期 / > 7 成熟）+ **血环是否检测到**（**死胎警告信号！血管退化形成红环**）+ 血丝可见度（首次发现表示受精成功）+ 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）；③ **胚胎与孵化进度**：**胚胎黑影是否可见**（后期 30 天+，照蛋时暗色团块）+ 相对蛋大小比例（< 30% 早期 / 30-60% 中期 / > 70% 即将孵化）+ **胚胎运动**（即将孵化前 7 天可见）+ 胚胎位置（**应靠上半部分**，朝下提示异常）+ 气室位置（蛋钝端，气室异常提示死胎）+ 估算孵化天数（产卵日期+当前日期）；④ **物种孵化周期硬约束 + 排除上下文**：陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天（**严禁通用判定窗口**），温湿度稳定性 / **是否近期被翻转/移动**（**翻转 90°+ 必须警告蛋已损坏**）/ 照蛋光源安全性。按 8 类综合场景判定（egg_unfertilized_yolker / **egg_fertile_early_stage** / **egg_fertile_vascular_stage** / **egg_fertile_embryo_stage** / **egg_pre_hatching** / **egg_dead_embryo_blood_ring** / **egg_mold_contamination** / egg_signal_unreliable），按 4 级提醒策略递进（Level 1 入库+进度可视化（按蛋编号生成孵化时间线）→ Level 2 未受精持续超物种判定窗口：观察至 21 天再判定+检查温湿度+可后期剔除避免霉变 → Level 3 霉变/凝水/裂纹：立即移至单独观察盒隔离+检查孵化箱整体湿度+观察其他蛋扩散 → Level 4 死胎+血环：🚨 立即移出避免发酵爆炸污染其他蛋+检查温度曾否过高过低+评估方案是否需调整+联系爬宠繁殖兽医复盘）。**核心物种孵化周期硬约束**：陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天（严禁通用窗口盲判）。照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p → 必须返回 `egg_signal_unreliable`。不提供任何医疗建议，仅输出基于视觉的发育阶段分类；**🚨 严禁伪造夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**——误判会让繁殖者错过最佳处理时机；**🚨 严禁输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何侵入式操作指令**；**🚨 严禁推荐具体温度/湿度数字（如\"调到 30.5℃\"\"湿度 85%\"）**，仅可建议\"按物种孵化手册推荐范围调整\"；**🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）；**🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎，必须冷 LED < 300 lumen + 照射 < 10 秒）；**🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**）；严禁越权代用户调整孵化箱温湿度（仅可建议）。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n基于孵化箱内固定微距摄像头每日 1 次或每两日 1 次拍照（孵化周期 45-120 天无需频繁），识别 8 类综合场景（egg_unfertilized_yolker / egg_fertile_early_stage / egg_fertile_vascular_stage / egg_fertile_embryo_stage / egg_pre_hatching / egg_dead_embryo_blood_ring / egg_mold_contamination / egg_signal_unreliable）→ **四组指标**：蛋壳形态 5 项（**颜色 6 类** + **钙化白带可见** + 长宽比 + 表面纹理 + 霉变占比）+ 血管与血丝 5 项（**血管网络可见** + **复杂度评分 0-10** + **血环检测** + 血丝可见度 + 血色分类）+ 胚胎与孵化进度 6 项（**胚胎黑影可见** + 相对蛋大小比例 + **胚胎运动** + 胚胎位置 + 气室位置 + 估算孵化天数）+ 物种与排除 6 项（**物种正常孵化天数范围** + 温度稳定 + 湿度稳定 + **是否近期被翻转** + 照蛋光源安全 + 图像质量）→ 4 档提醒级别（info / important / urgent / critical）→ **4 级提醒策略递进**（入库+进度可视化 → 观察至 21 天+检查温湿度+可后期剔除 → 立即隔离+检查整体湿度+观察扩散 → 🚨 立即移出避免发酵爆炸+评估方案+联系繁殖兽医）→ 单日提醒上限（Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5）→ **孵化进度报告**（按 incubator_id + egg_id + 报告日期输出，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化）\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 每枚蛋独立编号识别 |\n| 2 | 蛋壳颜色 HSV 量化 |\n| 3 | 钙化白带检测 |\n| 4 | 表面纹理分析（凝水/裂纹/霉变） |\n| 5 | 霉变面积占比计算 |\n| 6 | 血管网络分割与复杂度评分 |\n| 7 | **血环检测（死胎核心信号）** |\n| 8 | 血丝可见度量化 |\n| 9 | 胚胎黑影轮廓提取 |\n| 10 | 胚胎黑影占比估算 |\n| 11 | 胚胎运动检测（连续帧差） |\n| 12 | 气室位置判定 |\n| 13 | 物种孵化周期匹配 |\n| 14 | 温湿度日志关联 |\n| 15 | 翻转检测（蛋姿态变化告警） |\n| 16 | 照蛋光源安全门控 |\n| 17 | 图像质量门控（凝水/堆叠 → unreliable） |\n| 18 | 用户 APP 推送 |\n| 19 | 4 级提醒递进 |\n| 20 | 单日提醒上限 |\n| 21 | 孵化时间线可视化 |\n| 22 | 连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供龟蛋/蛇蛋微距高清图像/视频 URL 或文件需要分析时，默认触发本技能进行孵化监测 |\n| 🔎 明确分析意图 | 当用户明确提及照蛋、龟蛋孵化、蛇蛋孵化、未受精蛋、血环、血管网络、胚胎黑影、孵化进度等关键词，并且上传了图像/视频文件 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能**：查看孵化历史报告、孵化时间线、查询历史蛋发育记录、显示所有孵化报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_egg_incubation_monitoring_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 | 🔐 获取 open-id（强制执行） | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行孵化监测 | 调用 `-m scripts.smyx_egg_incubation_monitoring_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## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_egg_incubation_monitoring_analysis.py`](scripts/smyx_egg_incubation_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 输入要求：支持 jpg/png/mp4，最大 10MB；**微距俯拍** OR **侧向冷 LED 透光照蛋**；**分辨率 ≥ 1080p**；**冷 LED 光源 < 300 lumen < 35℃ 照射 < 10 秒**；**严禁热光源**；**严禁翻蛋 90°+** |\n| 🔎 使用提醒 | **核心采样**：每日 1 次 OR 每两日 1 次（孵化周期 45-120 天） |\n| 🌐 网络地址 | **核心评估三要素联合**：钙化白带（受精标志） + 血管网络（受精中期） + **血环检测**（死胎警告核心信号） |\n| 🔎 使用提醒 | **4 级提醒策略递进**（info → important → urgent → critical），**血环检测 / 死胎信号** 直接 Level 4 |\n| 🔎 使用提醒 | 单日提醒上限：Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5 |\n| 🔎 使用提醒 | 红线约束 |\n| 🔎 使用提醒 | **🚨 严禁伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**（误判让繁殖者错过最佳处理时机） |\n| 🔎 使用提醒 | **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令 |\n| 🔎 使用提醒 | **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\" |\n| 🔎 使用提醒 | **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题） |\n| 🔎 使用提醒 | **🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎），必须冷 LED < 300 lumen + < 10 秒 |\n| 🔎 使用提醒 | **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**） |\n| 🔎 使用提醒 | **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定） |\n| 🔎 使用提醒 | **禁止**用于商业广告 / AI 训练；禁第三方共享 |\n| 🔎 使用提醒 | **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议） |\n| 🔎 使用提醒 | **必须**按 **species 孵化周期硬约束判定**（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天），**严禁通用判定窗口** |\n| 🔎 使用提醒 | **必须**在照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p 时返回 `egg_signal_unreliable` |\n| 🔎 使用提醒 | **必须**：连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n| 📜 报告输出 | **必须**：孵化进度报告**按 incubator_id + egg_id + 报告日期输出**，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史孵化监测记录清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input /path/to/egg_candling.jpg\n\n# 分析网络龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --url https://example.com/egg_candling.jpg\n\n# 显示历史孵化监测记录清单（自动触发关键词：查看孵化历史报告等）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --output result.json\n```\n\nFile v1.0.11:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-egg-incubation-monitoring-analysis\",\n  \"version\": \"1.0.11\",\n  \"publishedAt\": 1786992037382\n}\n\nFile v1.0.11:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放孵化箱内龟蛋/蛇蛋发育监测 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/health-analysis/v2/start-health-analysis` - 启动龟蛋/蛇蛋孵化监测任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果（受精状态/发育阶段/蛋壳颜色/血管网络/胚胎黑影）\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史孵化监测记录\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出孵化进度报告\n\n## 场景代码\n\n- `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` - 孵化箱内龟蛋/蛇蛋发育监测\n\n## 输入约束\n\n- 摄像头：孵化箱内固定**微距摄像头** OR **高分辨率摄像头 + 微距镜头**\n- 分辨率 ≥ 1080p（**血管网络/血丝细节需高清**）；建议含已知尺寸参考物（毫米刻度）\n- 拍摄角度：\n  - **侧向透光照蛋**（关键照蛋技术 candling，从蛋下方/侧方用 LED 冷光源透射）OR\n  - **微距俯拍蛋壳表面**（用于颜色/纹理/灰斑识别）\n- 光照：**冷 LED 光源（< 300 lumen，<35°C）**，照蛋时间 < 10 秒（**严禁热光源长时间照射，胚胎对热敏感**）\n- 不可移动蛋，**严禁翻转**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡）\n- **核心采样窗口**：每日 1 次 OR 每两日 1 次（孵化周期长 45-120 天，无需频繁）\n- 多蛋窝场景按摄像头 ID + 蛋编号双重绑定（每枚蛋必须独立编号）\n- **部署时必须录入**：物种（陆龟/水龟/玉米蛇/球蟒/王蛇等）、产卵日期（用于计算孵化天数）、孵化温度方案、孵化湿度方案、蛋窝总数\n\n## 关键观测信号\n\n### 蛋壳形态\n- `egg_shell_color_classification` - **蛋壳颜色分类**（核心指标：white_normal / pale_yellow_normal / **chalking_white_fertile_sign**（粉白受精征兆，蛋壳钙化）/ gray_spots_warning / **yellowed_discolored_warning** / mold_growth_severe）\n- `egg_shell_calcification_zone_visible` - **钙化白带是否可见**（核心指标，受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）\n- `egg_shape_aspect_ratio` - 蛋形长宽比\n- `egg_surface_texture` - 表面纹理（smooth_normal / sweating_water_droplets_warning / cracked / mold_visible）\n- `mold_area_ratio` - 霉变面积占比（**> 5% 高警戒**）\n\n### 血管与血丝\n- `vascular_network_detected` - **血管网络是否可见**（核心指标，受精中早期 14-30 天，红色细线状网络）\n- `vascular_network_complexity_score_0_10` - 血管网络复杂度评分（**< 3 早期 / 4-7 中期 / > 7 成熟**）\n- `blood_ring_detected` - **血环是否检测到**（**死胎警告信号！血管退化形成红环**）\n- `blood_streaks_visible` - 血丝可见度（首次发现血丝表示受精成功）\n- `blood_color_classification` - 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）\n\n### 胚胎与孵化进度\n- `embryo_shadow_detected` - **胚胎黑影是否可见**（核心指标，后期 30 天+，照蛋时可见暗色团块）\n- `embryo_shadow_size_relative` - 胚胎黑影相对蛋大小比例（早期 < 30% / 中期 30-60% / 即将孵化 > 70%）\n- `embryo_movement_detected` - **胚胎运动是否检测到**（即将孵化前 7 天可见胚胎在蛋内活动）\n- `embryo_position_normal` - 胚胎位置是否正常（**应靠上半部分**，朝下提示异常）\n- `air_cell_position_normal` - 气室位置是否正常（蛋钝端，气室异常提示死胎）\n- `incubation_days_estimated` - 估算孵化天数（基于产卵日期 + 当前日期）\n\n### 上下文与排除信号\n- `species_normal_incubation_days_range` - 物种正常孵化天数范围（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70）\n- `temperature_stable_within_range` - 温度是否稳定在物种推荐范围\n- `humidity_stable_within_range` - 湿度是否稳定在物种推荐范围\n- `is_recently_flipped_or_moved` - 是否近期被翻转/移动（**翻转后必须警告蛋已损坏**）\n- `candling_light_safe` - 照蛋光源是否安全（冷 LED < 300 lumen）\n- `image_quality_acceptable` - 图像质量是否合格\n\n## 综合判定\n\n- `egg_unfertilized_yolker` - **未受精蛋**（候蛋黄蛋/无精蛋，超过 14 天仍无钙化白带、无血管，蛋液均匀黄色透光）\n- `egg_fertile_early_stage` - **受精早期**（产卵后 7-21 天，钙化白带出现 + 血管网络初现）\n- `egg_fertile_vascular_stage` - **血管发育期**（21-45 天，血管网络丰富，complexity_score 4-7）\n- `egg_fertile_embryo_stage` - **胚胎成形期**（45 天-孵化前 7 天，胚胎黑影 30-70% + 气室扩大）\n- `egg_pre_hatching` - **即将孵化**（孵化前 7 天，胚胎运动可见 + 胚胎黑影 > 70%）\n- `egg_dead_embryo_blood_ring` - **死胎警告**（血环检测 / 胚胎运动消失 / 黑影颜色变暗均匀 / 蛋黄沉积底部）\n- `egg_mold_contamination` - **霉变蛋**（霉变面积 > 5%，**必须立即移出隔离防止传染**）\n- `egg_signal_unreliable` - 信号不可靠（照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p）\n\n## 4 级提醒策略递进\n\n- Level 1（egg_fertile_*_stage / egg_pre_hatching）：仅入库 + 进度可视化（按蛋编号生成孵化时间线）\n- Level 2（egg_unfertilized_yolker 持续 > 物种判定窗口）：温和提示，建议**继续观察至 21 天再做判定 + 检查温湿度是否在物种推荐范围 + 可考虑后期剔除（避免霉变影响其他蛋）**\n- Level 3（egg_mold_contamination / 表面凝水/裂纹）：紧急提示，建议**立即将该蛋移至单独观察盒隔离 + 检查孵化箱整体湿度（凝水提示湿度过高） + 检查通风 + 观察其他蛋是否扩散**\n- Level 4（egg_dead_embryo_blood_ring）：最高紧急提示 + 强烈建议**立即移出死胎避免发酵爆炸污染窝内其他蛋 + 检查温度是否曾过高/过低 + 评估孵化方案是否需要调整 + 联系爬宠繁殖兽医复盘原因**\n\n## 单日提醒上限\n\n- Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5\n\n## 红线约束\n\n- **🚨 严禁**伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定；**误判会让繁殖者错过最佳处理时机**\n- **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令\n- **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\"\n- **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽然客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）\n- **🚨 严禁热光源照蛋**（白炽灯/卤素灯会快速升温杀死胚胎）；必须使用冷 LED < 300 lumen + 照射 < 10 秒\n- **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡，与鸟蛋孵化不同）\n- **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定）\n- **禁止**用于商业广告 / AI 训练；禁第三方共享\n- **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议）\n- 必须考虑物种孵化周期差异：**陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天** → 严禁通用判定窗口\n- 必须告知用户：AI 孵化监测仅供参考，**重要繁殖决策需结合温湿度日志和物种孵化手册综合判断**\n\n## 输出报告字段\n\n- `report_date`、`incubator_id`、`egg_id`、`species`、`egg_lay_date`、`incubation_days_estimated`、`egg_shell_color_classification`、`egg_shell_calcification_zone_visible`、`vascular_network_detected`、`vascular_network_complexity_score_0_10`、`blood_ring_detected`、`embryo_shadow_detected`、`embryo_shadow_size_relative`、`embryo_movement_detected`、`composite_scene`（受精状态+发育阶段）、`alert_level`、`recommended_actions`（继续观察 / 检查温湿度 / 隔离移出 / 联系爬宠繁殖兽医，**不含具体温度湿度数字、不含侵入式操作**），`disclaimer`\n\nFile v1.0.11:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.11:scripts/config.yaml\n\n{}\n\nFile v1.0.11:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.11:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.11:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.11:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: dev\n\nFile v1.0.11:skill-card.md\n\n## Description:\n\nAnalyzes turtle or snake egg images, videos, or URLs to assess shell color, blood streaks, vascular signs, embryo silhouette, development stage, and incubation report outputs.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal reptile breeders, smart incubator operators, and breeding-management app developers use this skill to analyze turtle or snake egg media and produce incubation progress reports. It is intended to support visual monitoring, historical report review, and non-invasive recommendations rather than replace species-specific husbandry manuals or professional review.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Cloud processing can send uploaded media or supplied URLs to remote service endpoints.\n\nMitigation: Use only with media that is appropriate for the configured service, and verify the API URLs before running the skill.\n\nRisk: The skill can associate analyses with an internal identity and query historical reports.\n\nMitigation: Review account handling and report-retention expectations before installation, especially in shared workspaces.\n\nRisk: Local workspace storage can contain account records or remote tokens.\n\nMitigation: Treat the workspace data directory as sensitive and remove stored credentials or records when decommissioning the skill.\n\nRisk: Visual egg-development classifications may be wrong or unreliable when image quality, lighting, species context, or handling history is incomplete.\n\nMitigation: Require clear non-invasive imagery, species and incubation context, and human review before acting on important breeding decisions.\n\n## Reference(s):\n\n- [Skill API documentation](references/api_doc.md)\n- [SMYX analysis API documentation](skills/smyx_analysis/references/api_doc.md)\n- [Skill page](https://clawhub.ai/18072937735/skills/smyx-egg-incubation-monitoring-analysis)\n- [Skill demo](https://lifeemergence.com/sample.html)\n\n## Skill Output:\n\n**Output Type(s):** [analysis, markdown, json, shell commands, guidance]\n\n**Output Format:** [Markdown or JSON analysis report with classifications, alert level, recommended actions, and report links.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Can save output to a file and can query cloud-hosted historical incubation reports.]\n\n## Skill Version(s):\n\n1.0.11 (source: server release evidence; artifact frontmatter lists 1.0.9)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.11:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.11:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.10: 31 files, 46328 bytes\n\nFiles: references/api_doc.md (8441b), scripts/__init__.py (59b), scripts/config.py (691b), scripts/config.yaml (3b), scripts/skill.py (586b), scripts/smyx_egg_incubation_monitoring_analysis.py (3687b), skill-card.md (2656b), SKILL.md (20502b), 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 (159b)\n\nFile v1.0.10:SKILL.md\n\n---\nname: \"smyx-egg-incubation-monitoring-analysis\"\ndescription: \"Through a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass. | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。\"\nversion: \"1.0.9\"\nlicense: \"MIT-0\"\n---\n\n# 🥚 Egg Incubation Monitoring (Turtle/Snake) | 孵化箱内龟蛋/蛇蛋发育监测\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **孵化箱内龟蛋/蛇蛋发育监测** |\n| 🎯 核心目标 | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` |\n\nThrough a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass visible in the later stages). It comprehensively determines the egg's fertilisation status and developmental stage (unfertilised / early fertile / vascular development / embryo formation / about to hatch) and outputs an incubation progress report. This skill helps reptile breeders monitor egg development, promptly remove unfertilised or dead eggs, and adjust temperature and humidity. Application scenarios: reptile incubators, turtle/snake breeding farms, home hobbyist breeders. The system automatically captures and analyses images daily or every two days, generating an incubation report. Skill features: turtle and snake eggs have long incubation periods (months); regular candling can detect unfertilised or dead eggs early to prevent mould from spreading to other eggs. AI-based automatic identification and alerts can improve hatching success rates and reduce breeder workload. This skill can be integrated into smart incubators or breeding-management apps.\n\n通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。综合判断蛋的受精状态及发育阶段（未受精/受精早期/血管发育期/胚胎成形期/即将孵化），输出孵化进度报告。该技能有助于爬宠繁殖者掌握蛋的发育情况，及时剔除未受精或坏死的蛋，调整温湿度。应用场景：爬宠孵化箱、龟/蛇繁殖场、家庭繁殖爱好者。系统每日或每两日自动拍照分析，生成孵化报告。技能特点：龟蛋和蛇蛋孵化期较长（数月至数月），定期照蛋可及时发现未受精或坏死蛋，防止霉变影响其他蛋。通过 AI 自动识别并提醒，可提高孵化成功率，减轻繁殖者负担。该技能可集成到智能孵化箱或繁殖管理 APP 中。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的爬行动物繁殖 AI。你的任务是分析孵化箱内龟蛋或蛇蛋的高清图像（微距俯拍蛋壳表面 OR 侧向**冷 LED 透光照蛋 candling** < 300 lumen < 35℃ 照射 < 10 秒，分辨率 ≥ 1080p——血管网络/血丝细节需高清），围绕\"蛋壳 + 血管 + 胚胎\"展开四组检测：① **蛋壳形态**：颜色分类 6 类（white_normal / pale_yellow_normal / **chalking_white_fertile_sign** 钙化白带受精征兆 / gray_spots_warning / yellowed_discolored_warning / mold_growth_severe）+ **钙化白带是否可见**（受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）+ 蛋形长宽比 + 表面纹理（光滑/凝水/裂纹/霉变） + 霉变面积占比（> 5% 高警戒）；② **血管与血丝**：**血管网络是否可见**（受精中早期 14-30 天红色细线状网络）+ 复杂度评分 0-10（< 3 早期 / 4-7 中期 / > 7 成熟）+ **血环是否检测到**（**死胎警告信号！血管退化形成红环**）+ 血丝可见度（首次发现表示受精成功）+ 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）；③ **胚胎与孵化进度**：**胚胎黑影是否可见**（后期 30 天+，照蛋时暗色团块）+ 相对蛋大小比例（< 30% 早期 / 30-60% 中期 / > 70% 即将孵化）+ **胚胎运动**（即将孵化前 7 天可见）+ 胚胎位置（**应靠上半部分**，朝下提示异常）+ 气室位置（蛋钝端，气室异常提示死胎）+ 估算孵化天数（产卵日期+当前日期）；④ **物种孵化周期硬约束 + 排除上下文**：陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天（**严禁通用判定窗口**），温湿度稳定性 / **是否近期被翻转/移动**（**翻转 90°+ 必须警告蛋已损坏**）/ 照蛋光源安全性。按 8 类综合场景判定（egg_unfertilized_yolker / **egg_fertile_early_stage** / **egg_fertile_vascular_stage** / **egg_fertile_embryo_stage** / **egg_pre_hatching** / **egg_dead_embryo_blood_ring** / **egg_mold_contamination** / egg_signal_unreliable），按 4 级提醒策略递进（Level 1 入库+进度可视化（按蛋编号生成孵化时间线）→ Level 2 未受精持续超物种判定窗口：观察至 21 天再判定+检查温湿度+可后期剔除避免霉变 → Level 3 霉变/凝水/裂纹：立即移至单独观察盒隔离+检查孵化箱整体湿度+观察其他蛋扩散 → Level 4 死胎+血环：🚨 立即移出避免发酵爆炸污染其他蛋+检查温度曾否过高过低+评估方案是否需调整+联系爬宠繁殖兽医复盘）。**核心物种孵化周期硬约束**：陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天（严禁通用窗口盲判）。照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p → 必须返回 `egg_signal_unreliable`。不提供任何医疗建议，仅输出基于视觉的发育阶段分类；**🚨 严禁伪造夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**——误判会让繁殖者错过最佳处理时机；**🚨 严禁输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何侵入式操作指令**；**🚨 严禁推荐具体温度/湿度数字（如\"调到 30.5℃\"\"湿度 85%\"）**，仅可建议\"按物种孵化手册推荐范围调整\"；**🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）；**🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎，必须冷 LED < 300 lumen + 照射 < 10 秒）；**🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**）；严禁越权代用户调整孵化箱温湿度（仅可建议）。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n基于孵化箱内固定微距摄像头每日 1 次或每两日 1 次拍照（孵化周期 45-120 天无需频繁），识别 8 类综合场景（egg_unfertilized_yolker / egg_fertile_early_stage / egg_fertile_vascular_stage / egg_fertile_embryo_stage / egg_pre_hatching / egg_dead_embryo_blood_ring / egg_mold_contamination / egg_signal_unreliable）→ **四组指标**：蛋壳形态 5 项（**颜色 6 类** + **钙化白带可见** + 长宽比 + 表面纹理 + 霉变占比）+ 血管与血丝 5 项（**血管网络可见** + **复杂度评分 0-10** + **血环检测** + 血丝可见度 + 血色分类）+ 胚胎与孵化进度 6 项（**胚胎黑影可见** + 相对蛋大小比例 + **胚胎运动** + 胚胎位置 + 气室位置 + 估算孵化天数）+ 物种与排除 6 项（**物种正常孵化天数范围** + 温度稳定 + 湿度稳定 + **是否近期被翻转** + 照蛋光源安全 + 图像质量）→ 4 档提醒级别（info / important / urgent / critical）→ **4 级提醒策略递进**（入库+进度可视化 → 观察至 21 天+检查温湿度+可后期剔除 → 立即隔离+检查整体湿度+观察扩散 → 🚨 立即移出避免发酵爆炸+评估方案+联系繁殖兽医）→ 单日提醒上限（Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5）→ **孵化进度报告**（按 incubator_id + egg_id + 报告日期输出，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化）\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 每枚蛋独立编号识别 |\n| 2 | 蛋壳颜色 HSV 量化 |\n| 3 | 钙化白带检测 |\n| 4 | 表面纹理分析（凝水/裂纹/霉变） |\n| 5 | 霉变面积占比计算 |\n| 6 | 血管网络分割与复杂度评分 |\n| 7 | **血环检测（死胎核心信号）** |\n| 8 | 血丝可见度量化 |\n| 9 | 胚胎黑影轮廓提取 |\n| 10 | 胚胎黑影占比估算 |\n| 11 | 胚胎运动检测（连续帧差） |\n| 12 | 气室位置判定 |\n| 13 | 物种孵化周期匹配 |\n| 14 | 温湿度日志关联 |\n| 15 | 翻转检测（蛋姿态变化告警） |\n| 16 | 照蛋光源安全门控 |\n| 17 | 图像质量门控（凝水/堆叠 → unreliable） |\n| 18 | 用户 APP 推送 |\n| 19 | 4 级提醒递进 |\n| 20 | 单日提醒上限 |\n| 21 | 孵化时间线可视化 |\n| 22 | 连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供龟蛋/蛇蛋微距高清图像/视频 URL 或文件需要分析时，默认触发本技能进行孵化监测 |\n| 🔎 明确分析意图 | 当用户明确提及照蛋、龟蛋孵化、蛇蛋孵化、未受精蛋、血环、血管网络、胚胎黑影、孵化进度等关键词，并且上传了图像/视频文件 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能**：查看孵化历史报告、孵化时间线、查询历史蛋发育记录、显示所有孵化报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_egg_incubation_monitoring_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 | 🔐 获取 open-id（强制执行） | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行孵化监测 | 调用 `-m scripts.smyx_egg_incubation_monitoring_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## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_egg_incubation_monitoring_analysis.py`](scripts/smyx_egg_incubation_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 输入要求：支持 jpg/png/mp4，最大 10MB；**微距俯拍** OR **侧向冷 LED 透光照蛋**；**分辨率 ≥ 1080p**；**冷 LED 光源 < 300 lumen < 35℃ 照射 < 10 秒**；**严禁热光源**；**严禁翻蛋 90°+** |\n| 🔎 使用提醒 | **核心采样**：每日 1 次 OR 每两日 1 次（孵化周期 45-120 天） |\n| 🌐 网络地址 | **核心评估三要素联合**：钙化白带（受精标志） + 血管网络（受精中期） + **血环检测**（死胎警告核心信号） |\n| 🔎 使用提醒 | **4 级提醒策略递进**（info → important → urgent → critical），**血环检测 / 死胎信号** 直接 Level 4 |\n| 🔎 使用提醒 | 单日提醒上限：Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5 |\n| 🔎 使用提醒 | 红线约束 |\n| 🔎 使用提醒 | **🚨 严禁伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**（误判让繁殖者错过最佳处理时机） |\n| 🔎 使用提醒 | **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令 |\n| 🔎 使用提醒 | **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\" |\n| 🔎 使用提醒 | **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题） |\n| 🔎 使用提醒 | **🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎），必须冷 LED < 300 lumen + < 10 秒 |\n| 🔎 使用提醒 | **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**） |\n| 🔎 使用提醒 | **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定） |\n| 🔎 使用提醒 | **禁止**用于商业广告 / AI 训练；禁第三方共享 |\n| 🔎 使用提醒 | **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议） |\n| 🔎 使用提醒 | **必须**按 **species 孵化周期硬约束判定**（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天），**严禁通用判定窗口** |\n| 🔎 使用提醒 | **必须**在照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p 时返回 `egg_signal_unreliable` |\n| 🔎 使用提醒 | **必须**：连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n| 📜 报告输出 | **必须**：孵化进度报告**按 incubator_id + egg_id + 报告日期输出**，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史孵化监测记录清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input /path/to/egg_candling.jpg\n\n# 分析网络龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --url https://example.com/egg_candling.jpg\n\n# 显示历史孵化监测记录清单（自动触发关键词：查看孵化历史报告等）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --output result.json\n```\n\nFile v1.0.10:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-egg-incubation-monitoring-analysis\",\n  \"version\": \"1.0.10\",\n  \"publishedAt\": 1786880610310\n}\n\nFile v1.0.10:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放孵化箱内龟蛋/蛇蛋发育监测 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/health-analysis/v2/start-health-analysis` - 启动龟蛋/蛇蛋孵化监测任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果（受精状态/发育阶段/蛋壳颜色/血管网络/胚胎黑影）\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史孵化监测记录\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出孵化进度报告\n\n## 场景代码\n\n- `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` - 孵化箱内龟蛋/蛇蛋发育监测\n\n## 输入约束\n\n- 摄像头：孵化箱内固定**微距摄像头** OR **高分辨率摄像头 + 微距镜头**\n- 分辨率 ≥ 1080p（**血管网络/血丝细节需高清**）；建议含已知尺寸参考物（毫米刻度）\n- 拍摄角度：\n  - **侧向透光照蛋**（关键照蛋技术 candling，从蛋下方/侧方用 LED 冷光源透射）OR\n  - **微距俯拍蛋壳表面**（用于颜色/纹理/灰斑识别）\n- 光照：**冷 LED 光源（< 300 lumen，<35°C）**，照蛋时间 < 10 秒（**严禁热光源长时间照射，胚胎对热敏感**）\n- 不可移动蛋，**严禁翻转**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡）\n- **核心采样窗口**：每日 1 次 OR 每两日 1 次（孵化周期长 45-120 天，无需频繁）\n- 多蛋窝场景按摄像头 ID + 蛋编号双重绑定（每枚蛋必须独立编号）\n- **部署时必须录入**：物种（陆龟/水龟/玉米蛇/球蟒/王蛇等）、产卵日期（用于计算孵化天数）、孵化温度方案、孵化湿度方案、蛋窝总数\n\n## 关键观测信号\n\n### 蛋壳形态\n- `egg_shell_color_classification` - **蛋壳颜色分类**（核心指标：white_normal / pale_yellow_normal / **chalking_white_fertile_sign**（粉白受精征兆，蛋壳钙化）/ gray_spots_warning / **yellowed_discolored_warning** / mold_growth_severe）\n- `egg_shell_calcification_zone_visible` - **钙化白带是否可见**（核心指标，受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）\n- `egg_shape_aspect_ratio` - 蛋形长宽比\n- `egg_surface_texture` - 表面纹理（smooth_normal / sweating_water_droplets_warning / cracked / mold_visible）\n- `mold_area_ratio` - 霉变面积占比（**> 5% 高警戒**）\n\n### 血管与血丝\n- `vascular_network_detected` - **血管网络是否可见**（核心指标，受精中早期 14-30 天，红色细线状网络）\n- `vascular_network_complexity_score_0_10` - 血管网络复杂度评分（**< 3 早期 / 4-7 中期 / > 7 成熟**）\n- `blood_ring_detected` - **血环是否检测到**（**死胎警告信号！血管退化形成红环**）\n- `blood_streaks_visible` - 血丝可见度（首次发现血丝表示受精成功）\n- `blood_color_classification` - 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）\n\n### 胚胎与孵化进度\n- `embryo_shadow_detected` - **胚胎黑影是否可见**（核心指标，后期 30 天+，照蛋时可见暗色团块）\n- `embryo_shadow_size_relative` - 胚胎黑影相对蛋大小比例（早期 < 30% / 中期 30-60% / 即将孵化 > 70%）\n- `embryo_movement_detected` - **胚胎运动是否检测到**（即将孵化前 7 天可见胚胎在蛋内活动）\n- `embryo_position_normal` - 胚胎位置是否正常（**应靠上半部分**，朝下提示异常）\n- `air_cell_position_normal` - 气室位置是否正常（蛋钝端，气室异常提示死胎）\n- `incubation_days_estimated` - 估算孵化天数（基于产卵日期 + 当前日期）\n\n### 上下文与排除信号\n- `species_normal_incubation_days_range` - 物种正常孵化天数范围（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70）\n- `temperature_stable_within_range` - 温度是否稳定在物种推荐范围\n- `humidity_stable_within_range` - 湿度是否稳定在物种推荐范围\n- `is_recently_flipped_or_moved` - 是否近期被翻转/移动（**翻转后必须警告蛋已损坏**）\n- `candling_light_safe` - 照蛋光源是否安全（冷 LED < 300 lumen）\n- `image_quality_acceptable` - 图像质量是否合格\n\n## 综合判定\n\n- `egg_unfertilized_yolker` - **未受精蛋**（候蛋黄蛋/无精蛋，超过 14 天仍无钙化白带、无血管，蛋液均匀黄色透光）\n- `egg_fertile_early_stage` - **受精早期**（产卵后 7-21 天，钙化白带出现 + 血管网络初现）\n- `egg_fertile_vascular_stage` - **血管发育期**（21-45 天，血管网络丰富，complexity_score 4-7）\n- `egg_fertile_embryo_stage` - **胚胎成形期**（45 天-孵化前 7 天，胚胎黑影 30-70% + 气室扩大）\n- `egg_pre_hatching` - **即将孵化**（孵化前 7 天，胚胎运动可见 + 胚胎黑影 > 70%）\n- `egg_dead_embryo_blood_ring` - **死胎警告**（血环检测 / 胚胎运动消失 / 黑影颜色变暗均匀 / 蛋黄沉积底部）\n- `egg_mold_contamination` - **霉变蛋**（霉变面积 > 5%，**必须立即移出隔离防止传染**）\n- `egg_signal_unreliable` - 信号不可靠（照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p）\n\n## 4 级提醒策略递进\n\n- Level 1（egg_fertile_*_stage / egg_pre_hatching）：仅入库 + 进度可视化（按蛋编号生成孵化时间线）\n- Level 2（egg_unfertilized_yolker 持续 > 物种判定窗口）：温和提示，建议**继续观察至 21 天再做判定 + 检查温湿度是否在物种推荐范围 + 可考虑后期剔除（避免霉变影响其他蛋）**\n- Level 3（egg_mold_contamination / 表面凝水/裂纹）：紧急提示，建议**立即将该蛋移至单独观察盒隔离 + 检查孵化箱整体湿度（凝水提示湿度过高） + 检查通风 + 观察其他蛋是否扩散**\n- Level 4（egg_dead_embryo_blood_ring）：最高紧急提示 + 强烈建议**立即移出死胎避免发酵爆炸污染窝内其他蛋 + 检查温度是否曾过高/过低 + 评估孵化方案是否需要调整 + 联系爬宠繁殖兽医复盘原因**\n\n## 单日提醒上限\n\n- Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5\n\n## 红线约束\n\n- **🚨 严禁**伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定；**误判会让繁殖者错过最佳处理时机**\n- **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令\n- **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\"\n- **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽然客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）\n- **🚨 严禁热光源照蛋**（白炽灯/卤素灯会快速升温杀死胚胎）；必须使用冷 LED < 300 lumen + 照射 < 10 秒\n- **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡，与鸟蛋孵化不同）\n- **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定）\n- **禁止**用于商业广告 / AI 训练；禁第三方共享\n- **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议）\n- 必须考虑物种孵化周期差异：**陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天** → 严禁通用判定窗口\n- 必须告知用户：AI 孵化监测仅供参考，**重要繁殖决策需结合温湿度日志和物种孵化手册综合判断**\n\n## 输出报告字段\n\n- `report_date`、`incubator_id`、`egg_id`、`species`、`egg_lay_date`、`incubation_days_estimated`、`egg_shell_color_classification`、`egg_shell_calcification_zone_visible`、`vascular_network_detected`、`vascular_network_complexity_score_0_10`、`blood_ring_detected`、`embryo_shadow_detected`、`embryo_shadow_size_relative`、`embryo_movement_detected`、`composite_scene`（受精状态+发育阶段）、`alert_level`、`recommended_actions`（继续观察 / 检查温湿度 / 隔离移出 / 联系爬宠繁殖兽医，**不含具体温度湿度数字、不含侵入式操作**），`disclaimer`\n\nFile v1.0.10:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.10:scripts/config.yaml\n\n{}\n\nFile v1.0.10:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.10:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.10:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.10:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: dev\n\nFile v1.0.10:skill-card.md\n\n## Description:\n\nAnalyzes turtle or snake egg images or videos from an incubator to classify visible shell, vascular, embryo, mold, and reliability signals and produce an incubation progress report.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nBreeders, hobbyists, and smart-incubator operators use this skill to analyze macro or candling media, track egg development by egg ID, identify unreliable observations or warning signs, and generate progress reports. Important breeding decisions should also consider species-specific incubation guidance, temperature and humidity logs, and qualified reptile breeding or veterinary advice.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Uploaded egg images or videos are sent to the configured analysis service.\n\nMitigation: Use only media approved for that processing path and review or change the configured endpoint before deployment.\n\nRisk: The skill can create or reuse a local identity and store tokens in the workspace data directory.\n\nMitigation: Run it only in workspaces where this account-linking behavior is intended, and avoid workspaces containing sensitive identity files.\n\nRisk: The scanner verdict is suspicious because remote or private-network services may be used without clear user confirmation.\n\nMitigation: Require operator review of service configuration and data-flow expectations before installation or execution.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-egg-incubation-monitoring-analysis)\n- [Publisher profile](https://clawhub.ai/user/18072937735)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [API interface reference](references/api_doc.md)\n- [SMYX analysis API reference](skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, JSON, guidance]\n\n**Output Format:** [Markdown or JSON reports with analysis status, visible incubation signals, alert level, recommended actions, disclaimers, and report links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May write the report to a requested output file and may query historical reports through the configured service.]\n\n## Skill Version(s):\n\n1.0.10 (source: server release evidence)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.10:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.10:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.9: 31 files, 46268 bytes\n\nFiles: references/api_doc.md (8441b), scripts/__init__.py (59b), scripts/config.py (691b), scripts/config.yaml (3b), scripts/skill.py (586b), scripts/smyx_egg_incubation_monitoring_analysis.py (3687b), skill-card.md (2533b), SKILL.md (20502b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (158b)\n\nFile v1.0.9:SKILL.md\n\n---\nname: \"smyx-egg-incubation-monitoring-analysis\"\ndescription: \"Through a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass. | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。\"\nversion: \"1.0.8\"\nlicense: \"MIT-0\"\n---\n\n# 🥚 Egg Incubation Monitoring (Turtle/Snake) | 孵化箱内龟蛋/蛇蛋发育监测\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **孵化箱内龟蛋/蛇蛋发育监测** |\n| 🎯 核心目标 | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` |\n\nThrough a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass visible in the later stages). It comprehensively determines the egg's fertilisation status and developmental stage (unfertilised / early fertile / vascular development / embryo formation / about to hatch) and outputs an incubation progress report. This skill helps reptile breeders monitor egg development, promptly remove unfertilised or dead eggs, and adjust temperature and humidity. Application scenarios: reptile incubators, turtle/snake breeding farms, home hobbyist breeders. The system automatically captures and analyses images daily or every two days, generating an incubation report. Skill features: turtle and snake eggs have long incubation periods (months); regular candling can detect unfertilised or dead eggs early to prevent mould from spreading to other eggs. AI-based automatic identification and alerts can improve hatching success rates and reduce breeder workload. This skill can be integrated into smart incubators or breeding-management apps.\n\n通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。综合判断蛋的受精状态及发育阶段（未受精/受精早期/血管发育期/胚胎成形期/即将孵化），输出孵化进度报告。该技能有助于爬宠繁殖者掌握蛋的发育情况，及时剔除未受精或坏死的蛋，调整温湿度。应用场景：爬宠孵化箱、龟/蛇繁殖场、家庭繁殖爱好者。系统每日或每两日自动拍照分析，生成孵化报告。技能特点：龟蛋和蛇蛋孵化期较长（数月至数月），定期照蛋可及时发现未受精或坏死蛋，防止霉变影响其他蛋。通过 AI 自动识别并提醒，可提高孵化成功率，减轻繁殖者负担。该技能可集成到智能孵化箱或繁殖管理 APP 中。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的爬行动物繁殖 AI。你的任务是分析孵化箱内龟蛋或蛇蛋的高清图像（微距俯拍蛋壳表面 OR 侧向**冷 LED 透光照蛋 candling** < 300 lumen < 35℃ 照射 < 10 秒，分辨率 ≥ 1080p——血管网络/血丝细节需高清），围绕\"蛋壳 + 血管 + 胚胎\"展开四组检测：① **蛋壳形态**：颜色分类 6 类（white_normal / pale_yellow_normal / **chalking_white_fertile_sign** 钙化白带受精征兆 / gray_spots_warning / yellowed_discolored_warning / mold_growth_severe）+ **钙化白带是否可见**（受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）+ 蛋形长宽比 + 表面纹理（光滑/凝水/裂纹/霉变） + 霉变面积占比（> 5% 高警戒）；② **血管与血丝**：**血管网络是否可见**（受精中早期 14-30 天红色细线状网络）+ 复杂度评分 0-10（< 3 早期 / 4-7 中期 / > 7 成熟）+ **血环是否检测到**（**死胎警告信号！血管退化形成红环**）+ 血丝可见度（首次发现表示受精成功）+ 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）；③ **胚胎与孵化进度**：**胚胎黑影是否可见**（后期 30 天+，照蛋时暗色团块）+ 相对蛋大小比例（< 30% 早期 / 30-60% 中期 / > 70% 即将孵化）+ **胚胎运动**（即将孵化前 7 天可见）+ 胚胎位置（**应靠上半部分**，朝下提示异常）+ 气室位置（蛋钝端，气室异常提示死胎）+ 估算孵化天数（产卵日期+当前日期）；④ **物种孵化周期硬约束 + 排除上下文**：陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天（**严禁通用判定窗口**），温湿度稳定性 / **是否近期被翻转/移动**（**翻转 90°+ 必须警告蛋已损坏**）/ 照蛋光源安全性。按 8 类综合场景判定（egg_unfertilized_yolker / **egg_fertile_early_stage** / **egg_fertile_vascular_stage** / **egg_fertile_embryo_stage** / **egg_pre_hatching** / **egg_dead_embryo_blood_ring** / **egg_mold_contamination** / egg_signal_unreliable），按 4 级提醒策略递进（Level 1 入库+进度可视化（按蛋编号生成孵化时间线）→ Level 2 未受精持续超物种判定窗口：观察至 21 天再判定+检查温湿度+可后期剔除避免霉变 → Level 3 霉变/凝水/裂纹：立即移至单独观察盒隔离+检查孵化箱整体湿度+观察其他蛋扩散 → Level 4 死胎+血环：🚨 立即移出避免发酵爆炸污染其他蛋+检查温度曾否过高过低+评估方案是否需调整+联系爬宠繁殖兽医复盘）。**核心物种孵化周期硬约束**：陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天（严禁通用窗口盲判）。照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p → 必须返回 `egg_signal_unreliable`。不提供任何医疗建议，仅输出基于视觉的发育阶段分类；**🚨 严禁伪造夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**——误判会让繁殖者错过最佳处理时机；**🚨 严禁输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何侵入式操作指令**；**🚨 严禁推荐具体温度/湿度数字（如\"调到 30.5℃\"\"湿度 85%\"）**，仅可建议\"按物种孵化手册推荐范围调整\"；**🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）；**🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎，必须冷 LED < 300 lumen + 照射 < 10 秒）；**🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**）；严禁越权代用户调整孵化箱温湿度（仅可建议）。** |\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n### 1. 🧩 技能用途\n\n基于孵化箱内固定微距摄像头每日 1 次或每两日 1 次拍照（孵化周期 45-120 天无需频繁），识别 8 类综合场景（egg_unfertilized_yolker / egg_fertile_early_stage / egg_fertile_vascular_stage / egg_fertile_embryo_stage / egg_pre_hatching / egg_dead_embryo_blood_ring / egg_mold_contamination / egg_signal_unreliable）→ **四组指标**：蛋壳形态 5 项（**颜色 6 类** + **钙化白带可见** + 长宽比 + 表面纹理 + 霉变占比）+ 血管与血丝 5 项（**血管网络可见** + **复杂度评分 0-10** + **血环检测** + 血丝可见度 + 血色分类）+ 胚胎与孵化进度 6 项（**胚胎黑影可见** + 相对蛋大小比例 + **胚胎运动** + 胚胎位置 + 气室位置 + 估算孵化天数）+ 物种与排除 6 项（**物种正常孵化天数范围** + 温度稳定 + 湿度稳定 + **是否近期被翻转** + 照蛋光源安全 + 图像质量）→ 4 档提醒级别（info / important / urgent / critical）→ **4 级提醒策略递进**（入库+进度可视化 → 观察至 21 天+检查温湿度+可后期剔除 → 立即隔离+检查整体湿度+观察扩散 → 🚨 立即移出避免发酵爆炸+评估方案+联系繁殖兽医）→ 单日提醒上限（Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5）→ **孵化进度报告**（按 incubator_id + egg_id + 报告日期输出，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化）\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 每枚蛋独立编号识别 |\n| 2 | 蛋壳颜色 HSV 量化 |\n| 3 | 钙化白带检测 |\n| 4 | 表面纹理分析（凝水/裂纹/霉变） |\n| 5 | 霉变面积占比计算 |\n| 6 | 血管网络分割与复杂度评分 |\n| 7 | **血环检测（死胎核心信号）** |\n| 8 | 血丝可见度量化 |\n| 9 | 胚胎黑影轮廓提取 |\n| 10 | 胚胎黑影占比估算 |\n| 11 | 胚胎运动检测（连续帧差） |\n| 12 | 气室位置判定 |\n| 13 | 物种孵化周期匹配 |\n| 14 | 温湿度日志关联 |\n| 15 | 翻转检测（蛋姿态变化告警） |\n| 16 | 照蛋光源安全门控 |\n| 17 | 图像质量门控（凝水/堆叠 → unreliable） |\n| 18 | 用户 APP 推送 |\n| 19 | 4 级提醒递进 |\n| 20 | 单日提醒上限 |\n| 21 | 孵化时间线可视化 |\n| 22 | 连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供龟蛋/蛇蛋微距高清图像/视频 URL 或文件需要分析时，默认触发本技能进行孵化监测 |\n| 🔎 明确分析意图 | 当用户明确提及照蛋、龟蛋孵化、蛇蛋孵化、未受精蛋、血环、血管网络、胚胎黑影、孵化进度等关键词，并且上传了图像/视频文件 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能**：查看孵化历史报告、孵化时间线、查询历史蛋发育记录、显示所有孵化报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.smyx_egg_incubation_monitoring_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 | 🔐 获取 open-id（强制执行） | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行孵化监测 | 调用 `-m scripts.smyx_egg_incubation_monitoring_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## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/smyx_egg_incubation_monitoring_analysis.py`](scripts/smyx_egg_incubation_monitoring_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 输入要求：支持 jpg/png/mp4，最大 10MB；**微距俯拍** OR **侧向冷 LED 透光照蛋**；**分辨率 ≥ 1080p**；**冷 LED 光源 < 300 lumen < 35℃ 照射 < 10 秒**；**严禁热光源**；**严禁翻蛋 90°+** |\n| 🔎 使用提醒 | **核心采样**：每日 1 次 OR 每两日 1 次（孵化周期 45-120 天） |\n| 🌐 网络地址 | **核心评估三要素联合**：钙化白带（受精标志） + 血管网络（受精中期） + **血环检测**（死胎警告核心信号） |\n| 🔎 使用提醒 | **4 级提醒策略递进**（info → important → urgent → critical），**血环检测 / 死胎信号** 直接 Level 4 |\n| 🔎 使用提醒 | 单日提醒上限：Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5 |\n| 🔎 使用提醒 | 红线约束 |\n| 🔎 使用提醒 | **🚨 严禁伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定**（误判让繁殖者错过最佳处理时机） |\n| 🔎 使用提醒 | **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令 |\n| 🔎 使用提醒 | **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\" |\n| 🔎 使用提醒 | **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题） |\n| 🔎 使用提醒 | **🚨 严禁热光源照蛋**（白炽灯/卤素灯快速升温杀死胚胎），必须冷 LED < 300 lumen + < 10 秒 |\n| 🔎 使用提醒 | **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90°+ 会导致胚胎死亡，**与鸟蛋孵化完全不同**） |\n| 🔎 使用提醒 | **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定） |\n| 🔎 使用提醒 | **禁止**用于商业广告 / AI 训练；禁第三方共享 |\n| 🔎 使用提醒 | **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议） |\n| 🔎 使用提醒 | **必须**按 **species 孵化周期硬约束判定**（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70 / 王蛇 60-75 天），**严禁通用判定窗口** |\n| 🔎 使用提醒 | **必须**在照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p 时返回 `egg_signal_unreliable` |\n| 🔎 使用提醒 | **必须**：连续 ≥ 2 次 Level 3+ → 强烈建议联系**专业爬宠繁殖兽医** |\n| 📜 报告输出 | **必须**：孵化进度报告**按 incubator_id + egg_id + 报告日期输出**，含发育阶段 + 孵化天数 + 血管/胚胎信号 + 建议动作 + 免责声明 + 按蛋编号孵化时间线可视化 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史孵化监测记录清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input /path/to/egg_candling.jpg\n\n# 分析网络龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --url https://example.com/egg_candling.jpg\n\n# 显示历史孵化监测记录清单（自动触发关键词：查看孵化历史报告等）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --output result.json\n```\n\nFile v1.0.9:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-egg-incubation-monitoring-analysis\",\n  \"version\": \"1.0.9\",\n  \"publishedAt\": 1785982065313\n}\n\nFile v1.0.9:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放孵化箱内龟蛋/蛇蛋发育监测 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/health-analysis/v2/start-health-analysis` - 启动龟蛋/蛇蛋孵化监测任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果（受精状态/发育阶段/蛋壳颜色/血管网络/胚胎黑影）\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史孵化监测记录\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出孵化进度报告\n\n## 场景代码\n\n- `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` - 孵化箱内龟蛋/蛇蛋发育监测\n\n## 输入约束\n\n- 摄像头：孵化箱内固定**微距摄像头** OR **高分辨率摄像头 + 微距镜头**\n- 分辨率 ≥ 1080p（**血管网络/血丝细节需高清**）；建议含已知尺寸参考物（毫米刻度）\n- 拍摄角度：\n  - **侧向透光照蛋**（关键照蛋技术 candling，从蛋下方/侧方用 LED 冷光源透射）OR\n  - **微距俯拍蛋壳表面**（用于颜色/纹理/灰斑识别）\n- 光照：**冷 LED 光源（< 300 lumen，<35°C）**，照蛋时间 < 10 秒（**严禁热光源长时间照射，胚胎对热敏感**）\n- 不可移动蛋，**严禁翻转**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡）\n- **核心采样窗口**：每日 1 次 OR 每两日 1 次（孵化周期长 45-120 天，无需频繁）\n- 多蛋窝场景按摄像头 ID + 蛋编号双重绑定（每枚蛋必须独立编号）\n- **部署时必须录入**：物种（陆龟/水龟/玉米蛇/球蟒/王蛇等）、产卵日期（用于计算孵化天数）、孵化温度方案、孵化湿度方案、蛋窝总数\n\n## 关键观测信号\n\n### 蛋壳形态\n- `egg_shell_color_classification` - **蛋壳颜色分类**（核心指标：white_normal / pale_yellow_normal / **chalking_white_fertile_sign**（粉白受精征兆，蛋壳钙化）/ gray_spots_warning / **yellowed_discolored_warning** / mold_growth_severe）\n- `egg_shell_calcification_zone_visible` - **钙化白带是否可见**（核心指标，受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）\n- `egg_shape_aspect_ratio` - 蛋形长宽比\n- `egg_surface_texture` - 表面纹理（smooth_normal / sweating_water_droplets_warning / cracked / mold_visible）\n- `mold_area_ratio` - 霉变面积占比（**> 5% 高警戒**）\n\n### 血管与血丝\n- `vascular_network_detected` - **血管网络是否可见**（核心指标，受精中早期 14-30 天，红色细线状网络）\n- `vascular_network_complexity_score_0_10` - 血管网络复杂度评分（**< 3 早期 / 4-7 中期 / > 7 成熟**）\n- `blood_ring_detected` - **血环是否检测到**（**死胎警告信号！血管退化形成红环**）\n- `blood_streaks_visible` - 血丝可见度（首次发现血丝表示受精成功）\n- `blood_color_classification` - 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）\n\n### 胚胎与孵化进度\n- `embryo_shadow_detected` - **胚胎黑影是否可见**（核心指标，后期 30 天+，照蛋时可见暗色团块）\n- `embryo_shadow_size_relative` - 胚胎黑影相对蛋大小比例（早期 < 30% / 中期 30-60% / 即将孵化 > 70%）\n- `embryo_movement_detected` - **胚胎运动是否检测到**（即将孵化前 7 天可见胚胎在蛋内活动）\n- `embryo_position_normal` - 胚胎位置是否正常（**应靠上半部分**，朝下提示异常）\n- `air_cell_position_normal` - 气室位置是否正常（蛋钝端，气室异常提示死胎）\n- `incubation_days_estimated` - 估算孵化天数（基于产卵日期 + 当前日期）\n\n### 上下文与排除信号\n- `species_normal_incubation_days_range` - 物种正常孵化天数范围（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70）\n- `temperature_stable_within_range` - 温度是否稳定在物种推荐范围\n- `humidity_stable_within_range` - 湿度是否稳定在物种推荐范围\n- `is_recently_flipped_or_moved` - 是否近期被翻转/移动（**翻转后必须警告蛋已损坏**）\n- `candling_light_safe` - 照蛋光源是否安全（冷 LED < 300 lumen）\n- `image_quality_acceptable` - 图像质量是否合格\n\n## 综合判定\n\n- `egg_unfertilized_yolker` - **未受精蛋**（候蛋黄蛋/无精蛋，超过 14 天仍无钙化白带、无血管，蛋液均匀黄色透光）\n- `egg_fertile_early_stage` - **受精早期**（产卵后 7-21 天，钙化白带出现 + 血管网络初现）\n- `egg_fertile_vascular_stage` - **血管发育期**（21-45 天，血管网络丰富，complexity_score 4-7）\n- `egg_fertile_embryo_stage` - **胚胎成形期**（45 天-孵化前 7 天，胚胎黑影 30-70% + 气室扩大）\n- `egg_pre_hatching` - **即将孵化**（孵化前 7 天，胚胎运动可见 + 胚胎黑影 > 70%）\n- `egg_dead_embryo_blood_ring` - **死胎警告**（血环检测 / 胚胎运动消失 / 黑影颜色变暗均匀 / 蛋黄沉积底部）\n- `egg_mold_contamination` - **霉变蛋**（霉变面积 > 5%，**必须立即移出隔离防止传染**）\n- `egg_signal_unreliable` - 信号不可靠（照蛋角度差 / 蛋表凝水 / 蛋被堆叠遮挡 / 光源不当 / 分辨率 < 1080p）\n\n## 4 级提醒策略递进\n\n- Level 1（egg_fertile_*_stage / egg_pre_hatching）：仅入库 + 进度可视化（按蛋编号生成孵化时间线）\n- Level 2（egg_unfertilized_yolker 持续 > 物种判定窗口）：温和提示，建议**继续观察至 21 天再做判定 + 检查温湿度是否在物种推荐范围 + 可考虑后期剔除（避免霉变影响其他蛋）**\n- Level 3（egg_mold_contamination / 表面凝水/裂纹）：紧急提示，建议**立即将该蛋移至单独观察盒隔离 + 检查孵化箱整体湿度（凝水提示湿度过高） + 检查通风 + 观察其他蛋是否扩散**\n- Level 4（egg_dead_embryo_blood_ring）：最高紧急提示 + 强烈建议**立即移出死胎避免发酵爆炸污染窝内其他蛋 + 检查温度是否曾过高/过低 + 评估孵化方案是否需要调整 + 联系爬宠繁殖兽医复盘原因**\n\n## 单日提醒上限\n\n- Level 1 不限 / Level 2 × 2 / Level 3 × 3 / Level 4 × 5\n\n## 红线约束\n\n- **🚨 严禁**伪造或夸大\"已受精/血管发育/即将孵化\"等关键阶段判定；**误判会让繁殖者错过最佳处理时机**\n- **🚨 绝对禁止**输出\"自行打开蛋壳查看\"\"自行剥离胚胎\"\"自行注射药物到蛋内\"\"自行湿润蛋壳\"等任何**侵入式操作**指令\n- **🚨 严禁推荐具体温度/湿度数字**（如\"调到 30.5℃\"\"湿度调到 85%\"）；仅可建议\"按物种孵化手册推荐范围调整\"\n- **🚨 严禁推荐性别选择性温度操控**（TSD 温度性别决定虽然客观存在，但 AI 不应主动指导，避免性别比例失衡导致繁殖伦理问题）\n- **🚨 严禁热光源照蛋**（白炽灯/卤素灯会快速升温杀死胚胎）；必须使用冷 LED < 300 lumen + 照射 < 10 秒\n- **🚨 严禁建议翻蛋**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡，与鸟蛋孵化不同）\n- **禁止**长期存储完整孵化箱视频（≤ 14 天，留每枚蛋每次照蛋关键帧 + 孵化时间线；繁殖场按管理规定）\n- **禁止**用于商业广告 / AI 训练；禁第三方共享\n- **禁止**越权代用户调整孵化箱温湿度；任何环境控制变更必须由用户确认（仅可建议）\n- 必须考虑物种孵化周期差异：**陆龟 60-120 天 / 水龟 45-90 天 / 玉米蛇 55-65 天 / 球蟒 55-70 天 / 王蛇 60-75 天** → 严禁通用判定窗口\n- 必须告知用户：AI 孵化监测仅供参考，**重要繁殖决策需结合温湿度日志和物种孵化手册综合判断**\n\n## 输出报告字段\n\n- `report_date`、`incubator_id`、`egg_id`、`species`、`egg_lay_date`、`incubation_days_estimated`、`egg_shell_color_classification`、`egg_shell_calcification_zone_visible`、`vascular_network_detected`、`vascular_network_complexity_score_0_10`、`blood_ring_detected`、`embryo_shadow_detected`、`embryo_shadow_size_relative`、`embryo_movement_detected`、`composite_scene`（受精状态+发育阶段）、`alert_level`、`recommended_actions`（继续观察 / 检查温湿度 / 隔离移出 / 联系爬宠繁殖兽医，**不含具体温度湿度数字、不含侵入式操作**），`disclaimer`\n\nFile v1.0.9:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.9:scripts/config.yaml\n\n{}\n\nFile v1.0.9:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.9:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.9:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.9:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.9:skill-card.md\n\n## Description:\n\nThis skill analyzes turtle or snake egg images or videos to report eggshell color, vascular signs, embryo silhouette, fertilization status, development stage, and incubation progress.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal reptile breeders, incubator operators, and hobbyist keepers use this skill to analyze turtle or snake egg media, monitor development by egg ID, produce structured incubation reports, and review historical reports.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Egg images, videos, identity data, and report history may be processed by the publisher's cloud service.\n\nMitigation: Use the skill only with media and report data that may leave the local environment, and avoid private URLs or sensitive media.\n\nRisk: The local workspace data directory may contain a SQLite database with reusable service tokens.\n\nMitigation: Treat the workspace data directory as sensitive, restrict access to it, and remove stored credentials when the skill is no longer needed.\n\nRisk: Incubation-stage classifications can affect breeding decisions if they are treated as definitive.\n\nMitigation: Use the report as visual analysis guidance, confirm important decisions with species incubation references and environmental logs, and escalate serious findings to an appropriate reptile breeding professional.\n\n## Reference(s):\n\n- [API Reference](artifact/references/api_doc.md)\n- [Shared Analysis API Reference](artifact\n\nArchive v1.0.8: 31 files, 46351 bytes\n\nFiles: references/api_doc.md (8441b), scripts/__init__.py (59b), scripts/config.py (691b), scripts/config.yaml (3b), scripts/skill.py (586b), scripts/smyx_egg_incubation_monitoring_analysis.py (3687b), skill-card.md (2739b), SKILL.md (20502b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (158b)\n\nArchive v1.0.7: 31 files, 46301 bytes\n\nFiles: references/api_doc.md (8441b), scripts/__init__.py (59b), scripts/config.py (691b), scripts/config.yaml (3b), scripts/skill.py (586b), scripts/smyx_egg_incubation_monitoring_analysis.py (3687b), skill-card.md (2704b), SKILL.md (20502b), skills/smyx_analysis/__init__.py (0b), ski...","readmeExcerpt":"Skill: Egg Incubation Monitoring (Turtle/Snake) | 孵化箱内龟蛋/蛇蛋发育监测 Owner: 18072937735 Summary: Through a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vas","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"python -m scripts.smyx_egg_incubation_monitoring_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input /path/to/egg_candling.jpg\n\n# 分析网络龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --url https://example.com/egg_candling.jpg\n\n# 显示历史孵化监测记录清单（自动触发关键词：查看孵化历史报告等）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --output result.json"},{"language":"bash","snippet":"python -m scripts.smyx_egg_incubation_monitoring_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input /path/to/egg_candling.jpg\n\n# 分析网络龟蛋/蛇蛋微距高清图像（以下只是示例，禁止直接使用 作为 open-id）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --url https://example.com/egg_candling.jpg\n\n# 显示历史孵化监测记录清单（自动触发关键词：查看孵化历史报告等）\npython -m scripts.smyx_egg_incubation_monitoring_analysis --list\n\n# 输出精简报告\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.smyx_egg_incubation_monitoring_analysis --input egg_candling.jpg --output result.json"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: \"smyx-egg-incubation-monitoring-analysis\"\ndescription: \"Through a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass. | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。\"\nversion: \"1.0.15\"\nlicense: \"MIT-0\"\n---\n\n# 🥚 Egg Incubation Monitoring (Turtle/Snake) | 孵化箱内龟蛋/蛇蛋发育监测\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **孵化箱内龟蛋/蛇蛋发育监测** |\n| 🎯 核心目标 | 通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。系统每日或每两日自动拍照分析，生成孵化报告。 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` |\n\nThrough a fixed camera (macro or high-resolution) in the incubator, the system periodically captures surface images of turtle or snake eggs and uses AI visual analysis to detect changes in eggshell colour (normally white or pale yellow; after fertilisation, grey spots or a vascular network may appear), blood streaks (early vascular formation in fertilised eggs, appearing as fine red lines), and embryo silhouette (a dark mass visible in the later stages). It comprehensively determines the egg's fertilisation status and developmental stage (unfertilised / early fertile / vascular development / embryo formation / about to hatch) and outputs an incubation progress report. This skill helps reptile breeders monitor egg development, promptly remove unfertilised or dead eggs, and adjust temperature and humidity. Application scenarios: reptile incubators, turtle/snake breeding farms, home hobbyist breeders. The system automatically captures and analyses images daily or every two days, generating an incubation report. Skill features: turtle and snake eggs have long incubation periods (months); regular candling can detect unfertilised or dead eggs early to prevent mould from spreading to other eggs. AI-based automatic identification and alerts can improve hatching success rates and reduce breeder workload. This skill can be integrated into smart incubators or breeding-management apps.\n\n通过孵化箱内的固定摄像头（微距或高分辨率），定期拍摄龟蛋或蛇蛋的表面图像，利用 AI 视觉分析技术检测蛋壳颜色变化（正常为白色或淡黄色，受精发育后可能出现灰斑、血管网络）、血丝（受精卵早期血管形成，呈红色细线状）以及胚胎轮廓（后期可见黑影）。综合判断蛋的受精状态及发育阶段（未受精/受精早期/血管发育期/胚胎成形期/即将孵化），输出孵化进度报告。该技能有助于爬宠繁殖者掌握蛋的发育情况，及时剔除未受精或坏死的蛋，调整温湿度。应用场景：爬宠孵化箱、龟/蛇繁殖场、家庭繁殖爱好者。系统每日或每两日自动拍照分析，生成孵化报告。技能特点：龟蛋和蛇蛋孵化期较长（数月至数月），定期照蛋可及时发现未受精或坏死蛋，防止霉变影响其他蛋。通过 AI 自动识别并提醒，可提高孵化成功率，减轻繁殖者负担。该技能可集成到智能孵化箱或繁殖管理 APP 中。\n\n## 🤖 AI 角色 | AI Role\n| 角色要点 | 说明 |\n|---|---|\n| 说明 1 | **假设你是一个专业的爬行动物繁殖 AI。你"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-egg-incubation-monitoring-analysis\",\n  \"version\": \"1.0.15\",\n  \"publishedAt\": 1790623057087\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/health-analysis/v2/start-health-analysis` - 启动龟蛋/蛇蛋孵化监测任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果（受精状态/发育阶段/蛋壳颜色/血管网络/胚胎黑影）\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史孵化监测记录\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出孵化进度报告\n\n## 场景代码\n\n- `SMYX_EGG_INCUBATION_MONITORING_ANALYSIS` - 孵化箱内龟蛋/蛇蛋发育监测\n\n## 输入约束\n\n- 摄像头：孵化箱内固定**微距摄像头** OR **高分辨率摄像头 + 微距镜头**\n- 分辨率 ≥ 1080p（**血管网络/血丝细节需高清**）；建议含已知尺寸参考物（毫米刻度）\n- 拍摄角度：\n  - **侧向透光照蛋**（关键照蛋技术 candling，从蛋下方/侧方用 LED 冷光源透射）OR\n  - **微距俯拍蛋壳表面**（用于颜色/纹理/灰斑识别）\n- 光照：**冷 LED 光源（< 300 lumen，<35°C）**，照蛋时间 < 10 秒（**严禁热光源长时间照射，胚胎对热敏感**）\n- 不可移动蛋，**严禁翻转**（龟蛋/蛇蛋孵化中翻转 90° 以上会导致胚胎死亡）\n- **核心采样窗口**：每日 1 次 OR 每两日 1 次（孵化周期长 45-120 天，无需频繁）\n- 多蛋窝场景按摄像头 ID + 蛋编号双重绑定（每枚蛋必须独立编号）\n- **部署时必须录入**：物种（陆龟/水龟/玉米蛇/球蟒/王蛇等）、产卵日期（用于计算孵化天数）、孵化温度方案、孵化湿度方案、蛋窝总数\n\n## 关键观测信号\n\n### 蛋壳形态\n- `egg_shell_color_classification` - **蛋壳颜色分类**（核心指标：white_normal / pale_yellow_normal / **chalking_white_fertile_sign**（粉白受精征兆，蛋壳钙化）/ gray_spots_warning / **yellowed_discolored_warning** / mold_growth_severe）\n- `egg_shell_calcification_zone_visible` - **钙化白带是否可见**（核心指标，受精后 7-14 天蛋壳中部出现的粉白色带，受精标志）\n- `egg_shape_aspect_ratio` - 蛋形长宽比\n- `egg_surface_texture` - 表面纹理（smooth_normal / sweating_water_droplets_warning / cracked / mold_visible）\n- `mold_area_ratio` - 霉变面积占比（**> 5% 高警戒**）\n\n### 血管与血丝\n- `vascular_network_detected` - **血管网络是否可见**（核心指标，受精中早期 14-30 天，红色细线状网络）\n- `vascular_network_complexity_score_0_10` - 血管网络复杂度评分（**< 3 早期 / 4-7 中期 / > 7 成熟**）\n- `blood_ring_detected` - **血环是否检测到**（**死胎警告信号！血管退化形成红环**）\n- `blood_streaks_visible` - 血丝可见度（首次发现血丝表示受精成功）\n- `blood_color_classification` - 血色分类（bright_red_fresh / dark_red_aging / brown_dead_embryo）\n\n### 胚胎与孵化进度\n- `embryo_shadow_detected` - **胚胎黑影是否可见**（核心指标，后期 30 天+，照蛋时可见暗色团块）\n- `embryo_shadow_size_relative` - 胚胎黑影相对蛋大小比例（早期 < 30% / 中期 30-60% / 即将孵化 > 70%）\n- `embryo_movement_detected` - **胚胎运动是否检测到**（即将孵化前 7 天可见胚胎在蛋内活动）\n- `embryo_position_normal` - 胚胎位置是否正常（**应靠上半部分**，朝下提示异常）\n- `air_cell_position_normal` - 气室位置是否正常（蛋钝端，气室异常提示死胎）\n- `incubation_days_estimated` - 估算孵化天数（基于产卵日期 + 当前日期）\n\n### 上下文与排除信号\n- `species_normal_incubation_days_range` - 物种正常孵化天数范围（陆龟 60-120 / 水龟 45-90 / 玉米蛇 55-65 / 球蟒 55-70）\n- `temperature_stable_within_range` - 温度是否稳定在物种推荐范围\n- `humidity_stable_within_range` - 湿度是否稳定在物种推荐范围\n- `is_recently_flipped_or_moved` - 是否近期被翻转/移动（**翻转后必须警告蛋已损坏**）\n- `candling_light_safe` - 照蛋光源是否安全（冷 LED < 300 lumen）\n- `image_quality_acceptable` - 图像质量是否合格\n\n## 综合判定\n\n- `egg_unfertilized_yolker` - **未受精蛋**（候蛋黄蛋/无精蛋，超过 14 天仍无钙化白带、无血管，蛋液均匀黄色透光）\n- `egg_fertile_early_stage` - **受精早期**（产卵后 7-21 天，钙化白带出现 + 血管网络初现）\n- `egg_fertile_vascular_stage` - **血管发育期**（21-45 天，血管网络丰富，complexity_score 4-7）\n- `egg_fertile_embryo_stage` - **胚胎成形期**（45 天-孵化前 7 天，胚胎黑影 30-70% + 气室扩大）\n- `egg_pre_hatching` - **即将孵化**（孵化前 7 天，胚胎运动可见 + 胚胎黑影 > 70%）\n- `egg_dead_embryo_blood_ring` - **死胎警告**（血"},{"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":1195,"uniquenessScore":44,"reasons":["uniqueness-below-45"]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T19:06:19.907Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T19:06:19.907Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T09:26:28.707Z","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"}]}}}