{"id":"669ed3b3-b54a-4c6a-9b20-1d73e28cf810","entityType":"agent","slug":"clawhub-18072937735-smyx-contactless-health-risk-detection-anal","name":"Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具","canonicalUrl":"https://www.xpersona.co/agent/clawhub-18072937735-smyx-contactless-health-risk-detection-anal","canonicalPath":"/agent/clawhub-18072937735-smyx-contactless-health-risk-detection-anal","generatedAt":"2026-10-10T06:29:54.780Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T21:02:34.829Z","emptyReason":null},"description":"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 Skill: Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具 Owner: 18072937735 Summary: Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 Tags: latest:1.0.12 Version history: v1.","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 2K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-contactless-health-risk-detection-analysis","sourceUrl":"https://clawhub.ai/18072937735/smyx-contactless-health-risk-detection-analysis","homepage":"https://clawhub.ai/18072937735/skills/smyx-contactless-health-risk-detection-analysis","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/18072937735/smyx-contactless-health-risk-detection-analysis","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/18072937735/skills/smyx-contactless-health-risk-detection-analysis","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":40,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T21:02:34.829Z","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-09T21:02:34.829Z","emptyReason":null},"stars":null,"forks":null,"downloads":2000,"packageName":null,"latestVersion":"1.0.12","tractionLabel":"2K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T21:02:34.829Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T21:02:34.829Z","lastCrawledAt":"2026-10-09T21:02:34.829Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T21:02:34.829Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.12","createdAt":"2026-08-30T15:29:31.565Z","changelog":"- Updated skill version to 1.0.15. - SKILL.md revised with various improvements and wording updates. - Removed obsolete skill-card.md file.","fileCount":31,"zipByteSize":38943},{"version":"1.0.11","createdAt":"2026-08-17T09:04:29.021Z","changelog":"- Updated skill version from 1.0.12 to 1.0.13. - Removed the file skill-card.md from the project. - Minor updates to configuration and documentation files (SKILL.md, config.yaml).","fileCount":31,"zipByteSize":38896},{"version":"1.0.10","createdAt":"2026-08-14T06:22:36.088Z","changelog":"- Version bumped from 1.0.11 to 1.0.12 in SKILL.md. - Minor documentation/content updates in SKILL.md. - Removed skill-card.md file.","fileCount":31,"zipByteSize":39033},{"version":"1.0.9","createdAt":"2026-08-02T22:57:28.483Z","changelog":"- Removed the file: skill-card.md. - No changes to functionality or documentation other than the removal of this file.","fileCount":31,"zipByteSize":38929},{"version":"1.0.8","createdAt":"2026-07-27T22:18:29.656Z","changelog":"- Updated SKILL.md: version number increased to 1.0.11 and documentation adjusted. - Removed skill-card.md to streamline documentation. - No changes to scripts or runtime logic; all updates are documentation-related.","fileCount":31,"zipByteSize":38877},{"version":"1.0.7","createdAt":"2026-07-14T08:50:27.149Z","changelog":"- Updated version from 1.0.7 to 1.0.9 in SKILL.md. - Revised and updated documentation in SKILL.md; improved details and clarity. - Removed obsolete file: skill-card.md.","fileCount":31,"zipByteSize":38993},{"version":"1.0.6","createdAt":"2026-07-10T10:04:29.610Z","changelog":"- Updated: Documentation and version alignment in SKILL.md (now version 1.0.7). - Changed: scripts/config.py, scripts/dao.py, and scripts/util.py modified (details not specified). - Removed: skill-card.md documentation file.","fileCount":31,"zipByteSize":38943},{"version":"1.0.5","createdAt":"2026-06-29T08:12:29.031Z","changelog":"- Improved and restructured documentation for better readability and clarity, including new tables, section breakdowns, and bilingual headings. - Enhanced description of capability scope, workflow, input/output formats, and user privacy safeguards. - Clarified the strict requirement to use only cloud APIs for history queries; all manual, local, or memory-based retrieval methods remain forbidden. - Removed legacy or duplicate documentation files; updated guidance with stricter formatting and stronger compliance with privacy and data access constraints. - Added an example usage section and highlighted all mandatory constraints and recommendations.","fileCount":31,"zipByteSize":35779}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-contactless-health-risk-detection-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-18072937735-smyx-contactless-health-risk-detection-anal/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-contactless-health-risk-detection-anal/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-contactless-health-risk-detection-anal/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-contactless-health-risk-detection-anal/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-contactless-health-risk-detection-anal/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-contactless-health-risk-detection-anal/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-10T06:29:54.777Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-contactless-health-risk-detection-anal/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-contactless-health-risk-detection-anal/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-contactless-health-risk-detection-anal/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-contactless-health-risk-detection-anal/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T21:02:34.829Z","emptyReason":null},"readme":"Skill: Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具\n\nOwner: 18072937735\n\nSummary: Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警\n\nTags: latest:1.0.12\n\nVersion history:\n\nv1.0.12 | 2026-08-30T15:29:31.565Z | auto\n\n- Updated skill version to 1.0.15.\n- SKILL.md revised with various improvements and wording updates.\n- Removed obsolete skill-card.md file.\n\nv1.0.11 | 2026-08-17T09:04:29.021Z | auto\n\n- Updated skill version from 1.0.12 to 1.0.13.\n- Removed the file skill-card.md from the project.\n- Minor updates to configuration and documentation files (SKILL.md, config.yaml).\n\nv1.0.10 | 2026-08-14T06:22:36.088Z | auto\n\n- Version bumped from 1.0.11 to 1.0.12 in SKILL.md.\n- Minor documentation/content updates in SKILL.md.\n- Removed skill-card.md file.\n\nv1.0.9 | 2026-08-02T22:57:28.483Z | auto\n\n- Removed the file: skill-card.md.\n- No changes to functionality or documentation other than the removal of this file.\n\nv1.0.8 | 2026-07-27T22:18:29.656Z | auto\n\n- Updated SKILL.md: version number increased to 1.0.11 and documentation adjusted.\n- Removed skill-card.md to streamline documentation.\n- No changes to scripts or runtime logic; all updates are documentation-related.\n\nv1.0.7 | 2026-07-14T08:50:27.149Z | auto\n\n- Updated version from 1.0.7 to 1.0.9 in SKILL.md.\n- Revised and updated documentation in SKILL.md; improved details and clarity.\n- Removed obsolete file: skill-card.md.\n\nv1.0.6 | 2026-07-10T10:04:29.610Z | auto\n\n- Updated: Documentation and version alignment in SKILL.md (now version 1.0.7).\n- Changed: scripts/config.py, scripts/dao.py, and scripts/util.py modified (details not specified).\n- Removed: skill-card.md documentation file.\n\nv1.0.5 | 2026-06-29T08:12:29.031Z | auto\n\n- Improved and restructured documentation for better readability and clarity, including new tables, section breakdowns, and bilingual headings.\n- Enhanced description of capability scope, workflow, input/output formats, and user privacy safeguards.\n- Clarified the strict requirement to use only cloud APIs for history queries; all manual, local, or memory-based retrieval methods remain forbidden.\n- Removed legacy or duplicate documentation files; updated guidance with stricter formatting and stronger compliance with privacy and data access constraints.\n- Added an example usage section and highlighted all mandatory constraints and recommendations.\n\nv1.0.4 | 2026-06-23T16:40:40.190Z | auto\n\n- Major refactor: internal user identity detection is now automated and no longer requires user input or exposure to users.\n- Removed all prompts and requirements for users to input or provide open-id/username/phone; identity handled entirely by backend.\n- Updated interface and documentation to reflect simplified user workflow (no authentication params needed).\n- File reorganization: common/face_analysis code removed; new smyx_analysis module added.\n- Clarified maximum input file size limit (10MB), updated command usage and examples.\n- License field added to SKILL.md.\n\nv1.0.3 | 2026-05-20T17:48:39.224Z | auto\n\n- Improved local file saving: all uploaded attachments or photos/videos are now saved as local files.\n- Updated historical report table output: links are now extracted from the API JSON response and displayed in a standardized Markdown table.\n- Minor clarifications in documentation and process steps.\n- No functional changes to detection/analysis logic.\n\nv1.0.2 | 2026-05-14T03:33:47.303Z | auto\n\n- Improved configuration handling in scripts/config.py for better environment support.\n- Updated config-dev.yaml, config-test.yaml, and config.yaml with revised or additional settings.\n- Refactored utility code in scripts/util.py to enhance reliability.\n- Streamlined __init__.py for consistency.\n- No changes to the main user-facing documentation or features.\n\nv1.0.1 | 2026-05-10T14:32:44.011Z | auto\n\n- Improved configuration parsing and loading logic across face analysis and common scripts for consistency.\n- Refactored config and utility scripts to reduce duplication and centralize settings management.\n- Updated skill documentation in SKILL.md to clarify API usage, open-id validation flow, and configuration file priorities.\n- Enhanced error handling for missing or improperly configured API keys in YAML config files.\n- Minor code structure and readability improvements in face analysis and shared modules.\n\nv1.0.0 | 2026-04-14T10:02:30.874Z | auto\n\n- Initial release of the Contactless Health Risk Detection & Analysis skill.\n- Provides early-stage risk screening and alerts for chronic and acute conditions (e.g., heart attack, stroke, hypertension, hyperlipidemia) by analyzing frontal facial images with multimodal physiological features.\n- Supports both local image/video uploads and internet video/image URLs for analysis.\n- Enforces strict data handling and privacy rules, including prohibition on reading local memory files; all report queries must use the cloud API.\n- Requires users to provide an open-id (via config file or direct input) before analysis or report retrieval; operation is paused and prompts the user if open-id is not available.\n- Returns structured reports and outputs historical report lists in a Markdown table with direct links to each cloud-based report.\n\nArchive index:\n\nArchive v1.0.12: 31 files, 38943 bytes\n\nFiles: references/api_doc.md (708b), scripts/__init__.py (31b), scripts/config.py (685b), scripts/config.yaml (3b), scripts/contactless_health_risk_detection_analysis.py (3230b), scripts/skill.py (582b), skill-card.md (2588b), SKILL.md (10086b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (472b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (167b)\n\nFile v1.0.12:SKILL.md\n\n---\nname: \"contactless-health-risk-detection-analysis\"\ndescription: \"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警\"\nversion: \"1.0.15\"\nlicense: \"MIT-0\"\n---\n\n# 🩺 Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **非接触式健康风险检测分析工具** |\n| 🎯 核心目标 | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `CONTACTLESS_HEALTH_RISK_DETECTION` |\n\nBy capturing frontal facial images and analyzing multimodal physiological signals—including micro-expressions, skin\ncolor variations, and eye movement patterns—this capability comprehensively assesses early risks of chronic and acute\nconditions such as heart attacks, strokes, hypertension, and hyperlipidemia. Leveraging non-contact imaging technology,\nthe system extracts vital metrics like blood oxygen levels and heart rate variability (HRV), utilizing AI models to\nfacilitate rapid daily screening. Upon identifying high-risk characteristics, it triggers immediate alerts, making it\nideal for homes, communities, and elderly care facilities to support chronic disease management and acute condition\nprevention.\n\n本技能通过正面人像采集，结合面部微表情、肤色变化、眼动特征等多模态生理信号分析，综合评估心梗、脑梗、高血压、高血脂等慢病及急症的早期风险。系统利用非接触式成像技术，提取血氧、心率变异性等生理指标，结合AI模型实现日常快速筛查。一旦识别高风险特征，即发出预警提示，适用于家庭、社区及养老机构等场景，助力慢病管理与急症预防。\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\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供正面人像需要进行非接触健康风险筛查时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要健康风险筛查、非接触检测时，提及健康筛查、心梗脑梗预警、高血压筛查、慢病风险等关键词，并且上传了正面人像照片/视频 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史筛查报告、健康风险报告清单、筛查报告列表、查询历史筛查报告、显示所有筛查报告、健康风险分析报告，查询非接触健康风险识别分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.contactless_health_risk_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.contactless_health_risk_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 采集要求 | Capture Requirements\n| 要求项 | 说明 |\n|---|---|\n| 正面完整面部 | ，正对摄像头，距离 30-50 厘米 |\n| 光线充足均匀 | ，避免强光直射和大面积阴影 |\n| 素颜最佳 | ，避免浓妆、口罩、帽子、墨镜遮挡 |\n| 推荐采集 | 10-30 秒短视频，静态图片也支持分析 |\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.contactless_health_risk_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地图片/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络图片/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史非接触健康风险识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/contactless_health_risk_detection_analysis.py`](scripts/contactless_health_risk_detection_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png/mp4/avi/mov，视频推荐时长 10-30 秒，最大 10MB |\n| 🧑‍⚖️ 结果性质 | **⚠️ 重要声明**：本分析结果仅供早期风险筛查参考，**不替代专业医疗诊断和检查**，发现高风险请及时到医院就诊 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地照片\npython -m scripts.contactless_health_risk_detection_analysis --input /path/to/face.jpg\n\n# 分析网络视频\npython -m scripts.contactless_health_risk_detection_analysis --url https://example.com/face.mp4\n\n# 显示历史筛查报告/显示筛查报告清单列表/显示历史风险报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.contactless_health_risk_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --output result.json\n```\n\nFile v1.0.12:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-contactless-health-risk-detection-analysis\",\n  \"version\": \"1.0.12\",\n  \"publishedAt\": 1788103771565\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- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_CONTACTLESS_HEALTH_RISK_DETECTION_ANALYSIS` - 开放平台非接触健康风险识别分析\n\nFile v1.0.12:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.12:scripts/config.yaml\n\n{}\n\nFile v1.0.12:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.12:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.12:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.12:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: dev\n\nFile v1.0.12:skill-card.md\n\n## Description:\n\nCombines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and care providers use this skill to submit a frontal face image, video, or media URL for non-contact early health risk screening and to retrieve prior cloud-stored screening reports. Results are screening guidance and are not a substitute for professional medical diagnosis.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill sends facial images or videos and health-related screening data to a remote service.\n\nMitigation: Do not use real biometric or health data unless the publisher documents consent, retention, remote processing, and account handling.\n\nRisk: The package silently creates or reuses an identity, stores tokens locally, and can query cloud-stored report history.\n\nMitigation: Require clear user confirmation for analysis and history access, secure local credentials, and provide a documented way to rotate or delete stored tokens.\n\nRisk: The security evidence reports insecure defaults and development HTTP endpoints.\n\nMitigation: Use HTTPS-only production endpoints and review configuration before installation or deployment.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-contactless-health-risk-detection-analysis)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [API interface documentation](references/api_doc.md)\n- [SMYX analysis API documentation](skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, JSON, shell commands, guidance]\n\n**Output Format:** [Markdown or JSON text with structured screening results, risk notes, recommendations, history lists, and report links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [History queries return cloud-stored reports; analysis may include report export links.]\n\n## Skill Version(s):\n\n1.0.12 (source: server release metadata; artifact frontmatter says 1.0.15)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.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, 38896 bytes\n\nFiles: references/api_doc.md (708b), scripts/__init__.py (31b), scripts/config.py (685b), scripts/config.yaml (3b), scripts/contactless_health_risk_detection_analysis.py (3230b), scripts/skill.py (582b), skill-card.md (2514b), SKILL.md (10086b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (472b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (167b)\n\nFile v1.0.11:SKILL.md\n\n---\nname: \"contactless-health-risk-detection-analysis\"\ndescription: \"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警\"\nversion: \"1.0.13\"\nlicense: \"MIT-0\"\n---\n\n# 🩺 Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **非接触式健康风险检测分析工具** |\n| 🎯 核心目标 | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `CONTACTLESS_HEALTH_RISK_DETECTION` |\n\nBy capturing frontal facial images and analyzing multimodal physiological signals—including micro-expressions, skin\ncolor variations, and eye movement patterns—this capability comprehensively assesses early risks of chronic and acute\nconditions such as heart attacks, strokes, hypertension, and hyperlipidemia. Leveraging non-contact imaging technology,\nthe system extracts vital metrics like blood oxygen levels and heart rate variability (HRV), utilizing AI models to\nfacilitate rapid daily screening. Upon identifying high-risk characteristics, it triggers immediate alerts, making it\nideal for homes, communities, and elderly care facilities to support chronic disease management and acute condition\nprevention.\n\n本技能通过正面人像采集，结合面部微表情、肤色变化、眼动特征等多模态生理信号分析，综合评估心梗、脑梗、高血压、高血脂等慢病及急症的早期风险。系统利用非接触式成像技术，提取血氧、心率变异性等生理指标，结合AI模型实现日常快速筛查。一旦识别高风险特征，即发出预警提示，适用于家庭、社区及养老机构等场景，助力慢病管理与急症预防。\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\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供正面人像需要进行非接触健康风险筛查时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要健康风险筛查、非接触检测时，提及健康筛查、心梗脑梗预警、高血压筛查、慢病风险等关键词，并且上传了正面人像照片/视频 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史筛查报告、健康风险报告清单、筛查报告列表、查询历史筛查报告、显示所有筛查报告、健康风险分析报告，查询非接触健康风险识别分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.contactless_health_risk_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.contactless_health_risk_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 采集要求 | Capture Requirements\n| 要求项 | 说明 |\n|---|---|\n| 正面完整面部 | ，正对摄像头，距离 30-50 厘米 |\n| 光线充足均匀 | ，避免强光直射和大面积阴影 |\n| 素颜最佳 | ，避免浓妆、口罩、帽子、墨镜遮挡 |\n| 推荐采集 | 10-30 秒短视频，静态图片也支持分析 |\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.contactless_health_risk_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地图片/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络图片/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史非接触健康风险识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/contactless_health_risk_detection_analysis.py`](scripts/contactless_health_risk_detection_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png/mp4/avi/mov，视频推荐时长 10-30 秒，最大 10MB |\n| 🧑‍⚖️ 结果性质 | **⚠️ 重要声明**：本分析结果仅供早期风险筛查参考，**不替代专业医疗诊断和检查**，发现高风险请及时到医院就诊 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地照片\npython -m scripts.contactless_health_risk_detection_analysis --input /path/to/face.jpg\n\n# 分析网络视频\npython -m scripts.contactless_health_risk_detection_analysis --url https://example.com/face.mp4\n\n# 显示历史筛查报告/显示筛查报告清单列表/显示历史风险报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.contactless_health_risk_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --output result.json\n```\n\nFile v1.0.11:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-contactless-health-risk-detection-analysis\",\n  \"version\": \"1.0.11\",\n  \"publishedAt\": 1786957469021\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- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_CONTACTLESS_HEALTH_RISK_DETECTION_ANALYSIS` - 开放平台非接触健康风险识别分析\n\nFile v1.0.11:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.11:scripts/config.yaml\n\n{}\n\nFile v1.0.11:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.11:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.11:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.11:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: dev\n\nFile v1.0.11:skill-card.md\n\n## Description:\n\nCombines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users, caregivers, and developers use this skill to submit frontal face images, videos, or media URLs for cloud-based early health-risk screening and to retrieve structured historical screening reports. Results are screening support only and do not replace professional medical diagnosis.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill sends face images, videos, or provided media URLs to a remote service and handles biometric and health-related data.\n\nMitigation: Use only with clear user consent, approved data-handling terms, and environments where cloud processing of face and health data is permitted.\n\nRisk: The skill creates or reuses an internal identity and stores authentication tokens locally.\n\nMitigation: Review local token storage, access controls, and cleanup practices before installing or running the skill in shared or regulated environments.\n\nRisk: Screening outputs may be mistaken for medical diagnosis.\n\nMitigation: Present results as preliminary screening support and direct users to professional medical evaluation for high-risk or concerning findings.\n\n## Reference(s):\n\n- [API Documentation](references/api_doc.md)\n- [SMYX Analysis API Documentation](skills/smyx_analysis/references/api_doc.md)\n- [Skill Demo](https://lifeemergence.com/sample.html)\n\n## Skill Output:\n\n**Output Type(s):** [Analysis, API Calls, Markdown, JSON, Files]\n\n**Output Format:** [Markdown and JSON structured reports, with optional saved output files and report links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May query cloud report history and export report links; uploaded or URL-based media is processed by a remote health screening service.]\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, 39033 bytes\n\nFiles: references/api_doc.md (708b), scripts/__init__.py (31b), scripts/config.py (685b), scripts/config.yaml (3b), scripts/contactless_health_risk_detection_analysis.py (3230b), scripts/skill.py (582b), skill-card.md (2740b), SKILL.md (10086b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (167b)\n\nFile v1.0.10:SKILL.md\n\n---\nname: \"contactless-health-risk-detection-analysis\"\ndescription: \"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警\"\nversion: \"1.0.12\"\nlicense: \"MIT-0\"\n---\n\n# 🩺 Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **非接触式健康风险检测分析工具** |\n| 🎯 核心目标 | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `CONTACTLESS_HEALTH_RISK_DETECTION` |\n\nBy capturing frontal facial images and analyzing multimodal physiological signals—including micro-expressions, skin\ncolor variations, and eye movement patterns—this capability comprehensively assesses early risks of chronic and acute\nconditions such as heart attacks, strokes, hypertension, and hyperlipidemia. Leveraging non-contact imaging technology,\nthe system extracts vital metrics like blood oxygen levels and heart rate variability (HRV), utilizing AI models to\nfacilitate rapid daily screening. Upon identifying high-risk characteristics, it triggers immediate alerts, making it\nideal for homes, communities, and elderly care facilities to support chronic disease management and acute condition\nprevention.\n\n本技能通过正面人像采集，结合面部微表情、肤色变化、眼动特征等多模态生理信号分析，综合评估心梗、脑梗、高血压、高血脂等慢病及急症的早期风险。系统利用非接触式成像技术，提取血氧、心率变异性等生理指标，结合AI模型实现日常快速筛查。一旦识别高风险特征，即发出预警提示，适用于家庭、社区及养老机构等场景，助力慢病管理与急症预防。\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\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供正面人像需要进行非接触健康风险筛查时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要健康风险筛查、非接触检测时，提及健康筛查、心梗脑梗预警、高血压筛查、慢病风险等关键词，并且上传了正面人像照片/视频 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史筛查报告、健康风险报告清单、筛查报告列表、查询历史筛查报告、显示所有筛查报告、健康风险分析报告，查询非接触健康风险识别分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.contactless_health_risk_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.contactless_health_risk_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 采集要求 | Capture Requirements\n| 要求项 | 说明 |\n|---|---|\n| 正面完整面部 | ，正对摄像头，距离 30-50 厘米 |\n| 光线充足均匀 | ，避免强光直射和大面积阴影 |\n| 素颜最佳 | ，避免浓妆、口罩、帽子、墨镜遮挡 |\n| 推荐采集 | 10-30 秒短视频，静态图片也支持分析 |\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.contactless_health_risk_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地图片/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络图片/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史非接触健康风险识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/contactless_health_risk_detection_analysis.py`](scripts/contactless_health_risk_detection_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png/mp4/avi/mov，视频推荐时长 10-30 秒，最大 10MB |\n| 🧑‍⚖️ 结果性质 | **⚠️ 重要声明**：本分析结果仅供早期风险筛查参考，**不替代专业医疗诊断和检查**，发现高风险请及时到医院就诊 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地照片\npython -m scripts.contactless_health_risk_detection_analysis --input /path/to/face.jpg\n\n# 分析网络视频\npython -m scripts.contactless_health_risk_detection_analysis --url https://example.com/face.mp4\n\n# 显示历史筛查报告/显示筛查报告清单列表/显示历史风险报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.contactless_health_risk_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --output result.json\n```\n\nFile v1.0.10:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-contactless-health-risk-detection-analysis\",\n  \"version\": \"1.0.10\",\n  \"publishedAt\": 1786688556088\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- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_CONTACTLESS_HEALTH_RISK_DETECTION_ANALYSIS` - 开放平台非接触健康风险识别分析\n\nFile v1.0.10:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.10:scripts/config.yaml\n\n{}\n\nFile v1.0.10:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.10:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.10:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.10:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.10:skill-card.md\n\n## Description:\n\nAnalyzes frontal face images or videos to produce early health risk screening reports and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users, developers, and operators in home, community, or elder-care workflows use this skill to run non-contact health risk screening from a frontal face image or short video and retrieve structured reports or report history.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Sensitive face images or videos and health-screening results may be sent to configured Life Emergence cloud services.\n\nMitigation: Use only authorized inputs with informed consent, avoid unnecessary uploads, and review the service's retention and sharing practices before deployment.\n\nRisk: Screening outputs can be mistaken for medical diagnosis.\n\nMitigation: Present results as early risk screening only and direct users to professional medical care for diagnosis, treatment, or urgent high-risk findings.\n\nRisk: The skill may create or reuse local identity material and persist backend tokens in a local SQLite database.\n\nMitigation: Restrict workspace and database file access, clear local credentials when no longer needed, and rotate or revoke tokens after shared or temporary use.\n\nRisk: History queries can expose cloud report metadata linked to the active workspace identity.\n\nMitigation: Confirm the active identity context before listing reports and avoid displaying internal identifiers or report links to unauthorized users.\n\n## Reference(s):\n\n- [API Interface Documentation](references/api_doc.md)\n- [Skill Demo](https://lifeemergence.com/sample.html)\n- [ClawHub Skill Page](https://clawhub.ai/18072937735/skills/smyx-contactless-health-risk-detection-analysis)\n\n## Skill Output:\n\n**Output Type(s):** [Analysis, Markdown, JSON, Files, Shell commands, Guidance]\n\n**Output Format:** [Markdown or JSON health screening report with optional saved output file and report links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Supports local image/video paths, public media URLs, report-history listing, and basic/standard/json detail modes.]\n\n## Skill Version(s):\n\n1.0.10 (source: server release metadata; artifact frontmatter lists 1.0.12)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.10:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.10:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.9: 31 files, 38929 bytes\n\nFiles: references/api_doc.md (708b), scripts/__init__.py (31b), scripts/config.py (685b), scripts/config.yaml (3b), scripts/contactless_health_risk_detection_analysis.py (3230b), scripts/skill.py (582b), skill-card.md (2693b), SKILL.md (10086b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (166b)\n\nFile v1.0.9:SKILL.md\n\n---\nname: \"contactless-health-risk-detection-analysis\"\ndescription: \"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警\"\nversion: \"1.0.11\"\nlicense: \"MIT-0\"\n---\n\n# 🩺 Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **非接触式健康风险检测分析工具** |\n| 🎯 核心目标 | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `CONTACTLESS_HEALTH_RISK_DETECTION` |\n\nBy capturing frontal facial images and analyzing multimodal physiological signals—including micro-expressions, skin\ncolor variations, and eye movement patterns—this capability comprehensively assesses early risks of chronic and acute\nconditions such as heart attacks, strokes, hypertension, and hyperlipidemia. Leveraging non-contact imaging technology,\nthe system extracts vital metrics like blood oxygen levels and heart rate variability (HRV), utilizing AI models to\nfacilitate rapid daily screening. Upon identifying high-risk characteristics, it triggers immediate alerts, making it\nideal for homes, communities, and elderly care facilities to support chronic disease management and acute condition\nprevention.\n\n本技能通过正面人像采集，结合面部微表情、肤色变化、眼动特征等多模态生理信号分析，综合评估心梗、脑梗、高血压、高血脂等慢病及急症的早期风险。系统利用非接触式成像技术，提取血氧、心率变异性等生理指标，结合AI模型实现日常快速筛查。一旦识别高风险特征，即发出预警提示，适用于家庭、社区及养老机构等场景，助力慢病管理与急症预防。\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\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供正面人像需要进行非接触健康风险筛查时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要健康风险筛查、非接触检测时，提及健康筛查、心梗脑梗预警、高血压筛查、慢病风险等关键词，并且上传了正面人像照片/视频 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史筛查报告、健康风险报告清单、筛查报告列表、查询历史筛查报告、显示所有筛查报告、健康风险分析报告，查询非接触健康风险识别分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.contactless_health_risk_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.contactless_health_risk_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 采集要求 | Capture Requirements\n| 要求项 | 说明 |\n|---|---|\n| 正面完整面部 | ，正对摄像头，距离 30-50 厘米 |\n| 光线充足均匀 | ，避免强光直射和大面积阴影 |\n| 素颜最佳 | ，避免浓妆、口罩、帽子、墨镜遮挡 |\n| 推荐采集 | 10-30 秒短视频，静态图片也支持分析 |\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.contactless_health_risk_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地图片/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络图片/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史非接触健康风险识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/contactless_health_risk_detection_analysis.py`](scripts/contactless_health_risk_detection_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png/mp4/avi/mov，视频推荐时长 10-30 秒，最大 10MB |\n| 🧑‍⚖️ 结果性质 | **⚠️ 重要声明**：本分析结果仅供早期风险筛查参考，**不替代专业医疗诊断和检查**，发现高风险请及时到医院就诊 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地照片\npython -m scripts.contactless_health_risk_detection_analysis --input /path/to/face.jpg\n\n# 分析网络视频\npython -m scripts.contactless_health_risk_detection_analysis --url https://example.com/face.mp4\n\n# 显示历史筛查报告/显示筛查报告清单列表/显示历史风险报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.contactless_health_risk_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --output result.json\n```\n\nFile v1.0.9:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-contactless-health-risk-detection-analysis\",\n  \"version\": \"1.0.9\",\n  \"publishedAt\": 1785711448483\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- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_CONTACTLESS_HEALTH_RISK_DETECTION_ANALYSIS` - 开放平台非接触健康风险识别分析\n\nFile v1.0.9:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.9:scripts/config.yaml\n\n{}\n\nFile v1.0.9:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.9:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.9:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.9:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.9:skill-card.md\n\n## Description: <br>\nCombines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[18072937735](https://clawhub.ai/user/18072937735) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and care-support teams can use this skill to analyze frontal face images or short videos for early health-risk screening and to retrieve prior cloud-hosted screening reports. The results are screening references only and do not replace professional medical diagnosis or examination. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Sensitive face images, videos, and health-risk outputs may be sent to an external cloud service. <br>\nMitigation: Use only with informed consent and only in environments where cloud processing of health-related media is acceptable. <br>\nRisk: The skill silently creates or reuses an identity and may associate reports with locally stored tokens and report history. <br>\nMitigation: Review identity and local storage behavior before installation, and clear stored credentials or report history according to the deployment policy. <br>\nRisk: Health-risk outputs can be mistaken for medical diagnosis. <br>\nMitigation: Present outputs as early screening references and direct users to professional medical care for diagnosis, examination, or high-risk findings. <br>\n\n\n## Reference(s): <br>\n- [ClawHub Skill Page](https://clawhub.ai/18072937735/skills/smyx-contactless-health-risk-detection-analysis) <br>\n- [Skill Demo](https://lifeemergence.com/sample.html) <br>\n- [API Interface Documentation](artifact/references/api_doc.md) <br>\n- [Analysis API Error Reference](artifact/skills/smyx_analysis/references/api_doc.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, shell commands, configuration] <br>\n**Output Format:** [Markdown and JSON-like structured analysis text with report links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May write the returned report text to a user-specified output file.] <br>\n\n## Skill Version(s): <br>\n1.0.9 (source: server release metadata; artifact frontmatter states 1.0.11) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.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, 38877 bytes\n\nFiles: references/api_doc.md (708b), scripts/__init__.py (31b), scripts/config.py (685b), scripts/config.yaml (3b), scripts/contactless_health_risk_detection_analysis.py (3230b), scripts/skill.py (582b), skill-card.md (2604b), SKILL.md (10086b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (166b)\n\nFile v1.0.8:SKILL.md\n\n---\nname: \"contactless-health-risk-detection-analysis\"\ndescription: \"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警\"\nversion: \"1.0.11\"\nlicense: \"MIT-0\"\n---\n\n# 🩺 Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **非接触式健康风险检测分析工具** |\n| 🎯 核心目标 | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `CONTACTLESS_HEALTH_RISK_DETECTION` |\n\nBy capturing frontal facial images and analyzing multimodal physiological signals—including micro-expressions, skin\ncolor variations, and eye movement patterns—this capability comprehensively assesses early risks of chronic and acute\nconditions such as heart attacks, strokes, hypertension, and hyperlipidemia. Leveraging non-contact imaging technology,\nthe system extracts vital metrics like blood oxygen levels and heart rate variability (HRV), utilizing AI models to\nfacilitate rapid daily screening. Upon identifying high-risk characteristics, it triggers immediate alerts, making it\nideal for homes, communities, and elderly care facilities to support chronic disease management and acute condition\nprevention.\n\n本技能通过正面人像采集，结合面部微表情、肤色变化、眼动特征等多模态生理信号分析，综合评估心梗、脑梗、高血压、高血脂等慢病及急症的早期风险。系统利用非接触式成像技术，提取血氧、心率变异性等生理指标，结合AI模型实现日常快速筛查。一旦识别高风险特征，即发出预警提示，适用于家庭、社区及养老机构等场景，助力慢病管理与急症预防。\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\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供正面人像需要进行非接触健康风险筛查时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要健康风险筛查、非接触检测时，提及健康筛查、心梗脑梗预警、高血压筛查、慢病风险等关键词，并且上传了正面人像照片/视频 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史筛查报告、健康风险报告清单、筛查报告列表、查询历史筛查报告、显示所有筛查报告、健康风险分析报告，查询非接触健康风险识别分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.contactless_health_risk_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.contactless_health_risk_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 采集要求 | Capture Requirements\n| 要求项 | 说明 |\n|---|---|\n| 正面完整面部 | ，正对摄像头，距离 30-50 厘米 |\n| 光线充足均匀 | ，避免强光直射和大面积阴影 |\n| 素颜最佳 | ，避免浓妆、口罩、帽子、墨镜遮挡 |\n| 推荐采集 | 10-30 秒短视频，静态图片也支持分析 |\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.contactless_health_risk_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地图片/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络图片/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史非接触健康风险识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/contactless_health_risk_detection_analysis.py`](scripts/contactless_health_risk_detection_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png/mp4/avi/mov，视频推荐时长 10-30 秒，最大 10MB |\n| 🧑‍⚖️ 结果性质 | **⚠️ 重要声明**：本分析结果仅供早期风险筛查参考，**不替代专业医疗诊断和检查**，发现高风险请及时到医院就诊 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地照片\npython -m scripts.contactless_health_risk_detection_analysis --input /path/to/face.jpg\n\n# 分析网络视频\npython -m scripts.contactless_health_risk_detection_analysis --url https://example.com/face.mp4\n\n# 显示历史筛查报告/显示筛查报告清单列表/显示历史风险报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.contactless_health_risk_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --output result.json\n```\n\nFile v1.0.8:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-contactless-health-risk-detection-analysis\",\n  \"version\": \"1.0.8\",\n  \"publishedAt\": 1785190709656\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- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_CONTACTLESS_HEALTH_RISK_DETECTION_ANALYSIS` - 开放平台非接触健康风险识别分析\n\nFile v1.0.8:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.8:scripts/config.yaml\n\n{}\n\nFile v1.0.8:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.8:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.8:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.8:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.8:skill-card.md\n\n## Description: <br>\nCombines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[18072937735](https://clawhub.ai/user/18072937735) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and agents use this skill to submit frontal facial images or videos for contactless early health-risk screening and to retrieve prior cloud reports. Results are screening references and do not replace professional medical diagnosis or examination. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Sensitive facial image or video inputs and health-risk outputs may be sent to Life Emergence cloud APIs. <br>\nMitigation: Use the skill only with appropriate consent and data-handling approval for cloud processing of facial and health-risk data. <br>\nRisk: The skill may create or reuse a local identity, persist account tokens in a workspace database, and query prior cloud reports automatically. <br>\nMitigation: Review local workspace data retention, token storage, and history-query behavior before installation or deployment. <br>\nRisk: Screening outputs may be mistaken for medical diagnosis. <br>\nMitigation: Present outputs as early risk-screening references and direct high-risk users to professional medical diagnosis and examination. <br>\n\n\n## Reference(s): <br>\n- [API 接口文档](artifact/references/api_doc.md) <br>\n- [SMYX Analysis API 文档](artifact/skills/smyx_analysis/references/api_doc.md) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-contactless-health-risk-detection-analysis) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, JSON] <br>\n**Output Format:** [Markdown or JSON structured health-risk screening report with optional report links and historical report lists] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May write the rendered result to a requested output file.] <br>\n\n## Skill Version(s): <br>\n1.0.8 (source: server release metadata) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.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, 38993 bytes\n\nFiles: references/api_doc.md (708b), scripts/__init__.py (31b), scripts/config.py (685b), scripts/config.yaml (3b), scripts/contactless_health_risk_detection_analysis.py (3230b), scripts/skill.py (582b), skill-card.md (2692b), SKILL.md (10085b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (166b)\n\nFile v1.0.7:SKILL.md\n\n---\nname: \"contactless-health-risk-detection-analysis\"\ndescription: \"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警\"\nversion: \"1.0.9\"\nlicense: \"MIT-0\"\n---\n\n# 🩺 Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **非接触式健康风险检测分析工具** |\n| 🎯 核心目标 | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `CONTACTLESS_HEALTH_RISK_DETECTION` |\n\nBy capturing frontal facial images and analyzing multimodal physiological signals—including micro-expressions, skin\ncolor variations, and eye movement patterns—this capability comprehensively assesses early risks of chronic and acute\nconditions such as heart attacks, strokes, hypertension, and hyperlipidemia. Leveraging non-contact imaging technology,\nthe system extracts vital metrics like blood oxygen levels and heart rate variability (HRV), utilizing AI models to\nfacilitate rapid daily screening. Upon identifying high-risk characteristics, it triggers immediate alerts, making it\nideal for homes, communities, and elderly care facilities to support chronic disease management and acute condition\nprevention.\n\n本技能通过正面人像采集，结合面部微表情、肤色变化、眼动特征等多模态生理信号分析，综合评估心梗、脑梗、高血压、高血脂等慢病及急症的早期风险。系统利用非接触式成像技术，提取血氧、心率变异性等生理指标，结合AI模型实现日常快速筛查。一旦识别高风险特征，即发出预警提示，适用于家庭、社区及养老机构等场景，助力慢病管理与急症预防。\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\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供正面人像需要进行非接触健康风险筛查时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要健康风险筛查、非接触检测时，提及健康筛查、心梗脑梗预警、高血压筛查、慢病风险等关键词，并且上传了正面人像照片/视频 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史筛查报告、健康风险报告清单、筛查报告列表、查询历史筛查报告、显示所有筛查报告、健康风险分析报告，查询非接触健康风险识别分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.contactless_health_risk_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.contactless_health_risk_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 采集要求 | Capture Requirements\n| 要求项 | 说明 |\n|---|---|\n| 正面完整面部 | ，正对摄像头，距离 30-50 厘米 |\n| 光线充足均匀 | ，避免强光直射和大面积阴影 |\n| 素颜最佳 | ，避免浓妆、口罩、帽子、墨镜遮挡 |\n| 推荐采集 | 10-30 秒短视频，静态图片也支持分析 |\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.contactless_health_risk_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地图片/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络图片/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史非接触健康风险识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/contactless_health_risk_detection_analysis.py`](scripts/contactless_health_risk_detection_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png/mp4/avi/mov，视频推荐时长 10-30 秒，最大 10MB |\n| 🧑‍⚖️ 结果性质 | **⚠️ 重要声明**：本分析结果仅供早期风险筛查参考，**不替代专业医疗诊断和检查**，发现高风险请及时到医院就诊 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地照片\npython -m scripts.contactless_health_risk_detection_analysis --input /path/to/face.jpg\n\n# 分析网络视频\npython -m scripts.contactless_health_risk_detection_analysis --url https://example.com/face.mp4\n\n# 显示历史筛查报告/显示筛查报告清单列表/显示历史风险报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.contactless_health_risk_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --output result.json\n```\n\nFile v1.0.7:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-contactless-health-risk-detection-analysis\",\n  \"version\": \"1.0.7\",\n  \"publishedAt\": 1784019027149\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- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_CONTACTLESS_HEALTH_RISK_DETECTION_ANALYSIS` - 开放平台非接触健康风险识别分析\n\nFile v1.0.7:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.7:scripts/config.yaml\n\n{}\n\nFile v1.0.7:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.7:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.7:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.7:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.7:skill-card.md\n\n## Description: <br>\nAnalyzes frontal face images or videos with multimodal physiological features to provide early health-risk screening and alerts for conditions such as heart attack, stroke, hypertension, and hyperlipidemia. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[18072937735](https://clawhub.ai/user/18072937735) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and care-setting operators use this skill to submit a frontal face image or short video for early health-risk screening and to retrieve prior cloud reports. It supports daily screening workflows for homes, communities, and elderly care facilities, but its results are not a substitute for professional medical diagnosis. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Sensitive face images, videos, and health-risk report queries are sent to the vendor cloud service. <br>\nMitigation: Use only with informed consent and appropriate privacy approval, and avoid uploading data that is not authorized for vendor processing. <br>\nRisk: The skill may silently create or reuse persistent local identities and store tokens in the workspace. <br>\nMitigation: Run it in a controlled workspace, review local credential-storage policy before use, and clear or revoke stored credentials when they are no longer needed. <br>\nRisk: Screening output could be mistaken for a medical diagnosis. <br>\nMitigation: Present results as early screening information only and refer high-risk findings to qualified healthcare professionals. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-contactless-health-risk-detection-analysis) <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):** [Markdown, JSON, Shell commands, Guidance] <br>\n**Output Format:** [Markdown or JSON report text, with optional saved output file] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Accepts a local image or video path, a public media URL, history-list mode, detail level, and optional output path; supports jpg/jpeg/png/mp4/avi/mov inputs up to 10 MB.] <br>\n\n## Skill Version(s): <br>\n1.0.7 (source: server release metadata; artifact frontmatter lists 1.0.9) <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, 38943 bytes\n\nFiles: references/api_doc.md (708b), scripts/__init__.py (31b), scripts/config.py (685b), scripts/config.yaml (3b), scripts/contactless_health_risk_detection_analysis.py (3230b), scripts/skill.py (582b), skill-card.md (2768b), SKILL.md (10085b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (166b)\n\nFile v1.0.6:SKILL.md\n\n---\nname: \"contactless-health-risk-detection-analysis\"\ndescription: \"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警\"\nversion: \"1.0.7\"\nlicense: \"MIT-0\"\n---\n\n# 🩺 Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **非接触式健康风险检测分析工具** |\n| 🎯 核心目标 | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `CONTACTLESS_HEALTH_RISK_DETECTION` |\n\nBy capturing frontal facial images and analyzing multimodal physiological signals—including micro-expressions, skin\ncolor variations, and eye movement patterns—this capability comprehensively assesses early risks of chronic and acute\nconditions such as heart attacks, strokes, hypertension, and hyperlipidemia. Leveraging non-contact imaging technology,\nthe system extracts vital metrics like blood oxygen levels and heart rate variability (HRV), utilizing AI models to\nfacilitate rapid daily screening. Upon identifying high-risk characteristics, it triggers immediate alerts, making it\nideal for homes, communities, and elderly care facilities to support chronic disease management and acute condition\nprevention.\n\n本技能通过正面人像采集，结合面部微表情、肤色变化、眼动特征等多模态生理信号分析，综合评估心梗、脑梗、高血压、高血脂等慢病及急症的早期风险。系统利用非接触式成像技术，提取血氧、心率变异性等生理指标，结合AI模型实现日常快速筛查。一旦识别高风险特征，即发出预警提示，适用于家庭、社区及养老机构等场景，助力慢病管理与急症预防。\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\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供正面人像需要进行非接触健康风险筛查时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要健康风险筛查、非接触检测时，提及健康筛查、心梗脑梗预警、高血压筛查、慢病风险等关键词，并且上传了正面人像照片/视频 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史筛查报告、健康风险报告清单、筛查报告列表、查询历史筛查报告、显示所有筛查报告、健康风险分析报告，查询非接触健康风险识别分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.contactless_health_risk_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.contactless_health_risk_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 采集要求 | Capture Requirements\n| 要求项 | 说明 |\n|---|---|\n| 正面完整面部 | ，正对摄像头，距离 30-50 厘米 |\n| 光线充足均匀 | ，避免强光直射和大面积阴影 |\n| 素颜最佳 | ，避免浓妆、口罩、帽子、墨镜遮挡 |\n| 推荐采集 | 10-30 秒短视频，静态图片也支持分析 |\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.contactless_health_risk_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地图片/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络图片/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史非接触健康风险识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/contactless_health_risk_detection_analysis.py`](scripts/contactless_health_risk_detection_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png/mp4/avi/mov，视频推荐时长 10-30 秒，最大 10MB |\n| 🧑‍⚖️ 结果性质 | **⚠️ 重要声明**：本分析结果仅供早期风险筛查参考，**不替代专业医疗诊断和检查**，发现高风险请及时到医院就诊 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地照片\npython -m scripts.contactless_health_risk_detection_analysis --input /path/to/face.jpg\n\n# 分析网络视频\npython -m scripts.contactless_health_risk_detection_analysis --url https://example.com/face.mp4\n\n# 显示历史筛查报告/显示筛查报告清单列表/显示历史风险报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.contactless_health_risk_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --output result.json\n```\n\nFile v1.0.6:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-contactless-health-risk-detection-analysis\",\n  \"version\": \"1.0.6\",\n  \"publishedAt\": 1783677869610\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- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_CONTACTLESS_HEALTH_RISK_DETECTION_ANALYSIS` - 开放平台非接触健康风险识别分析\n\nFile v1.0.6:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.6:scripts/config.yaml\n\n{}\n\nFile v1.0.6:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.6:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.6:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.6:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.6:skill-card.md\n\n## Description: <br>\nCombines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[18072937735](https://clawhub.ai/user/18072937735) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and care-support teams use this skill to screen frontal face images or short videos for early health-risk signals and to retrieve cloud-hosted screening history. Results are for early risk screening and do not replace professional medical diagnosis or examination. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Sensitive facial images, videos, and derived health-screening results may be sent to the publisher's cloud service. <br>\nMitigation: Use only with clear consent, review privacy and retention terms before deployment, and avoid uploading other people's faces or health data without authorization. <br>\nRisk: The skill may create or reuse an internal account automatically, store local tokens, and retrieve cloud history. <br>\nMitigation: Review identity handling and local token storage before installation, and restrict use to environments where cloud history retrieval is acceptable. <br>\nRisk: Health-risk screening output could be mistaken for a medical diagnosis. <br>\nMitigation: Present results as early screening guidance only and direct users to professional medical care for high-risk findings or health decisions. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-contactless-health-risk-detection-analysis) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n- [API interface documentation](references/api_doc.md) <br>\n- [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:** [Structured Markdown or JSON health-risk screening report with risk results, recommendations, and report links.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May include cloud history listings as Markdown tables and links to generated reports.] <br>\n\n## Skill Version(s): <br>\n1.0.6 (source: ClawHub release metadata; artifact frontmatter reports 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\n\nArchive v1.0.5: 31 files, 35779 bytes\n\nFiles: references/api_doc.md (708b), scripts/__init__.py (31b), scripts/config.py (685b), scripts/config.yaml (3b), scripts/contactless_health_risk_detection_analysis.py (3230b), scripts/skill.py (582b), skill-card.md (2731b), SKILL.md (10085b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (22801b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (13468b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (23409b), _meta.json (166b)\n\nFile v1.0.5:SKILL.md\n\n---\nname: \"contactless-health-risk-detection-analysis\"\ndescription: \"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警\"\nversion: \"1.0.7\"\nlicense: \"MIT-0\"\n---\n\n# 🩺 Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **非接触式健康风险检测分析工具** |\n| 🎯 核心目标 | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `CONTACTLESS_HEALTH_RISK_DETECTION` |\n\nBy capturing frontal facial images and analyzing multimodal physiological signals—including micro-expressions, skin\ncolor variations, and eye movement patterns—this capability comprehensively assesses early risks of chronic and acute\nconditions such as heart attacks, strokes, hypertension, and hyperlipidemia. Leveraging non-contact imaging technology,\nthe system extracts vital metrics like blood oxygen levels and heart rate variability (HRV), utilizing AI models to\nfacilitate rapid daily screening. Upon identifying high-risk characteristics, it triggers immediate alerts, making it\nideal for homes, communities, and elderly care facilities to support chronic disease management and acute condition\nprevention.\n\n本技能通过正面人像采集，结合面部微表情、肤色变化、眼动特征等多模态生理信号分析，综合评估心梗、脑梗、高血压、高血脂等慢病及急症的早期风险。系统利用非接触式成像技术，提取血氧、心率变异性等生理指标，结合AI模型实现日常快速筛查。一旦识别高风险特征，即发出预警提示，适用于家庭、社区及养老机构等场景，助力慢病管理与急症预防。\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\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供正面人像需要进行非接触健康风险筛查时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要健康风险筛查、非接触检测时，提及健康筛查、心梗脑梗预警、高血压筛查、慢病风险等关键词，并且上传了正面人像照片/视频 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史筛查报告、健康风险报告清单、筛查报告列表、查询历史筛查报告、显示所有筛查报告、健康风险分析报告，查询非接触健康风险识别分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.contactless_health_risk_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.contactless_health_risk_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 采集要求 | Capture Requirements\n| 要求项 | 说明 |\n|---|---|\n| 正面完整面部 | ，正对摄像头，距离 30-50 厘米 |\n| 光线充足均匀 | ，避免强光直射和大面积阴影 |\n| 素颜最佳 | ，避免浓妆、口罩、帽子、墨镜遮挡 |\n| 推荐采集 | 10-30 秒短视频，静态图片也支持分析 |\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.contactless_health_risk_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地图片/视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络图片/视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史非接触健康风险识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/contactless_health_risk_detection_analysis.py`](scripts/contactless_health_risk_detection_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：jpg/jpeg/png/mp4/avi/mov，视频推荐时长 10-30 秒，最大 10MB |\n| 🧑‍⚖️ 结果性质 | **⚠️ 重要声明**：本分析结果仅供早期风险筛查参考，**不替代专业医疗诊断和检查**，发现高风险请及时到医院就诊 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地照片\npython -m scripts.contactless_health_risk_detection_analysis --input /path/to/face.jpg\n\n# 分析网络视频\npython -m scripts.contactless_health_risk_detection_analysis --url https://example.com/face.mp4\n\n# 显示历史筛查报告/显示筛查报告清单列表/显示历史风险报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.contactless_health_risk_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --output result.json\n```\n\nFile v1.0.5:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-contactless-health-risk-detection-analysis\",\n  \"version\": \"1.0.5\",\n  \"publishedAt\": 1782720749031\n}\n\nFile v1.0.5:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放非接触健康风险识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_CONTACTLESS_HEALTH_RISK_DETECTION_ANALYSIS` - 开放平台非接触健康风险识别分析\n\nFile v1.0.5:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.5:scripts/config.yaml\n\n{}\n\nFile v1.0.5:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.5:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.5:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.5:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.5:skill-card.md\n\n## Description: <br>\nCombines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[18072937735](https://clawhub.ai/user/18072937735) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and care-support workflows can use this skill to submit frontal face images or short videos for non-contact early health risk screening and report lookup. Results are screening references and should not replace professional medical diagnosis or clinical examination. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Face images, videos, remote media URLs, identity metadata, and report-history queries may be sent to the lifeemergence cloud service. <br>\nMitigation: Use the skill only with consent, avoid submitting third-party faces or private videos without authorization, and use a dedicated test account or workspace when evaluating it. <br>\nRisk: The skill can silently create or reuse a local identity, store tokens locally, and link health-screening reports to that identity. <br>\nMitigation: Review or clear the local data directory when identity reuse is not desired, and avoid using shared environments for sensitive screening sessions. <br>\nRisk: Health-risk results are screening references and may be incomplete or misleading if treated as diagnosis. <br>\nMitigation: Treat outputs as early risk-screening guidance only and seek professional medical diagnosis or urgent care for high-risk results or symptoms. <br>\n\n\n## Reference(s): <br>\n- [ClawHub Skill Page](https://clawhub.ai/18072937735/skills/smyx-contactless-health-risk-detection-analysis) <br>\n- [API Documentation](references/api_doc.md) <br>\n- [Skill Demo](https://lifeemergence.com/sample.html) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown or JSON analysis reports with risk findings, recommendations, report links, and history tables] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May call a remote cloud API for analysis and report-history retrieval.] <br>\n\n## Skill Version(s): <br>\n1.0.5 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.5:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.5:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.4: 31 files, 36046 bytes\n\nFiles: references/api_doc.md (708b), scripts/__init__.py (31b), scripts/config.py (685b), scripts/config.yaml (3b), scripts/contactless_health_risk_detection_analysis.py (3230b), scripts/skill.py (582b), skill-card.md (2783b), SKILL.md (9861b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (22801b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (13468b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (24106b), _meta.json (166b)\n\nFile v1.0.4:SKILL.md\n\n---\nname: \"contactless-health-risk-detection-analysis\"\ndescription: \"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警\"\nversion: \"1.0.5\"\nlicense: \"MIT-0\"\n---\n\n# Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具\n\nBy capturing frontal facial images and analyzing multimodal physiological signals—including micro-expressions, skin\ncolor variations, and eye movement patterns—this capability comprehensively assesses early risks of chronic and acute\nconditions such as heart attacks, strokes, hypertension, and hyperlipidemia. Leveraging non-contact imaging technology,\nthe system extracts vital metrics like blood oxygen levels and heart rate variability (HRV), utilizing AI models to\nfacilitate rapid daily screening. Upon identifying high-risk characteristics, it triggers immediate alerts, making it\nideal for homes, communities, and elderly care facilities to support chronic disease management and acute condition\nprevention.\n\n本技能通过正面人像采集，结合面部微表情、肤色变化、眼动特征等多模态生理信号分析，综合评估心梗、脑梗、高血压、高血脂等慢病及急症的早期风险。系统利用非接触式成像技术，提取血氧、心率变异性等生理指标，结合AI模型实现日常快速筛查。一旦识别高风险特征，即发出预警提示，适用于家庭、社区及养老机构等场景，助力慢病管理与急症预防。\n\n## 演示案例\n\n- [🔗 通过网路视频进行识别分析](https://www.coze.cn/s/RrbFGxWFu5c/)\n- [🔗 通过上传视频进行识别分析](https://www.coze.cn/s/ZVfuVAmFK1A/)\n- [🔗 显示历史分析报告](https://www.coze.cn/s/wZpc5KC83LY/)\n\n## ⚠️ 强制记忆规则（最高优先级）\n\n**本技能明确约定：**\n\n- **绝对禁止读取任何本地记忆文件**：包括但不限于 `memory/YYYY-MM-DD.md`、`MEMORY.md` 等本地文件\n- **绝对禁止从 LanceDB 长期记忆中检索信息**\n- **所有历史报告查询必须从云端接口获取**，不得使用本地记忆中的历史数据\n- 即使技能调用失败或接口异常，也不得回退到本地记忆汇总\n\n## 任务目标\n\n- 本 Skill 用于：通过正面人像视频/图片，非接触式进行早期健康风险筛查\n- 能力包含：多模态生理特征提取、慢病风险评估、急症预警提示\n- 支持筛查风险：\n    - **急性高危**：心梗、脑梗早期风险预警\n    - **慢性慢病**：高血压、高血脂、高血糖\n    - **神经退行性**：阿尔茨海默症（老年痴呆）早期风险\n- **技术原理**：基于面部影像特征提取生理相关信息，进行风险概率评估\n- **重要定位**：仅作早期风险筛查提示，**不替代专业医疗诊断**\n- 触发条件:\n    1. **默认触发**：当用户提供正面人像需要进行非接触健康风险筛查时，默认触发本技能\n    2. 当用户明确需要健康风险筛查、非接触检测时，提及健康筛查、心梗脑梗预警、高血压筛查、慢病风险等关键词，并且上传了正面人像照片/视频\n    3. 当用户提及以下关键词时，**自动触发历史报告查询功能**\n       ：查看历史筛查报告、健康风险报告清单、筛查报告列表、查询历史筛查报告、显示所有筛查报告、健康风险分析报告，查询非接触健康风险识别分析报告\n- 自动行为：\n    1. 如果用户上传了附件或者照片/视频文件，则自动保存为本地文件\n    2. **⚠️ 强制数据获取规则（次高优先级）**：如果用户触发任何历史报告查询关键词（如\"查看所有筛查报告\"、\"显示所有风险报告\"、\"\n       查看历史报告\"等），**必须**：\n        - 直接使用 `python -m scripts.contactless_health_risk_detection_analysis --list`\n          参数调用 API\n          查询云端的历史报告数据\n        - **严格禁止**：从本地 memory 目录读取历史会话信息、严格禁止手动汇总本地记录中的报告、严格禁止从长期记忆中提取报告\n        - **必须统一**从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果\n\n## 前置准备\n\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 采集要求（获得准确结果的前提）\n\n为了获得较准确的风险评估，请确保：\n\n1. **正面完整面部**，正对摄像头，距离 30-50 厘米\n2. **光线充足均匀**，避免强光直射和大面积阴影\n3. **素颜最佳**，避免浓妆、口罩、帽子、墨镜遮挡\n4. **推荐采集**：10-30 秒短视频，静态图片也支持分析\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    1. **准备正面人像输入**\n        - 提供本地图片/短视频文件路径或网络 URL\n        - 确保满足上述采集要求，获得更准确结果\n    2. **系统自动完成身份关联**\n        - 无需用户输入任何身份参数\n        - 不在回复中展示内部身份值\n    3. **执行非接触健康风险识别分析**\n        - 调用 `-m scripts.contactless_health_risk_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**）\n        - 参数说明:\n            - `--input`: 本地图片/视频文件路径\n            - `--url`: 网络图片/视频 URL 地址（API 服务自动下载）\n            - `--list`: 显示历史非接触健康风险识别分析报告列表清单（可以输入起始日期参数过滤数据范围）\n            - `--api-url`: API 服务地址（可选，使用默认值）\n            - `--detail`: 输出详细程度（basic/standard/json，默认 json）\n            - `--output`: 结果输出文件路径（可选）\n    4. **查看分析结果**\n        - 接收结构化的非接触健康风险识别分析报告\n        - 包含：人像采集信息、各项疾病风险等级（低/中/高）、风险提示、建议就医指导\n\n## 资源索引\n\n-\n\n必要脚本：见 [scripts/contactless_health_risk_detection_analysis.py](scripts/contactless_health_risk_detection_analysis.py)(\n用途：调用 API 进行非接触健康风险识别分析，本地文件上传，网络 URL 由 API 服务自动下载)\n\n- 配置文件：见 [scripts/config.py](scripts/config.py)(用途：配置 API 地址、默认参数和格式限制)\n- 领域参考：见 [references/api_doc.md](references/api_doc.md)(何时读取：需要了解 API 接口详细规范和错误码时)\n\n## 注意事项\n\n- 仅在需要时读取参考文档，保持上下文简洁\n- 支持格式：jpg/jpeg/png/mp4/avi/mov，视频推荐时长 10-30 秒，最大 10MB\n- **⚠️ 重要声明**：本分析结果仅供早期风险筛查参考，**不替代专业医疗诊断和检查**，发现高风险请及时到医院就诊\n- 禁止临时生成脚本，只能用技能本身的脚本\n- 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载\n- 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段 reportImageUrl 作为超链接地址，且自动转化为如下 Markdown\n  表格格式输出，包含\"\n  报告名称\"、\"分析时间\"、\"高风险项数\"、\"风险等级\"、\"点击查看\"五列，其中\"报告名称\"列使用`健康风险筛查报告-{记录id}`形式拼接, \"\n  点击查看\"列使用\n  `[🔗 查看报告](reportImageUrl)`\n  格式的超链接，用户点击即可直接跳转到对应的完整报告页面。\n- 表格输出示例：\n  | 报告名称 | 分析时间 | 高风险项数 | 整体风险 | 点击查看 |\n  |----------|----------|------------|----------|----------|\n  | 健康风险筛查报告 -20260328221000001 | 2026-03-28 22:10:00 | 1项(高血压) |\n  中风险 | [🔗 查看报告](https://example.com/report?id=xxx) |\n\n## 使用示例\n\n```bash\n# 分析本地照片\npython -m scripts.contactless_health_risk_detection_analysis --input /path/to/face.jpg\n\n# 分析网络视频\npython -m scripts.contactless_health_risk_detection_analysis --url https://example.com/face.mp4\n\n# 显示历史筛查报告/显示筛查报告清单列表/显示历史风险报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.contactless_health_risk_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --output result.json\n```\n\nFile v1.0.4:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-contactless-health-risk-detection-analysis\",\n  \"version\": \"1.0.4\",\n  \"publishedAt\": 1782232840190\n}\n\nFile v1.0.4:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放非接触健康风险识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_CONTACTLESS_HEALTH_RISK_DETECTION_ANALYSIS` - 开放平台非接触健康风险识别分析\n\nFile v1.0.4:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.4:scripts/config.yaml\n\n{}\n\nFile v1.0.4:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.4:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.4:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.4:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.4:skill-card.md\n\n## Description: <br>\nCombines frontal facial image or video capture with multimodal physiological signal analysis to provide early risk screening alerts for conditions including heart attack, stroke, hypertension, and hyperlipidemia. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[18072937735](https://clawhub.ai/user/18072937735) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users, caregivers, and operators can use this skill to submit frontal face images or videos for non-contact health-risk screening and to retrieve prior screening reports. Results are screening guidance only and do not replace professional medical diagnosis. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: The skill sends sensitive face images or videos and health-risk results to the LifeEmergence service. <br>\nMitigation: Use only consented media, avoid third-party media URLs you do not control, and review applicable data-handling requirements before deployment. <br>\nRisk: The skill can create or reuse remote identity state and stores auth-related state locally. <br>\nMitigation: Review and manage the local data directory before use, run the skill in an isolated workspace when appropriate, and clear stored state according to local policy. <br>\nRisk: The output may be mistaken for medical diagnosis. <br>\nMitigation: Present results as early screening information only and direct users to professional medical care for high-risk or concerning findings. <br>\n\n\n## Reference(s): <br>\n- [API Interface Documentation](references/api_doc.md) <br>\n- [ClawHub Skill Page](https://clawhub.ai/18072937735/skills/smyx-contactless-health-risk-detection-analysis) <br>\n- [Network Video Demo](https://www.coze.cn/s/RrbFGxWFu5c/) <br>\n- [Uploaded Video Demo](https://www.coze.cn/s/ZVfuVAmFK1A/) <br>\n- [Historical Report Demo](https://www.coze.cn/s/wZpc5KC83LY/) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, json, shell commands, guidance] <br>\n**Output Format:** [Markdown with JSON report payloads, report links, and shell command examples] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Accepts local face image/video files or media URLs; documented supported formats include jpg, jpeg, png, mp4, avi, and mov, with a 10MB maximum input size.] <br>\n\n## Skill Version(s): <br>\n1.0.4 (source: server release metadata; artifact frontmatter says 1.0.5) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.4:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.4:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.3: 33 files, 38268 bytes\n\nFiles: references/api_doc.md (728b), scripts/__init__.py (31b), scripts/api_service.py (1704b), scripts/config.py (685b), scripts/config.yaml (3b), scripts/contactless_health_risk_detection_analysis.py (3199b), scripts/skill.py (582b), skill-card.md (2766b), SKILL.md (10987b), skills/face_analysis/__init__.py (0b), skills/face_analysis/README.md (2497b), skills/face_analysis/references/api_doc.md (1744b), skills/face_analysis/requirements.txt (45b), skills/face_analysis/scripts/__init__.py (0b), skills/face_analysis/scripts/api_service.py (1857b), skills/face_analysis/scripts/config.py (1182b), skills/face_analysis/scripts/config.yaml (3b), skills/face_analysis/scripts/face_analysis.py (7053b), skills/face_analysis/scripts/skill.py (11274b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (2233b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2518b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (9307b), skills/smyx_common/scripts/config.yaml (463b), skills/smyx_common/scripts/dao.py (11119b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (17943b), _meta.json (166b)\n\nFile v1.0.3:SKILL.md\n\n---\nname: \"contactless-health-risk-detection-analysis\"\ndescription: \"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警\"\nversion: \"1.0.0\"\n---\n\n# Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具\n\nBy capturing frontal facial images and analyzing multimodal physiological signals—including micro-expressions, skin\ncolor variations, and eye movement patterns—this capability comprehensively assesses early risks of chronic and acute\nconditions such as heart attacks, strokes, hypertension, and hyperlipidemia. Leveraging non-contact imaging technology,\nthe system extracts vital metrics like blood oxygen levels and heart rate variability (HRV), utilizing AI models to\nfacilitate rapid daily screening. Upon identifying high-risk characteristics, it triggers immediate alerts, making it\nideal for homes, communities, and elderly care facilities to support chronic disease management and acute condition\nprevention.\n\n本技能通过正面人像采集，结合面部微表情、肤色变化、眼动特征等多模态生理信号分析，综合评估心梗、脑梗、高血压、高血脂等慢病及急症的早期风险。系统利用非接触式成像技术，提取血氧、心率变异性等生理指标，结合AI模型实现日常快速筛查。一旦识别高风险特征，即发出预警提示，适用于家庭、社区及养老机构等场景，助力慢病管理与急症预防。\n\n## 演示案例\n\n- [🔗 通过网路视频进行识别分析](https://www.coze.cn/s/RrbFGxWFu5c/)\n- [🔗 通过上传视频进行识别分析](https://www.coze.cn/s/ZVfuVAmFK1A/)\n- [🔗 显示历史分析报告](https://www.coze.cn/s/wZpc5KC83LY/)\n\n## ⚠️ 强制记忆规则（最高优先级）\n\n**本技能明确约定：**\n\n- **绝对禁止读取任何本地记忆文件**：包括但不限于 `memory/YYYY-MM-DD.md`、`MEMORY.md` 等本地文件\n- **绝对禁止从 LanceDB 长期记忆中检索信息**\n- **所有历史报告查询必须从云端接口获取**，不得使用本地记忆中的历史数据\n- 即使技能调用失败或接口异常，也不得回退到本地记忆汇总\n\n## 任务目标\n\n- 本 Skill 用于：通过正面人像视频/图片，非接触式进行早期健康风险筛查\n- 能力包含：多模态生理特征提取、慢病风险评估、急症预警提示\n- 支持筛查风险：\n    - **急性高危**：心梗、脑梗早期风险预警\n    - **慢性慢病**：高血压、高血脂、高血糖\n    - **神经退行性**：阿尔茨海默症（老年痴呆）早期风险\n- **技术原理**：基于面部影像特征提取生理相关信息，进行风险概率评估\n- **重要定位**：仅作早期风险筛查提示，**不替代专业医疗诊断**\n- 触发条件:\n    1. **默认触发**：当用户提供正面人像需要进行非接触健康风险筛查时，默认触发本技能\n    2. 当用户明确需要健康风险筛查、非接触检测时，提及健康筛查、心梗脑梗预警、高血压筛查、慢病风险等关键词，并且上传了正面人像照片/视频\n    3. 当用户提及以下关键词时，**自动触发历史报告查询功能**\n       ：查看历史筛查报告、健康风险报告清单、筛查报告列表、查询历史筛查报告、显示所有筛查报告、健康风险分析报告，查询非接触健康风险识别分析报告\n- 自动行为：\n    1. 如果用户上传了附件或者照片/视频文件，则自动保存为本地文件\n    2. **⚠️ 强制数据获取规则（次高优先级）**：如果用户触发任何历史报告查询关键词（如\"查看所有筛查报告\"、\"显示所有风险报告\"、\"\n       查看历史报告\"等），**必须**：\n        - 直接使用 `python -m scripts.contactless_health_risk_detection_analysis --list --open-id`\n          参数调用 API\n          查询云端的历史报告数据\n        - **严格禁止**：从本地 memory 目录读取历史会话信息、严格禁止手动汇总本地记录中的报告、严格禁止从长期记忆中提取报告\n        - **必须统一**从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果\n\n## 前置准备\n\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 采集要求（获得准确结果的前提）\n\n为了获得较准确的风险评估，请确保：\n\n1. **正面完整面部**，正对摄像头，距离 30-50 厘米\n2. **光线充足均匀**，避免强光直射和大面积阴影\n3. **素颜最佳**，避免浓妆、口罩、帽子、墨镜遮挡\n4. **推荐采集**：10-30 秒短视频，静态图片也支持分析\n\n## 操作步骤\n\n### 🔒 open-id 获取流程控制（强制执行，防止遗漏）\n\n**在执行非接触健康风险识别分析前，必须按以下优先级顺序获取 open-id：**\n\n```\n第 1 步：【最高优先级】检查技能所在目录的配置文件（优先）\n        路径：skills/smyx_common/scripts/config.yaml（相对于技能根目录）\n        完整路径示例：${OPENCLAW_WORKSPACE}/skills/{当前技能目录}/skills/smyx_common/scripts/config.yaml\n        → 如果文件存在且配置了 api-key 字段，则读取 api-key 作为 open-id\n        ↓ (未找到/未配置/api-key 为空)\n第 2 步：检查 workspace 公共目录的配置文件\n        路径：${OPENCLAW_WORKSPACE}/skills/smyx_common/scripts/config.yaml\n        → 如果文件存在且配置了 api-key 字段，则读取 api-key 作为 open-id\n        ↓ (未找到/未配置)\n第 3 步：检查用户是否在消息中明确提供了 open-id\n        ↓ (未提供)\n第 4 步：❗ 必须暂停执行，明确提示用户提供用户名或手机号作为 open-id\n```\n\n**⚠️ 关键约束：**\n\n- **禁止**自行假设,自行推导,自行生成 open-id 值（如 openclaw-control-ui、default、risk123、health456 等）\n- **禁止**跳过 open-id 验证直接调用 API\n- **必须**在获取到有效 open-id 后才能继续执行分析\n- 如果用户拒绝提供 open-id，说明用途（用于保存和查询筛查报告记录），并询问是否继续\n\n---\n\n- 标准流程:\n    1. **准备正面人像输入**\n        - 提供本地图片/短视频文件路径或网络 URL\n        - 确保满足上述采集要求，获得更准确结果\n    2. **获取 open-id（强制执行）**\n        - 按上述流程控制获取 open-id\n        - 如无法获取，必须提示用户提供用户名或手机号\n    3. **执行非接触健康风险识别分析**\n        - 调用 `-m scripts.contactless_health_risk_detection_analysis` 处理输入（**必须在技能根目录下运行脚本**）\n        - 参数说明:\n            - `--input`: 本地图片/视频文件路径（使用 multipart/form-data 方式上传）\n            - `--url`: 网络图片/视频 URL 地址（API 服务自动下载）\n            - `--open-id`: 当前用户的 open-id（必填，按上述流程获取）\n            - `--list`: 显示历史非接触健康风险识别分析报告列表清单（可以输入起始日期参数过滤数据范围）\n            - `--api-key`: API 访问密钥（可选）\n            - `--api-url`: API 服务地址（可选，使用默认值）\n            - `--detail`: 输出详细程度（basic/standard/json，默认 json）\n            - `--output`: 结果输出文件路径（可选）\n    4. **查看分析结果**\n        - 接收结构化的非接触健康风险识别分析报告\n        - 包含：人像采集信息、各项疾病风险等级（低/中/高）、风险提示、建议就医指导\n\n## 资源索引\n\n-\n\n必要脚本：见 [scripts/contactless_health_risk_detection_analysis.py](scripts/contactless_health_risk_detection_analysis.py)(\n用途：调用 API 进行非接触健康风险识别分析，本地文件使用 multipart/form-data 方式上传，网络 URL 由 API 服务自动下载)\n\n- 配置文件：见 [scripts/config.py](scripts/config.py)(用途：配置 API 地址、默认参数和格式限制)\n- 领域参考：见 [references/api_doc.md](references/api_doc.md)(何时读取：需要了解 API 接口详细规范和错误码时)\n\n## 注意事项\n\n- 仅在需要时读取参考文档，保持上下文简洁\n- 支持格式：jpg/jpeg/png/mp4/avi/mov，视频推荐时长 10-30 秒，最大 100MB\n- API 密钥可选，如果通过参数传入则必须确保调用鉴权成功，否则忽略鉴权\n- **⚠️ 重要声明**：本分析结果仅供早期风险筛查参考，**不替代专业医疗诊断和检查**，发现高风险请及时到医院就诊\n- 禁止临时生成脚本，只能用技能本身的脚本\n- 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载\n- 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段 reportImageUrl 作为超链接地址，且自动转化为如下 Markdown\n  表格格式输出，包含\"\n  报告名称\"、\"分析时间\"、\"高风险项数\"、\"风险等级\"、\"点击查看\"五列，其中\"报告名称\"列使用`健康风险筛查报告-{记录id}`形式拼接, \"\n  点击查看\"列使用\n  `[🔗 查看报告](reportImageUrl)`\n  格式的超链接，用户点击即可直接跳转到对应的完整报告页面。\n- 表格输出示例：\n  | 报告名称 | 分析时间 | 高风险项数 | 整体风险 | 点击查看 |\n  |----------|----------|------------|----------|----------|\n  | 健康风险筛查报告 -20260328221000001 | 2026-03-28 22:10:00 | 1项(高血压) |\n  中风险 | [🔗 查看报告](https://example.com/report?id=xxx) |\n\n## 使用示例\n\n```bash\n# 分析本地照片（以下只是示例，禁止直接使用openclaw-control-ui 作为 open-id）\npython -m scripts.contactless_health_risk_detection_analysis --input /path/to/face.jpg --open-id openclaw-control-ui\n\n# 分析网络视频（以下只是示例，禁止直接使用openclaw-control-ui 作为 open-id）\npython -m scripts.contactless_health_risk_detection_analysis --url https://example.com/face.mp4 --open-id openclaw-control-ui\n\n# 显示历史筛查报告/显示筛查报告清单列表/显示历史风险报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.contactless_health_risk_detection_analysis --list --open-id openclaw-control-ui\n\n# 输出精简报告\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --open-id your-open-id --detail basic\n\n# 保存结果到文件\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --open-id your-open-id --output result.json\n```\n\nFile v1.0.3:skills/face_analysis/README.md\n\n# 中医面诊分析工具 (face-analysis)\n\n## 技能介绍\n这是一个基于AI的中医面诊分析技能，可以通过面部视频自动分析健康状况，返回结构化的诊断结果和养生建议。\n\n## 快速开始\n### 1. 配置API信息\n编辑 `scripts/config.py`，设置你的API地址和密钥：\n```python\nDEFAULT_API_URL = \"https://your-api-server.com/api/v1/face-analysis\"\nDEFAULT_API_KEY = \"your-api-key-here\"\n```\n\n### 2. 分析本地视频\n```bash\npython scripts/face_analysis.py --input /path/to/your/video.mp4\n```\n\n### 3. 分析网络视频\n```bash\npython scripts/face_analysis.py --url https://example.com/video.mp4\n```\n\n## 功能特性\n- ✅ 支持本地MP4视频上传\n- ✅ 支持网络视频URL分析\n- ✅ 三种输出详细程度：精简/标准/完整\n- ✅ 结构化JSON结果输出\n- ✅ 自动保存结果到文件\n- ✅ 内置视频格式和大小校验\n\n## 目录结构\n```\nface-analysis/\n├── SKILL.md              # 技能说明文件（系统自动加载）\n├── README.md             # 本说明文件\n├── scripts/\n│   ├── face_analysis.py  # 主程序\n│   └── config.py         # 配置文件\n├── references/\n│   ├── api_doc.md        # API接口文档\n│   ├── tcm_theory.md     # 中医面诊理论参考\n│   └── faq.md            # 常见问题\n└── assets/\n    └── template.json     # 返回结果模板\n```\n\n## 使用示例\n### 标准输出\n```\n📊 中医面诊分析报告\n==================================================\n⏰ 分析时间: 2026-03-10 15:30:00\n🎯 人脸检测: success (置信度: 95分)\n\n🔍 诊断结果:\n  整体体质: 平和质\n  脏腑状况:\n    liver: 正常\n    heart: 轻微火旺\n    spleen: 略虚\n    lung: 正常\n    kidney: 正常\n  面色分析: 微黄\n  对应提示: 脾胃功能略弱\n\n⚠️ 健康警示:\n  ⚠️  注意休息，避免熬夜\n\n💡 养生建议:\n  💡 饮食清淡，减少辛辣食物摄入\n  💡 保持规律作息，每晚11点前入睡\n  💡 适当进行有氧运动，如散步、太极拳\n==================================================\n```\n\n### 输出到JSON文件\n```bash\npython scripts/face_analysis.py --input video.mp4 --detail full --output result.json\n```\n\n## 注意事项\n1. 视频要求：清晰正面面部，光线充足，时长5-30秒为宜\n2. 支持格式：mp4、avi、mov，最大100MB\n3. API需要自行部署或接入第三方服务\n4. 结果仅供参考，不能替代专业医生诊断\n\nFile v1.0.3:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-contactless-health-risk-detection-analysis\",\n  \"version\": \"1.0.3\",\n  \"publishedAt\": 1779299319224\n}\n\nFile v1.0.3:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放非接触健康风险识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：multipart/form-data 支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_CONTACTLESS_HEALTH_RISK_DETECTION_ANALYSIS` - 开放平台非接触健康风险识别分析\n\nFile v1.0.3:skills/face_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口地址\n`POST https://your-api-server.com/api/v1/face-analysis`\n\n## 请求头\n| 字段 | 必选 | 说明 |\n|------|------|------|\n| X-API-Key | 是 | API访问密钥 |\n| Content-Type | 是 | multipart/form-data（文件上传）或 application/json（URL模式） |\n\n## 请求参数\n### 1. 文件上传模式\n| 字段 | 类型 | 必选 | 说明 |\n|------|------|------|------|\n| video | file | 是 | MP4视频文件 |\n| detail_level | string | 否 | 输出详细程度：basic/standard/full，默认standard |\n\n### 2. URL模式\n| 字段 | 类型 | 必选 | 说明 |\n|------|------|------|------|\n| video_url | string | 是 | 可公开访问的视频URL |\n| detail_level | string | 否 | 输出详细程度：basic/standard/full，默认standard |\n\n## 响应格式\n```json\n{\n  \"code\": 200,\n  \"message\": \"success\",\n  \"data\": {\n    \"analysis_time\": \"2026-03-10 15:30:00\",\n    \"face_detection\": {\n      \"status\": \"success\",\n      \"face_count\": 1,\n      \"quality_score\": 95\n    },\n    \"diagnosis\": {\n      \"overall_constitution\": \"平和质\",\n      \"organ_condition\": {\n        \"liver\": \"正常\",\n        \"heart\": \"轻微火旺\",\n        \"spleen\": \"略虚\",\n        \"lung\": \"正常\",\n        \"kidney\": \"正常\"\n      },\n      \"color_analysis\": {\n        \"complexion\": \"微黄\",\n        \"correspondence\": \"脾胃功能略弱\"\n      }\n    },\n    \"health_warnings\": [\n      \"注意休息，避免熬夜\"\n    ],\n    \"suggestions\": [\n      \"饮食清淡，减少辛辣食物摄入\"\n    ]\n  }\n}\n```\n\n## 错误码说明\n| 错误码 | 说明 |\n|--------|------|\n| 400 | 请求参数错误 |\n| 401 | API密钥无效 |\n| 403 | 权限不足 |\n| 413 | 文件过大 |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误 |\n\nFile v1.0.3:scripts/config.yaml\n\n{}\n\nFile v1.0.3:skills/face_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.3:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.3:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.3:skills/smyx_common/scripts/config.yaml\n\nenv: prod\n\nApiEnum:\n  api-key:\n  api-secret-key:\n  database-url:\n  base-url-open-api: \"https://open.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitor.lifeemergence.com\"\n  base-url-health: \"https://lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: false\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: \"XIAN_ZHAO_GAN_ZHI\"\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret:\n  default--skill-platform-name: ARK_CLAW\n\nFile v1.0.3:skill-card.md\n\n## Description: <br>\nCombines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[18072937735](https://clawhub.ai/user/18072937735) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and developers use this skill to screen frontal face images or videos for early health-risk signals and to retrieve prior screening reports. Results are intended as risk-screening guidance and do not replace professional medical diagnosis. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: The skill handles face images or videos, health-related inferences, identifiers, and report history through a remote service. <br>\nMitigation: Install only when the publisher and remote service are trusted, and confirm consent, endpoint ownership, retention, and deletion expectations before use. <br>\nRisk: The workflow requires an open-id and the release is tagged as requiring sensitive credentials. <br>\nMitigation: Use a dedicated non-secret open-id rather than an API key, phone number, or other reusable personal identifier. <br>\nRisk: Health-risk outputs may be mistaken for diagnosis. <br>\nMitigation: Treat outputs as early screening guidance only and route high-risk or concerning results to qualified medical professionals. <br>\n\n\n## Reference(s): <br>\n- [ClawHub release page](https://clawhub.ai/18072937735/smyx-contactless-health-risk-detection-analysis) <br>\n- [Contactless health risk API documentation](references/api_doc.md) <br>\n- [Network video analysis demo](https://www.coze.cn/s/RrbFGxWFu5c/) <br>\n- [Uploaded video analysis demo](https://www.coze.cn/s/ZVfuVAmFK1A/) <br>\n- [Historical report demo](https://www.coze.cn/s/wZpc5KC83LY/) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Analysis, API Calls, Markdown, JSON, Shell commands, Configuration] <br>\n**Output Format:** [Markdown or JSON health-risk screening reports, with shell commands and configuration guidance for invocation.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May include report links, risk levels, alerts, and suggested follow-up guidance returned by the remote service.] <br>\n\n## Skill Version(s): <br>\n1.0.3 (source: server release metadata) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.3:skills/face_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3","readmeExcerpt":"Skill: Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具 Owner: 18072937735 Summary: Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 Tags: latest:1.0.12 Version history: v1.","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"python -m scripts.contactless_health_risk_detection_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地照片\npython -m scripts.contactless_health_risk_detection_analysis --input /path/to/face.jpg\n\n# 分析网络视频\npython -m scripts.contactless_health_risk_detection_analysis --url https://example.com/face.mp4\n\n# 显示历史筛查报告/显示筛查报告清单列表/显示历史风险报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.contactless_health_risk_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --output result.json"},{"language":"bash","snippet":"python -m scripts.contactless_health_risk_detection_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地照片\npython -m scripts.contactless_health_risk_detection_analysis --input /path/to/face.jpg\n\n# 分析网络视频\npython -m scripts.contactless_health_risk_detection_analysis --url https://example.com/face.mp4\n\n# 显示历史筛查报告/显示筛查报告清单列表/显示历史风险报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.contactless_health_risk_detection_analysis --list\n\n# 输出精简报告\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --detail basic\n\n# 保存结果到文件\npython -m scripts.contactless_health_risk_detection_analysis --input face.jpg --output result.json"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: \"contactless-health-risk-detection-analysis\"\ndescription: \"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警\"\nversion: \"1.0.15\"\nlicense: \"MIT-0\"\n---\n\n# 🩺 Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具\n\n> **智能健康/识别分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **非接触式健康风险检测分析工具** |\n| 🎯 核心目标 | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、风险/识别结果、建议与报告链接 |\n| 🧩 场景码 | `CONTACTLESS_HEALTH_RISK_DETECTION` |\n\nBy capturing frontal facial images and analyzing multimodal physiological signals—including micro-expressions, skin\ncolor variations, and eye movement patterns—this capability comprehensively assesses early risks of chronic and acute\nconditions such as heart attacks, strokes, hypertension, and hyperlipidemia. Leveraging non-contact imaging technology,\nthe system extracts vital metrics like blood oxygen levels and heart rate variability (HRV), utilizing AI models to\nfacilitate rapid daily screening. Upon identifying high-risk characteristics, it triggers immediate alerts, making it\nideal for homes, communities, and elderly care facilities to support chronic disease management and acute condition\nprevention.\n\n本技能通过正面人像采集，结合面部微表情、肤色变化、眼动特征等多模态生理信号分析，综合评估心梗、脑梗、高血压、高血脂等慢病及急症的早期风险。系统利用非接触式成像技术，提取血氧、心率变异性等生理指标，结合AI模型实现日常快速筛查。一旦识别高风险特征，即发出预警提示，适用于家庭、社区及养老机构等场景，助力慢病管理与急症预防。\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\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供正面人像需要进行非接触健康风险筛查时，默认触发本技能 |\n| 🔎 明确分析意图 | 当用户明确需要健康风险筛查、非接触检测时，提及健康筛查、心梗脑梗预警、高血压筛查、慢病风险等关键词，并且上传了正面人像照片/视频 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史筛查报告、健康风险报告清单、筛查报告列表、查询历史筛查报告、显示所有筛查报告、健康风险分析报告，查询非接触健康风险识别分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.contactless_health_risk_detection_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.contactless_health_risk_detection_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 采集要求 | Capture Requirements\n| 要求项 | 说明 |\n|---|---|\n| 正面完整面部 | ，正对摄像头，距离 30-50 厘米 |\n| 光线充足均匀 | ，避免强光直射和大面积阴影 |\n| 素颜最佳 | ，避免浓妆、"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-contactless-health-risk-detection-analysis\",\n  \"version\": \"1.0.12\",\n  \"publishedAt\": 1788103771565\n}"},{"path":"references/api_doc.md","content":"# API 接口文档\n\n此处用于存放非接触健康风险识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_CONTACTLESS_HEALTH_RISK_DETECTION_ANALYSIS` - 开放平台非接触健康风险识别分析"},{"path":"skills/smyx_analysis/references/api_doc.md","content":"# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |"},{"path":"scripts/config.yaml","content":"{}"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 Skill: Contactless Health Risk Screening Tool | 非接触式健康风险检测分析工具 Owner: 18072937735 Summary: Combines frontal facial image capture with multimodal physiological feature analysis to provide early risk screening and alerts for chronic and acute conditions such as heart attack, stroke, hypertension, and hyperlipidemia. | 非接触式健康风险识别技能，通过正面人像采集结合多模态生理特征分析，提供心梗、脑梗、高血压、高血脂等慢病急症早期风险筛查预警 Tags: latest:1.0.12 Version history: v1.","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":918,"uniquenessScore":53,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T21:02:34.829Z","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-09T21:02:34.829Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T06:29:54.780Z","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"}]}}}