{"id":"502ce70c-2fde-40c7-aca5-05e912c4a525","entityType":"agent","slug":"clawhub-smyx-sunjinhui-smyx-aquarium-analysis","name":"Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具","canonicalUrl":"https://www.xpersona.co/agent/clawhub-smyx-sunjinhui-smyx-aquarium-analysis","canonicalPath":"/agent/clawhub-smyx-sunjinhui-smyx-aquarium-analysis","generatedAt":"2026-10-10T01:22:57.387Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T18:22:06.092Z","emptyReason":null},"description":"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告 Skill: Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具 Owner: smyx-sunjinhui Summary: When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes fe","descriptionLabel":"Technical summary","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 s17cfv2h26b7hq5w47tgfy23xx83z9x6:smyx-aquarium-analysis","sourceUrl":"https://clawhub.ai/smyx-sunjinhui/smyx-aquarium-analysis","homepage":"https://clawhub.ai/smyx-sunjinhui/skills/smyx-aquarium-analysis","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/smyx-sunjinhui/smyx-aquarium-analysis","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/smyx-sunjinhui/skills/smyx-aquarium-analysis","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":67,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquat"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T18:22:06.092Z","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-09T18:22:06.092Z","emptyReason":null},"stars":null,"forks":null,"downloads":2141,"packageName":null,"latestVersion":"1.0.15","tractionLabel":"2.1K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T18:22:06.092Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T18:22:06.092Z","lastCrawledAt":"2026-10-09T18:22:06.092Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T18:22:06.092Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.15","createdAt":"2026-10-02T02:50:26.309Z","changelog":"- Removed the file: skill-card.md. - No other functional or behavioral changes.","fileCount":31,"zipByteSize":41260},{"version":"1.0.14","createdAt":"2026-09-25T11:07:27.096Z","changelog":"- Updated version number in SKILL.md from 1.0.15 to 1.0.17. - Made minor adjustments in configuration and documentation files. - Removed the redundant skill-card.md file. - No changes to core features or workflow.","fileCount":31,"zipByteSize":41255},{"version":"1.0.13","createdAt":"2026-09-07T14:33:29.200Z","changelog":"- Updated skill version from 1.0.13 to 1.0.15 in documentation - Removed the file skill-card.md - Updated and refreshed SKILL.md; no core capability or interface changes described - Documentation improvements, but no feature, usage, or API behavior changes noted","fileCount":31,"zipByteSize":41331},{"version":"1.0.12","createdAt":"2026-08-26T23:07:32.252Z","changelog":"- Removed the file: skill-card.md. - No other functional or user-facing changes introduced in this version.","fileCount":31,"zipByteSize":41538},{"version":"1.0.11","createdAt":"2026-08-21T02:47:29.268Z","changelog":"- Updated to version 1.0.13. - Added or modified config files for improved skill configuration. - Removed redundant documentation file (skill-card.md). - Refined or expanded documentation in SKILL.md to reflect latest capabilities and instructions.","fileCount":31,"zipByteSize":41456},{"version":"1.0.10","createdAt":"2026-08-10T06:49:35.877Z","changelog":"- Removed the file: skill-card.md. - No feature or functional changes; this is a documentation/content cleanup. - Skill functionality, usage, and workflow remain unchanged.","fileCount":31,"zipByteSize":41390},{"version":"1.0.9","createdAt":"2026-08-08T09:34:30.578Z","changelog":"- Updated version to 1.0.11 in SKILL.md. - Removed skill-card.md from the project. - No functional or logic changes to code; update is documentation/metadata only.","fileCount":31,"zipByteSize":41510},{"version":"1.0.8","createdAt":"2026-07-29T14:39:29.587Z","changelog":"**v1.0.8 → v1.0.10 concise changelog:** - Updated SKILL.md: incremented version to 1.0.10 and made content/documentation improvements. - Removed redundant documentation file: skill-card.md.","fileCount":31,"zipByteSize":41311}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17cfv2h26b7hq5w47tgfy23xx83z9x6:smyx-aquarium-analysis","setupComplexity":"low","setupSteps":["Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-aquarium-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-aquarium-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-aquarium-analysis/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-aquarium-analysis/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-aquarium-analysis/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-aquarium-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-10T01:22:57.382Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-aquarium-analysis/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-aquarium-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-aquarium-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-aquarium-analysis/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T18:22:06.092Z","emptyReason":null},"readme":"Skill: Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具\n\nOwner: smyx-sunjinhui\n\nSummary: When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告\n\nTags: latest:1.0.15\n\nVersion history:\n\nv1.0.15 | 2026-10-02T02:50:26.309Z | auto\n\n- Removed the file: skill-card.md.\n- No other functional or behavioral changes.\n\nv1.0.14 | 2026-09-25T11:07:27.096Z | auto\n\n- Updated version number in SKILL.md from 1.0.15 to 1.0.17.\n- Made minor adjustments in configuration and documentation files.\n- Removed the redundant skill-card.md file. \n- No changes to core features or workflow.\n\nv1.0.13 | 2026-09-07T14:33:29.200Z | auto\n\n- Updated skill version from 1.0.13 to 1.0.15 in documentation\n- Removed the file skill-card.md\n- Updated and refreshed SKILL.md; no core capability or interface changes described\n- Documentation improvements, but no feature, usage, or API behavior changes noted\n\nv1.0.12 | 2026-08-26T23:07:32.252Z | auto\n\n- Removed the file: skill-card.md.\n- No other functional or user-facing changes introduced in this version.\n\nv1.0.11 | 2026-08-21T02:47:29.268Z | auto\n\n- Updated to version 1.0.13.\n- Added or modified config files for improved skill configuration.\n- Removed redundant documentation file (skill-card.md).\n- Refined or expanded documentation in SKILL.md to reflect latest capabilities and instructions.\n\nv1.0.10 | 2026-08-10T06:49:35.877Z | auto\n\n- Removed the file: skill-card.md.\n- No feature or functional changes; this is a documentation/content cleanup.\n- Skill functionality, usage, and workflow remain unchanged.\n\nv1.0.9 | 2026-08-08T09:34:30.578Z | auto\n\n- Updated version to 1.0.11 in SKILL.md.\n- Removed skill-card.md from the project.\n- No functional or logic changes to code; update is documentation/metadata only.\n\nv1.0.8 | 2026-07-29T14:39:29.587Z | auto\n\n**v1.0.8 → v1.0.10 concise changelog:**\n\n- Updated SKILL.md: incremented version to 1.0.10 and made content/documentation improvements.\n- Removed redundant documentation file: skill-card.md.\n\nv1.0.7 | 2026-07-15T18:00:35.993Z | auto\n\n- Version updated to 1.0.8.\n- Documentation improved in SKILL.md; no functional or API changes noted.\n- skill-card.md file removed.\n- No changes to core logic, triggers, or workflow.\n- Usage instructions and constraints remain consistent.\n\nv1.0.6 | 2026-07-10T20:14:31.836Z | auto\n\n- Updated version number to 1.0.7 in documentation.\n- Removed the `skill-card.md` file.\n- Revised and possibly expanded documentation in SKILL.md, including details and structure.\n- No user-facing functional changes noted in the changelog.\n\nv1.0.5 | 2026-06-28T23:32:26.015Z | auto\n\n- Updated documentation in SKILL.md for improved clarity and formatting, including refined tables and field descriptions.\n- Changed the skill demo URL for a more direct demonstration link.\n- Clarified and structured ability and privacy sections using numbered or bulleted lists.\n- Removed the legacy \"skill-card.md\" file for housekeeping.\n\nv1.0.4 | 2026-06-24T14:49:30.006Z | auto\n\n- Refactored project structure: moved scripts and references under new modular directories to improve maintainability.\n- Updated and enhanced SKILL.md with clearer usage instructions, stricter privacy guidelines, revised workflow, and modernized format.\n- Removed legacy/unused code and files, simplifying the codebase.\n- Introduced automatic, internal user identity handling—users are no longer prompted for open-id or personal identifiers; identity management is handled exclusively by the system.\n- Historical report queries now strictly use cloud API data; local memory and manual aggregation are forbidden.\n- Updated resource indexing, parameter explanations, and privacy declarations for improved transparency and security.\n\nv1.0.3 | 2026-05-19T23:24:35.838Z | auto\n\n- Improved internal code organization in common utility scripts.\n- Refactored and updated logic in config.py and util.py.\n- No user-facing feature or behavioral changes.\n- Documentation and usage remain unchanged.\n\nv1.0.2 | 2026-05-08T00:29:39.272Z | auto\n\n## aquarium-analysis 1.0.2 Changelog\n\n- Updated core scripts: `skills/face_analysis/scripts/skill.py` and `skills/smyx_common/scripts/skill.py`.\n- General enhancements and maintenance. No user-facing feature or API changes documented.\n- No updates to the public documentation or main skill description.\n\nv1.0.1 | 2026-04-30T16:00:57.872Z | auto\n\n**Changelog for smyx-aquarium-analysis v1.0.1**\n\n- Updated SKILL.md to remove the version field in the metadata header.\n- Made minor corrections and improvements in scripts under `skills/face_analysis/scripts/` and `skills/smyx_common/scripts/`.\n- Updated multiple config files (`config.py`, `config.yaml`, `config-dev.yaml`, `config-test.yaml`) for improved configuration management.\n- Refined utility functions in `skills/smyx_common/scripts/util.py` to enhance stability and usability.\n- General maintenance and refactoring for improved code clarity and maintainability.\n\nv1.0.0 | 2026-04-15T02:06:15.713Z | auto\n\nInitial release of aquarium-analysis skill.\n\n- Enables aquatic pet health diagnosis via video analysis (supports both local uploads and online URLs).\n- Analyzes scales, fins, body color, activity, and identifies potential diseases for goldfish, koi, betta, shrimp, crabs, and similar pets.\n- Generates a detailed structured health report based on API analysis.\n- Strictly enforces cloud-only history queries; local memory is never used for report data.\n- Requires user open-id for all operations through a defined multi-step retrieval process.\n- Automatically outputs history reports as Markdown tables with clickable report links.\n\nArchive index:\n\nArchive v1.0.15: 31 files, 41260 bytes\n\nFiles: references/api_doc.md (615b), scripts/__init__.py (40b), scripts/aquarium_analysis.py (8655b), scripts/config.py (655b), scripts/config.yaml (2b), scripts/skill.py (573b), skill-card.md (2224b), SKILL.md (12116b), 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 (142b)\n\nFile v1.0.15:SKILL.md\n\n---\nname: \"aquarium-analysis\"\ndescription: \"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告\"\nversion: \"1.0.17\"\nlicense: \"MIT-0\"\n---\n\n# 🐠 Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **鱼类水族宠物健康诊断分析工具** |\n| 🎯 核心目标 | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `AQUARIUM_ANALYSIS` |\n\nDesigned specifically for aquarium enthusiasts, this intelligent health monitoring assistant aims to solve the pain\npoints of \"difficult diagnosis and late detection\" for underwater pets. When users upload video files or network URLs\nfeaturing goldfish, koi, betta fish, shrimp, or crabs, the system immediately triggers a deep analysis protocol.  \nBy leveraging advanced server-side APIs, the tool performs frame-by-frame parsing of the footage to precisely capture\nkey physiological traits, including scale integrity, fin extension, body color luster, and swimming activity. Whether\nit's Ich (white spot disease), fin rot, dull coloration, or abnormal lethargy, the system敏锐ly identifies these signs.\nCombining this with water quality factors for a comprehensive assessment, it ultimately generates a detailed \"Pet Safety\nGuardian Health Report,\" empowering users to intervene early and safeguard the vitality of their beloved aquatic\ncompanions.\n\n本工具是一款专为水族爱好者设计的智能化健康监测助手，旨在解决水下宠物“看病难、发现晚”的痛点。当用户上传金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频文件或网络视频URL时，系统将立即触发深度分析程序。通过调用先进的服务端API，工具能够对视频画面进行逐帧解析，精准捕捉宠物的鳞片完整性、鱼鳍舒展度、体色光泽度以及游动活跃度等关键生理特征。无论是白点病、烂鳍、体色暗淡还是异常呆滞，系统均能敏锐识别，并结合水质环境因素进行综合研判，最终生成一份详尽的“宠安卫士健康报告”，帮助用户在疾病早期及时干预，守护爱宠的生命活力。\n\n## 🎬 技能演示 | Skill Demo\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过水族宠物视频进行鱼类宠物健康诊断分析，获取结构化的宠安卫士健康报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 视频分析 |\n| 2 | 鳞片完整性识别 |\n| 3 | 鱼鳍状况评估 |\n| 4 | 体色变化分析 |\n| 5 | 活跃度检测 |\n| 6 | 常见鱼病预警 |\n| 7 | 水质适应性养护建议生成 |\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.autism_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.autism_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备视频输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行鱼类宠物健康分析 | 调用 `-m scripts.aquarium_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--fish-type` | 鱼类宠物类型，可选值：goldfish/koi/betta/shrimp/crab/turtle/clownfish/guppy/arowana/angel/other，默认 | 按需填写 |\n| `--list` | 显示鱼类宠物视频历史分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/aquarium_analysis.py`](scripts/aquarium_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| 📁 格式支持 | 视频要求：支持 mp4/avi/mov 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供健康参考，不能替代专业宠医诊断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于内部身份标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地金鱼视频\npython -m scripts.aquarium_analysis --input /path/to/goldfish_video.mp4 --fish-type goldfish\n\n# 分析网络锦鲤视频\npython -m scripts.aquarium_analysis --url https://example.com/koi_video.mp4 --fish-type koi\n\n# 分析本地斗鱼视频\npython -m scripts.aquarium_analysis --input /path/to/betta_video.mp4 --fish-type betta\n\n# 分析本地观赏虾视频\npython -m scripts.aquarium_analysis --input /path/to/shrimp_video.mp4 --fish-type shrimp\n\n# 分析本地螃蟹视频\npython -m scripts.aquarium_analysis --input /path/to/crab_video.mp4 --fish-type crab\n\n# 分析本地乌龟视频\npython -m scripts.aquarium_analysis --input /path/to/turtle_video.mp4 --fish-type turtle\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史宠安报告（自动触发关键词：查看历史鱼宠报告、历史报告、鱼宠报告清单等）\npython -m scripts.aquarium_analysis --list\n\n# 输出精简报告\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type goldfish --detail basic\n\n# 保存结果到文件\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type koi --output result.json\n```\n\nFile v1.0.15:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-aquarium-analysis\",\n  \"version\": \"1.0.15\",\n  \"publishedAt\": 1790909426309\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/ai-analysis/v2/start-common-ai-analysis` - 启动健康分析任务\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `AUTISM_ANALYSIS` - 鱼类宠物健康分析\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 aquatic pet videos from files or URLs and returns health findings, potential disease warnings, and care suggestions.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nAquarium keepers and their assistants use this skill to review aquatic pet videos for possible health concerns and retrieve previous reports. Results are informational and do not replace a veterinarian's diagnosis.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Aquatic pet media or URLs, an internal identity value, and report queries are sent to the lifeemergence.com backend.\n\nMitigation: Confirm the destination and obtain user approval before sending content or querying cloud reports.\n\nRisk: The skill silently creates or signs in to an account, persists authentication tokens locally, and can access cloud history.\n\nMitigation: Review identity and token storage behavior and restrict access to accounts and report history before use.\n\nRisk: The autism_analysis and AUTISM_ANALYSIS references conflict with the aquarium analysis workflow.\n\nMitigation: Check the actual command and analysis scenario before execution; require fixes if they route to the wrong analysis.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/smyx-sunjinhui/skills/smyx-aquarium-analysis)\n- [Aquatic health analysis API reference](references/api_doc.md)\n- [Skill demo](https://lifeemergence.com/sample.html)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, JSON]\n\n**Output Format:** [Text or structured JSON health findings; Markdown tables for report history]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include report links and optionally save results to a file.]\n\n## Skill Version(s):\n\n1.0.15 (source: ClawHub release metadata; packaged frontmatter states 1.0.17)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.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, 41255 bytes\n\nFiles: references/api_doc.md (615b), scripts/__init__.py (40b), scripts/aquarium_analysis.py (8655b), scripts/config.py (655b), scripts/config.yaml (2b), scripts/skill.py (573b), skill-card.md (2319b), SKILL.md (12116b), 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 (142b)\n\nFile v1.0.14:SKILL.md\n\n---\nname: \"aquarium-analysis\"\ndescription: \"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告\"\nversion: \"1.0.17\"\nlicense: \"MIT-0\"\n---\n\n# 🐠 Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **鱼类水族宠物健康诊断分析工具** |\n| 🎯 核心目标 | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `AQUARIUM_ANALYSIS` |\n\nDesigned specifically for aquarium enthusiasts, this intelligent health monitoring assistant aims to solve the pain\npoints of \"difficult diagnosis and late detection\" for underwater pets. When users upload video files or network URLs\nfeaturing goldfish, koi, betta fish, shrimp, or crabs, the system immediately triggers a deep analysis protocol.  \nBy leveraging advanced server-side APIs, the tool performs frame-by-frame parsing of the footage to precisely capture\nkey physiological traits, including scale integrity, fin extension, body color luster, and swimming activity. Whether\nit's Ich (white spot disease), fin rot, dull coloration, or abnormal lethargy, the system敏锐ly identifies these signs.\nCombining this with water quality factors for a comprehensive assessment, it ultimately generates a detailed \"Pet Safety\nGuardian Health Report,\" empowering users to intervene early and safeguard the vitality of their beloved aquatic\ncompanions.\n\n本工具是一款专为水族爱好者设计的智能化健康监测助手，旨在解决水下宠物“看病难、发现晚”的痛点。当用户上传金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频文件或网络视频URL时，系统将立即触发深度分析程序。通过调用先进的服务端API，工具能够对视频画面进行逐帧解析，精准捕捉宠物的鳞片完整性、鱼鳍舒展度、体色光泽度以及游动活跃度等关键生理特征。无论是白点病、烂鳍、体色暗淡还是异常呆滞，系统均能敏锐识别，并结合水质环境因素进行综合研判，最终生成一份详尽的“宠安卫士健康报告”，帮助用户在疾病早期及时干预，守护爱宠的生命活力。\n\n## 🎬 技能演示 | Skill Demo\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过水族宠物视频进行鱼类宠物健康诊断分析，获取结构化的宠安卫士健康报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 视频分析 |\n| 2 | 鳞片完整性识别 |\n| 3 | 鱼鳍状况评估 |\n| 4 | 体色变化分析 |\n| 5 | 活跃度检测 |\n| 6 | 常见鱼病预警 |\n| 7 | 水质适应性养护建议生成 |\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.autism_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.autism_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备视频输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行鱼类宠物健康分析 | 调用 `-m scripts.aquarium_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--fish-type` | 鱼类宠物类型，可选值：goldfish/koi/betta/shrimp/crab/turtle/clownfish/guppy/arowana/angel/other，默认 | 按需填写 |\n| `--list` | 显示鱼类宠物视频历史分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/aquarium_analysis.py`](scripts/aquarium_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| 📁 格式支持 | 视频要求：支持 mp4/avi/mov 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供健康参考，不能替代专业宠医诊断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于内部身份标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地金鱼视频\npython -m scripts.aquarium_analysis --input /path/to/goldfish_video.mp4 --fish-type goldfish\n\n# 分析网络锦鲤视频\npython -m scripts.aquarium_analysis --url https://example.com/koi_video.mp4 --fish-type koi\n\n# 分析本地斗鱼视频\npython -m scripts.aquarium_analysis --input /path/to/betta_video.mp4 --fish-type betta\n\n# 分析本地观赏虾视频\npython -m scripts.aquarium_analysis --input /path/to/shrimp_video.mp4 --fish-type shrimp\n\n# 分析本地螃蟹视频\npython -m scripts.aquarium_analysis --input /path/to/crab_video.mp4 --fish-type crab\n\n# 分析本地乌龟视频\npython -m scripts.aquarium_analysis --input /path/to/turtle_video.mp4 --fish-type turtle\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史宠安报告（自动触发关键词：查看历史鱼宠报告、历史报告、鱼宠报告清单等）\npython -m scripts.aquarium_analysis --list\n\n# 输出精简报告\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type goldfish --detail basic\n\n# 保存结果到文件\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type koi --output result.json\n```\n\nFile v1.0.14:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-aquarium-analysis\",\n  \"version\": \"1.0.14\",\n  \"publishedAt\": 1790334447096\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/ai-analysis/v2/start-common-ai-analysis` - 启动健康分析任务\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `AUTISM_ANALYSIS` - 鱼类宠物健康分析\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 aquarium pet videos or video URLs through a vendor service and returns health observations, potential disease warnings, and care suggestions.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nAquarium owners and caretakers use the skill to review videos of fish and other aquatic pets for possible health concerns and to retrieve prior reports. Its findings are informational and do not replace a veterinarian's diagnosis.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Aquarium videos or video URLs are sent to a vendor service for analysis.\n\nMitigation: Share media only with the owner's consent and review the vendor's data handling before use.\n\nRisk: The skill may create or reuse a service identity and store authentication tokens in the workspace.\n\nMitigation: Use a trusted workspace, restrict access to stored credentials, and review account creation before running the skill.\n\nRisk: Broad history triggers may query cloud report history unexpectedly.\n\nMitigation: Confirm the user's intent before requesting historical reports.\n\nRisk: The aquarium analysis command contains an autism-analysis scenario mismatch.\n\nMitigation: Confirm the requested analysis type and review the result before relying on the report.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/smyx-sunjinhui/skills/smyx-aquarium-analysis)\n- [Aquarium analysis API reference](references/api_doc.md)\n- [Skill introduction](https://lifeemergence.com/sample.html)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, JSON]\n\n**Output Format:** [Text or JSON health reports and Markdown links to historical reports]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Reports may include health observations, warnings, care suggestions, and report links.]\n\n## Skill Version(s):\n\n1.0.14 (source: ClawHub release metadata; bundled SKILL.md states 1.0.17)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.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, 41331 bytes\n\nFiles: references/api_doc.md (615b), scripts/__init__.py (40b), scripts/aquarium_analysis.py (8655b), scripts/config.py (655b), scripts/config.yaml (2b), scripts/skill.py (573b), skill-card.md (2394b), SKILL.md (12116b), 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 (142b)\n\nFile v1.0.13:SKILL.md\n\n---\nname: \"aquarium-analysis\"\ndescription: \"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告\"\nversion: \"1.0.15\"\nlicense: \"MIT-0\"\n---\n\n# 🐠 Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **鱼类水族宠物健康诊断分析工具** |\n| 🎯 核心目标 | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `AQUARIUM_ANALYSIS` |\n\nDesigned specifically for aquarium enthusiasts, this intelligent health monitoring assistant aims to solve the pain\npoints of \"difficult diagnosis and late detection\" for underwater pets. When users upload video files or network URLs\nfeaturing goldfish, koi, betta fish, shrimp, or crabs, the system immediately triggers a deep analysis protocol.  \nBy leveraging advanced server-side APIs, the tool performs frame-by-frame parsing of the footage to precisely capture\nkey physiological traits, including scale integrity, fin extension, body color luster, and swimming activity. Whether\nit's Ich (white spot disease), fin rot, dull coloration, or abnormal lethargy, the system敏锐ly identifies these signs.\nCombining this with water quality factors for a comprehensive assessment, it ultimately generates a detailed \"Pet Safety\nGuardian Health Report,\" empowering users to intervene early and safeguard the vitality of their beloved aquatic\ncompanions.\n\n本工具是一款专为水族爱好者设计的智能化健康监测助手，旨在解决水下宠物“看病难、发现晚”的痛点。当用户上传金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频文件或网络视频URL时，系统将立即触发深度分析程序。通过调用先进的服务端API，工具能够对视频画面进行逐帧解析，精准捕捉宠物的鳞片完整性、鱼鳍舒展度、体色光泽度以及游动活跃度等关键生理特征。无论是白点病、烂鳍、体色暗淡还是异常呆滞，系统均能敏锐识别，并结合水质环境因素进行综合研判，最终生成一份详尽的“宠安卫士健康报告”，帮助用户在疾病早期及时干预，守护爱宠的生命活力。\n\n## 🎬 技能演示 | Skill Demo\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过水族宠物视频进行鱼类宠物健康诊断分析，获取结构化的宠安卫士健康报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 视频分析 |\n| 2 | 鳞片完整性识别 |\n| 3 | 鱼鳍状况评估 |\n| 4 | 体色变化分析 |\n| 5 | 活跃度检测 |\n| 6 | 常见鱼病预警 |\n| 7 | 水质适应性养护建议生成 |\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.autism_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.autism_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备视频输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行鱼类宠物健康分析 | 调用 `-m scripts.aquarium_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--fish-type` | 鱼类宠物类型，可选值：goldfish/koi/betta/shrimp/crab/turtle/clownfish/guppy/arowana/angel/other，默认 | 按需填写 |\n| `--list` | 显示鱼类宠物视频历史分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/aquarium_analysis.py`](scripts/aquarium_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| 📁 格式支持 | 视频要求：支持 mp4/avi/mov 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供健康参考，不能替代专业宠医诊断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于内部身份标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地金鱼视频\npython -m scripts.aquarium_analysis --input /path/to/goldfish_video.mp4 --fish-type goldfish\n\n# 分析网络锦鲤视频\npython -m scripts.aquarium_analysis --url https://example.com/koi_video.mp4 --fish-type koi\n\n# 分析本地斗鱼视频\npython -m scripts.aquarium_analysis --input /path/to/betta_video.mp4 --fish-type betta\n\n# 分析本地观赏虾视频\npython -m scripts.aquarium_analysis --input /path/to/shrimp_video.mp4 --fish-type shrimp\n\n# 分析本地螃蟹视频\npython -m scripts.aquarium_analysis --input /path/to/crab_video.mp4 --fish-type crab\n\n# 分析本地乌龟视频\npython -m scripts.aquarium_analysis --input /path/to/turtle_video.mp4 --fish-type turtle\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史宠安报告（自动触发关键词：查看历史鱼宠报告、历史报告、鱼宠报告清单等）\npython -m scripts.aquarium_analysis --list\n\n# 输出精简报告\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type goldfish --detail basic\n\n# 保存结果到文件\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type koi --output result.json\n```\n\nFile v1.0.13:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-aquarium-analysis\",\n  \"version\": \"1.0.13\",\n  \"publishedAt\": 1788791609200\n}\n\nFile v1.0.13:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放鱼类宠物健康分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动健康分析任务\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `AUTISM_ANALYSIS` - 鱼类宠物健康分析\n\nFile v1.0.13:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.13:scripts/config.yaml\n\n{}\n\nFile v1.0.13:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.13:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.13:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.13:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: dev\n\nFile v1.0.13:skill-card.md\n\n## Description:\n\nAnalyzes aquarium pet images, videos, or URLs for visible health indicators, calls a server-side health analysis API, and returns a structured fish and aquatic pet health report.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and aquarium enthusiasts use this skill to review uploaded aquatic pet media for visible disease, activity, color, scale, and fin indicators. Agents can also use it to retrieve cloud-hosted historical analysis reports for the same skill account context.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Uploaded media, account linkage data, or credentials may be sent to plaintext development endpoints.\n\nMitigation: Require a production HTTPS configuration before installation or execution, and verify that development endpoints are removed or disabled.\n\nRisk: The skill links users to cloud accounts and stores tokens locally.\n\nMitigation: Document identity handling and token storage, rotate any tokens used with earlier configurations, and give users clear control over uploads and history lookup.\n\nRisk: Aquatic health analysis can be incomplete or incorrect.\n\nMitigation: Present reports as reference guidance only and direct users to professional veterinary care for diagnosis or treatment decisions.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-aquarium-analysis)\n- [API interface documentation](references/api_doc.md)\n- [Skill usage demo](https://lifeemergence.com/sample.html)\n\n## Skill Output:\n\n**Output Type(s):** [analysis, markdown, json, files, shell commands, guidance]\n\n**Output Format:** [Markdown or JSON health report, with optional saved output file]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include report links, historical report tables, and health guidance; results are for reference and do not replace professional veterinary diagnosis.]\n\n## Skill Version(s):\n\n1.0.13 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.13:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.13:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.12: 31 files, 41538 bytes\n\nFiles: references/api_doc.md (615b), scripts/__init__.py (40b), scripts/aquarium_analysis.py (8655b), scripts/config.py (655b), scripts/config.yaml (2b), scripts/skill.py (573b), skill-card.md (2877b), SKILL.md (12116b), 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 (142b)\n\nFile v1.0.12:SKILL.md\n\n---\nname: \"aquarium-analysis\"\ndescription: \"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告\"\nversion: \"1.0.13\"\nlicense: \"MIT-0\"\n---\n\n# 🐠 Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **鱼类水族宠物健康诊断分析工具** |\n| 🎯 核心目标 | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `AQUARIUM_ANALYSIS` |\n\nDesigned specifically for aquarium enthusiasts, this intelligent health monitoring assistant aims to solve the pain\npoints of \"difficult diagnosis and late detection\" for underwater pets. When users upload video files or network URLs\nfeaturing goldfish, koi, betta fish, shrimp, or crabs, the system immediately triggers a deep analysis protocol.  \nBy leveraging advanced server-side APIs, the tool performs frame-by-frame parsing of the footage to precisely capture\nkey physiological traits, including scale integrity, fin extension, body color luster, and swimming activity. Whether\nit's Ich (white spot disease), fin rot, dull coloration, or abnormal lethargy, the system敏锐ly identifies these signs.\nCombining this with water quality factors for a comprehensive assessment, it ultimately generates a detailed \"Pet Safety\nGuardian Health Report,\" empowering users to intervene early and safeguard the vitality of their beloved aquatic\ncompanions.\n\n本工具是一款专为水族爱好者设计的智能化健康监测助手，旨在解决水下宠物“看病难、发现晚”的痛点。当用户上传金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频文件或网络视频URL时，系统将立即触发深度分析程序。通过调用先进的服务端API，工具能够对视频画面进行逐帧解析，精准捕捉宠物的鳞片完整性、鱼鳍舒展度、体色光泽度以及游动活跃度等关键生理特征。无论是白点病、烂鳍、体色暗淡还是异常呆滞，系统均能敏锐识别，并结合水质环境因素进行综合研判，最终生成一份详尽的“宠安卫士健康报告”，帮助用户在疾病早期及时干预，守护爱宠的生命活力。\n\n## 🎬 技能演示 | Skill Demo\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过水族宠物视频进行鱼类宠物健康诊断分析，获取结构化的宠安卫士健康报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 视频分析 |\n| 2 | 鳞片完整性识别 |\n| 3 | 鱼鳍状况评估 |\n| 4 | 体色变化分析 |\n| 5 | 活跃度检测 |\n| 6 | 常见鱼病预警 |\n| 7 | 水质适应性养护建议生成 |\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.autism_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.autism_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备视频输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行鱼类宠物健康分析 | 调用 `-m scripts.aquarium_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--fish-type` | 鱼类宠物类型，可选值：goldfish/koi/betta/shrimp/crab/turtle/clownfish/guppy/arowana/angel/other，默认 | 按需填写 |\n| `--list` | 显示鱼类宠物视频历史分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/aquarium_analysis.py`](scripts/aquarium_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| 📁 格式支持 | 视频要求：支持 mp4/avi/mov 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供健康参考，不能替代专业宠医诊断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于内部身份标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地金鱼视频\npython -m scripts.aquarium_analysis --input /path/to/goldfish_video.mp4 --fish-type goldfish\n\n# 分析网络锦鲤视频\npython -m scripts.aquarium_analysis --url https://example.com/koi_video.mp4 --fish-type koi\n\n# 分析本地斗鱼视频\npython -m scripts.aquarium_analysis --input /path/to/betta_video.mp4 --fish-type betta\n\n# 分析本地观赏虾视频\npython -m scripts.aquarium_analysis --input /path/to/shrimp_video.mp4 --fish-type shrimp\n\n# 分析本地螃蟹视频\npython -m scripts.aquarium_analysis --input /path/to/crab_video.mp4 --fish-type crab\n\n# 分析本地乌龟视频\npython -m scripts.aquarium_analysis --input /path/to/turtle_video.mp4 --fish-type turtle\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史宠安报告（自动触发关键词：查看历史鱼宠报告、历史报告、鱼宠报告清单等）\npython -m scripts.aquarium_analysis --list\n\n# 输出精简报告\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type goldfish --detail basic\n\n# 保存结果到文件\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type koi --output result.json\n```\n\nFile v1.0.12:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-aquarium-analysis\",\n  \"version\": \"1.0.12\",\n  \"publishedAt\": 1787785652252\n}\n\nFile v1.0.12:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放鱼类宠物健康分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动健康分析任务\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `AUTISM_ANALYSIS` - 鱼类宠物健康分析\n\nFile v1.0.12:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.12:scripts/config.yaml\n\n{}\n\nFile v1.0.12:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.12:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.12:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.12:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: dev\n\nFile v1.0.12:skill-card.md\n\n## Description:\n\nAnalyzes aquarium pet videos or video URLs through a remote health-analysis API to identify visible health signals such as scales, fins, coloration, activity level, and potential disease indicators, then returns a health report.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and aquarium hobbyists use this skill to submit aquatic pet videos or URLs for health-oriented analysis and structured reporting. The output is health guidance for review and does not replace professional veterinary diagnosis.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Aquarium videos, supplied URLs, report history, and account-linked identifiers may be sent to or retrieved from a remote service.\n\nMitigation: Review the configured endpoint, data retention, and deletion process before use; avoid submitting sensitive private videos or signed/internal URLs until the publisher clarifies handling.\n\nRisk: The skill may create or reuse identity state and persist service tokens locally.\n\nMitigation: Run in a controlled workspace, inspect or reset local identity/token storage before sharing the environment, and rotate credentials if the workspace is exposed.\n\nRisk: Security evidence reports a mismatch between HTTPS claims and apparent non-HTTPS development endpoint defaults.\n\nMitigation: Verify that production HTTPS endpoints are configured before installation or execution.\n\nRisk: Health-analysis output may be incomplete, incorrect, or unsuitable for urgent care decisions.\n\nMitigation: Treat reports as informational guidance and consult a qualified aquatic veterinarian for diagnosis or treatment decisions.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-aquarium-analysis)\n- [Publisher profile](https://clawhub.ai/user/smyx-sunjinhui)\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, shell commands, guidance]\n\n**Output Format:** [Markdown or JSON health-analysis report with optional report image/export links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May save report output to a user-specified file path when invoked with an output argument.]\n\n## Skill Version(s):\n\n1.0.12 (source: ClawHub server release metadata; artifact frontmatter reports 1.0.13)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.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, 41456 bytes\n\nFiles: references/api_doc.md (615b), scripts/__init__.py (40b), scripts/aquarium_analysis.py (8655b), scripts/config.py (655b), scripts/config.yaml (2b), scripts/skill.py (573b), skill-card.md (2832b), SKILL.md (12116b), 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 (142b)\n\nFile v1.0.11:SKILL.md\n\n---\nname: \"aquarium-analysis\"\ndescription: \"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告\"\nversion: \"1.0.13\"\nlicense: \"MIT-0\"\n---\n\n# 🐠 Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **鱼类水族宠物健康诊断分析工具** |\n| 🎯 核心目标 | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `AQUARIUM_ANALYSIS` |\n\nDesigned specifically for aquarium enthusiasts, this intelligent health monitoring assistant aims to solve the pain\npoints of \"difficult diagnosis and late detection\" for underwater pets. When users upload video files or network URLs\nfeaturing goldfish, koi, betta fish, shrimp, or crabs, the system immediately triggers a deep analysis protocol.  \nBy leveraging advanced server-side APIs, the tool performs frame-by-frame parsing of the footage to precisely capture\nkey physiological traits, including scale integrity, fin extension, body color luster, and swimming activity. Whether\nit's Ich (white spot disease), fin rot, dull coloration, or abnormal lethargy, the system敏锐ly identifies these signs.\nCombining this with water quality factors for a comprehensive assessment, it ultimately generates a detailed \"Pet Safety\nGuardian Health Report,\" empowering users to intervene early and safeguard the vitality of their beloved aquatic\ncompanions.\n\n本工具是一款专为水族爱好者设计的智能化健康监测助手，旨在解决水下宠物“看病难、发现晚”的痛点。当用户上传金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频文件或网络视频URL时，系统将立即触发深度分析程序。通过调用先进的服务端API，工具能够对视频画面进行逐帧解析，精准捕捉宠物的鳞片完整性、鱼鳍舒展度、体色光泽度以及游动活跃度等关键生理特征。无论是白点病、烂鳍、体色暗淡还是异常呆滞，系统均能敏锐识别，并结合水质环境因素进行综合研判，最终生成一份详尽的“宠安卫士健康报告”，帮助用户在疾病早期及时干预，守护爱宠的生命活力。\n\n## 🎬 技能演示 | Skill Demo\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过水族宠物视频进行鱼类宠物健康诊断分析，获取结构化的宠安卫士健康报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 视频分析 |\n| 2 | 鳞片完整性识别 |\n| 3 | 鱼鳍状况评估 |\n| 4 | 体色变化分析 |\n| 5 | 活跃度检测 |\n| 6 | 常见鱼病预警 |\n| 7 | 水质适应性养护建议生成 |\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.autism_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.autism_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备视频输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行鱼类宠物健康分析 | 调用 `-m scripts.aquarium_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--fish-type` | 鱼类宠物类型，可选值：goldfish/koi/betta/shrimp/crab/turtle/clownfish/guppy/arowana/angel/other，默认 | 按需填写 |\n| `--list` | 显示鱼类宠物视频历史分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/aquarium_analysis.py`](scripts/aquarium_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| 📁 格式支持 | 视频要求：支持 mp4/avi/mov 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供健康参考，不能替代专业宠医诊断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于内部身份标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地金鱼视频\npython -m scripts.aquarium_analysis --input /path/to/goldfish_video.mp4 --fish-type goldfish\n\n# 分析网络锦鲤视频\npython -m scripts.aquarium_analysis --url https://example.com/koi_video.mp4 --fish-type koi\n\n# 分析本地斗鱼视频\npython -m scripts.aquarium_analysis --input /path/to/betta_video.mp4 --fish-type betta\n\n# 分析本地观赏虾视频\npython -m scripts.aquarium_analysis --input /path/to/shrimp_video.mp4 --fish-type shrimp\n\n# 分析本地螃蟹视频\npython -m scripts.aquarium_analysis --input /path/to/crab_video.mp4 --fish-type crab\n\n# 分析本地乌龟视频\npython -m scripts.aquarium_analysis --input /path/to/turtle_video.mp4 --fish-type turtle\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史宠安报告（自动触发关键词：查看历史鱼宠报告、历史报告、鱼宠报告清单等）\npython -m scripts.aquarium_analysis --list\n\n# 输出精简报告\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type goldfish --detail basic\n\n# 保存结果到文件\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type koi --output result.json\n```\n\nFile v1.0.11:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-aquarium-analysis\",\n  \"version\": \"1.0.11\",\n  \"publishedAt\": 1787280449268\n}\n\nFile v1.0.11:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放鱼类宠物健康分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动健康分析任务\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `AUTISM_ANALYSIS` - 鱼类宠物健康分析\n\nFile v1.0.11:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.11:scripts/config.yaml\n\n{}\n\nFile v1.0.11:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.11:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.11:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.11:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: dev\n\nFile v1.0.11:skill-card.md\n\n## Description:\n\nAnalyzes aquarium pet image or video inputs through the publisher's cloud API to produce a health report covering visible traits, potential disease signals, care suggestions, and report links.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and aquarium caretakers use this skill to submit aquatic pet media for cloud-based health analysis, then review structured findings, care suggestions, historical report data, and report export links. The report is informational and is not a substitute for professional veterinary diagnosis.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Uploaded aquarium media is sent to the publisher's cloud service for analysis.\n\nMitigation: Install and run the skill only when users are comfortable sharing the submitted media with the publisher's service; avoid sensitive media and review service policies before normal use.\n\nRisk: History lookups are account-linked and the skill may store generated or reused identity/session data locally.\n\nMitigation: Review local data handling and account-linking behavior before deployment, and provide users a clear process for clearing or resetting local identity/session data where supported.\n\nRisk: Evidence.security reports inconsistent cloud endpoints and a wrong history command in the release.\n\nMitigation: Verify production HTTPS endpoint configuration and correct the documented history command before normal use.\n\nRisk: The generated health report may be incomplete or inaccurate for real animal care decisions.\n\nMitigation: Present results as informational triage guidance and direct users to consult a qualified aquatic veterinarian for diagnosis or treatment.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-aquarium-analysis)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [API documentation](references/api_doc.md)\n- [Analysis API documentation](skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, json, files, guidance]\n\n**Output Format:** [Markdown or JSON health report with report export links; optional saved output file.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include account-linked history results and publisher-hosted report image URLs.]\n\n## Skill Version(s):\n\n1.0.11 (source: server release metadata; artifact frontmatter reports 1.0.13)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.11:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.11:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.10: 31 files, 41390 bytes\n\nFiles: references/api_doc.md (615b), scripts/__init__.py (40b), scripts/aquarium_analysis.py (8655b), scripts/config.py (655b), scripts/config.yaml (2b), scripts/skill.py (573b), skill-card.md (2664b), SKILL.md (12116b), 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 (142b)\n\nFile v1.0.10:SKILL.md\n\n---\nname: \"aquarium-analysis\"\ndescription: \"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告\"\nversion: \"1.0.11\"\nlicense: \"MIT-0\"\n---\n\n# 🐠 Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **鱼类水族宠物健康诊断分析工具** |\n| 🎯 核心目标 | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `AQUARIUM_ANALYSIS` |\n\nDesigned specifically for aquarium enthusiasts, this intelligent health monitoring assistant aims to solve the pain\npoints of \"difficult diagnosis and late detection\" for underwater pets. When users upload video files or network URLs\nfeaturing goldfish, koi, betta fish, shrimp, or crabs, the system immediately triggers a deep analysis protocol.  \nBy leveraging advanced server-side APIs, the tool performs frame-by-frame parsing of the footage to precisely capture\nkey physiological traits, including scale integrity, fin extension, body color luster, and swimming activity. Whether\nit's Ich (white spot disease), fin rot, dull coloration, or abnormal lethargy, the system敏锐ly identifies these signs.\nCombining this with water quality factors for a comprehensive assessment, it ultimately generates a detailed \"Pet Safety\nGuardian Health Report,\" empowering users to intervene early and safeguard the vitality of their beloved aquatic\ncompanions.\n\n本工具是一款专为水族爱好者设计的智能化健康监测助手，旨在解决水下宠物“看病难、发现晚”的痛点。当用户上传金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频文件或网络视频URL时，系统将立即触发深度分析程序。通过调用先进的服务端API，工具能够对视频画面进行逐帧解析，精准捕捉宠物的鳞片完整性、鱼鳍舒展度、体色光泽度以及游动活跃度等关键生理特征。无论是白点病、烂鳍、体色暗淡还是异常呆滞，系统均能敏锐识别，并结合水质环境因素进行综合研判，最终生成一份详尽的“宠安卫士健康报告”，帮助用户在疾病早期及时干预，守护爱宠的生命活力。\n\n## 🎬 技能演示 | Skill Demo\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过水族宠物视频进行鱼类宠物健康诊断分析，获取结构化的宠安卫士健康报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 视频分析 |\n| 2 | 鳞片完整性识别 |\n| 3 | 鱼鳍状况评估 |\n| 4 | 体色变化分析 |\n| 5 | 活跃度检测 |\n| 6 | 常见鱼病预警 |\n| 7 | 水质适应性养护建议生成 |\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.autism_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.autism_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备视频输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行鱼类宠物健康分析 | 调用 `-m scripts.aquarium_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--fish-type` | 鱼类宠物类型，可选值：goldfish/koi/betta/shrimp/crab/turtle/clownfish/guppy/arowana/angel/other，默认 | 按需填写 |\n| `--list` | 显示鱼类宠物视频历史分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/aquarium_analysis.py`](scripts/aquarium_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| 📁 格式支持 | 视频要求：支持 mp4/avi/mov 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供健康参考，不能替代专业宠医诊断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于内部身份标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地金鱼视频\npython -m scripts.aquarium_analysis --input /path/to/goldfish_video.mp4 --fish-type goldfish\n\n# 分析网络锦鲤视频\npython -m scripts.aquarium_analysis --url https://example.com/koi_video.mp4 --fish-type koi\n\n# 分析本地斗鱼视频\npython -m scripts.aquarium_analysis --input /path/to/betta_video.mp4 --fish-type betta\n\n# 分析本地观赏虾视频\npython -m scripts.aquarium_analysis --input /path/to/shrimp_video.mp4 --fish-type shrimp\n\n# 分析本地螃蟹视频\npython -m scripts.aquarium_analysis --input /path/to/crab_video.mp4 --fish-type crab\n\n# 分析本地乌龟视频\npython -m scripts.aquarium_analysis --input /path/to/turtle_video.mp4 --fish-type turtle\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史宠安报告（自动触发关键词：查看历史鱼宠报告、历史报告、鱼宠报告清单等）\npython -m scripts.aquarium_analysis --list\n\n# 输出精简报告\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type goldfish --detail basic\n\n# 保存结果到文件\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type koi --output result.json\n```\n\nFile v1.0.10:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-aquarium-analysis\",\n  \"version\": \"1.0.10\",\n  \"publishedAt\": 1786344575877\n}\n\nFile v1.0.10:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放鱼类宠物健康分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动健康分析任务\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `AUTISM_ANALYSIS` - 鱼类宠物健康分析\n\nFile v1.0.10:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.10:scripts/config.yaml\n\n{}\n\nFile v1.0.10:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.10:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.10:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.10:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.10:skill-card.md\n\n## Description:\n\nAnalyzes aquarium pet images, videos, or media URLs through a remote service to produce structured fish health findings, possible disease indicators, care suggestions, and report links.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers use this skill to submit aquarium pet media for fish and aquatic pet health analysis, including scale, fin, color, activity, and common disease indicators. It can also return cloud-stored historical report lists associated with the local skill identity.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Aquarium media files or URLs are sent to remote lifeemergence.com services for analysis.\n\nMitigation: Use only media approved for third-party processing, and avoid private videos, sensitive account contexts, or internal URLs unless the service terms and retention behavior are acceptable.\n\nRisk: The skill creates or reuses an internal local user identity, logs into the remote service, and stores returned tokens in a workspace SQLite database.\n\nMitigation: Run the skill in an isolated workspace, restrict workspace access, and remove the local data store or tokens after use when the account context is sensitive.\n\nRisk: The skill can query cloud report history associated with the local identity.\n\nMitigation: Confirm that report-history access is appropriate for the workspace and ask the publisher for clearer consent, retention, and token-deletion controls before production use.\n\n## Reference(s):\n\n- [API Interface Documentation](references/api_doc.md)\n- [smyx_analysis API Documentation](skills/smyx_analysis/references/api_doc.md)\n- [Skill Demo](https://lifeemergence.com/sample.html)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, JSON, files, guidance]\n\n**Output Format:** [Markdown or plain text containing structured JSON analysis, report summaries, health guidance, and report links; optional output files when requested.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Analysis depends on remote lifeemergence.com services, supports local files or media URLs, and can query cloud report history.]\n\n## Skill Version(s):\n\n1.0.10 (source: ClawHub release evidence; artifact frontmatter differs: 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.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, 41510 bytes\n\nFiles: references/api_doc.md (615b), scripts/__init__.py (40b), scripts/aquarium_analysis.py (8655b), scripts/config.py (655b), scripts/config.yaml (2b), scripts/skill.py (573b), skill-card.md (2966b), SKILL.md (12116b), 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 (141b)\n\nFile v1.0.9:SKILL.md\n\n---\nname: \"aquarium-analysis\"\ndescription: \"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告\"\nversion: \"1.0.11\"\nlicense: \"MIT-0\"\n---\n\n# 🐠 Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **鱼类水族宠物健康诊断分析工具** |\n| 🎯 核心目标 | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `AQUARIUM_ANALYSIS` |\n\nDesigned specifically for aquarium enthusiasts, this intelligent health monitoring assistant aims to solve the pain\npoints of \"difficult diagnosis and late detection\" for underwater pets. When users upload video files or network URLs\nfeaturing goldfish, koi, betta fish, shrimp, or crabs, the system immediately triggers a deep analysis protocol.  \nBy leveraging advanced server-side APIs, the tool performs frame-by-frame parsing of the footage to precisely capture\nkey physiological traits, including scale integrity, fin extension, body color luster, and swimming activity. Whether\nit's Ich (white spot disease), fin rot, dull coloration, or abnormal lethargy, the system敏锐ly identifies these signs.\nCombining this with water quality factors for a comprehensive assessment, it ultimately generates a detailed \"Pet Safety\nGuardian Health Report,\" empowering users to intervene early and safeguard the vitality of their beloved aquatic\ncompanions.\n\n本工具是一款专为水族爱好者设计的智能化健康监测助手，旨在解决水下宠物“看病难、发现晚”的痛点。当用户上传金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频文件或网络视频URL时，系统将立即触发深度分析程序。通过调用先进的服务端API，工具能够对视频画面进行逐帧解析，精准捕捉宠物的鳞片完整性、鱼鳍舒展度、体色光泽度以及游动活跃度等关键生理特征。无论是白点病、烂鳍、体色暗淡还是异常呆滞，系统均能敏锐识别，并结合水质环境因素进行综合研判，最终生成一份详尽的“宠安卫士健康报告”，帮助用户在疾病早期及时干预，守护爱宠的生命活力。\n\n## 🎬 技能演示 | Skill Demo\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过水族宠物视频进行鱼类宠物健康诊断分析，获取结构化的宠安卫士健康报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 视频分析 |\n| 2 | 鳞片完整性识别 |\n| 3 | 鱼鳍状况评估 |\n| 4 | 体色变化分析 |\n| 5 | 活跃度检测 |\n| 6 | 常见鱼病预警 |\n| 7 | 水质适应性养护建议生成 |\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.autism_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.autism_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备视频输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行鱼类宠物健康分析 | 调用 `-m scripts.aquarium_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--fish-type` | 鱼类宠物类型，可选值：goldfish/koi/betta/shrimp/crab/turtle/clownfish/guppy/arowana/angel/other，默认 | 按需填写 |\n| `--list` | 显示鱼类宠物视频历史分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/aquarium_analysis.py`](scripts/aquarium_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| 📁 格式支持 | 视频要求：支持 mp4/avi/mov 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供健康参考，不能替代专业宠医诊断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于内部身份标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地金鱼视频\npython -m scripts.aquarium_analysis --input /path/to/goldfish_video.mp4 --fish-type goldfish\n\n# 分析网络锦鲤视频\npython -m scripts.aquarium_analysis --url https://example.com/koi_video.mp4 --fish-type koi\n\n# 分析本地斗鱼视频\npython -m scripts.aquarium_analysis --input /path/to/betta_video.mp4 --fish-type betta\n\n# 分析本地观赏虾视频\npython -m scripts.aquarium_analysis --input /path/to/shrimp_video.mp4 --fish-type shrimp\n\n# 分析本地螃蟹视频\npython -m scripts.aquarium_analysis --input /path/to/crab_video.mp4 --fish-type crab\n\n# 分析本地乌龟视频\npython -m scripts.aquarium_analysis --input /path/to/turtle_video.mp4 --fish-type turtle\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史宠安报告（自动触发关键词：查看历史鱼宠报告、历史报告、鱼宠报告清单等）\npython -m scripts.aquarium_analysis --list\n\n# 输出精简报告\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type goldfish --detail basic\n\n# 保存结果到文件\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type koi --output result.json\n```\n\nFile v1.0.9:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-aquarium-analysis\",\n  \"version\": \"1.0.9\",\n  \"publishedAt\": 1786181670578\n}\n\nFile v1.0.9:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放鱼类宠物健康分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动健康分析任务\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `AUTISM_ANALYSIS` - 鱼类宠物健康分析\n\nFile v1.0.9:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.9:scripts/config.yaml\n\n{}\n\nFile v1.0.9:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.9:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.9:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.9:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.9:skill-card.md\n\n## Description:\n\nWhen a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, or related species, this skill calls a server-side API to analyze visible health indicators and produce an aquatic pet health report.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and aquarium caretakers use this skill to submit local media files or media URLs for fish and aquatic pet health analysis, including scale, fin, body color, activity, and disease-warning signals. The skill can also return cloud-stored historical report listings associated with the current internal identity.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill uploads aquarium media or media URLs to lifeemergence.com services for analysis.\n\nMitigation: Use only with media the user is comfortable sending to the external service, and require clear consent before broad deployment.\n\nRisk: The skill silently creates or reuses backend identities and stores account tokens in a local workspace database.\n\nMitigation: Administrators should scope permissions, document identity and token storage behavior, and provide a deletion process for local identity and token state.\n\nRisk: The skill can query cloud report history associated with the current internal identity.\n\nMitigation: Limit report-history access to appropriate users and review the history command path before enabling the skill in shared environments.\n\nRisk: The security verdict is suspicious because the advertised analysis is combined with identity, token, and cloud-history behavior users may not expect.\n\nMitigation: Review the ClawHub security summary and guidance before installation, and approve the skill only after consent, permissions, and deletion controls are clear.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-aquarium-analysis)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [API interface documentation](artifact/references/api_doc.md)\n- [Shared analysis API documentation](artifact/skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, JSON, Files, Guidance]\n\n**Output Format:** [Markdown or JSON health analysis report, with optional local output file]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [API-backed analysis; documented media inputs include mp4, avi, and mov files up to 10 MB or public media URLs.]\n\n## Skill Version(s):\n\n1.0.9 (source: server release evidence; artifact frontmatter states 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.9:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.9:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.8: 31 files, 41311 bytes\n\nFiles: references/api_doc.md (615b), scripts/__init__.py (40b), scripts/aquarium_analysis.py (8655b), scripts/config.py (655b), scripts/config.yaml (2b), scripts/skill.py (573b), skill-card.md (2573b), SKILL.md (12116b), 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 (141b)\n\nFile v1.0.8:SKILL.md\n\n---\nname: \"aquarium-analysis\"\ndescription: \"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告\"\nversion: \"1.0.10\"\nlicense: \"MIT-0\"\n---\n\n# 🐠 Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **鱼类水族宠物健康诊断分析工具** |\n| 🎯 核心目标 | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `AQUARIUM_ANALYSIS` |\n\nDesigned specifically for aquarium enthusiasts, this intelligent health monitoring assistant aims to solve the pain\npoints of \"difficult diagnosis and late detection\" for underwater pets. When users upload video files or network URLs\nfeaturing goldfish, koi, betta fish, shrimp, or crabs, the system immediately triggers a deep analysis protocol.  \nBy leveraging advanced server-side APIs, the tool performs frame-by-frame parsing of the footage to precisely capture\nkey physiological traits, including scale integrity, fin extension, body color luster, and swimming activity. Whether\nit's Ich (white spot disease), fin rot, dull coloration, or abnormal lethargy, the system敏锐ly identifies these signs.\nCombining this with water quality factors for a comprehensive assessment, it ultimately generates a detailed \"Pet Safety\nGuardian Health Report,\" empowering users to intervene early and safeguard the vitality of their beloved aquatic\ncompanions.\n\n本工具是一款专为水族爱好者设计的智能化健康监测助手，旨在解决水下宠物“看病难、发现晚”的痛点。当用户上传金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频文件或网络视频URL时，系统将立即触发深度分析程序。通过调用先进的服务端API，工具能够对视频画面进行逐帧解析，精准捕捉宠物的鳞片完整性、鱼鳍舒展度、体色光泽度以及游动活跃度等关键生理特征。无论是白点病、烂鳍、体色暗淡还是异常呆滞，系统均能敏锐识别，并结合水质环境因素进行综合研判，最终生成一份详尽的“宠安卫士健康报告”，帮助用户在疾病早期及时干预，守护爱宠的生命活力。\n\n## 🎬 技能演示 | Skill Demo\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过水族宠物视频进行鱼类宠物健康诊断分析，获取结构化的宠安卫士健康报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 视频分析 |\n| 2 | 鳞片完整性识别 |\n| 3 | 鱼鳍状况评估 |\n| 4 | 体色变化分析 |\n| 5 | 活跃度检测 |\n| 6 | 常见鱼病预警 |\n| 7 | 水质适应性养护建议生成 |\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.autism_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.autism_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备视频输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行鱼类宠物健康分析 | 调用 `-m scripts.aquarium_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--fish-type` | 鱼类宠物类型，可选值：goldfish/koi/betta/shrimp/crab/turtle/clownfish/guppy/arowana/angel/other，默认 | 按需填写 |\n| `--list` | 显示鱼类宠物视频历史分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/aquarium_analysis.py`](scripts/aquarium_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| 📁 格式支持 | 视频要求：支持 mp4/avi/mov 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供健康参考，不能替代专业宠医诊断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于内部身份标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地金鱼视频\npython -m scripts.aquarium_analysis --input /path/to/goldfish_video.mp4 --fish-type goldfish\n\n# 分析网络锦鲤视频\npython -m scripts.aquarium_analysis --url https://example.com/koi_video.mp4 --fish-type koi\n\n# 分析本地斗鱼视频\npython -m scripts.aquarium_analysis --input /path/to/betta_video.mp4 --fish-type betta\n\n# 分析本地观赏虾视频\npython -m scripts.aquarium_analysis --input /path/to/shrimp_video.mp4 --fish-type shrimp\n\n# 分析本地螃蟹视频\npython -m scripts.aquarium_analysis --input /path/to/crab_video.mp4 --fish-type crab\n\n# 分析本地乌龟视频\npython -m scripts.aquarium_analysis --input /path/to/turtle_video.mp4 --fish-type turtle\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史宠安报告（自动触发关键词：查看历史鱼宠报告、历史报告、鱼宠报告清单等）\npython -m scripts.aquarium_analysis --list\n\n# 输出精简报告\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type goldfish --detail basic\n\n# 保存结果到文件\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type koi --output result.json\n```\n\nFile v1.0.8:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-aquarium-analysis\",\n  \"version\": \"1.0.8\",\n  \"publishedAt\": 1785335969587\n}\n\nFile v1.0.8:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放鱼类宠物健康分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动健康分析任务\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `AUTISM_ANALYSIS` - 鱼类宠物健康分析\n\nFile v1.0.8:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.8:scripts/config.yaml\n\n{}\n\nFile v1.0.8:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.8:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.8:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.8:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.8:skill-card.md\n\n## Description: <br>\nAnalyzes aquatic pet images, videos, or video URLs through a publisher cloud API to identify visible health indicators, potential disease signs, care suggestions, and report links. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal aquarium owners and developers use this skill to submit aquatic pet images, videos, or video URLs for cloud-assisted health analysis, receive structured health reports, and query previous account-linked reports. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Aquarium photos, videos, and account-linked metadata are sent to publisher cloud APIs for analysis. <br>\nMitigation: Use the skill only when cloud processing by the publisher is acceptable, and avoid submitting sensitive media. <br>\nRisk: The artifact silently manages identity and stores tokens locally. <br>\nMitigation: Review identity handling and local token storage before deployment, restrict runtime storage access, and clear local data when it is no longer needed. <br>\nRisk: History report behavior is account-scoped and the artifact contains inconsistent history-query command text. <br>\nMitigation: Verify history queries against the intended cloud account and document the correct command before operational use. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-aquarium-analysis) <br>\n- [Publisher profile](https://clawhub.ai/user/smyx-sunjinhui) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n- [API interface documentation](references/api_doc.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Analysis, Markdown, JSON, Shell commands, Files, Guidance] <br>\n**Output Format:** [Markdown health report or JSON structured result, with optional saved output file] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Reports may include health indicators, warnings, care suggestions, cloud report links, or account-scoped history listings.] <br>\n\n## Skill Version(s): <br>\n1.0.8 (source: server release metadata; artifact frontmatter reports 1.0.10) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.8:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.8:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.7: 31 files, 41486 bytes\n\nFiles: references/api_doc.md (615b), scripts/__init__.py (40b), scripts/aquarium_analysis.py (8655b), scripts/config.py (655b), scripts/config.yaml (2b), scripts/skill.py (573b), skill-card.md (2884b), SKILL.md (12115b), 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 (141b)\n\nFile v1.0.7:SKILL.md\n\n---\nname: \"aquarium-analysis\"\ndescription: \"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告\"\nversion: \"1.0.8\"\nlicense: \"MIT-0\"\n---\n\n# 🐠 Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **鱼类水族宠物健康诊断分析工具** |\n| 🎯 核心目标 | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `AQUARIUM_ANALYSIS` |\n\nDesigned specifically for aquarium enthusiasts, this intelligent health monitoring assistant aims to solve the pain\npoints of \"difficult diagnosis and late detection\" for underwater pets. When users upload video files or network URLs\nfeaturing goldfish, koi, betta fish, shrimp, or crabs, the system immediately triggers a deep analysis protocol.  \nBy leveraging advanced server-side APIs, the tool performs frame-by-frame parsing of the footage to precisely capture\nkey physiological traits, including scale integrity, fin extension, body color luster, and swimming activity. Whether\nit's Ich (white spot disease), fin rot, dull coloration, or abnormal lethargy, the system敏锐ly identifies these signs.\nCombining this with water quality factors for a comprehensive assessment, it ultimately generates a detailed \"Pet Safety\nGuardian Health Report,\" empowering users to intervene early and safeguard the vitality of their beloved aquatic\ncompanions.\n\n本工具是一款专为水族爱好者设计的智能化健康监测助手，旨在解决水下宠物“看病难、发现晚”的痛点。当用户上传金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频文件或网络视频URL时，系统将立即触发深度分析程序。通过调用先进的服务端API，工具能够对视频画面进行逐帧解析，精准捕捉宠物的鳞片完整性、鱼鳍舒展度、体色光泽度以及游动活跃度等关键生理特征。无论是白点病、烂鳍、体色暗淡还是异常呆滞，系统均能敏锐识别，并结合水质环境因素进行综合研判，最终生成一份详尽的“宠安卫士健康报告”，帮助用户在疾病早期及时干预，守护爱宠的生命活力。\n\n## 🎬 技能演示 | Skill Demo\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过水族宠物视频进行鱼类宠物健康诊断分析，获取结构化的宠安卫士健康报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 视频分析 |\n| 2 | 鳞片完整性识别 |\n| 3 | 鱼鳍状况评估 |\n| 4 | 体色变化分析 |\n| 5 | 活跃度检测 |\n| 6 | 常见鱼病预警 |\n| 7 | 水质适应性养护建议生成 |\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.autism_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.autism_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备视频输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行鱼类宠物健康分析 | 调用 `-m scripts.aquarium_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--fish-type` | 鱼类宠物类型，可选值：goldfish/koi/betta/shrimp/crab/turtle/clownfish/guppy/arowana/angel/other，默认 | 按需填写 |\n| `--list` | 显示鱼类宠物视频历史分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/aquarium_analysis.py`](scripts/aquarium_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| 📁 格式支持 | 视频要求：支持 mp4/avi/mov 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供健康参考，不能替代专业宠医诊断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于内部身份标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地金鱼视频\npython -m scripts.aquarium_analysis --input /path/to/goldfish_video.mp4 --fish-type goldfish\n\n# 分析网络锦鲤视频\npython -m scripts.aquarium_analysis --url https://example.com/koi_video.mp4 --fish-type koi\n\n# 分析本地斗鱼视频\npython -m scripts.aquarium_analysis --input /path/to/betta_video.mp4 --fish-type betta\n\n# 分析本地观赏虾视频\npython -m scripts.aquarium_analysis --input /path/to/shrimp_video.mp4 --fish-type shrimp\n\n# 分析本地螃蟹视频\npython -m scripts.aquarium_analysis --input /path/to/crab_video.mp4 --fish-type crab\n\n# 分析本地乌龟视频\npython -m scripts.aquarium_analysis --input /path/to/turtle_video.mp4 --fish-type turtle\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史宠安报告（自动触发关键词：查看历史鱼宠报告、历史报告、鱼宠报告清单等）\npython -m scripts.aquarium_analysis --list\n\n# 输出精简报告\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type goldfish --detail basic\n\n# 保存结果到文件\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type koi --output result.json\n```\n\nFile v1.0.7:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-aquarium-analysis\",\n  \"version\": \"1.0.7\",\n  \"publishedAt\": 1784138435993\n}\n\nFile v1.0.7:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放鱼类宠物健康分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动健康分析任务\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `AUTISM_ANALYSIS` - 鱼类宠物健康分析\n\nFile v1.0.7:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.7:scripts/config.yaml\n\n{}\n\nFile v1.0.7:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.7:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.7:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.7:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.7:skill-card.md\n\n## Description: <br>\nAnalyzes aquarium pet image or video files and URLs to produce aquatic pet health findings, possible disease warnings, care suggestions, and report links. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and aquarium caretakers use this skill to check videos or images of aquatic pets such as goldfish, koi, betta, shrimp, crab, and turtles for health indicators. The output is a health-reference report with observations and care suggestions, not a substitute for professional veterinary diagnosis. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Aquatic pet media or media URLs are sent to the Lifeemergence analysis service. <br>\nMitigation: Submit only media that is acceptable to transmit to that service, and review the service and skill privacy expectations before use. <br>\nRisk: The skill can create or reuse an internal identity and store account tokens locally. <br>\nMitigation: Review the workspace data directory, including the SQLite user database and `smyx-api-key.txt`, before and after use; isolate or clear that data when identity reuse is not desired. <br>\nRisk: Historical report access is account-linked cloud data rather than a purely local report list. <br>\nMitigation: Confirm the expected account context before querying history and avoid sharing workspaces across users who should not see the same report history. <br>\nRisk: Health findings may be incomplete or incorrect and are not veterinary diagnosis. <br>\nMitigation: Use reports as screening guidance only and consult a qualified aquatic veterinarian for diagnosis or treatment decisions. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-aquarium-analysis) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n- [API interface documentation](references/api_doc.md) <br>\n- [Shared analysis API documentation](skills/smyx_analysis/references/api_doc.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Text, Markdown, JSON, Guidance] <br>\n**Output Format:** [Markdown text with structured JSON report content and report links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Can save output to a user-specified file; results depend on remote analysis service responses.] <br>\n\n## Skill Version(s): <br>\n1.0.7 (source: server release metadata; artifact frontmatter reports 1.0.8) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.7:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.7:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.6: 31 files, 41396 bytes\n\nFiles: references/api_doc.md (615b), scripts/__init__.py (40b), scripts/aquarium_analysis.py (8655b), scripts/config.py (655b), scripts/config.yaml (2b), scripts/skill.py (573b), skill-card.md (2822b), SKILL.md (12115b), 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 (141b)\n\nFile v1.0.6:SKILL.md\n\n---\nname: \"aquarium-analysis\"\ndescription: \"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告\"\nversion: \"1.0.7\"\nlicense: \"MIT-0\"\n---\n\n# 🐠 Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **鱼类水族宠物健康诊断分析工具** |\n| 🎯 核心目标 | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `AQUARIUM_ANALYSIS` |\n\nDesigned specifically for aquarium enthusiasts, this intelligent health monitoring assistant aims to solve the pain\npoints of \"difficult diagnosis and late detection\" for underwater pets. When users upload video files or network URLs\nfeaturing goldfish, koi, betta fish, shrimp, or crabs, the system immediately triggers a deep analysis protocol.  \nBy leveraging advanced server-side APIs, the tool performs frame-by-frame parsing of the footage to precisely capture\nkey physiological traits, including scale integrity, fin extension, body color luster, and swimming activity. Whether\nit's Ich (white spot disease), fin rot, dull coloration, or abnormal lethargy, the system敏锐ly identifies these signs.\nCombining this with water quality factors for a comprehensive assessment, it ultimately generates a detailed \"Pet Safety\nGuardian Health Report,\" empowering users to intervene early and safeguard the vitality of their beloved aquatic\ncompanions.\n\n本工具是一款专为水族爱好者设计的智能化健康监测助手，旨在解决水下宠物“看病难、发现晚”的痛点。当用户上传金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频文件或网络视频URL时，系统将立即触发深度分析程序。通过调用先进的服务端API，工具能够对视频画面进行逐帧解析，精准捕捉宠物的鳞片完整性、鱼鳍舒展度、体色光泽度以及游动活跃度等关键生理特征。无论是白点病、烂鳍、体色暗淡还是异常呆滞，系统均能敏锐识别，并结合水质环境因素进行综合研判，最终生成一份详尽的“宠安卫士健康报告”，帮助用户在疾病早期及时干预，守护爱宠的生命活力。\n\n## 🎬 技能演示 | Skill Demo\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过水族宠物视频进行鱼类宠物健康诊断分析，获取结构化的宠安卫士健康报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 视频分析 |\n| 2 | 鳞片完整性识别 |\n| 3 | 鱼鳍状况评估 |\n| 4 | 体色变化分析 |\n| 5 | 活跃度检测 |\n| 6 | 常见鱼病预警 |\n| 7 | 水质适应性养护建议生成 |\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.autism_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.autism_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备视频输入 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行鱼类宠物健康分析 | 调用 `-m scripts.aquarium_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--fish-type` | 鱼类宠物类型，可选值：goldfish/koi/betta/shrimp/crab/turtle/clownfish/guppy/arowana/angel/other，默认 | 按需填写 |\n| `--list` | 显示鱼类宠物视频历史分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/aquarium_analysis.py`](scripts/aquarium_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| 📁 格式支持 | 视频要求：支持 mp4/avi/mov 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供健康参考，不能替代专业宠医诊断 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 📝 隐私与数据安全声明 | Privacy & Data Security\n| 序号 | 说明 |\n|---:|---|\n| 1 | **数据保密处理** |\n| 2 | 系统基于内部身份标识仅作为用户关联信息，**不保存任何可直接识别个人身份的明文信息**。 |\n| 3 | **安全传输** |\n| 4 | 所有数据（包括视频文件及关联标识）均通过 **HTTPS/TLS 加密通道** 发送至云端 API 进行分析，防止数据在传输过程中被窃取或篡改。 |\n| 5 | **数据留存策略** |\n| 6 | 云端服务器遵循“最小必要原则”，**分析任务完成后即刻删除原始视频数据，不进行持久化存储**，确保用户隐私数据不被留存或滥用。 |\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地金鱼视频\npython -m scripts.aquarium_analysis --input /path/to/goldfish_video.mp4 --fish-type goldfish\n\n# 分析网络锦鲤视频\npython -m scripts.aquarium_analysis --url https://example.com/koi_video.mp4 --fish-type koi\n\n# 分析本地斗鱼视频\npython -m scripts.aquarium_analysis --input /path/to/betta_video.mp4 --fish-type betta\n\n# 分析本地观赏虾视频\npython -m scripts.aquarium_analysis --input /path/to/shrimp_video.mp4 --fish-type shrimp\n\n# 分析本地螃蟹视频\npython -m scripts.aquarium_analysis --input /path/to/crab_video.mp4 --fish-type crab\n\n# 分析本地乌龟视频\npython -m scripts.aquarium_analysis --input /path/to/turtle_video.mp4 --fish-type turtle\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史宠安报告（自动触发关键词：查看历史鱼宠报告、历史报告、鱼宠报告清单等）\npython -m scripts.aquarium_analysis --list\n\n# 输出精简报告\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type goldfish --detail basic\n\n# 保存结果到文件\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type koi --output result.json\n```\n\nFile v1.0.6:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-aquarium-analysis\",\n  \"version\": \"1.0.6\",\n  \"publishedAt\": 1783714471836\n}\n\nFile v1.0.6:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放鱼类宠物健康分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动健康分析任务\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `AUTISM_ANALYSIS` - 鱼类宠物健康分析\n\nFile v1.0.6:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.6:scripts/config.yaml\n\n{}\n\nFile v1.0.6:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.6:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.6:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.6:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.6:skill-card.md\n\n## Description: <br>\nAnalyzes aquarium pet images, videos, or URLs through a server-side API to produce structured health findings, disease warnings, care suggestions, and report links. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal aquarium owners and care assistants use this skill to analyze aquatic pet media for structured health indicators, possible disease warnings, care suggestions, and links to generated reports. It can also query cloud-stored report history associated with the local user identity. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Aquarium media files or URLs are sent to the Life Emergence backend for analysis. <br>\nMitigation: Use the skill only with media and URLs that are acceptable to upload to that backend, and review backend handling expectations before use. <br>\nRisk: The skill creates or reuses local identity state, stores service tokens in a workspace SQLite database, and queries cloud report history tied to that identity. <br>\nMitigation: Run the skill in an isolated workspace when appropriate, review or clear local identity and token state before sharing the workspace, and confirm the identity behavior before using history queries. <br>\nRisk: The analysis report may be mistaken for a professional aquatic veterinary diagnosis. <br>\nMitigation: Treat reports as health reference information and consult a qualified aquatic veterinarian or specialist for treatment decisions. <br>\nRisk: The artifact documentation includes an incorrect autism-analysis command for an aquarium history query. <br>\nMitigation: Review commands before execution and use the aquarium analysis list command for report-history queries. <br>\n\n\n## Reference(s): <br>\n- [Aquarium analysis API documentation](references/api_doc.md) <br>\n- [SMYX analysis API documentation](skills/smyx_analysis/references/api_doc.md) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, JSON, guidance] <br>\n**Output Format:** [Markdown text or JSON with optional report links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May save output to a user-specified file when the output argument is used.] <br>\n\n## Skill Version(s): <br>\n1.0.6 (source: server release metadata; artifact frontmatter says 1.0.7) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.6:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.6:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3","readmeExcerpt":"Skill: Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具 Owner: smyx-sunjinhui Summary: When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes fe","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"python -m scripts.autism_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地金鱼视频\npython -m scripts.aquarium_analysis --input /path/to/goldfish_video.mp4 --fish-type goldfish\n\n# 分析网络锦鲤视频\npython -m scripts.aquarium_analysis --url https://example.com/koi_video.mp4 --fish-type koi\n\n# 分析本地斗鱼视频\npython -m scripts.aquarium_analysis --input /path/to/betta_video.mp4 --fish-type betta\n\n# 分析本地观赏虾视频\npython -m scripts.aquarium_analysis --input /path/to/shrimp_video.mp4 --fish-type shrimp\n\n# 分析本地螃蟹视频\npython -m scripts.aquarium_analysis --input /path/to/crab_video.mp4 --fish-type crab\n\n# 分析本地乌龟视频\npython -m scripts.aquarium_analysis --input /path/to/turtle_video.mp4 --fish-type turtle\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史宠安报告（自动触发关键词：查看历史鱼宠报告、历史报告、鱼宠报告清单等）\npython -m scripts.aquarium_analysis --list\n\n# 输出精简报告\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type goldfish --detail basic\n\n# 保存结果到文件\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type koi --output result.json"},{"language":"bash","snippet":"python -m scripts.autism_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地金鱼视频\npython -m scripts.aquarium_analysis --input /path/to/goldfish_video.mp4 --fish-type goldfish\n\n# 分析网络锦鲤视频\npython -m scripts.aquarium_analysis --url https://example.com/koi_video.mp4 --fish-type koi\n\n# 分析本地斗鱼视频\npython -m scripts.aquarium_analysis --input /path/to/betta_video.mp4 --fish-type betta\n\n# 分析本地观赏虾视频\npython -m scripts.aquarium_analysis --input /path/to/shrimp_video.mp4 --fish-type shrimp\n\n# 分析本地螃蟹视频\npython -m scripts.aquarium_analysis --input /path/to/crab_video.mp4 --fish-type crab\n\n# 分析本地乌龟视频\npython -m scripts.aquarium_analysis --input /path/to/turtle_video.mp4 --fish-type turtle\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史宠安报告（自动触发关键词：查看历史鱼宠报告、历史报告、鱼宠报告清单等）\npython -m scripts.aquarium_analysis --list\n\n# 输出精简报告\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type goldfish --detail basic\n\n# 保存结果到文件\npython -m scripts.aquarium_analysis --input video.mp4 --fish-type koi --output result.json"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: \"aquarium-analysis\"\ndescription: \"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告\"\nversion: \"1.0.17\"\nlicense: \"MIT-0\"\n---\n\n# 🐠 Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **鱼类水族宠物健康诊断分析工具** |\n| 🎯 核心目标 | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `AQUARIUM_ANALYSIS` |\n\nDesigned specifically for aquarium enthusiasts, this intelligent health monitoring assistant aims to solve the pain\npoints of \"difficult diagnosis and late detection\" for underwater pets. When users upload video files or network URLs\nfeaturing goldfish, koi, betta fish, shrimp, or crabs, the system immediately triggers a deep analysis protocol.  \nBy leveraging advanced server-side APIs, the tool performs frame-by-frame parsing of the footage to precisely capture\nkey physiological traits, including scale integrity, fin extension, body color luster, and swimming activity. Whether\nit's Ich (white spot disease), fin rot, dull coloration, or abnormal lethargy, the system敏锐ly identifies these signs.\nCombining this with water quality factors for a comprehensive assessment, it ultimately generates a detailed \"Pet Safety\nGuardian Health Report,\" empowering users to intervene early and safeguard the vitality of their beloved aquatic\ncompanions.\n\n本工具是一款专为水族爱好者设计的智能化健康监测助手，旨在解决水下宠物“看病难、发现晚”的痛点。当用户上传金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频文件或网络视频URL时，系统将立即触发深度分析程序。通过调用先进的服务端API，工具能够对视频画面进行逐帧解析，精准捕捉宠物的鳞片完整性、鱼鳍舒展度、体色光泽度以及游动活跃度等关键生理特征。无论是白点病、烂鳍、体色暗淡还是异常呆滞，系统均能敏锐识别，并结合水质环境因素进行综合研判，最终生成一份详尽的“宠安卫士健康报告”，帮助用户在疾病早期及时干预，守护爱宠的生命活力。\n\n## 🎬 技能演示 | Skill Demo\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过水族宠物视频进行鱼类宠物健康诊断分析，获取结构化的宠安卫士健康报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 视频分析 |\n| 2 | 鳞片完整性识别 |\n| 3 | 鱼鳍状况评估 |\n| 4 | 体色变化分析 |\n| 5 | 活跃度检测 |\n| 6 | 常见鱼病预警 |\n| 7 | 水质适应性养护建议生成 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供鱼类宠物/水族宠物视频 URL 或文件需要分析时，默认触发本技能进行鱼类宠物健康诊断分析 |\n| 🔎 明确分析意图 | 当用户明确需要进行鱼类健康检查时，提及鱼类宠物、金鱼、锦鲤、斗鱼、虾、蟹、水族、鱼宠健康、鱼宠诊断等关键词，并且上传了视频文件或者图片文件 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史鱼宠报告、历史宠安报告、鱼宠诊断报告清单、鱼宠报告清单、查询历史报告、查看鱼宠报告列表、显示所有鱼宠报告、显示鱼宠诊断报告，查询宠安卫士健康报告 |\n\n### 4. 🤖 自动行为\n\n| "},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-aquarium-analysis\",\n  \"version\": \"1.0.15\",\n  \"publishedAt\": 1790909426309\n}"},{"path":"references/api_doc.md","content":"# API 接口文档\n\n此处用于存放鱼类宠物健康分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动健康分析任务\n2. `/web/ai-analysis/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `AUTISM_ANALYSIS` - 鱼类宠物健康分析"},{"path":"skills/smyx_analysis/references/api_doc.md","content":"# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |"},{"path":"scripts/config.yaml","content":"{}"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes features such as scales, fins, body color, activity level, identifies potential diseases and outputs a pet health report. | 鱼类水族宠物健康诊断分析工具，当用户提供金鱼、锦鲤、斗鱼、虾、蟹等水族宠物的视频 URL 或文件需要分析时，触发本技能进行水族宠物健康诊断分析；支持通过上传本地视频或网络视频 URL，调用服务端 API 进行水族宠物健康检查，分析鳞片、鱼鳍、体色、活跃度等特征，识别潜在疾病并输出宠安卫士健康报告 Skill: Fish Aquatic Pet Health Diagnosis Analysis Tool | 鱼类水族宠物健康诊断分析工具 Owner: smyx-sunjinhui Summary: When a user provides a video URL or file of aquatic pets such as goldfish, koi, betta, shrimp, crab, etc. for analysis, this skill is triggered to perform aquatic pet health diagnosis analysis. Supports uploading local videos or online video URLs, calls server-side API for aquatic pet health examination, analyzes fe","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":1000,"uniquenessScore":47,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T18:22:06.092Z","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-09T18:22:06.092Z","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-10T01:22:57.387Z","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"}]}}}