{"id":"a3dc189d-fc84-49ab-b58a-7bcf63a01984","entityType":"agent","slug":"clawhub-18072937735-smyx-stroke-risk-screening-analysis","name":"Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能","canonicalUrl":"https://www.xpersona.co/agent/clawhub-18072937735-smyx-stroke-risk-screening-analysis","canonicalPath":"/agent/clawhub-18072937735-smyx-stroke-risk-screening-analysis","generatedAt":"2026-10-10T08:03:03.506Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T18:12:29.537Z","emptyReason":null},"description":"Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 Skill: Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能 Owner: 18072937735 Summary: Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 Tags: la","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 2.2K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-stroke-risk-screening-analysis","sourceUrl":"https://clawhub.ai/18072937735/smyx-stroke-risk-screening-analysis","homepage":"https://clawhub.ai/18072937735/skills/smyx-stroke-risk-screening-analysis","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/18072937735/smyx-stroke-risk-screening-analysis","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/18072937735/skills/smyx-stroke-risk-screening-analysis","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":67,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infar"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T18:12:29.537Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T18:12:29.537Z","emptyReason":null},"stars":null,"forks":null,"downloads":2151,"packageName":null,"latestVersion":"1.0.15","tractionLabel":"2.2K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T18:12:29.510Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T18:12:29.537Z","lastCrawledAt":"2026-10-09T18:12:29.510Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T18:12:29.510Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.15","createdAt":"2026-10-01T18:47:52.283Z","changelog":"- Version bumped from 1.0.17 to 1.0.18. - Documentation updated: SKILL.md revised, improving or modifying content. - Obsolete file removed: skill-card.md deleted.","fileCount":31,"zipByteSize":41220},{"version":"1.0.14","createdAt":"2026-09-23T09:07:28.406Z","changelog":"- Updated SKILL.md version from 1.0.15 to 1.0.17 with metadata and content improvements. - Documentation clarified; no functional/logic changes to code detected. - Removed redundant file skill-card.md. - Minor adjustments to configuration (skills/smyx_common/scripts/config.yaml) for alignment with current documentation.","fileCount":31,"zipByteSize":41577},{"version":"1.0.13","createdAt":"2026-09-15T11:50:30.559Z","changelog":"- Updated version number from 1.0.14 to 1.0.15 in documentation. - Removed the file skill-card.md. - No feature, logic, or usage changes were introduced in this update; metadata/documentation only.","fileCount":31,"zipByteSize":41268},{"version":"1.0.12","createdAt":"2026-08-30T14:43:32.127Z","changelog":"- Updated SKILL.md: version increased from 1.0.12 to 1.0.14. - Documentation adjustments in SKILL.md; no functional/script-level changes described. - Removed the file skill-card.md.","fileCount":31,"zipByteSize":41521},{"version":"1.0.11","createdAt":"2026-08-22T09:33:28.592Z","changelog":"- Updated configuration in `config.yaml`. - Removed redundant documentation file `skill-card.md`.","fileCount":31,"zipByteSize":41294},{"version":"1.0.10","createdAt":"2026-08-11T04:47:44.929Z","changelog":"- Version updated from 1.0.11 to 1.0.12. - Documentation (SKILL.md) updated to reflect the new version. - The supplementary documentation file (skill-card.md) was removed. - No functional or interface changes; all updates are documentation and metadata only.","fileCount":31,"zipByteSize":41390},{"version":"1.0.9","createdAt":"2026-08-03T06:05:33.681Z","changelog":"- Removed the file: skill-card.md - No feature or interface changes; this update only cleans up documentation by deleting a redundant or unnecessary file.","fileCount":31,"zipByteSize":41404},{"version":"1.0.8","createdAt":"2026-08-01T02:44:29.146Z","changelog":"- Updated version from 1.0.8 to 1.0.11 in SKILL.md. - Removed obsolete skill-card.md file. - No functional or workflow changes documented; version and documentation housekeeping only.","fileCount":31,"zipByteSize":41355}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-stroke-risk-screening-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-stroke-risk-screening-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-stroke-risk-screening-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-stroke-risk-screening-analysis/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-stroke-risk-screening-analysis/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-stroke-risk-screening-analysis/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-stroke-risk-screening-analysis/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-10T08:03:03.502Z"}},"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-stroke-risk-screening-analysis/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-stroke-risk-screening-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-stroke-risk-screening-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-stroke-risk-screening-analysis/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T18:12:29.537Z","emptyReason":null},"readme":"Skill: Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能\n\nOwner: 18072937735\n\nSummary: Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引\n\nTags: latest:1.0.15\n\nVersion history:\n\nv1.0.15 | 2026-10-01T18:47:52.283Z | auto\n\n- Version bumped from 1.0.17 to 1.0.18.\n- Documentation updated: SKILL.md revised, improving or modifying content.\n- Obsolete file removed: skill-card.md deleted.\n\nv1.0.14 | 2026-09-23T09:07:28.406Z | auto\n\n- Updated SKILL.md version from 1.0.15 to 1.0.17 with metadata and content improvements.\n- Documentation clarified; no functional/logic changes to code detected.\n- Removed redundant file skill-card.md.\n- Minor adjustments to configuration (skills/smyx_common/scripts/config.yaml) for alignment with current documentation.\n\nv1.0.13 | 2026-09-15T11:50:30.559Z | auto\n\n- Updated version number from 1.0.14 to 1.0.15 in documentation.\n- Removed the file skill-card.md.\n- No feature, logic, or usage changes were introduced in this update; metadata/documentation only.\n\nv1.0.12 | 2026-08-30T14:43:32.127Z | auto\n\n- Updated SKILL.md: version increased from 1.0.12 to 1.0.14.\n- Documentation adjustments in SKILL.md; no functional/script-level changes described.\n- Removed the file skill-card.md.\n\nv1.0.11 | 2026-08-22T09:33:28.592Z | auto\n\n- Updated configuration in `config.yaml`.\n- Removed redundant documentation file `skill-card.md`.\n\nv1.0.10 | 2026-08-11T04:47:44.929Z | auto\n\n- Version updated from 1.0.11 to 1.0.12.\n- Documentation (SKILL.md) updated to reflect the new version.\n- The supplementary documentation file (skill-card.md) was removed.\n- No functional or interface changes; all updates are documentation and metadata only.\n\nv1.0.9 | 2026-08-03T06:05:33.681Z | auto\n\n- Removed the file: skill-card.md\n- No feature or interface changes; this update only cleans up documentation by deleting a redundant or unnecessary file.\n\nv1.0.8 | 2026-08-01T02:44:29.146Z | auto\n\n- Updated version from 1.0.8 to 1.0.11 in SKILL.md.\n- Removed obsolete skill-card.md file.\n- No functional or workflow changes documented; version and documentation housekeeping only.\n\nv1.0.7 | 2026-07-16T05:55:27.909Z | auto\n\n- Version bump from 1.0.7 to 1.0.8.\n- Updated documentation in SKILL.md, including details of abilities, usage, and workflow.\n- Removed the separate skill-card.md file.\n- No functional or API changes included in this version.\n\nv1.0.6 | 2026-07-06T11:53:26.309Z | auto\n\n- Version updated from 1.0.6 to 1.0.7.\n- Documentation improvements in SKILL.md to clarify instructions, usage examples, and key constraints.\n- skill-card.md removed from the project files.\n- No changes to the skill's core logic or features.\n\nv1.0.5 | 2026-06-30T07:18:26.857Z | auto\n\nVersion 1.0.5 → 1.0.6  \n**Summary: Skill workflow and user identity handling redesigned for full automation and enhanced privacy.**\n\n- Automated all user identity processing internally—users no longer provide or see any identity parameters.\n- Revised SKILL.md to reflect the new identity handling, streamlined workflows, and stricter privacy:\n  - Removed all steps and prompts requiring user-supplied open-id, username, or phone.\n  - Clarified that API-level user matching is automatic and invisible to end users.\n  - Updated examples, operation flow, and documentation accordingly.\n- Ensured history/report queries fetch strictly from the cloud API only; local/long-term memory access is fully prohibited.\n- Removed two legacy files and refactored relevant script and documentation references for clarity and compliance.\n\nv1.0.4 | 2026-06-23T06:48:25.921Z | auto\n\n- Upgraded to version 1.0.5 with internal code adjustments.\n- Improved open-id acquisition by prioritizing the local skill config file before falling back to the common config, ensuring correct execution order.\n- Updated documentation (SKILL.md) to reflect the new open-id lookup priority and adjusted step descriptions accordingly.\n- Removed obsolete documentation file: skill-card.md.\n\nv1.0.3 | 2026-06-16T18:53:28.755Z | auto\n\n- Updated SKILL.md to version 1.0.4 with added license information.\n- Adjusted open-id config file search order; primary path is now scripts/config.yaml in the skill root directory.\n- Removed reference and lookup of skills/smyx_analysis/scripts/config.yaml for open-id retrieval.\n- Minor documentation refinements for consistency; usage and rules for open-id retrieval clarified.\n- Removed obsolete skill-card.md.\n\nv1.0.2 | 2026-05-22T02:44:40.838Z | auto\n\n- Major refactor: extraction of common and analysis logic into a new skills/smyx_analysis module.\n- Removed all face_analysis-related files; added new smyx_analysis scripts and configuration files.\n- Updated core scripts and configuration files for improved modularity and code organization.\n- Adjusted SKILL.md and references to align with new file structure and maintain usage instructions.\n- Maximum image/video upload size reduced from 100MB to 10MB.\n\nv1.0.1 | 2026-05-13T17:39:43.173Z | auto\n\n- Updated config management and initialization logic across common and face analysis scripts.\n- Added or modified YAML configuration files for development and testing environments.\n- Improved code structure and clarity in config.py and util.py within smyx_common.\n- Adjusted documentation (SKILL.md) versioning and metadata to match release conventions.\n\nv1.0.0 | 2026-04-17T16:23:16.648Z | auto\n\n- Initial release of the stroke-risk-screening-analysis skill.\n- Integrates TCM facial feature inspection and physiological indicators for early stroke risk warning.\n- Provides personalized lifestyle intervention suggestions and medical guidance.\n- Strictly enforces cloud-based data retrieval for historical screening reports; prohibits using any local or long-term memory.\n- Requires open-id authentication before performing analysis; enforces an explicit stepwise process for acquiring open-id.\n- Supports automatic triggering and markdown-formatted report listing when historical report keywords are detected.\n\nArchive index:\n\nArchive v1.0.15: 31 files, 41220 bytes\n\nFiles: references/api_doc.md (666b), scripts/__init__.py (31b), scripts/config.py (660b), scripts/config.yaml (3b), scripts/skill.py (576b), scripts/stroke_risk_screening_analysis.py (9742b), skill-card.md (2330b), SKILL.md (10848b), 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 (155b)\n\nFile v1.0.15:SKILL.md\n\n---\nname: \"stroke-risk-screening-analysis\"\ndescription: \"Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引\"\nversion: \"1.0.18\"\nlicense: \"MIT-0\"\n---\n\n# 🧠 Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **脑卒中风险筛查分析技能** |\n| 🎯 核心目标 | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `STROKE_RISK_SCREENING` |\n\nThis feature innovatively integrates the wisdom of TCM \"Wang Zhen\" (Inspection) with modern physiological monitoring\ntechnology to construct an early warning and intervention system for stroke. By utilizing high-precision cameras to\ncapture subtle facial characteristics—such as greenish-yellow or purplish-red complexion, swollen tongue body, and mouth\ndeviation—alongside real-time physiological indicators like blood pressure and Heart Rate Variability (HRV), the system\nemploys multimodal AI algorithms for comprehensive analysis. It accurately identifies high-risk constitutions, such as\nQi deficiency with phlegm-dampness or Qi and blood stasis, issuing graded warnings prior to a stroke event. Furthermore,\ngrounded in the theory of TCM syndrome differentiation and treatment, it provides users with personalized lifestyle\ninterventions (including dietary regulation and cold avoidance) and scientific medical guidance, truly realizing the\nleap in health management from \"treating existing diseases\" to \"treating potential diseases\" (preventive medicine).\n\n本功能创新性地将中医“望诊”智慧与现代生理监测技术深度融合，旨在构建一套脑卒中早期预警与干预系统。系统通过高精度摄像头捕捉面部微细特征，如面色青黄或紫红、舌体胖大、口角歪斜等中医“面象”与“舌象”信息，结合实时采集的血压、心率变异性等生理指标，利用多模态AI算法进行综合分析。系统能够精准识别气虚痰湿、气血瘀滞等高危体质倾向，在脑卒中发生前发出分级预警，并基于中医辨证施治理论，为用户提供个性化的饮食调理、起居避寒等生活干预建议及科学的就医指引，真正实现从“治已病”到“治未病”的健康管理跨越\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过面部视频图片结合生理指标进行脑卒中风险筛查，获取结构化的脑卒中风险筛查报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 面部特征辨识 |\n| 2 | 中风高危面相识别 |\n| 3 | 风险等级评估 |\n| 4 | 高危状态预警 |\n| 5 | 生活干预建议生成 |\n\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.stroke_risk_screening_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.stroke_risk_screening_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备面部素材 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行脑卒中风险筛查 | 调用 `-m scripts.stroke_risk_screening_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--media-type` | 媒体类型，可选值：video/image，默认 video | 按需填写 |\n| `--blood-pressure` | 血压值，格式：收缩压/舒张压，如 140/90（可选） | 按需填写 |\n| `--blood-sugar` | 空腹血糖值 mmol/L（可选） | 按需填写 |\n| `--blood-lipid` | 总胆固醇值 mmol/L（可选） | 按需填写 |\n| `--list` | 显示脑卒中风险筛查历史报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/stroke_risk_screening_analysis.py`](scripts/stroke_risk_screening_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：视频支持 mp4/avi/mov 格式，图片支持 jpg/png/jpeg 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本技能仅作健康风险筛查提示，不能替代专业医学检查和医生诊断，发现高危请及时就医 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📁 格式支持 | 当显示历史筛查报告清单的时候，从数据 json 中提取字段  作为超链接地址，使用 Markdown 表格格式输出，包含\" |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地面部视频\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face_video.mp4 --media-type video 分析本地面部照片，附带生理指标\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face.jpg --media-type image --blood-pressure 145/92 --blood-sugar 6.8 分析网络视频\npython -m scripts.stroke_risk_screening_analysis --url https://example.com/face_video.mp4 --media-type video 显示历史筛查报告/显示筛查报告清单列表/显示历史脑卒中报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.stroke_risk_screening_analysis --list\n\n# 输出精简报告\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --detail basic\n\n# 保存结果到文件\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --output result.json\n```\n\nFile v1.0.15:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-stroke-risk-screening-analysis\",\n  \"version\": \"1.0.15\",\n  \"publishedAt\": 1790880472283\n}\n\nFile v1.0.15:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放宠物健康分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/health-analysis/v2/start-health-analysis` - 启动健康分析任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_HEALTH_ANALYSIS` - 开放平台宠物健康分析\n\nFile v1.0.15:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.15:scripts/config.yaml\n\n{}\n\nFile v1.0.15:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.15:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.15:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.15:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.15:skill-card.md\n\n## Description:\n\nProvides preliminary stroke-risk screening from facial images or video and optional health indicators, with risk warnings and lifestyle and care guidance.\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\nPeople seeking preliminary screening can submit facial images or video and optional blood pressure, blood sugar, or blood lipid measurements to receive a risk report, suggested follow-up, and access to historical reports. Results are not a medical diagnosis.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Facial media and optional health indicators may be sent to lifeemergence.com services.\n\nMitigation: Obtain explicit consent before transfer and disclose what is shared, with whom, and under what privacy and retention terms.\n\nRisk: Account identifiers and report history may be created, reused, or stored without clear user awareness.\n\nMitigation: Disclose identity and storage behavior, define retention and deletion controls, and confirm before retrieving historical reports.\n\nRisk: Screening warnings may be mistaken for a clinical diagnosis or definitive stroke prediction.\n\nMitigation: Present results as preliminary screening only and direct users with concerning findings to a qualified clinician.\n\n## Reference(s):\n\n- [ClawHub skill listing](https://clawhub.ai/18072937735/skills/smyx-stroke-risk-screening-analysis)\n- [Skill demonstration](https://lifeemergence.com/sample.html)\n- [Bundled API reference (verify applicability)](artifact/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, Guidance]\n\n**Output Format:** [Structured report with risk findings, recommendations, and report links; optional JSON or saved file]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Can list historical reports; screening results do not replace clinical assessment.]\n\n## Skill Version(s):\n\n1.0.15 (source: ClawHub release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.15:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.15:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.14: 31 files, 41577 bytes\n\nFiles: references/api_doc.md (666b), scripts/__init__.py (31b), scripts/config.py (660b), scripts/config.yaml (3b), scripts/skill.py (576b), scripts/stroke_risk_screening_analysis.py (9742b), skill-card.md (2971b), SKILL.md (10848b), 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 (155b)\n\nFile v1.0.14:SKILL.md\n\n---\nname: \"stroke-risk-screening-analysis\"\ndescription: \"Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引\"\nversion: \"1.0.17\"\nlicense: \"MIT-0\"\n---\n\n# 🧠 Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **脑卒中风险筛查分析技能** |\n| 🎯 核心目标 | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `STROKE_RISK_SCREENING` |\n\nThis feature innovatively integrates the wisdom of TCM \"Wang Zhen\" (Inspection) with modern physiological monitoring\ntechnology to construct an early warning and intervention system for stroke. By utilizing high-precision cameras to\ncapture subtle facial characteristics—such as greenish-yellow or purplish-red complexion, swollen tongue body, and mouth\ndeviation—alongside real-time physiological indicators like blood pressure and Heart Rate Variability (HRV), the system\nemploys multimodal AI algorithms for comprehensive analysis. It accurately identifies high-risk constitutions, such as\nQi deficiency with phlegm-dampness or Qi and blood stasis, issuing graded warnings prior to a stroke event. Furthermore,\ngrounded in the theory of TCM syndrome differentiation and treatment, it provides users with personalized lifestyle\ninterventions (including dietary regulation and cold avoidance) and scientific medical guidance, truly realizing the\nleap in health management from \"treating existing diseases\" to \"treating potential diseases\" (preventive medicine).\n\n本功能创新性地将中医“望诊”智慧与现代生理监测技术深度融合，旨在构建一套脑卒中早期预警与干预系统。系统通过高精度摄像头捕捉面部微细特征，如面色青黄或紫红、舌体胖大、口角歪斜等中医“面象”与“舌象”信息，结合实时采集的血压、心率变异性等生理指标，利用多模态AI算法进行综合分析。系统能够精准识别气虚痰湿、气血瘀滞等高危体质倾向，在脑卒中发生前发出分级预警，并基于中医辨证施治理论，为用户提供个性化的饮食调理、起居避寒等生活干预建议及科学的就医指引，真正实现从“治已病”到“治未病”的健康管理跨越\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过面部视频图片结合生理指标进行脑卒中风险筛查，获取结构化的脑卒中风险筛查报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 面部特征辨识 |\n| 2 | 中风高危面相识别 |\n| 3 | 风险等级评估 |\n| 4 | 高危状态预警 |\n| 5 | 生活干预建议生成 |\n\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.stroke_risk_screening_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.stroke_risk_screening_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备面部素材 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行脑卒中风险筛查 | 调用 `-m scripts.stroke_risk_screening_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--media-type` | 媒体类型，可选值：video/image，默认 video | 按需填写 |\n| `--blood-pressure` | 血压值，格式：收缩压/舒张压，如 140/90（可选） | 按需填写 |\n| `--blood-sugar` | 空腹血糖值 mmol/L（可选） | 按需填写 |\n| `--blood-lipid` | 总胆固醇值 mmol/L（可选） | 按需填写 |\n| `--list` | 显示脑卒中风险筛查历史报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/stroke_risk_screening_analysis.py`](scripts/stroke_risk_screening_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：视频支持 mp4/avi/mov 格式，图片支持 jpg/png/jpeg 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本技能仅作健康风险筛查提示，不能替代专业医学检查和医生诊断，发现高危请及时就医 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📁 格式支持 | 当显示历史筛查报告清单的时候，从数据 json 中提取字段  作为超链接地址，使用 Markdown 表格格式输出，包含\" |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地面部视频\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face_video.mp4 --media-type video 分析本地面部照片，附带生理指标\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face.jpg --media-type image --blood-pressure 145/92 --blood-sugar 6.8 分析网络视频\npython -m scripts.stroke_risk_screening_analysis --url https://example.com/face_video.mp4 --media-type video 显示历史筛查报告/显示筛查报告清单列表/显示历史脑卒中报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.stroke_risk_screening_analysis --list\n\n# 输出精简报告\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --detail basic\n\n# 保存结果到文件\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --output result.json\n```\n\nFile v1.0.14:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-stroke-risk-screening-analysis\",\n  \"version\": \"1.0.14\",\n  \"publishedAt\": 1790154448406\n}\n\nFile v1.0.14:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放宠物健康分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/health-analysis/v2/start-health-analysis` - 启动健康分析任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_HEALTH_ANALYSIS` - 开放平台宠物健康分析\n\nFile v1.0.14:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.14:scripts/config.yaml\n\n{}\n\nFile v1.0.14:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.14:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.14:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.14:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.14:skill-card.md\n\n## Description:\n\nCombines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers use this skill to submit face images or videos with optional physiological indicators for stroke risk screening reports, risk warnings, lifestyle suggestions, medical guidance, and report history lookup.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Facial images or videos and health indicators are sent to LifeEmergence remote services.\n\nMitigation: Use only with appropriate consent and data-handling review, and ask the publisher for privacy, retention, deletion, and backend validation details before using sensitive personal or patient data.\n\nRisk: The skill may silently create or reuse a local or remote account identity for history and reports.\n\nMitigation: Review identity handling before deployment and avoid exposing internal identity values in user-facing output.\n\nRisk: The output is health screening guidance, not a medical diagnosis.\n\nMitigation: Present results as screening information only and direct users to professional medical evaluation for high-risk findings or clinical decisions.\n\nRisk: Backend documentation is inconsistent with the stroke-screening claims.\n\nMitigation: Validate the configured service endpoints and expected response fields with the publisher before production use.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-stroke-risk-screening-analysis)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [API documentation](references/api_doc.md)\n- [Shared analysis API documentation](skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, json, guidance]\n\n**Output Format:** [Markdown or JSON structured screening report; Markdown table or structured text for report history.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include risk levels, extracted findings, health warnings, lifestyle suggestions, medical guidance, and report links.]\n\n## Skill Version(s):\n\n1.0.14 (source: server release metadata; artifact frontmatter reports 1.0.17)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.14:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.14:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.13: 31 files, 41268 bytes\n\nFiles: references/api_doc.md (666b), scripts/__init__.py (31b), scripts/config.py (660b), scripts/config.yaml (3b), scripts/skill.py (576b), scripts/stroke_risk_screening_analysis.py (9742b), skill-card.md (2493b), SKILL.md (10848b), 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 (155b)\n\nFile v1.0.13:SKILL.md\n\n---\nname: \"stroke-risk-screening-analysis\"\ndescription: \"Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引\"\nversion: \"1.0.15\"\nlicense: \"MIT-0\"\n---\n\n# 🧠 Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **脑卒中风险筛查分析技能** |\n| 🎯 核心目标 | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `STROKE_RISK_SCREENING` |\n\nThis feature innovatively integrates the wisdom of TCM \"Wang Zhen\" (Inspection) with modern physiological monitoring\ntechnology to construct an early warning and intervention system for stroke. By utilizing high-precision cameras to\ncapture subtle facial characteristics—such as greenish-yellow or purplish-red complexion, swollen tongue body, and mouth\ndeviation—alongside real-time physiological indicators like blood pressure and Heart Rate Variability (HRV), the system\nemploys multimodal AI algorithms for comprehensive analysis. It accurately identifies high-risk constitutions, such as\nQi deficiency with phlegm-dampness or Qi and blood stasis, issuing graded warnings prior to a stroke event. Furthermore,\ngrounded in the theory of TCM syndrome differentiation and treatment, it provides users with personalized lifestyle\ninterventions (including dietary regulation and cold avoidance) and scientific medical guidance, truly realizing the\nleap in health management from \"treating existing diseases\" to \"treating potential diseases\" (preventive medicine).\n\n本功能创新性地将中医“望诊”智慧与现代生理监测技术深度融合，旨在构建一套脑卒中早期预警与干预系统。系统通过高精度摄像头捕捉面部微细特征，如面色青黄或紫红、舌体胖大、口角歪斜等中医“面象”与“舌象”信息，结合实时采集的血压、心率变异性等生理指标，利用多模态AI算法进行综合分析。系统能够精准识别气虚痰湿、气血瘀滞等高危体质倾向，在脑卒中发生前发出分级预警，并基于中医辨证施治理论，为用户提供个性化的饮食调理、起居避寒等生活干预建议及科学的就医指引，真正实现从“治已病”到“治未病”的健康管理跨越\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过面部视频图片结合生理指标进行脑卒中风险筛查，获取结构化的脑卒中风险筛查报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 面部特征辨识 |\n| 2 | 中风高危面相识别 |\n| 3 | 风险等级评估 |\n| 4 | 高危状态预警 |\n| 5 | 生活干预建议生成 |\n\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.stroke_risk_screening_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.stroke_risk_screening_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备面部素材 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行脑卒中风险筛查 | 调用 `-m scripts.stroke_risk_screening_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--media-type` | 媒体类型，可选值：video/image，默认 video | 按需填写 |\n| `--blood-pressure` | 血压值，格式：收缩压/舒张压，如 140/90（可选） | 按需填写 |\n| `--blood-sugar` | 空腹血糖值 mmol/L（可选） | 按需填写 |\n| `--blood-lipid` | 总胆固醇值 mmol/L（可选） | 按需填写 |\n| `--list` | 显示脑卒中风险筛查历史报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/stroke_risk_screening_analysis.py`](scripts/stroke_risk_screening_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：视频支持 mp4/avi/mov 格式，图片支持 jpg/png/jpeg 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本技能仅作健康风险筛查提示，不能替代专业医学检查和医生诊断，发现高危请及时就医 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📁 格式支持 | 当显示历史筛查报告清单的时候，从数据 json 中提取字段  作为超链接地址，使用 Markdown 表格格式输出，包含\" |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地面部视频\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face_video.mp4 --media-type video 分析本地面部照片，附带生理指标\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face.jpg --media-type image --blood-pressure 145/92 --blood-sugar 6.8 分析网络视频\npython -m scripts.stroke_risk_screening_analysis --url https://example.com/face_video.mp4 --media-type video 显示历史筛查报告/显示筛查报告清单列表/显示历史脑卒中报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.stroke_risk_screening_analysis --list\n\n# 输出精简报告\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --detail basic\n\n# 保存结果到文件\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --output result.json\n```\n\nFile v1.0.13:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-stroke-risk-screening-analysis\",\n  \"version\": \"1.0.13\",\n  \"publishedAt\": 1789473030559\n}\n\nFile v1.0.13:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放宠物健康分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/health-analysis/v2/start-health-analysis` - 启动健康分析任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_HEALTH_ANALYSIS` - 开放平台宠物健康分析\n\nFile v1.0.13:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.13:scripts/config.yaml\n\n{}\n\nFile v1.0.13:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.13:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.13:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.13:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: dev\n\nFile v1.0.13:skill-card.md\n\n## Description:\n\nAnalyzes face images or videos with optional physiological indicators to generate stroke risk screening reports, early warnings, lifestyle suggestions, and medical guidance.\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 health-oriented application developers use this skill to run cloud-backed stroke risk screening from face media and optional blood pressure, blood sugar, and blood lipid values. The skill returns structured risk information, health warnings, lifestyle suggestions, medical guidance, and historical report lists.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill handles facial media and health indicators through cloud services.\n\nMitigation: Use only with clear privacy terms, informed consent, and production HTTPS-only service configuration.\n\nRisk: The skill silently creates or reuses an internal identity and associates historical reports with that identity.\n\nMitigation: Confirm identity handling, retention, and access controls before deployment, and avoid exposing internal identity values to users.\n\nRisk: The security evidence reports local token storage and shipped development HTTP configuration.\n\nMitigation: Require protected credential storage and verified production endpoints before normal use.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/18072937735/skills/smyx-stroke-risk-screening-analysis)\n- [Skill Demo](https://lifeemergence.com/sample.html)\n- [API Interface Documentation](artifact/references/api_doc.md)\n- [Shared Analysis API Documentation](artifact/skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, JSON, Shell commands, Guidance]\n\n**Output Format:** [Markdown reports and JSON analysis output, with optional saved text output]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include report links returned by the cloud service; supports basic, standard, and json detail levels.]\n\n## Skill Version(s):\n\n1.0.13 (source: server release metadata; artifact frontmatter reports 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.13:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.13:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.12: 31 files, 41521 bytes\n\nFiles: references/api_doc.md (666b), scripts/__init__.py (31b), scripts/config.py (660b), scripts/config.yaml (3b), scripts/skill.py (576b), scripts/stroke_risk_screening_analysis.py (9742b), skill-card.md (3152b), SKILL.md (10848b), 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 (155b)\n\nFile v1.0.12:SKILL.md\n\n---\nname: \"stroke-risk-screening-analysis\"\ndescription: \"Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引\"\nversion: \"1.0.14\"\nlicense: \"MIT-0\"\n---\n\n# 🧠 Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **脑卒中风险筛查分析技能** |\n| 🎯 核心目标 | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `STROKE_RISK_SCREENING` |\n\nThis feature innovatively integrates the wisdom of TCM \"Wang Zhen\" (Inspection) with modern physiological monitoring\ntechnology to construct an early warning and intervention system for stroke. By utilizing high-precision cameras to\ncapture subtle facial characteristics—such as greenish-yellow or purplish-red complexion, swollen tongue body, and mouth\ndeviation—alongside real-time physiological indicators like blood pressure and Heart Rate Variability (HRV), the system\nemploys multimodal AI algorithms for comprehensive analysis. It accurately identifies high-risk constitutions, such as\nQi deficiency with phlegm-dampness or Qi and blood stasis, issuing graded warnings prior to a stroke event. Furthermore,\ngrounded in the theory of TCM syndrome differentiation and treatment, it provides users with personalized lifestyle\ninterventions (including dietary regulation and cold avoidance) and scientific medical guidance, truly realizing the\nleap in health management from \"treating existing diseases\" to \"treating potential diseases\" (preventive medicine).\n\n本功能创新性地将中医“望诊”智慧与现代生理监测技术深度融合，旨在构建一套脑卒中早期预警与干预系统。系统通过高精度摄像头捕捉面部微细特征，如面色青黄或紫红、舌体胖大、口角歪斜等中医“面象”与“舌象”信息，结合实时采集的血压、心率变异性等生理指标，利用多模态AI算法进行综合分析。系统能够精准识别气虚痰湿、气血瘀滞等高危体质倾向，在脑卒中发生前发出分级预警，并基于中医辨证施治理论，为用户提供个性化的饮食调理、起居避寒等生活干预建议及科学的就医指引，真正实现从“治已病”到“治未病”的健康管理跨越\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过面部视频图片结合生理指标进行脑卒中风险筛查，获取结构化的脑卒中风险筛查报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 面部特征辨识 |\n| 2 | 中风高危面相识别 |\n| 3 | 风险等级评估 |\n| 4 | 高危状态预警 |\n| 5 | 生活干预建议生成 |\n\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.stroke_risk_screening_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.stroke_risk_screening_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备面部素材 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行脑卒中风险筛查 | 调用 `-m scripts.stroke_risk_screening_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--media-type` | 媒体类型，可选值：video/image，默认 video | 按需填写 |\n| `--blood-pressure` | 血压值，格式：收缩压/舒张压，如 140/90（可选） | 按需填写 |\n| `--blood-sugar` | 空腹血糖值 mmol/L（可选） | 按需填写 |\n| `--blood-lipid` | 总胆固醇值 mmol/L（可选） | 按需填写 |\n| `--list` | 显示脑卒中风险筛查历史报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/stroke_risk_screening_analysis.py`](scripts/stroke_risk_screening_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：视频支持 mp4/avi/mov 格式，图片支持 jpg/png/jpeg 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本技能仅作健康风险筛查提示，不能替代专业医学检查和医生诊断，发现高危请及时就医 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📁 格式支持 | 当显示历史筛查报告清单的时候，从数据 json 中提取字段  作为超链接地址，使用 Markdown 表格格式输出，包含\" |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地面部视频\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face_video.mp4 --media-type video 分析本地面部照片，附带生理指标\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face.jpg --media-type image --blood-pressure 145/92 --blood-sugar 6.8 分析网络视频\npython -m scripts.stroke_risk_screening_analysis --url https://example.com/face_video.mp4 --media-type video 显示历史筛查报告/显示筛查报告清单列表/显示历史脑卒中报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.stroke_risk_screening_analysis --list\n\n# 输出精简报告\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --detail basic\n\n# 保存结果到文件\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --output result.json\n```\n\nFile v1.0.12:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-stroke-risk-screening-analysis\",\n  \"version\": \"1.0.12\",\n  \"publishedAt\": 1788101012127\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/health-analysis/v2/start-health-analysis` - 启动健康分析任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_HEALTH_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 TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance.\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 health-oriented application agents use this skill to screen stroke risk from facial images or videos with optional physiological indicators, then receive a structured risk report, lifestyle suggestions, medical guidance, and report links. The output is a screening aid and does not replace professional medical examination or diagnosis.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill sends facial images or videos, optional physiological values, and an internally resolved user identity to a configured backend service.\n\nMitigation: Use only after an explicit privacy and consent review, confirm the backend operator and data-handling terms, and avoid sensitive real-user media during evaluation.\n\nRisk: The skill can silently create or reuse identities and persist tokens or profile data in the workspace data directory.\n\nMitigation: Run it in an isolated workspace, review and delete stored local data after use, and require clear account-linkage and token-deletion controls before production deployment.\n\nRisk: The artifact includes dev/private endpoint defaults and documentation that still references pet-health analysis rather than stroke screening.\n\nMitigation: Require a reviewed production configuration and corrected documentation before release or installation in a user-facing environment.\n\nRisk: The generated stroke risk report is a screening aid and may be mistaken for a medical diagnosis.\n\nMitigation: Present results as health-risk screening only, keep the non-diagnostic disclaimer visible, and direct high-risk users to professional medical care.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-stroke-risk-screening-analysis)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [API interface documentation](artifact/references/api_doc.md)\n- [Analysis API interface documentation](artifact/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 and JSON-style structured analysis reports with optional report export links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Can print a basic, standard, or JSON-detail report; historical report queries return structured records.]\n\n## Skill Version(s):\n\n1.0.12 (source: server release evidence; artifact frontmatter reports 1.0.14)\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, 41294 bytes\n\nFiles: references/api_doc.md (666b), scripts/__init__.py (31b), scripts/config.py (660b), scripts/config.yaml (3b), scripts/skill.py (576b), scripts/stroke_risk_screening_analysis.py (9742b), skill-card.md (2546b), SKILL.md (10848b), 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 (155b)\n\nFile v1.0.11:SKILL.md\n\n---\nname: \"stroke-risk-screening-analysis\"\ndescription: \"Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引\"\nversion: \"1.0.12\"\nlicense: \"MIT-0\"\n---\n\n# 🧠 Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **脑卒中风险筛查分析技能** |\n| 🎯 核心目标 | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `STROKE_RISK_SCREENING` |\n\nThis feature innovatively integrates the wisdom of TCM \"Wang Zhen\" (Inspection) with modern physiological monitoring\ntechnology to construct an early warning and intervention system for stroke. By utilizing high-precision cameras to\ncapture subtle facial characteristics—such as greenish-yellow or purplish-red complexion, swollen tongue body, and mouth\ndeviation—alongside real-time physiological indicators like blood pressure and Heart Rate Variability (HRV), the system\nemploys multimodal AI algorithms for comprehensive analysis. It accurately identifies high-risk constitutions, such as\nQi deficiency with phlegm-dampness or Qi and blood stasis, issuing graded warnings prior to a stroke event. Furthermore,\ngrounded in the theory of TCM syndrome differentiation and treatment, it provides users with personalized lifestyle\ninterventions (including dietary regulation and cold avoidance) and scientific medical guidance, truly realizing the\nleap in health management from \"treating existing diseases\" to \"treating potential diseases\" (preventive medicine).\n\n本功能创新性地将中医“望诊”智慧与现代生理监测技术深度融合，旨在构建一套脑卒中早期预警与干预系统。系统通过高精度摄像头捕捉面部微细特征，如面色青黄或紫红、舌体胖大、口角歪斜等中医“面象”与“舌象”信息，结合实时采集的血压、心率变异性等生理指标，利用多模态AI算法进行综合分析。系统能够精准识别气虚痰湿、气血瘀滞等高危体质倾向，在脑卒中发生前发出分级预警，并基于中医辨证施治理论，为用户提供个性化的饮食调理、起居避寒等生活干预建议及科学的就医指引，真正实现从“治已病”到“治未病”的健康管理跨越\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过面部视频图片结合生理指标进行脑卒中风险筛查，获取结构化的脑卒中风险筛查报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 面部特征辨识 |\n| 2 | 中风高危面相识别 |\n| 3 | 风险等级评估 |\n| 4 | 高危状态预警 |\n| 5 | 生活干预建议生成 |\n\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.stroke_risk_screening_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.stroke_risk_screening_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备面部素材 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行脑卒中风险筛查 | 调用 `-m scripts.stroke_risk_screening_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--media-type` | 媒体类型，可选值：video/image，默认 video | 按需填写 |\n| `--blood-pressure` | 血压值，格式：收缩压/舒张压，如 140/90（可选） | 按需填写 |\n| `--blood-sugar` | 空腹血糖值 mmol/L（可选） | 按需填写 |\n| `--blood-lipid` | 总胆固醇值 mmol/L（可选） | 按需填写 |\n| `--list` | 显示脑卒中风险筛查历史报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/stroke_risk_screening_analysis.py`](scripts/stroke_risk_screening_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：视频支持 mp4/avi/mov 格式，图片支持 jpg/png/jpeg 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本技能仅作健康风险筛查提示，不能替代专业医学检查和医生诊断，发现高危请及时就医 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📁 格式支持 | 当显示历史筛查报告清单的时候，从数据 json 中提取字段  作为超链接地址，使用 Markdown 表格格式输出，包含\" |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地面部视频\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face_video.mp4 --media-type video 分析本地面部照片，附带生理指标\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face.jpg --media-type image --blood-pressure 145/92 --blood-sugar 6.8 分析网络视频\npython -m scripts.stroke_risk_screening_analysis --url https://example.com/face_video.mp4 --media-type video 显示历史筛查报告/显示筛查报告清单列表/显示历史脑卒中报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.stroke_risk_screening_analysis --list\n\n# 输出精简报告\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --detail basic\n\n# 保存结果到文件\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --output result.json\n```\n\nFile v1.0.11:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-stroke-risk-screening-analysis\",\n  \"version\": \"1.0.11\",\n  \"publishedAt\": 1787391208592\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/health-analysis/v2/start-health-analysis` - 启动健康分析任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_HEALTH_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 TCM facial feature recognition with physiological indicators to screen face images or videos for stroke risk signals, return structured reports, and provide lifestyle and medical guidance.\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 agents use this skill to submit face images or videos, optionally with blood pressure, blood sugar, or blood lipid values, and receive a structured stroke risk screening report. The skill can also query the user's cloud report history and return report records.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Sensitive face images, videos, physiological indicators, and report queries are sent to configured LifeEmergence services.\n\nMitigation: Use the skill only with informed user consent, approved public endpoints, and confirmed privacy, retention, deletion, and authorization practices.\n\nRisk: The skill silently creates or reuses a persistent user identity and can retrieve cloud report history.\n\nMitigation: Limit access to trusted agents and workspaces, review identity handling before deployment, and verify that report history access matches the user's authorization.\n\nRisk: Stroke risk screening output could be mistaken for diagnosis or emergency medical advice.\n\nMitigation: Present results as screening guidance only and direct high-risk or symptomatic users to professional medical care.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-stroke-risk-screening-analysis)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [API reference](artifact/references/api_doc.md)\n- [SMYX analysis API reference](artifact/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 reports, with optional report links and history tables]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May write a requested output file and may include cloud report export URLs.]\n\n## Skill Version(s):\n\n1.0.11 (source: server release metadata; artifact frontmatter says 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.11:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.11:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.10: 31 files, 41390 bytes\n\nFiles: references/api_doc.md (666b), scripts/__init__.py (31b), scripts/config.py (660b), scripts/config.yaml (3b), scripts/skill.py (576b), scripts/stroke_risk_screening_analysis.py (9742b), skill-card.md (2791b), SKILL.md (10848b), 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 (155b)\n\nFile v1.0.10:SKILL.md\n\n---\nname: \"stroke-risk-screening-analysis\"\ndescription: \"Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引\"\nversion: \"1.0.12\"\nlicense: \"MIT-0\"\n---\n\n# 🧠 Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **脑卒中风险筛查分析技能** |\n| 🎯 核心目标 | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `STROKE_RISK_SCREENING` |\n\nThis feature innovatively integrates the wisdom of TCM \"Wang Zhen\" (Inspection) with modern physiological monitoring\ntechnology to construct an early warning and intervention system for stroke. By utilizing high-precision cameras to\ncapture subtle facial characteristics—such as greenish-yellow or purplish-red complexion, swollen tongue body, and mouth\ndeviation—alongside real-time physiological indicators like blood pressure and Heart Rate Variability (HRV), the system\nemploys multimodal AI algorithms for comprehensive analysis. It accurately identifies high-risk constitutions, such as\nQi deficiency with phlegm-dampness or Qi and blood stasis, issuing graded warnings prior to a stroke event. Furthermore,\ngrounded in the theory of TCM syndrome differentiation and treatment, it provides users with personalized lifestyle\ninterventions (including dietary regulation and cold avoidance) and scientific medical guidance, truly realizing the\nleap in health management from \"treating existing diseases\" to \"treating potential diseases\" (preventive medicine).\n\n本功能创新性地将中医“望诊”智慧与现代生理监测技术深度融合，旨在构建一套脑卒中早期预警与干预系统。系统通过高精度摄像头捕捉面部微细特征，如面色青黄或紫红、舌体胖大、口角歪斜等中医“面象”与“舌象”信息，结合实时采集的血压、心率变异性等生理指标，利用多模态AI算法进行综合分析。系统能够精准识别气虚痰湿、气血瘀滞等高危体质倾向，在脑卒中发生前发出分级预警，并基于中医辨证施治理论，为用户提供个性化的饮食调理、起居避寒等生活干预建议及科学的就医指引，真正实现从“治已病”到“治未病”的健康管理跨越\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过面部视频图片结合生理指标进行脑卒中风险筛查，获取结构化的脑卒中风险筛查报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 面部特征辨识 |\n| 2 | 中风高危面相识别 |\n| 3 | 风险等级评估 |\n| 4 | 高危状态预警 |\n| 5 | 生活干预建议生成 |\n\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.stroke_risk_screening_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.stroke_risk_screening_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备面部素材 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行脑卒中风险筛查 | 调用 `-m scripts.stroke_risk_screening_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--media-type` | 媒体类型，可选值：video/image，默认 video | 按需填写 |\n| `--blood-pressure` | 血压值，格式：收缩压/舒张压，如 140/90（可选） | 按需填写 |\n| `--blood-sugar` | 空腹血糖值 mmol/L（可选） | 按需填写 |\n| `--blood-lipid` | 总胆固醇值 mmol/L（可选） | 按需填写 |\n| `--list` | 显示脑卒中风险筛查历史报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/stroke_risk_screening_analysis.py`](scripts/stroke_risk_screening_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：视频支持 mp4/avi/mov 格式，图片支持 jpg/png/jpeg 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本技能仅作健康风险筛查提示，不能替代专业医学检查和医生诊断，发现高危请及时就医 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📁 格式支持 | 当显示历史筛查报告清单的时候，从数据 json 中提取字段  作为超链接地址，使用 Markdown 表格格式输出，包含\" |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地面部视频\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face_video.mp4 --media-type video 分析本地面部照片，附带生理指标\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face.jpg --media-type image --blood-pressure 145/92 --blood-sugar 6.8 分析网络视频\npython -m scripts.stroke_risk_screening_analysis --url https://example.com/face_video.mp4 --media-type video 显示历史筛查报告/显示筛查报告清单列表/显示历史脑卒中报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.stroke_risk_screening_analysis --list\n\n# 输出精简报告\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --detail basic\n\n# 保存结果到文件\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --output result.json\n```\n\nFile v1.0.10:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-stroke-risk-screening-analysis\",\n  \"version\": \"1.0.10\",\n  \"publishedAt\": 1786423664929\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/health-analysis/v2/start-health-analysis` - 启动健康分析任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_HEALTH_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\nCombines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance.\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 agent operators use this skill to screen stroke risk from face images or video plus optional physiological indicators, then receive a structured report with risk level, warning signals, intervention suggestions, medical guidance, and report links.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill handles sensitive face, video, and health information and sends it to external services.\n\nMitigation: Install only in environments where users have consented to this processing and where the publisher and backend service are trusted for health-data handling.\n\nRisk: The skill can create or reuse a backend identity and store authentication tokens locally.\n\nMitigation: Review local token storage and workspace access controls before deployment, and remove stored credentials when the skill is no longer needed.\n\nRisk: Historical report links can be fetched from the cloud when users trigger report-list phrases.\n\nMitigation: Restrict use to authorized users and confirm that cloud report access matches the intended user identity.\n\nRisk: Stroke risk screening output could be mistaken for a medical diagnosis.\n\nMitigation: Present results as screening guidance only and direct high-risk users to professional medical evaluation.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-stroke-risk-screening-analysis)\n- [Publisher profile](https://clawhub.ai/user/18072937735)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [API document](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 optional report links and saved output files]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Analysis can include risk level, risk score, extracted facial features, health warnings, lifestyle suggestions, medical guidance, and historical report entries.]\n\n## Skill Version(s):\n\n1.0.10 (source: server release metadata; artifact frontmatter states 1.0.12)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.10:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.10:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.9: 31 files, 41404 bytes\n\nFiles: references/api_doc.md (666b), scripts/__init__.py (31b), scripts/config.py (660b), scripts/config.yaml (3b), scripts/skill.py (576b), scripts/stroke_risk_screening_analysis.py (9742b), skill-card.md (2980b), SKILL.md (10848b), 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 (154b)\n\nFile v1.0.9:SKILL.md\n\n---\nname: \"stroke-risk-screening-analysis\"\ndescription: \"Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引\"\nversion: \"1.0.11\"\nlicense: \"MIT-0\"\n---\n\n# 🧠 Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **脑卒中风险筛查分析技能** |\n| 🎯 核心目标 | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `STROKE_RISK_SCREENING` |\n\nThis feature innovatively integrates the wisdom of TCM \"Wang Zhen\" (Inspection) with modern physiological monitoring\ntechnology to construct an early warning and intervention system for stroke. By utilizing high-precision cameras to\ncapture subtle facial characteristics—such as greenish-yellow or purplish-red complexion, swollen tongue body, and mouth\ndeviation—alongside real-time physiological indicators like blood pressure and Heart Rate Variability (HRV), the system\nemploys multimodal AI algorithms for comprehensive analysis. It accurately identifies high-risk constitutions, such as\nQi deficiency with phlegm-dampness or Qi and blood stasis, issuing graded warnings prior to a stroke event. Furthermore,\ngrounded in the theory of TCM syndrome differentiation and treatment, it provides users with personalized lifestyle\ninterventions (including dietary regulation and cold avoidance) and scientific medical guidance, truly realizing the\nleap in health management from \"treating existing diseases\" to \"treating potential diseases\" (preventive medicine).\n\n本功能创新性地将中医“望诊”智慧与现代生理监测技术深度融合，旨在构建一套脑卒中早期预警与干预系统。系统通过高精度摄像头捕捉面部微细特征，如面色青黄或紫红、舌体胖大、口角歪斜等中医“面象”与“舌象”信息，结合实时采集的血压、心率变异性等生理指标，利用多模态AI算法进行综合分析。系统能够精准识别气虚痰湿、气血瘀滞等高危体质倾向，在脑卒中发生前发出分级预警，并基于中医辨证施治理论，为用户提供个性化的饮食调理、起居避寒等生活干预建议及科学的就医指引，真正实现从“治已病”到“治未病”的健康管理跨越\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过面部视频图片结合生理指标进行脑卒中风险筛查，获取结构化的脑卒中风险筛查报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 面部特征辨识 |\n| 2 | 中风高危面相识别 |\n| 3 | 风险等级评估 |\n| 4 | 高危状态预警 |\n| 5 | 生活干预建议生成 |\n\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.stroke_risk_screening_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.stroke_risk_screening_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备面部素材 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行脑卒中风险筛查 | 调用 `-m scripts.stroke_risk_screening_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--media-type` | 媒体类型，可选值：video/image，默认 video | 按需填写 |\n| `--blood-pressure` | 血压值，格式：收缩压/舒张压，如 140/90（可选） | 按需填写 |\n| `--blood-sugar` | 空腹血糖值 mmol/L（可选） | 按需填写 |\n| `--blood-lipid` | 总胆固醇值 mmol/L（可选） | 按需填写 |\n| `--list` | 显示脑卒中风险筛查历史报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/stroke_risk_screening_analysis.py`](scripts/stroke_risk_screening_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：视频支持 mp4/avi/mov 格式，图片支持 jpg/png/jpeg 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本技能仅作健康风险筛查提示，不能替代专业医学检查和医生诊断，发现高危请及时就医 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📁 格式支持 | 当显示历史筛查报告清单的时候，从数据 json 中提取字段  作为超链接地址，使用 Markdown 表格格式输出，包含\" |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地面部视频\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face_video.mp4 --media-type video 分析本地面部照片，附带生理指标\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face.jpg --media-type image --blood-pressure 145/92 --blood-sugar 6.8 分析网络视频\npython -m scripts.stroke_risk_screening_analysis --url https://example.com/face_video.mp4 --media-type video 显示历史筛查报告/显示筛查报告清单列表/显示历史脑卒中报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.stroke_risk_screening_analysis --list\n\n# 输出精简报告\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --detail basic\n\n# 保存结果到文件\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --output result.json\n```\n\nFile v1.0.9:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-stroke-risk-screening-analysis\",\n  \"version\": \"1.0.9\",\n  \"publishedAt\": 1785737133681\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/health-analysis/v2/start-health-analysis` - 启动健康分析任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_HEALTH_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 TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. <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 analyze face images or videos, optionally with physiological indicators, for stroke-risk screening reports, lifestyle intervention suggestions, medical guidance, and cloud report-history lookup. The generated health guidance is screening support and does not replace professional medical examination or diagnosis. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: The skill handles sensitive face images or videos, health indicators, and report-history requests through configured Life Emergence cloud services. <br>\nMitigation: Use it only after confirming the provider's privacy, retention, deletion, and account-linking practices, and obtain appropriate user consent before sending real medical data. <br>\nRisk: The skill may create or reuse a persistent local identity and tokens for account-linked report access. <br>\nMitigation: Review identity and token storage before installation, remove stale credentials when no longer needed, and prefer explicit confirmation before retrieving historical reports. <br>\nRisk: Stroke-risk screening output could be mistaken for a medical diagnosis. <br>\nMitigation: Present results as screening guidance only and direct users to professional medical examination or urgent care when high-risk signs are reported. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-stroke-risk-screening-analysis) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n- [API documentation](references/api_doc.md) <br>\n- [Smyx analysis API documentation](skills/smyx_analysis/references/api_doc.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, JSON, files, guidance] <br>\n**Output Format:** [Markdown or JSON screening report, with optional saved report file] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May include risk level, risk score, facial-feature observations, health warnings, lifestyle suggestions, medical guidance, report links, and report-history tables.] <br>\n\n## Skill Version(s): <br>\n1.0.9 (source: server release metadata; artifact SKILL.md frontmatter says 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, 41355 bytes\n\nFiles: references/api_doc.md (666b), scripts/__init__.py (31b), scripts/config.py (660b), scripts/config.yaml (3b), scripts/skill.py (576b), scripts/stroke_risk_screening_analysis.py (9742b), skill-card.md (2734b), SKILL.md (10848b), 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 (154b)\n\nFile v1.0.8:SKILL.md\n\n---\nname: \"stroke-risk-screening-analysis\"\ndescription: \"Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引\"\nversion: \"1.0.11\"\nlicense: \"MIT-0\"\n---\n\n# 🧠 Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **脑卒中风险筛查分析技能** |\n| 🎯 核心目标 | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `STROKE_RISK_SCREENING` |\n\nThis feature innovatively integrates the wisdom of TCM \"Wang Zhen\" (Inspection) with modern physiological monitoring\ntechnology to construct an early warning and intervention system for stroke. By utilizing high-precision cameras to\ncapture subtle facial characteristics—such as greenish-yellow or purplish-red complexion, swollen tongue body, and mouth\ndeviation—alongside real-time physiological indicators like blood pressure and Heart Rate Variability (HRV), the system\nemploys multimodal AI algorithms for comprehensive analysis. It accurately identifies high-risk constitutions, such as\nQi deficiency with phlegm-dampness or Qi and blood stasis, issuing graded warnings prior to a stroke event. Furthermore,\ngrounded in the theory of TCM syndrome differentiation and treatment, it provides users with personalized lifestyle\ninterventions (including dietary regulation and cold avoidance) and scientific medical guidance, truly realizing the\nleap in health management from \"treating existing diseases\" to \"treating potential diseases\" (preventive medicine).\n\n本功能创新性地将中医“望诊”智慧与现代生理监测技术深度融合，旨在构建一套脑卒中早期预警与干预系统。系统通过高精度摄像头捕捉面部微细特征，如面色青黄或紫红、舌体胖大、口角歪斜等中医“面象”与“舌象”信息，结合实时采集的血压、心率变异性等生理指标，利用多模态AI算法进行综合分析。系统能够精准识别气虚痰湿、气血瘀滞等高危体质倾向，在脑卒中发生前发出分级预警，并基于中医辨证施治理论，为用户提供个性化的饮食调理、起居避寒等生活干预建议及科学的就医指引，真正实现从“治已病”到“治未病”的健康管理跨越\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过面部视频图片结合生理指标进行脑卒中风险筛查，获取结构化的脑卒中风险筛查报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 面部特征辨识 |\n| 2 | 中风高危面相识别 |\n| 3 | 风险等级评估 |\n| 4 | 高危状态预警 |\n| 5 | 生活干预建议生成 |\n\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.stroke_risk_screening_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.stroke_risk_screening_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备面部素材 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行脑卒中风险筛查 | 调用 `-m scripts.stroke_risk_screening_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--media-type` | 媒体类型，可选值：video/image，默认 video | 按需填写 |\n| `--blood-pressure` | 血压值，格式：收缩压/舒张压，如 140/90（可选） | 按需填写 |\n| `--blood-sugar` | 空腹血糖值 mmol/L（可选） | 按需填写 |\n| `--blood-lipid` | 总胆固醇值 mmol/L（可选） | 按需填写 |\n| `--list` | 显示脑卒中风险筛查历史报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/stroke_risk_screening_analysis.py`](scripts/stroke_risk_screening_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：视频支持 mp4/avi/mov 格式，图片支持 jpg/png/jpeg 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本技能仅作健康风险筛查提示，不能替代专业医学检查和医生诊断，发现高危请及时就医 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📁 格式支持 | 当显示历史筛查报告清单的时候，从数据 json 中提取字段  作为超链接地址，使用 Markdown 表格格式输出，包含\" |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地面部视频\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face_video.mp4 --media-type video 分析本地面部照片，附带生理指标\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face.jpg --media-type image --blood-pressure 145/92 --blood-sugar 6.8 分析网络视频\npython -m scripts.stroke_risk_screening_analysis --url https://example.com/face_video.mp4 --media-type video 显示历史筛查报告/显示筛查报告清单列表/显示历史脑卒中报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.stroke_risk_screening_analysis --list\n\n# 输出精简报告\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --detail basic\n\n# 保存结果到文件\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --output result.json\n```\n\nFile v1.0.8:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-stroke-risk-screening-analysis\",\n  \"version\": \"1.0.8\",\n  \"publishedAt\": 1785552269146\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/health-analysis/v2/start-health-analysis` - 启动健康分析任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_HEALTH_ANALYSIS` - 开放平台宠物健康分析\n\nFile v1.0.8:skills/smyx_analysis/references/api_doc.md\n\n# API接口文档\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 错误码说明\n\n| 错误码 | 说明       |\n|-----|----------|\n| 400 | 请求参数错误   |\n| 401 | API密钥无效  |\n| 403 | 权限不足     |\n| 413 | 文件过大     |\n| 415 | 不支持的文件格式 |\n| 500 | 服务器内部错误  |\n\nFile v1.0.8:scripts/config.yaml\n\n{}\n\nFile v1.0.8:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.8:skills/smyx_common/scripts/config-dev.yaml\n\nApiEnum:\n  base-url-open-api: \"http://192.168.1.234:9601/smyx-open-api\"\n  base-url-open-h5: \"http://192.168.1.234:4100\"\n  base-url-health: \"http://192.168.1.234:7070/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.8:skills/smyx_common/scripts/config-test.yaml\n\nApiEnum:\n  base-url-open-api: \"https://livemonitortest.lifeemergence.com/smyx-open-api\"\n  base-url-open-h5: \"http://livemonitortest.lifeemergence.com\"\n  base-url-health: \"https://healthtest.lifeemergence.com/jeecg-boot-xzgz\"\n\nConstantEnum:\n  is-debug: true\n\nFile v1.0.8:skills/smyx_common/scripts/config.yaml\n\nApiEnum:\n  api-key: null\n  api-secret-key: null\n  base-url-health: https://lifeemergence.com/jeecg-boot-xzgz\n  base-url-open-api: https://open.lifeemergence.com/smyx-open-api\n  base-url-open-h5: http://livemonitor.lifeemergence.com\n  database-url: null\nConstantEnum:\n  app--id: x1a3s4nwy1s2r4se\n  current--tentant-code: XIAN_ZHAO_GAN_ZHI\n  default--skill-platform-name: ARK_CLAW\n  feishu-app--id: cli_a93d769369badcb1\n  feishu-app--secret: null\n  is-debug: false\nenv: prod\n\nFile v1.0.8:skill-card.md\n\n## Description: <br>\nAnalyzes face images or videos with optional physiological indicators to produce stroke-risk screening reports, warnings, lifestyle suggestions, and medical guidance. <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 health-support agents use this skill to screen stroke risk from face media plus optional blood pressure, blood sugar, and lipid values, returning a structured report and report-history links. Outputs are screening guidance only and are not a medical diagnosis. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: The skill handles facial media or URLs, health measurements, report-history requests, and identity tokens through the Life Emergence cloud service. <br>\nMitigation: Use only where the service privacy, retention, and medical-use terms are acceptable; avoid sensitive media unless authorized and clear local workspace data or tokens when identity reuse is not desired. <br>\nRisk: Stroke-risk screening output may be mistaken for a clinical diagnosis. <br>\nMitigation: Treat outputs as screening information only and seek professional medical evaluation for high-risk or concerning results. <br>\nRisk: ClawHub security evidence flags the release as suspicious because health data and identity handling are automatic and under-disclosed. <br>\nMitigation: Review before installing, confirm cloud endpoint configuration and data handling, and restrict use to approved environments. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-stroke-risk-screening-analysis) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n- [API interface reference](artifact/references/api_doc.md) <br>\n- [Shared API interface reference](artifact/skills/smyx_analysis/references/api_doc.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, JSON, shell commands, guidance] <br>\n**Output Format:** [Markdown or JSON structured screening report with report links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May include cloud report-history listings and report export links when available.] <br>\n\n## Skill Version(s): <br>\n1.0.8 (source: ClawHub release metadata; artifact frontmatter reports 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.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, 41372 bytes\n\nFiles: references/api_doc.md (666b), scripts/__init__.py (31b), scripts/config.py (660b), scripts/config.yaml (3b), scripts/skill.py (576b), scripts/stroke_risk_screening_analysis.py (9742b), skill-card.md (2806b), SKILL.md (10847b), 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 (154b)\n\nFile v1.0.7:SKILL.md\n\n---\nname: \"stroke-risk-screening-analysis\"\ndescription: \"Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引\"\nversion: \"1.0.8\"\nlicense: \"MIT-0\"\n---\n\n# 🧠 Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **脑卒中风险筛查分析技能** |\n| 🎯 核心目标 | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `STROKE_RISK_SCREENING` |\n\nThis feature innovatively integrates the wisdom of TCM \"Wang Zhen\" (Inspection) with modern physiological monitoring\ntechnology to construct an early warning and intervention system for stroke. By utilizing high-precision cameras to\ncapture subtle facial characteristics—such as greenish-yellow or purplish-red complexion, swollen tongue body, and mouth\ndeviation—alongside real-time physiological indicators like blood pressure and Heart Rate Variability (HRV), the system\nemploys multimodal AI algorithms for comprehensive analysis. It accurately identifies high-risk constitutions, such as\nQi deficiency with phlegm-dampness or Qi and blood stasis, issuing graded warnings prior to a stroke event. Furthermore,\ngrounded in the theory of TCM syndrome differentiation and treatment, it provides users with personalized lifestyle\ninterventions (including dietary regulation and cold avoidance) and scientific medical guidance, truly realizing the\nleap in health management from \"treating existing diseases\" to \"treating potential diseases\" (preventive medicine).\n\n本功能创新性地将中医“望诊”智慧与现代生理监测技术深度融合，旨在构建一套脑卒中早期预警与干预系统。系统通过高精度摄像头捕捉面部微细特征，如面色青黄或紫红、舌体胖大、口角歪斜等中医“面象”与“舌象”信息，结合实时采集的血压、心率变异性等生理指标，利用多模态AI算法进行综合分析。系统能够精准识别气虚痰湿、气血瘀滞等高危体质倾向，在脑卒中发生前发出分级预警，并基于中医辨证施治理论，为用户提供个性化的饮食调理、起居避寒等生活干预建议及科学的就医指引，真正实现从“治已病”到“治未病”的健康管理跨越\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过面部视频图片结合生理指标进行脑卒中风险筛查，获取结构化的脑卒中风险筛查报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 面部特征辨识 |\n| 2 | 中风高危面相识别 |\n| 3 | 风险等级评估 |\n| 4 | 高危状态预警 |\n| 5 | 生活干预建议生成 |\n\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.stroke_risk_screening_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.stroke_risk_screening_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备面部素材 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行脑卒中风险筛查 | 调用 `-m scripts.stroke_risk_screening_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--media-type` | 媒体类型，可选值：video/image，默认 video | 按需填写 |\n| `--blood-pressure` | 血压值，格式：收缩压/舒张压，如 140/90（可选） | 按需填写 |\n| `--blood-sugar` | 空腹血糖值 mmol/L（可选） | 按需填写 |\n| `--blood-lipid` | 总胆固醇值 mmol/L（可选） | 按需填写 |\n| `--list` | 显示脑卒中风险筛查历史报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/stroke_risk_screening_analysis.py`](scripts/stroke_risk_screening_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：视频支持 mp4/avi/mov 格式，图片支持 jpg/png/jpeg 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本技能仅作健康风险筛查提示，不能替代专业医学检查和医生诊断，发现高危请及时就医 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📁 格式支持 | 当显示历史筛查报告清单的时候，从数据 json 中提取字段  作为超链接地址，使用 Markdown 表格格式输出，包含\" |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地面部视频\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face_video.mp4 --media-type video 分析本地面部照片，附带生理指标\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face.jpg --media-type image --blood-pressure 145/92 --blood-sugar 6.8 分析网络视频\npython -m scripts.stroke_risk_screening_analysis --url https://example.com/face_video.mp4 --media-type video 显示历史筛查报告/显示筛查报告清单列表/显示历史脑卒中报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.stroke_risk_screening_analysis --list\n\n# 输出精简报告\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --detail basic\n\n# 保存结果到文件\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --output result.json\n```\n\nFile v1.0.7:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-stroke-risk-screening-analysis\",\n  \"version\": \"1.0.7\",\n  \"publishedAt\": 1784181327909\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/health-analysis/v2/start-health-analysis` - 启动健康分析任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_HEALTH_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>\nCombines TCM facial feature recognition with physiological indicators to screen uploaded face images or videos for elevated stroke-risk signals and return lifestyle intervention suggestions, medical guidance, report links, or report history. <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 health-management agents use this skill to screen face images or videos, optional blood pressure, blood sugar, and blood lipid values for stroke-risk indicators. The skill can also retrieve cloud-hosted screening report history for the resolved user identity. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Sensitive facial media, health indicators, media URLs, and report-history queries are sent to external lifeemergence.com/open.lifeemergence.com services. <br>\nMitigation: Install and use the skill only where users have consented to that data flow, avoid private or internal URLs, and limit submitted media and indicators to what is needed for screening. <br>\nRisk: The output is health-risk screening guidance and may be mistaken for a medical diagnosis. <br>\nMitigation: Present results as screening information only and direct high-risk or symptomatic users to qualified medical professionals. <br>\nRisk: The skill creates or reuses local identity and token records to associate analysis and report-history requests. <br>\nMitigation: Review local identity and token handling before deployment, isolate runtime state per user or workspace, and clear stored state when access should end. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-stroke-risk-screening-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):** [text, markdown, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown or JSON screening reports, Markdown report-history tables, and optional saved text output files.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Outputs may include structured health-risk fields, lifestyle suggestions, medical guidance, and cloud report links.] <br>\n\n## Skill Version(s): <br>\n1.0.7 (source: ClawHub release metadata; artifact frontmatter states 1.0.8) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.7:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.7:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.6: 31 files, 41088 bytes\n\nFiles: references/api_doc.md (666b), scripts/__init__.py (31b), scripts/config.py (660b), scripts/config.yaml (3b), scripts/skill.py (576b), scripts/stroke_risk_screening_analysis.py (9742b), skill-card.md (2311b), SKILL.md (10847b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28605b), _meta.json (154b)\n\nFile v1.0.6:SKILL.md\n\n---\nname: \"stroke-risk-screening-analysis\"\ndescription: \"Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引\"\nversion: \"1.0.7\"\nlicense: \"MIT-0\"\n---\n\n# 🧠 Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **脑卒中风险筛查分析技能** |\n| 🎯 核心目标 | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `STROKE_RISK_SCREENING` |\n\nThis feature innovatively integrates the wisdom of TCM \"Wang Zhen\" (Inspection) with modern physiological monitoring\ntechnology to construct an early warning and intervention system for stroke. By utilizing high-precision cameras to\ncapture subtle facial characteristics—such as greenish-yellow or purplish-red complexion, swollen tongue body, and mouth\ndeviation—alongside real-time physiological indicators like blood pressure and Heart Rate Variability (HRV), the system\nemploys multimodal AI algorithms for comprehensive analysis. It accurately identifies high-risk constitutions, such as\nQi deficiency with phlegm-dampness or Qi and blood stasis, issuing graded warnings prior to a stroke event. Furthermore,\ngrounded in the theory of TCM syndrome differentiation and treatment, it provides users with personalized lifestyle\ninterventions (including dietary regulation and cold avoidance) and scientific medical guidance, truly realizing the\nleap in health management from \"treating existing diseases\" to \"treating potential diseases\" (preventive medicine).\n\n本功能创新性地将中医“望诊”智慧与现代生理监测技术深度融合，旨在构建一套脑卒中早期预警与干预系统。系统通过高精度摄像头捕捉面部微细特征，如面色青黄或紫红、舌体胖大、口角歪斜等中医“面象”与“舌象”信息，结合实时采集的血压、心率变异性等生理指标，利用多模态AI算法进行综合分析。系统能够精准识别气虚痰湿、气血瘀滞等高危体质倾向，在脑卒中发生前发出分级预警，并基于中医辨证施治理论，为用户提供个性化的饮食调理、起居避寒等生活干预建议及科学的就医指引，真正实现从“治已病”到“治未病”的健康管理跨越\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过面部视频图片结合生理指标进行脑卒中风险筛查，获取结构化的脑卒中风险筛查报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 面部特征辨识 |\n| 2 | 中风高危面相识别 |\n| 3 | 风险等级评估 |\n| 4 | 高危状态预警 |\n| 5 | 生活干预建议生成 |\n\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.stroke_risk_screening_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.stroke_risk_screening_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备面部素材 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行脑卒中风险筛查 | 调用 `-m scripts.stroke_risk_screening_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频/图片文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频/图片 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--media-type` | 媒体类型，可选值：video/image，默认 video | 按需填写 |\n| `--blood-pressure` | 血压值，格式：收缩压/舒张压，如 140/90（可选） | 按需填写 |\n| `--blood-sugar` | 空腹血糖值 mmol/L（可选） | 按需填写 |\n| `--blood-lipid` | 总胆固醇值 mmol/L（可选） | 按需填写 |\n| `--list` | 显示脑卒中风险筛查历史报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/stroke_risk_screening_analysis.py`](scripts/stroke_risk_screening_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：视频支持 mp4/avi/mov 格式，图片支持 jpg/png/jpeg 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本技能仅作健康风险筛查提示，不能替代专业医学检查和医生诊断，发现高危请及时就医 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网络地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📁 格式支持 | 当显示历史筛查报告清单的时候，从数据 json 中提取字段  作为超链接地址，使用 Markdown 表格格式输出，包含\" |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地面部视频\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face_video.mp4 --media-type video 分析本地面部照片，附带生理指标\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face.jpg --media-type image --blood-pressure 145/92 --blood-sugar 6.8 分析网络视频\npython -m scripts.stroke_risk_screening_analysis --url https://example.com/face_video.mp4 --media-type video 显示历史筛查报告/显示筛查报告清单列表/显示历史脑卒中报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.stroke_risk_screening_analysis --list\n\n# 输出精简报告\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --detail basic\n\n# 保存结果到文件\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --output result.json\n```\n\nFile v1.0.6:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-stroke-risk-screening-analysis\",\n  \"version\": \"1.0.6\",\n  \"publishedAt\": 1783338806309\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/health-analysis/v2/start-health-analysis` - 启动健康分析任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_HEALTH_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 facial image or video analysis with physiological indicators to produce stroke-risk screening reports, warnings, lifestyle suggestions, and medical guidance. <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 face images or videos with optional physiological indicators for stroke-risk signals, structured reports, and historical report lookup. Results are screening guidance and 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 or videos, health indicators, and report-history queries may be sent to the lifeemergence cloud service under a locally persisted identity and tokens. <br>\nMitigation: Use only with informed consent and confirm privacy, retention, deletion, authorization, and token-handling controls before using real medical or biometric data. <br>\nRisk: Stroke-risk screening output may be mistaken for a clinical diagnosis. <br>\nMitigation: Present results as screening information only and direct high-risk users to professional medical evaluation. <br>\n\n\n## Reference(s): <br>\n- [API Documentation](references/api_doc.md) <br>\n- [Skill Demo](https://lifeemergence.com/sample.html) <br>\n- [ClawHub Skill Page](https://clawhub.ai/18072937735/skills/smyx-stroke-risk-screening-analysis) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Text, Markdown, JSON, Guidance] <br>\n**Output Format:** [Markdown or JSON analysis report with optional report links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May write results to a user-specified output file; history queries are returned as report lists.] <br>\n\n## Skill Version(s): <br>\n1.0.6 (source: server release metadata; artifact frontmatter says 1.0.7) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.6:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.6:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3","readmeExcerpt":"Skill: Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能 Owner: 18072937735 Summary: Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 Tags: la","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"python -m scripts.stroke_risk_screening_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地面部视频\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face_video.mp4 --media-type video 分析本地面部照片，附带生理指标\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face.jpg --media-type image --blood-pressure 145/92 --blood-sugar 6.8 分析网络视频\npython -m scripts.stroke_risk_screening_analysis --url https://example.com/face_video.mp4 --media-type video 显示历史筛查报告/显示筛查报告清单列表/显示历史脑卒中报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.stroke_risk_screening_analysis --list\n\n# 输出精简报告\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --detail basic\n\n# 保存结果到文件\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --output result.json"},{"language":"bash","snippet":"python -m scripts.stroke_risk_screening_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地面部视频\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face_video.mp4 --media-type video 分析本地面部照片，附带生理指标\npython -m scripts.stroke_risk_screening_analysis --input /path/to/face.jpg --media-type image --blood-pressure 145/92 --blood-sugar 6.8 分析网络视频\npython -m scripts.stroke_risk_screening_analysis --url https://example.com/face_video.mp4 --media-type video 显示历史筛查报告/显示筛查报告清单列表/显示历史脑卒中报告（自动触发关键词：查看历史筛查报告、历史报告、筛查报告清单等）\npython -m scripts.stroke_risk_screening_analysis --list\n\n# 输出精简报告\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --detail basic\n\n# 保存结果到文件\npython -m scripts.stroke_risk_screening_analysis --input video.mp4 --media-type video --output result.json"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: \"stroke-risk-screening-analysis\"\ndescription: \"Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引\"\nversion: \"1.0.18\"\nlicense: \"MIT-0\"\n---\n\n# 🧠 Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **脑卒中风险筛查分析技能** |\n| 🎯 核心目标 | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `STROKE_RISK_SCREENING` |\n\nThis feature innovatively integrates the wisdom of TCM \"Wang Zhen\" (Inspection) with modern physiological monitoring\ntechnology to construct an early warning and intervention system for stroke. By utilizing high-precision cameras to\ncapture subtle facial characteristics—such as greenish-yellow or purplish-red complexion, swollen tongue body, and mouth\ndeviation—alongside real-time physiological indicators like blood pressure and Heart Rate Variability (HRV), the system\nemploys multimodal AI algorithms for comprehensive analysis. It accurately identifies high-risk constitutions, such as\nQi deficiency with phlegm-dampness or Qi and blood stasis, issuing graded warnings prior to a stroke event. Furthermore,\ngrounded in the theory of TCM syndrome differentiation and treatment, it provides users with personalized lifestyle\ninterventions (including dietary regulation and cold avoidance) and scientific medical guidance, truly realizing the\nleap in health management from \"treating existing diseases\" to \"treating potential diseases\" (preventive medicine).\n\n本功能创新性地将中医“望诊”智慧与现代生理监测技术深度融合，旨在构建一套脑卒中早期预警与干预系统。系统通过高精度摄像头捕捉面部微细特征，如面色青黄或紫红、舌体胖大、口角歪斜等中医“面象”与“舌象”信息，结合实时采集的血压、心率变异性等生理指标，利用多模态AI算法进行综合分析。系统能够精准识别气虚痰湿、气血瘀滞等高危体质倾向，在脑卒中发生前发出分级预警，并基于中医辨证施治理论，为用户提供个性化的饮食调理、起居避寒等生活干预建议及科学的就医指引，真正实现从“治已病”到“治未病”的健康管理跨越\n\n## 🎬 技能演示 | Skill Demo\n\n[▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html)\n\n---\n\n## 🎯 任务目标 | Goals\n\n### 1. 🧩 技能用途\n\n通过面部视频图片结合生理指标进行脑卒中风险筛查，获取结构化的脑卒中风险筛查报告\n\n### 2. 🛠️ 能力范围\n\n| 序号 | 具体能力 |\n|---:|---|\n| 1 | 面部特征辨识 |\n| 2 | 中风高危面相识别 |\n| 3 | 风险等级评估 |\n| 4 | 高危状态预警 |\n| 5 | 生活干预建议生成 |\n\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.stroke_risk_screening_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-stroke-risk-screening-analysis\",\n  \"version\": \"1.0.15\",\n  \"publishedAt\": 1790880472283\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/health-analysis/v2/start-health-analysis` - 启动健康分析任务\n2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果\n3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史报告\n4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_HEALTH_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 TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 Skill: Stroke Risk Screening Analysis Skill | 脑卒中风险筛查分析技能 Owner: 18072937735 Summary: Combines TCM facial feature recognition with physiological indicator information to provide early warnings of high-risk stroke conditions such as cerebral infarction and cerebral hemorrhage, and provides lifestyle intervention suggestions and medical guidance. | 脑卒中风险筛查技能，结合中医面部特征辨识结合生理指标信息，提前预警脑梗塞、脑出血等脑卒中高危状态，给出生活干预建议和就医指引 Tags: la","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":908,"uniquenessScore":51,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T18:12:29.537Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T18:12:29.537Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T08:03:03.506Z","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"}]}}}