{"id":"5162324d-06c1-4a7a-ba39-809ce5e4e0e2","entityType":"agent","slug":"clawhub-18072937735-smyx-pet-calming-trigger-analysis","name":"Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能","canonicalUrl":"https://www.xpersona.co/agent/clawhub-18072937735-smyx-pet-calming-trigger-analysis","canonicalPath":"/agent/clawhub-18072937735-smyx-pet-calming-trigger-analysis","generatedAt":"2026-10-10T02:03:37.848Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T15:31:23.022Z","emptyReason":null},"description":"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 Skill: Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能 Owner: 18072937735 Summary: Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 Tags: latest:1.0.17 Version history: v1.0.17 | 2026-09-29T18:43:37.125Z | auto - Upda","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 2.4K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-pet-calming-trigger-analysis","sourceUrl":"https://clawhub.ai/18072937735/smyx-pet-calming-trigger-analysis","homepage":"https://clawhub.ai/18072937735/skills/smyx-pet-calming-trigger-analysis","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/18072937735/smyx-pet-calming-trigger-analysis","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/18072937735/skills/smyx-pet-calming-trigger-analysis","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":68,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a sm"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T15:31:23.022Z","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-09T15:31:23.022Z","emptyReason":null},"stars":null,"forks":null,"downloads":2387,"packageName":null,"latestVersion":"1.0.17","tractionLabel":"2.4K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T15:31:23.022Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T15:31:23.022Z","lastCrawledAt":"2026-10-09T15:31:23.022Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T15:31:23.022Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.17","createdAt":"2026-09-29T18:43:37.125Z","changelog":"- Updated version number to 1.0.20 in documentation. - Removed the file: skill-card.md for cleaner project structure. - Refined configuration and documentation files for improved accuracy and clarity.","fileCount":31,"zipByteSize":38787},{"version":"1.0.16","createdAt":"2026-09-16T16:33:25.152Z","changelog":"- Version update from 1.0.15 to 1.0.18 in SKILL.md. - Removed the file: skill-card.md. - No changes to the core functionality or usage instructions.","fileCount":31,"zipByteSize":39083},{"version":"1.0.15","createdAt":"2026-08-29T18:39:41.295Z","changelog":"- Updated SKILL.md version to 1.0.15. - Removed skill-card.md file, consolidating documentation into SKILL.md. - No changes to feature set or workflow; documentation only.","fileCount":31,"zipByteSize":38989},{"version":"1.0.14","createdAt":"2026-08-18T16:25:29.384Z","changelog":"- Updated version to 1.0.14. - Added changes to documentation and configuration files. - Removed redundant file: skill-card.md. - Minor edits and documentation updates for improved clarity and maintenance.","fileCount":31,"zipByteSize":39159},{"version":"1.0.13","createdAt":"2026-08-11T16:29:37.187Z","changelog":"- Updated SKILL.md with minor documentation or metadata changes. - Removed skill-card.md from the project. - No changes were made to functionality or core logic.","fileCount":31,"zipByteSize":38938},{"version":"1.0.12","createdAt":"2026-08-02T21:22:29.401Z","changelog":"- Updated version number in SKILL.md from 1.0.10 to 1.0.11. - Removed the file skill-card.md. - No functional or behavioral changes documented; modifications are limited to documentation and versioning.","fileCount":31,"zipByteSize":39160},{"version":"1.0.11","createdAt":"2026-08-01T20:03:28.606Z","changelog":"- Updated documentation and versioning in SKILL.md. - Version number changed from 1.0.9 to 1.0.10. - Removed the skill-card.md file.","fileCount":31,"zipByteSize":39135},{"version":"1.0.10","createdAt":"2026-07-14T12:42:45.808Z","changelog":"- Updated version to 1.0.9 in SKILL.md. - Removed the skill-card.md file. - No changes were made to core logic or functionality; documentation version updated and minor content synchronization.","fileCount":31,"zipByteSize":39139}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-pet-calming-trigger-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-pet-calming-trigger-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-pet-calming-trigger-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-pet-calming-trigger-analysis/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-pet-calming-trigger-analysis/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-pet-calming-trigger-analysis/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-pet-calming-trigger-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-10T02:03:37.845Z"}},"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-pet-calming-trigger-analysis/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-pet-calming-trigger-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-pet-calming-trigger-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-pet-calming-trigger-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-09T15:31:23.022Z","emptyReason":null},"readme":"Skill: Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能\n\nOwner: 18072937735\n\nSummary: Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手\n\nTags: latest:1.0.17\n\nVersion history:\n\nv1.0.17 | 2026-09-29T18:43:37.125Z | auto\n\n- Updated version number to 1.0.20 in documentation.\n- Removed the file: skill-card.md for cleaner project structure.\n- Refined configuration and documentation files for improved accuracy and clarity.\n\nv1.0.16 | 2026-09-16T16:33:25.152Z | auto\n\n- Version update from 1.0.15 to 1.0.18 in SKILL.md.\n- Removed the file: skill-card.md.\n- No changes to the core functionality or usage instructions.\n\nv1.0.15 | 2026-08-29T18:39:41.295Z | auto\n\n- Updated SKILL.md version to 1.0.15.\n- Removed skill-card.md file, consolidating documentation into SKILL.md.\n- No changes to feature set or workflow; documentation only.\n\nv1.0.14 | 2026-08-18T16:25:29.384Z | auto\n\n- Updated version to 1.0.14.\n- Added changes to documentation and configuration files.\n- Removed redundant file: skill-card.md.\n- Minor edits and documentation updates for improved clarity and maintenance.\n\nv1.0.13 | 2026-08-11T16:29:37.187Z | auto\n\n- Updated SKILL.md with minor documentation or metadata changes.\n- Removed skill-card.md from the project.\n- No changes were made to functionality or core logic.\n\nv1.0.12 | 2026-08-02T21:22:29.401Z | auto\n\n- Updated version number in SKILL.md from 1.0.10 to 1.0.11.\n- Removed the file skill-card.md.\n- No functional or behavioral changes documented; modifications are limited to documentation and versioning.\n\nv1.0.11 | 2026-08-01T20:03:28.606Z | auto\n\n- Updated documentation and versioning in SKILL.md.\n- Version number changed from 1.0.9 to 1.0.10.\n- Removed the skill-card.md file.\n\nv1.0.10 | 2026-07-14T12:42:45.808Z | auto\n\n- Updated version to 1.0.9 in SKILL.md.\n- Removed the skill-card.md file.\n- No changes were made to core logic or functionality; documentation version updated and minor content synchronization.\n\nv1.0.9 | 2026-07-10T08:02:32.320Z | auto\n\n- Updated version metadata in SKILL.md from 1.0.6 to 1.0.8.\n- Made edits to documentation in SKILL.md.\n- Removed the file skill-card.md.\n- Modified code files in the skills/smyx_common/scripts directory: config.py, dao.py, and util.py.\n\nv1.0.8 | 2026-06-28T22:48:23.480Z | auto\n\n- Removed the file: skill-card.md.\n- No other functional, configuration, or documentation changes detected.\n\nv1.0.7 | 2026-06-26T09:54:27.984Z | auto\n\npet-calming-trigger-analysis 1.0.7 – Streamlined user experience, improved security, simplified cloud report workflow.\n\n- Removed the requirement for users to provide or understand open-id; identity handling is now automatic and internal.\n- Simplified API usage: users only supply input files or URLs; all report listing and association is handled by the system.\n- Strengthened data security: no exposure, prompt, or logging of internal identifiers in user-facing outputs.\n- Historical report queries now always retrieve data from the cloud API; all local memory/report aggregation is prohibited.\n- Updated documentation to reflect these changes, with clearer operation steps and usage examples.\n\nv1.0.6 | 2026-06-15T05:13:26.112Z | auto\n\nsmyx-pet-calming-trigger-analysis 1.0.6\n\n- Updated project version to 1.0.6.\n- Increased SKILL.md version field (from 1.0.1 to 1.0.4 in changelog, actual release as 1.0.6).\n- Added license field (\"MIT-0\") to SKILL.md.\n- Removed the deprecated skill-card.md file.\n- Made internal script and requirement updates across key files for improved stability and maintainability.\n\nv1.0.5 | 2026-05-26T02:38:44.887Z | auto\n\n## smyx-pet-calming-trigger-analysis 1.0.5 Changelog\n\n- Updated `skills/smyx_common/scripts/config.py` (details not specified).\n- No changes in documentation or user-facing skills/usage described in SKILL.md.\n- Likely minor internal/configuration adjustment only.\n\nv1.0.4 | 2026-05-23T11:33:40.682Z | auto\n\n- Major refactor: migrated face_analysis to smyx_analysis for modularization and cleanup\n- Added new submodule: skills/smyx_analysis/ with separate scripts, requirements, and API documentation\n- Deleted all legacy face_analysis files and their references\n- Updated configuration and shared utility scripts to reflect new module structure\n- SKILL.md updated: clarified file save/attachment behavior, report table generation logic, and reduced max video size to 10MB\n- Improved code organization and separation between skill logic and common utilities\n\nv1.0.3 | 2026-05-11T17:19:40.610Z | auto\n\n- Improved configuration and utility scripts for better modularity and maintainability.\n- Updated YAML configuration files for development and testing environments.\n- Refactored code structure in common and face analysis scripts to align with skill standards.\n- No user-facing functionality changes.\n\nv1.0.2 | 2026-05-04T09:10:43.226Z | auto\n\nNo user-facing changes detected in this version.\n\n- Version updated to 1.0.2 with no changes to files or documentation content.\n\nv1.0.1 | 2026-05-01T02:43:39.050Z | auto\n\n- Added missing \"version: 1.0.0\" field to SKILL.md metadata section.\n- No functional logic changes; documentation and metadata update only.\n\nv1.0.0 | 2026-04-16T15:42:37.309Z | auto\n\n- Initial release of pet-calming-trigger-analysis skill.\n- Detects pet anxiety, howling, or extended loneliness from video and automatically triggers calming responses (e.g., soothing sounds, laser toys).\n- Supports querying and displaying history of calming interventions via cloud API—local or long-term memory is strictly forbidden.\n- Requires strict open-id verification before analysis; guides users to provide if not found.\n- Delivers analysis and history reports in structured Markdown tables, with direct report links.\n- Provides step-by-step setup, usage instructions, and constraints for accurate operation.\n\nArchive index:\n\nArchive v1.0.17: 31 files, 38787 bytes\n\nFiles: references/api_doc.md (676b), scripts/__init__.py (31b), scripts/config.py (659b), scripts/config.yaml (3b), scripts/pet_calming_trigger_analysis.py (3186b), scripts/skill.py (573b), skill-card.md (2107b), SKILL.md (10223b), 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 (153b)\n\nFile v1.0.17:SKILL.md\n\n---\nname: \"pet-calming-trigger-analysis\"\ndescription: \"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手\"\nversion: \"1.0.20\"\nlicense: \"MIT-0\"\n---\n\n# 🧸 Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **宠物安抚触发分析技能** |\n| 🎯 核心目标 | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PET_CALMING_TRIGGER` |\n\nEquipped with advanced pet emotion recognition algorithms, this feature precisely captures anxiety-induced behavioral\ntraits, including persistent howling, destructive pacing, and prolonged isolation. Through multi-modal sensor fusion\ntechnology, the system monitors vocal frequencies, movement trajectories, and duration data in real-time. Once abnormal\nemotional indicators exceed preset thresholds, it automatically triggers a smart soothing mechanism. This mechanism\nsupports playing calming soundscapes validated by animal behavior research and can link with laser toys to generate\ndynamic light spots that attract the pet's attention, effectively alleviating separation anxiety symptoms. The entire\nsystem forms a complete closed loop from monitoring to intervention, providing 24/7 intelligent companionship for pets\nleft alone and serving as an ideal solution for modern pet households.\n\n本功能搭载先进的宠物情绪识别算法，能够精准捕捉宠物的焦虑行为特征，包括持续性嚎叫、破坏性踱步及长时间独处状态。系统通过多模态传感器融合技术，实时监测宠物的声音频率、活动轨迹及时长数据，一旦识别到异常情绪指标超过预设阈值，即刻自动触发智能安抚机制。该机制支持播放经动物行为学研究验证的舒缓音效，并可联动激光逗宠设备生成动态光点吸引宠物注意力，有效缓解分离焦虑症状。整套系统形成从监测到干预的完整闭环，为独自在家的宠物提供全天候智能陪伴，是现代化宠物家庭的理想解决方案\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\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.pet_calming_trigger_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.pet_calming_trigger_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 检测要求 | Detection Requirements\n| 要求项 | 说明 |\n|---|---|\n| 摄像头固定位置 | ，覆盖宠物主要活动区域 |\n| 光线充足清晰 | ，宠物完整可见，便于观察肢体语言和行为 |\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.pet_calming_trigger_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史宠物安抚触发分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/pet_calming_trigger_analysis.py`](scripts/pet_calming_trigger_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：mp4/avi/mov，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本分析结果仅供智能触发参考，实际安抚效果因宠物个体差异有所不同 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地宠物监控视频\npython -m scripts.pet_calming_trigger_analysis --input /path/to/living_room.mp4 分析网络监控视频\npython -m scripts.pet_calming_trigger_analysis --url https://example.com/petcam.mp4 显示历史安抚记录/显示安抚报告清单列表/显示历史触发记录（自动触发关键词：查看历史安抚报告、历史报告、安抚报告清单等）\npython -m scripts.pet_calming_trigger_analysis --list\n\n# 输出精简报告\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --detail basic\n\n# 保存结果到文件\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --output result.json\n```\n\nFile v1.0.17:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-pet-calming-trigger-analysis\",\n  \"version\": \"1.0.17\",\n  \"publishedAt\": 1790707417125\n}\n\nFile v1.0.17:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放宠物安抚触发分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_CALMING_TRIGGER_ANALYSIS` - 开放平台宠物安抚触发分析\n\nFile v1.0.17: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.17:scripts/config.yaml\n\n{}\n\nFile v1.0.17:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.17: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.17: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.17: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.17:skill-card.md\n\n## Description:\n\nAnalyzes pet videos through a remote service and returns behavior reports, recommendations, and links to historical reports.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nPet owners and care providers use this skill to analyze monitoring footage for signs of distress and retrieve prior analysis reports. It does not itself play audio or control pet devices.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Pet media or video URLs are sent to remote services for analysis.\n\nMitigation: Review the destination services and obtain appropriate consent before submitting media or URLs.\n\nRisk: The skill automatically looks up cloud reports and stores identity and token data locally.\n\nMitigation: Review access to cloud reports and protect locally stored identity and token data before installing.\n\nRisk: The pet-soothing description may imply audio playback or device control that the skill does not provide.\n\nMitigation: Use the results as analysis only; do not rely on this skill to operate soothing devices.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/18072937735/skills/smyx-pet-calming-trigger-analysis)\n- [Pet analysis API documentation](references/api_doc.md)\n- [Analysis API error codes](skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [Analysis, Text, Markdown]\n\n**Output Format:** [Structured text or JSON with report links; historical reports may appear as a Markdown table]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Can print results or save them to a local file]\n\n## Skill Version(s):\n\n1.0.17 (source: server-resolved ClawHub release; bundled frontmatter says 1.0.20)\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.17:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.17:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.16: 31 files, 39083 bytes\n\nFiles: references/api_doc.md (676b), scripts/__init__.py (31b), scripts/config.py (659b), scripts/config.yaml (3b), scripts/pet_calming_trigger_analysis.py (3186b), scripts/skill.py (573b), skill-card.md (2815b), SKILL.md (10223b), 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 (153b)\n\nFile v1.0.16:SKILL.md\n\n---\nname: \"pet-calming-trigger-analysis\"\ndescription: \"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手\"\nversion: \"1.0.18\"\nlicense: \"MIT-0\"\n---\n\n# 🧸 Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **宠物安抚触发分析技能** |\n| 🎯 核心目标 | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PET_CALMING_TRIGGER` |\n\nEquipped with advanced pet emotion recognition algorithms, this feature precisely captures anxiety-induced behavioral\ntraits, including persistent howling, destructive pacing, and prolonged isolation. Through multi-modal sensor fusion\ntechnology, the system monitors vocal frequencies, movement trajectories, and duration data in real-time. Once abnormal\nemotional indicators exceed preset thresholds, it automatically triggers a smart soothing mechanism. This mechanism\nsupports playing calming soundscapes validated by animal behavior research and can link with laser toys to generate\ndynamic light spots that attract the pet's attention, effectively alleviating separation anxiety symptoms. The entire\nsystem forms a complete closed loop from monitoring to intervention, providing 24/7 intelligent companionship for pets\nleft alone and serving as an ideal solution for modern pet households.\n\n本功能搭载先进的宠物情绪识别算法，能够精准捕捉宠物的焦虑行为特征，包括持续性嚎叫、破坏性踱步及长时间独处状态。系统通过多模态传感器融合技术，实时监测宠物的声音频率、活动轨迹及时长数据，一旦识别到异常情绪指标超过预设阈值，即刻自动触发智能安抚机制。该机制支持播放经动物行为学研究验证的舒缓音效，并可联动激光逗宠设备生成动态光点吸引宠物注意力，有效缓解分离焦虑症状。整套系统形成从监测到干预的完整闭环，为独自在家的宠物提供全天候智能陪伴，是现代化宠物家庭的理想解决方案\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\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.pet_calming_trigger_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.pet_calming_trigger_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 检测要求 | Detection Requirements\n| 要求项 | 说明 |\n|---|---|\n| 摄像头固定位置 | ，覆盖宠物主要活动区域 |\n| 光线充足清晰 | ，宠物完整可见，便于观察肢体语言和行为 |\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.pet_calming_trigger_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史宠物安抚触发分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/pet_calming_trigger_analysis.py`](scripts/pet_calming_trigger_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：mp4/avi/mov，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本分析结果仅供智能触发参考，实际安抚效果因宠物个体差异有所不同 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地宠物监控视频\npython -m scripts.pet_calming_trigger_analysis --input /path/to/living_room.mp4 分析网络监控视频\npython -m scripts.pet_calming_trigger_analysis --url https://example.com/petcam.mp4 显示历史安抚记录/显示安抚报告清单列表/显示历史触发记录（自动触发关键词：查看历史安抚报告、历史报告、安抚报告清单等）\npython -m scripts.pet_calming_trigger_analysis --list\n\n# 输出精简报告\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --detail basic\n\n# 保存结果到文件\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --output result.json\n```\n\nFile v1.0.16:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-pet-calming-trigger-analysis\",\n  \"version\": \"1.0.16\",\n  \"publishedAt\": 1789576405152\n}\n\nFile v1.0.16:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放宠物安抚触发分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_CALMING_TRIGGER_ANALYSIS` - 开放平台宠物安抚触发分析\n\nFile v1.0.16: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.16:scripts/config.yaml\n\n{}\n\nFile v1.0.16:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v1.0.16: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.16: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.16: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.16:skill-card.md\n\n## Description:\n\nAnalyzes pet-monitoring images, videos, or URLs for anxiety, howling, prolonged isolation, and related behaviors, then returns structured findings, recommendations, and report links for pet-soothing trigger workflows.\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 pet-care users and developers use this skill to submit pet-monitoring media or URLs for remote behavior analysis, review structured pet-calming trigger results, and retrieve historical reports. The outputs can support human review before any soothing or device-response workflow is enabled.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Pet-monitoring media or URLs may be uploaded to a remote analysis service.\n\nMitigation: Review the publisher's service documentation and terms before use, and submit only media acceptable for remote processing.\n\nRisk: The skill can silently create or reuse a cloud-linked identity and persist local user tokens.\n\nMitigation: Run the skill in an isolated workspace, inspect and clear local identity or token storage after use, and require publisher documentation before deployment.\n\nRisk: Plaintext HTTP development endpoints are present in the packaged configuration.\n\nMitigation: Use only documented HTTPS production endpoints and remove or disable development and test endpoint configurations before installation.\n\nRisk: The advertised pet-calming trigger behavior may not fully match the packaged networked analysis and report-history behavior.\n\nMitigation: Validate the actual analysis, history-query, and integration behavior before enabling any automated soothing or device-response workflow.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/18072937735/skills/smyx-pet-calming-trigger-analysis)\n- [Publisher Profile](https://clawhub.ai/user/18072937735)\n- [Skill Demo](https://lifeemergence.com/sample.html)\n- [API Documentation](artifact/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, JSON, Shell commands, Files, Guidance]\n\n**Output Format:** [Markdown text with embedded JSON report content, report links, and optional saved output files]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Accepts mp4, avi, or mov files up to 10 MB, or media URLs processed by the remote API service.]\n\n## Skill Version(s):\n\n1.0.16 (source: server release metadata; artifact frontmatter says 1.0.18)\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.16:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v1.0.16:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v1.0.15: 31 files, 38989 bytes\n\nFiles: references/api_doc.md (676b), scripts/__init__.py (31b), scripts/config.py (659b), scripts/config.yaml (3b), scripts/pet_calming_trigger_analysis.py (3186b), scripts/skill.py (573b), skill-card.md (2627b), SKILL.md (10223b), 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 (153b)\n\nFile v1.0.15:SKILL.md\n\n---\nname: \"pet-calming-trigger-analysis\"\ndescription: \"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手\"\nversion: \"1.0.15\"\nlicense: \"MIT-0\"\n---\n\n# 🧸 Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **宠物安抚触发分析技能** |\n| 🎯 核心目标 | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PET_CALMING_TRIGGER` |\n\nEquipped with advanced pet emotion recognition algorithms, this feature precisely captures anxiety-induced behavioral\ntraits, including persistent howling, destructive pacing, and prolonged isolation. Through multi-modal sensor fusion\ntechnology, the system monitors vocal frequencies, movement trajectories, and duration data in real-time. Once abnormal\nemotional indicators exceed preset thresholds, it automatically triggers a smart soothing mechanism. This mechanism\nsupports playing calming soundscapes validated by animal behavior research and can link with laser toys to generate\ndynamic light spots that attract the pet's attention, effectively alleviating separation anxiety symptoms. The entire\nsystem forms a complete closed loop from monitoring to intervention, providing 24/7 intelligent companionship for pets\nleft alone and serving as an ideal solution for modern pet households.\n\n本功能搭载先进的宠物情绪识别算法，能够精准捕捉宠物的焦虑行为特征，包括持续性嚎叫、破坏性踱步及长时间独处状态。系统通过多模态传感器融合技术，实时监测宠物的声音频率、活动轨迹及时长数据，一旦识别到异常情绪指标超过预设阈值，即刻自动触发智能安抚机制。该机制支持播放经动物行为学研究验证的舒缓音效，并可联动激光逗宠设备生成动态光点吸引宠物注意力，有效缓解分离焦虑症状。整套系统形成从监测到干预的完整闭环，为独自在家的宠物提供全天候智能陪伴，是现代化宠物家庭的理想解决方案\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\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.pet_calming_trigger_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.pet_calming_trigger_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 检测要求 | Detection Requirements\n| 要求项 | 说明 |\n|---|---|\n| 摄像头固定位置 | ，覆盖宠物主要活动区域 |\n| 光线充足清晰 | ，宠物完整可见，便于观察肢体语言和行为 |\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.pet_calming_trigger_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史宠物安抚触发分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/pet_calming_trigger_analysis.py`](scripts/pet_calming_trigger_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：mp4/avi/mov，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本分析结果仅供智能触发参考，实际安抚效果因宠物个体差异有所不同 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地宠物监控视频\npython -m scripts.pet_calming_trigger_analysis --input /path/to/living_room.mp4 分析网络监控视频\npython -m scripts.pet_calming_trigger_analysis --url https://example.com/petcam.mp4 显示历史安抚记录/显示安抚报告清单列表/显示历史触发记录（自动触发关键词：查看历史安抚报告、历史报告、安抚报告清单等）\npython -m scripts.pet_calming_trigger_analysis --list\n\n# 输出精简报告\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --detail basic\n\n# 保存结果到文件\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --output result.json\n```\n\nFile v1.0.15:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-pet-calming-trigger-analysis\",\n  \"version\": \"1.0.15\",\n  \"publishedAt\": 1788028781295\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/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_CALMING_TRIGGER_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: dev\n\nFile v1.0.15:skill-card.md\n\n## Description:\n\nAutomatically triggers soothing mechanisms when pet anxiety, howling, or prolonged loneliness is detected, and returns structured pet-care analysis, recommendations, and report links.\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 pet-care users and developers use this skill to analyze pet camera videos or URLs for anxiety, howling, prolonged loneliness, and related behaviors. It can return structured reports, historical report listings, recommendations, and report links that inform soothing responses.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill can upload local pet-camera media or media URLs to a remote analysis service.\n\nMitigation: Use it only with media the user is authorized to process, confirm the publisher's data flow and retention terms, and avoid private household footage without clear consent and deletion controls.\n\nRisk: The skill silently creates or reuses an identity and can store service tokens locally.\n\nMitigation: Review identity and token storage before installation, scope credentials to the minimum required use, and clear local stored identities or tokens when the skill is no longer needed.\n\nRisk: The release includes unsafe HTTP development endpoints alongside service configuration.\n\nMitigation: Use HTTPS production endpoints only and verify endpoint configuration before processing real pet-camera media.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-pet-calming-trigger-analysis)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [Pet calming trigger API documentation](references/api_doc.md)\n- [Common 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 and JSON text with structured analysis results, history listings, recommendations, and report links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Supports local video files or media URLs for analysis, optional output files, and historical report lookup through the remote service.]\n\n## Skill Version(s):\n\n1.0.15 (source: server release metadata and SKILL.md frontmatter)\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, 39159 bytes\n\nFiles: references/api_doc.md (676b), scripts/__init__.py (31b), scripts/config.py (659b), scripts/config.yaml (3b), scripts/pet_calming_trigger_analysis.py (3186b), scripts/skill.py (573b), skill-card.md (2920b), SKILL.md (10223b), 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 (153b)\n\nFile v1.0.14:SKILL.md\n\n---\nname: \"pet-calming-trigger-analysis\"\ndescription: \"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手\"\nversion: \"1.0.13\"\nlicense: \"MIT-0\"\n---\n\n# 🧸 Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **宠物安抚触发分析技能** |\n| 🎯 核心目标 | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PET_CALMING_TRIGGER` |\n\nEquipped with advanced pet emotion recognition algorithms, this feature precisely captures anxiety-induced behavioral\ntraits, including persistent howling, destructive pacing, and prolonged isolation. Through multi-modal sensor fusion\ntechnology, the system monitors vocal frequencies, movement trajectories, and duration data in real-time. Once abnormal\nemotional indicators exceed preset thresholds, it automatically triggers a smart soothing mechanism. This mechanism\nsupports playing calming soundscapes validated by animal behavior research and can link with laser toys to generate\ndynamic light spots that attract the pet's attention, effectively alleviating separation anxiety symptoms. The entire\nsystem forms a complete closed loop from monitoring to intervention, providing 24/7 intelligent companionship for pets\nleft alone and serving as an ideal solution for modern pet households.\n\n本功能搭载先进的宠物情绪识别算法，能够精准捕捉宠物的焦虑行为特征，包括持续性嚎叫、破坏性踱步及长时间独处状态。系统通过多模态传感器融合技术，实时监测宠物的声音频率、活动轨迹及时长数据，一旦识别到异常情绪指标超过预设阈值，即刻自动触发智能安抚机制。该机制支持播放经动物行为学研究验证的舒缓音效，并可联动激光逗宠设备生成动态光点吸引宠物注意力，有效缓解分离焦虑症状。整套系统形成从监测到干预的完整闭环，为独自在家的宠物提供全天候智能陪伴，是现代化宠物家庭的理想解决方案\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\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.pet_calming_trigger_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.pet_calming_trigger_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 检测要求 | Detection Requirements\n| 要求项 | 说明 |\n|---|---|\n| 摄像头固定位置 | ，覆盖宠物主要活动区域 |\n| 光线充足清晰 | ，宠物完整可见，便于观察肢体语言和行为 |\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.pet_calming_trigger_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史宠物安抚触发分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/pet_calming_trigger_analysis.py`](scripts/pet_calming_trigger_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：mp4/avi/mov，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本分析结果仅供智能触发参考，实际安抚效果因宠物个体差异有所不同 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地宠物监控视频\npython -m scripts.pet_calming_trigger_analysis --input /path/to/living_room.mp4 分析网络监控视频\npython -m scripts.pet_calming_trigger_analysis --url https://example.com/petcam.mp4 显示历史安抚记录/显示安抚报告清单列表/显示历史触发记录（自动触发关键词：查看历史安抚报告、历史报告、安抚报告清单等）\npython -m scripts.pet_calming_trigger_analysis --list\n\n# 输出精简报告\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --detail basic\n\n# 保存结果到文件\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --output result.json\n```\n\nFile v1.0.14:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-pet-calming-trigger-analysis\",\n  \"version\": \"1.0.14\",\n  \"publishedAt\": 1787070329384\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/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_CALMING_TRIGGER_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: dev\n\nFile v1.0.14:skill-card.md\n\n## Description:\n\nAnalyzes pet monitoring videos or video URLs for signs of anxiety, howling, or prolonged isolation and returns structured results that can inform soothing actions.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[18072937735](https://clawhub.ai/user/18072937735)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers use this skill to analyze pet camera media or a video URL for anxiety-related behavior, retrieve cloud-stored analysis history, and receive structured results, recommendations, and report links.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Pet camera media or supplied video URLs may be sent to LifeEmergence cloud services for analysis.\n\nMitigation: Confirm user consent before use, avoid sensitive household footage where possible, and clarify provider retention and deletion policies before deployment.\n\nRisk: The skill may silently create or reuse a persistent user identity and store user identity data or tokens in a local SQLite database.\n\nMitigation: Run the skill in a controlled workspace, protect local data files, and define how users can inspect, rotate, or delete stored identity and token data.\n\nRisk: History queries retrieve prior reports from the cloud and may expose report links associated with the resolved user identity.\n\nMitigation: Limit history access to authorized users and confirm account ownership and report-sharing expectations before enabling the skill.\n\nRisk: The artifact describes soothing actions such as sounds or laser toys, but actual device control may require separate smart-home integration.\n\nMitigation: Present the skill output as analysis and trigger guidance unless a verified device integration is separately configured and reviewed.\n\n## Reference(s):\n\n- [Pet Calming Trigger Analysis API Documentation](artifact/references/api_doc.md)\n- [Common AI Analysis API Documentation](artifact/skills/smyx_analysis/references/api_doc.md)\n- [Skill Demo](https://lifeemergence.com/sample.html)\n- [ClawHub Skill Listing](https://clawhub.ai/18072937735/skills/smyx-pet-calming-trigger-analysis)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, JSON, Files, Guidance]\n\n**Output Format:** [Markdown text with structured analysis content, JSON-style results, recommendations, report links, or cloud history output; optional saved result file.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Supports local mp4, avi, and mov video files up to 10 MB or public video URLs.]\n\n## Skill Version(s):\n\n1.0.14 (source: server release metadata; artifact frontmatter says 1.0.13)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.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, 38938 bytes\n\nFiles: references/api_doc.md (676b), scripts/__init__.py (31b), scripts/config.py (659b), scripts/config.yaml (3b), scripts/pet_calming_trigger_analysis.py (3186b), scripts/skill.py (573b), skill-card.md (2389b), SKILL.md (10223b), 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 (153b)\n\nFile v1.0.13:SKILL.md\n\n---\nname: \"pet-calming-trigger-analysis\"\ndescription: \"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手\"\nversion: \"1.0.12\"\nlicense: \"MIT-0\"\n---\n\n# 🧸 Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **宠物安抚触发分析技能** |\n| 🎯 核心目标 | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PET_CALMING_TRIGGER` |\n\nEquipped with advanced pet emotion recognition algorithms, this feature precisely captures anxiety-induced behavioral\ntraits, including persistent howling, destructive pacing, and prolonged isolation. Through multi-modal sensor fusion\ntechnology, the system monitors vocal frequencies, movement trajectories, and duration data in real-time. Once abnormal\nemotional indicators exceed preset thresholds, it automatically triggers a smart soothing mechanism. This mechanism\nsupports playing calming soundscapes validated by animal behavior research and can link with laser toys to generate\ndynamic light spots that attract the pet's attention, effectively alleviating separation anxiety symptoms. The entire\nsystem forms a complete closed loop from monitoring to intervention, providing 24/7 intelligent companionship for pets\nleft alone and serving as an ideal solution for modern pet households.\n\n本功能搭载先进的宠物情绪识别算法，能够精准捕捉宠物的焦虑行为特征，包括持续性嚎叫、破坏性踱步及长时间独处状态。系统通过多模态传感器融合技术，实时监测宠物的声音频率、活动轨迹及时长数据，一旦识别到异常情绪指标超过预设阈值，即刻自动触发智能安抚机制。该机制支持播放经动物行为学研究验证的舒缓音效，并可联动激光逗宠设备生成动态光点吸引宠物注意力，有效缓解分离焦虑症状。整套系统形成从监测到干预的完整闭环，为独自在家的宠物提供全天候智能陪伴，是现代化宠物家庭的理想解决方案\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\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.pet_calming_trigger_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.pet_calming_trigger_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 检测要求 | Detection Requirements\n| 要求项 | 说明 |\n|---|---|\n| 摄像头固定位置 | ，覆盖宠物主要活动区域 |\n| 光线充足清晰 | ，宠物完整可见，便于观察肢体语言和行为 |\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.pet_calming_trigger_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史宠物安抚触发分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/pet_calming_trigger_analysis.py`](scripts/pet_calming_trigger_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：mp4/avi/mov，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本分析结果仅供智能触发参考，实际安抚效果因宠物个体差异有所不同 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地宠物监控视频\npython -m scripts.pet_calming_trigger_analysis --input /path/to/living_room.mp4 分析网络监控视频\npython -m scripts.pet_calming_trigger_analysis --url https://example.com/petcam.mp4 显示历史安抚记录/显示安抚报告清单列表/显示历史触发记录（自动触发关键词：查看历史安抚报告、历史报告、安抚报告清单等）\npython -m scripts.pet_calming_trigger_analysis --list\n\n# 输出精简报告\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --detail basic\n\n# 保存结果到文件\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --output result.json\n```\n\nFile v1.0.13:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-pet-calming-trigger-analysis\",\n  \"version\": \"1.0.13\",\n  \"publishedAt\": 1786465777187\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/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_CALMING_TRIGGER_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: prod\n\nFile v1.0.13:skill-card.md\n\n## Description:\n\nAnalyzes pet monitoring media for anxiety, howling, or prolonged loneliness signals and returns structured reports, recommendations, and report links for soothing-trigger decisions.\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 analyze pet camera videos or media URLs for anxiety-related behavior, then review structured results and historical reports before deciding whether to trigger soothing actions.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Pet monitoring media and report queries are sent to lifeemergence.com services.\n\nMitigation: Use only with footage appropriate for external processing and with clear consent and retention expectations.\n\nRisk: The skill can create or reuse a local identity and store tokens in the workspace data directory.\n\nMitigation: Run it in a controlled workspace, review generated data after use, and avoid shared environments for sensitive footage.\n\nRisk: The authoritative security verdict is suspicious because of remote login and local token persistence behavior.\n\nMitigation: Review the skill and its network endpoints before installation, and restrict execution if the remote analysis service is not required.\n\n## Reference(s):\n\n- [Pet Calming Trigger Analysis API Documentation](artifact/references/api_doc.md)\n- [SMYX Analysis API Error Codes](artifact/skills/smyx_analysis/references/api_doc.md)\n- [Skill Demo](https://lifeemergence.com/sample.html)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, JSON, Guidance]\n\n**Output Format:** [Markdown text with structured JSON analysis content, recommendations, historical report listings, and report links.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Supports local mp4/avi/mov files up to 10 MB and public media URLs; URL media is downloaded by the remote API service.]\n\n## Skill Version(s):\n\n1.0.13 (source: server release metadata; artifact frontmatter: 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.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, 39160 bytes\n\nFiles: references/api_doc.md (676b), scripts/__init__.py (31b), scripts/config.py (659b), scripts/config.yaml (3b), scripts/pet_calming_trigger_analysis.py (3186b), scripts/skill.py (573b), skill-card.md (2999b), SKILL.md (10223b), 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 (153b)\n\nFile v1.0.12:SKILL.md\n\n---\nname: \"pet-calming-trigger-analysis\"\ndescription: \"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手\"\nversion: \"1.0.11\"\nlicense: \"MIT-0\"\n---\n\n# 🧸 Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **宠物安抚触发分析技能** |\n| 🎯 核心目标 | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PET_CALMING_TRIGGER` |\n\nEquipped with advanced pet emotion recognition algorithms, this feature precisely captures anxiety-induced behavioral\ntraits, including persistent howling, destructive pacing, and prolonged isolation. Through multi-modal sensor fusion\ntechnology, the system monitors vocal frequencies, movement trajectories, and duration data in real-time. Once abnormal\nemotional indicators exceed preset thresholds, it automatically triggers a smart soothing mechanism. This mechanism\nsupports playing calming soundscapes validated by animal behavior research and can link with laser toys to generate\ndynamic light spots that attract the pet's attention, effectively alleviating separation anxiety symptoms. The entire\nsystem forms a complete closed loop from monitoring to intervention, providing 24/7 intelligent companionship for pets\nleft alone and serving as an ideal solution for modern pet households.\n\n本功能搭载先进的宠物情绪识别算法，能够精准捕捉宠物的焦虑行为特征，包括持续性嚎叫、破坏性踱步及长时间独处状态。系统通过多模态传感器融合技术，实时监测宠物的声音频率、活动轨迹及时长数据，一旦识别到异常情绪指标超过预设阈值，即刻自动触发智能安抚机制。该机制支持播放经动物行为学研究验证的舒缓音效，并可联动激光逗宠设备生成动态光点吸引宠物注意力，有效缓解分离焦虑症状。整套系统形成从监测到干预的完整闭环，为独自在家的宠物提供全天候智能陪伴，是现代化宠物家庭的理想解决方案\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\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.pet_calming_trigger_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.pet_calming_trigger_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 检测要求 | Detection Requirements\n| 要求项 | 说明 |\n|---|---|\n| 摄像头固定位置 | ，覆盖宠物主要活动区域 |\n| 光线充足清晰 | ，宠物完整可见，便于观察肢体语言和行为 |\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.pet_calming_trigger_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史宠物安抚触发分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/pet_calming_trigger_analysis.py`](scripts/pet_calming_trigger_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：mp4/avi/mov，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本分析结果仅供智能触发参考，实际安抚效果因宠物个体差异有所不同 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地宠物监控视频\npython -m scripts.pet_calming_trigger_analysis --input /path/to/living_room.mp4 分析网络监控视频\npython -m scripts.pet_calming_trigger_analysis --url https://example.com/petcam.mp4 显示历史安抚记录/显示安抚报告清单列表/显示历史触发记录（自动触发关键词：查看历史安抚报告、历史报告、安抚报告清单等）\npython -m scripts.pet_calming_trigger_analysis --list\n\n# 输出精简报告\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --detail basic\n\n# 保存结果到文件\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --output result.json\n```\n\nFile v1.0.12:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-pet-calming-trigger-analysis\",\n  \"version\": \"1.0.12\",\n  \"publishedAt\": 1785705749401\n}\n\nFile v1.0.12:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放宠物安抚触发分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_CALMING_TRIGGER_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: prod\n\nFile v1.0.12:skill-card.md\n\n## Description: <br>\nAnalyzes pet-monitoring videos or video URLs through cloud APIs to produce structured pet emotion and behavior reports, report links, and report-history listings. <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 agent operators can use this skill to submit pet camera videos or URLs for cloud analysis of anxiety-related behavior and to retrieve prior analysis reports. It should be treated as a reporting and decision-support skill, not as proof that local soothing devices will be controlled automatically. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Pet camera videos or video URLs are sent to configured cloud services for analysis. <br>\nMitigation: Use the skill only for footage that is approved for cloud processing, and avoid submitting sensitive household scenes unless the operator accepts that data flow. <br>\nRisk: The skill can silently create or reuse an internally managed identity and associate report history with it. <br>\nMitigation: Review identity handling before deployment and run it in an isolated workspace when report history should not be shared across sessions. <br>\nRisk: Service tokens may be persisted in a local shared SQLite database. <br>\nMitigation: Restrict filesystem access to the workspace, rotate credentials after testing, and remove local state when uninstalling or transferring the environment. <br>\nRisk: The public description claims soothing-device automation, but the reviewed behavior primarily performs cloud analysis and report retrieval. <br>\nMitigation: Present outputs as analysis and recommendations only unless separate, reviewed device-control integrations are installed and verified. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-pet-calming-trigger-analysis) <br>\n- [Pet calming trigger API documentation](references/api_doc.md) <br>\n- [SMYX analysis API documentation](skills/smyx_analysis/references/api_doc.md) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown and JSON-like structured text with report export links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May print progress messages and can write the returned analysis text to a user-specified output file.] <br>\n\n## Skill Version(s): <br>\n1.0.12 (source: server release evidence; artifact 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.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, 39135 bytes\n\nFiles: references/api_doc.md (676b), scripts/__init__.py (31b), scripts/config.py (659b), scripts/config.yaml (3b), scripts/pet_calming_trigger_analysis.py (3186b), scripts/skill.py (573b), skill-card.md (3087b), SKILL.md (10223b), 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 (153b)\n\nFile v1.0.11:SKILL.md\n\n---\nname: \"pet-calming-trigger-analysis\"\ndescription: \"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手\"\nversion: \"1.0.10\"\nlicense: \"MIT-0\"\n---\n\n# 🧸 Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **宠物安抚触发分析技能** |\n| 🎯 核心目标 | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PET_CALMING_TRIGGER` |\n\nEquipped with advanced pet emotion recognition algorithms, this feature precisely captures anxiety-induced behavioral\ntraits, including persistent howling, destructive pacing, and prolonged isolation. Through multi-modal sensor fusion\ntechnology, the system monitors vocal frequencies, movement trajectories, and duration data in real-time. Once abnormal\nemotional indicators exceed preset thresholds, it automatically triggers a smart soothing mechanism. This mechanism\nsupports playing calming soundscapes validated by animal behavior research and can link with laser toys to generate\ndynamic light spots that attract the pet's attention, effectively alleviating separation anxiety symptoms. The entire\nsystem forms a complete closed loop from monitoring to intervention, providing 24/7 intelligent companionship for pets\nleft alone and serving as an ideal solution for modern pet households.\n\n本功能搭载先进的宠物情绪识别算法，能够精准捕捉宠物的焦虑行为特征，包括持续性嚎叫、破坏性踱步及长时间独处状态。系统通过多模态传感器融合技术，实时监测宠物的声音频率、活动轨迹及时长数据，一旦识别到异常情绪指标超过预设阈值，即刻自动触发智能安抚机制。该机制支持播放经动物行为学研究验证的舒缓音效，并可联动激光逗宠设备生成动态光点吸引宠物注意力，有效缓解分离焦虑症状。整套系统形成从监测到干预的完整闭环，为独自在家的宠物提供全天候智能陪伴，是现代化宠物家庭的理想解决方案\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\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.pet_calming_trigger_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.pet_calming_trigger_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 检测要求 | Detection Requirements\n| 要求项 | 说明 |\n|---|---|\n| 摄像头固定位置 | ，覆盖宠物主要活动区域 |\n| 光线充足清晰 | ，宠物完整可见，便于观察肢体语言和行为 |\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.pet_calming_trigger_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史宠物安抚触发分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/pet_calming_trigger_analysis.py`](scripts/pet_calming_trigger_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：mp4/avi/mov，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本分析结果仅供智能触发参考，实际安抚效果因宠物个体差异有所不同 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地宠物监控视频\npython -m scripts.pet_calming_trigger_analysis --input /path/to/living_room.mp4 分析网络监控视频\npython -m scripts.pet_calming_trigger_analysis --url https://example.com/petcam.mp4 显示历史安抚记录/显示安抚报告清单列表/显示历史触发记录（自动触发关键词：查看历史安抚报告、历史报告、安抚报告清单等）\npython -m scripts.pet_calming_trigger_analysis --list\n\n# 输出精简报告\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --detail basic\n\n# 保存结果到文件\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --output result.json\n```\n\nFile v1.0.11:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-pet-calming-trigger-analysis\",\n  \"version\": \"1.0.11\",\n  \"publishedAt\": 1785614608606\n}\n\nFile v1.0.11:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放宠物安抚触发分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_CALMING_TRIGGER_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: prod\n\nFile v1.0.11:skill-card.md\n\n## Description: <br>\nThe skill sends pet camera images or videos to a remote cloud API to analyze anxiety, howling, or prolonged loneliness and returns structured results, recommendations, and report links for pet soothing workflows. <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 ClawHub users and pet-care automation builders use this skill to analyze pet monitoring media, review detected anxiety-related behaviors, and retrieve cloud-hosted report history before deciding whether to trigger soothing actions. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Pet camera images or videos and account-linked identifiers are sent to remote services for analysis and report retrieval. <br>\nMitigation: Use the skill only with media and account data that users have consented to send to the provider cloud, and document expected remote processing before deployment. <br>\nRisk: The skill can silently create or reuse an internal identity and stores tokens for remote API access. <br>\nMitigation: Review identity creation, token storage, retention, and revocation behavior before installation in shared or sensitive environments. <br>\nRisk: Historical report triggers can retrieve cloud-hosted report history and export links. <br>\nMitigation: Limit report-history use to explicit user requests and verify that returned reports belong to the intended account context. <br>\nRisk: The artifact claims soothing-device triggering behavior, while the reviewed scripts primarily perform cloud analysis and report retrieval. <br>\nMitigation: Confirm the intended device-control path before relying on automatic soothing actions, or describe the skill as analysis-only until that behavior is implemented. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-pet-calming-trigger-analysis) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n- [Pet calming trigger 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, shell commands, guidance] <br>\n**Output Format:** [Markdown or JSON text from command-line execution, including structured analysis results and report/export links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Supports local media paths, remote media URLs, historical report listing, optional detail level, and optional output file writing.] <br>\n\n## Skill Version(s): <br>\n1.0.11 (source: server release metadata; artifact frontmatter says 1.0.10) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.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, 39139 bytes\n\nFiles: references/api_doc.md (676b), scripts/__init__.py (31b), scripts/config.py (659b), scripts/config.yaml (3b), scripts/pet_calming_trigger_analysis.py (3186b), scripts/skill.py (573b), skill-card.md (2886b), SKILL.md (10222b), 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 (153b)\n\nFile v1.0.10:SKILL.md\n\n---\nname: \"pet-calming-trigger-analysis\"\ndescription: \"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手\"\nversion: \"1.0.9\"\nlicense: \"MIT-0\"\n---\n\n# 🧸 Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **宠物安抚触发分析技能** |\n| 🎯 核心目标 | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PET_CALMING_TRIGGER` |\n\nEquipped with advanced pet emotion recognition algorithms, this feature precisely captures anxiety-induced behavioral\ntraits, including persistent howling, destructive pacing, and prolonged isolation. Through multi-modal sensor fusion\ntechnology, the system monitors vocal frequencies, movement trajectories, and duration data in real-time. Once abnormal\nemotional indicators exceed preset thresholds, it automatically triggers a smart soothing mechanism. This mechanism\nsupports playing calming soundscapes validated by animal behavior research and can link with laser toys to generate\ndynamic light spots that attract the pet's attention, effectively alleviating separation anxiety symptoms. The entire\nsystem forms a complete closed loop from monitoring to intervention, providing 24/7 intelligent companionship for pets\nleft alone and serving as an ideal solution for modern pet households.\n\n本功能搭载先进的宠物情绪识别算法，能够精准捕捉宠物的焦虑行为特征，包括持续性嚎叫、破坏性踱步及长时间独处状态。系统通过多模态传感器融合技术，实时监测宠物的声音频率、活动轨迹及时长数据，一旦识别到异常情绪指标超过预设阈值，即刻自动触发智能安抚机制。该机制支持播放经动物行为学研究验证的舒缓音效，并可联动激光逗宠设备生成动态光点吸引宠物注意力，有效缓解分离焦虑症状。整套系统形成从监测到干预的完整闭环，为独自在家的宠物提供全天候智能陪伴，是现代化宠物家庭的理想解决方案\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\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.pet_calming_trigger_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.pet_calming_trigger_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 检测要求 | Detection Requirements\n| 要求项 | 说明 |\n|---|---|\n| 摄像头固定位置 | ，覆盖宠物主要活动区域 |\n| 光线充足清晰 | ，宠物完整可见，便于观察肢体语言和行为 |\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.pet_calming_trigger_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史宠物安抚触发分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/pet_calming_trigger_analysis.py`](scripts/pet_calming_trigger_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：mp4/avi/mov，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本分析结果仅供智能触发参考，实际安抚效果因宠物个体差异有所不同 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地宠物监控视频\npython -m scripts.pet_calming_trigger_analysis --input /path/to/living_room.mp4 分析网络监控视频\npython -m scripts.pet_calming_trigger_analysis --url https://example.com/petcam.mp4 显示历史安抚记录/显示安抚报告清单列表/显示历史触发记录（自动触发关键词：查看历史安抚报告、历史报告、安抚报告清单等）\npython -m scripts.pet_calming_trigger_analysis --list\n\n# 输出精简报告\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --detail basic\n\n# 保存结果到文件\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --output result.json\n```\n\nFile v1.0.10:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-pet-calming-trigger-analysis\",\n  \"version\": \"1.0.10\",\n  \"publishedAt\": 1784032965808\n}\n\nFile v1.0.10:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放宠物安抚触发分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_CALMING_TRIGGER_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: <br>\nAutomatically triggers soothing mechanisms when pet anxiety, howling, or prolonged loneliness is detected, and produces structured pet behavior analysis reports from video or URL inputs. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[18072937735](https://clawhub.ai/user/18072937735) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and developers use this skill to analyze pet monitoring videos or media URLs for anxiety-related behavior, generate structured reports, and query prior cloud-hosted analysis reports. It is intended as an intelligent pet-care trigger and reporting assistant, not as a guaranteed animal-care or smart-device control system. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Pet camera media and submitted URLs are processed by the LifeEmergence cloud service. <br>\nMitigation: Use only media that is appropriate for cloud processing, avoid sensitive household footage, and review service handling before installation. <br>\nRisk: Report history is associated with a hidden local identity and backend tokens may be stored in the workspace. <br>\nMitigation: Review local workspace storage before and after use, protect generated identity and token files, and clear them when the skill is no longer needed. <br>\nRisk: The release is packaged as an automatic soothing trigger, but evidence does not show reviewed code that directly controls speakers, toys, or smart-home devices. <br>\nMitigation: Treat device activation as requiring separate reviewed integration code and human validation before connecting any physical pet-care devices. <br>\n\n\n## Reference(s): <br>\n- [ClawHub Skill Page](https://clawhub.ai/18072937735/skills/smyx-pet-calming-trigger-analysis) <br>\n- [Skill Demo](https://lifeemergence.com/sample.html) <br>\n- [Pet Calming Trigger API Documentation](references/api_doc.md) <br>\n- [Shared Analysis API Documentation](skills/smyx_analysis/references/api_doc.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown and JSON-like structured analysis text with optional report links and shell command examples] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Supports local video files or media URLs, historical report listing, optional detail level, and optional output file path.] <br>\n\n## Skill Version(s): <br>\n1.0.10 (source: server release metadata; artifact frontmatter reports 1.0.9) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.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, 38975 bytes\n\nFiles: references/api_doc.md (676b), scripts/__init__.py (31b), scripts/config.py (659b), scripts/config.yaml (3b), scripts/pet_calming_trigger_analysis.py (3186b), scripts/skill.py (573b), skill-card.md (2669b), SKILL.md (10222b), 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 (152b)\n\nFile v1.0.9:SKILL.md\n\n---\nname: \"pet-calming-trigger-analysis\"\ndescription: \"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手\"\nversion: \"1.0.8\"\nlicense: \"MIT-0\"\n---\n\n# 🧸 Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **宠物安抚触发分析技能** |\n| 🎯 核心目标 | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PET_CALMING_TRIGGER` |\n\nEquipped with advanced pet emotion recognition algorithms, this feature precisely captures anxiety-induced behavioral\ntraits, including persistent howling, destructive pacing, and prolonged isolation. Through multi-modal sensor fusion\ntechnology, the system monitors vocal frequencies, movement trajectories, and duration data in real-time. Once abnormal\nemotional indicators exceed preset thresholds, it automatically triggers a smart soothing mechanism. This mechanism\nsupports playing calming soundscapes validated by animal behavior research and can link with laser toys to generate\ndynamic light spots that attract the pet's attention, effectively alleviating separation anxiety symptoms. The entire\nsystem forms a complete closed loop from monitoring to intervention, providing 24/7 intelligent companionship for pets\nleft alone and serving as an ideal solution for modern pet households.\n\n本功能搭载先进的宠物情绪识别算法，能够精准捕捉宠物的焦虑行为特征，包括持续性嚎叫、破坏性踱步及长时间独处状态。系统通过多模态传感器融合技术，实时监测宠物的声音频率、活动轨迹及时长数据，一旦识别到异常情绪指标超过预设阈值，即刻自动触发智能安抚机制。该机制支持播放经动物行为学研究验证的舒缓音效，并可联动激光逗宠设备生成动态光点吸引宠物注意力，有效缓解分离焦虑症状。整套系统形成从监测到干预的完整闭环，为独自在家的宠物提供全天候智能陪伴，是现代化宠物家庭的理想解决方案\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\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.pet_calming_trigger_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.pet_calming_trigger_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 检测要求 | Detection Requirements\n| 要求项 | 说明 |\n|---|---|\n| 摄像头固定位置 | ，覆盖宠物主要活动区域 |\n| 光线充足清晰 | ，宠物完整可见，便于观察肢体语言和行为 |\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.pet_calming_trigger_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史宠物安抚触发分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/pet_calming_trigger_analysis.py`](scripts/pet_calming_trigger_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：mp4/avi/mov，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本分析结果仅供智能触发参考，实际安抚效果因宠物个体差异有所不同 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地宠物监控视频\npython -m scripts.pet_calming_trigger_analysis --input /path/to/living_room.mp4 分析网络监控视频\npython -m scripts.pet_calming_trigger_analysis --url https://example.com/petcam.mp4 显示历史安抚记录/显示安抚报告清单列表/显示历史触发记录（自动触发关键词：查看历史安抚报告、历史报告、安抚报告清单等）\npython -m scripts.pet_calming_trigger_analysis --list\n\n# 输出精简报告\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --detail basic\n\n# 保存结果到文件\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --output result.json\n```\n\nFile v1.0.9:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-pet-calming-trigger-analysis\",\n  \"version\": \"1.0.9\",\n  \"publishedAt\": 1783670552320\n}\n\nFile v1.0.9:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放宠物安抚触发分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_CALMING_TRIGGER_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>\nAutomatically triggers soothing mechanisms such as calming sounds or laser toys when pet anxiety, howling, or prolonged loneliness is detected. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[18072937735](https://clawhub.ai/user/18072937735) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and developers use this skill to analyze pet monitoring images, videos, local files, or URLs for anxiety-related behaviors and receive structured reports, recommendations, and report links. It can also query cloud-hosted historical pet-calming analysis reports. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: The server security review says the skill can upload pet or home media and URLs to external services for cloud processing. <br>\nMitigation: Review media contents before use, avoid sensitive footage, and run the skill only when external cloud processing is acceptable. <br>\nRisk: The server security review says the skill can query cloud report history and silently create or reuse an account identity. <br>\nMitigation: Install only for trusted publishers and inform users that report history and account-linked processing may be used. <br>\nRisk: The server security review says the skill can persist tokens in a local workspace database. <br>\nMitigation: Protect the workspace data directory, rotate credentials if the workspace is shared or compromised, and remove local stored credentials when uninstalling. <br>\n\n\n## Reference(s): <br>\n- [Pet Calming Trigger API Documentation](references/api_doc.md) <br>\n- [Shared Analysis API Documentation](skills/smyx_analysis/references/api_doc.md) <br>\n- [Skill Demo](https://lifeemergence.com/sample.html) <br>\n- [ClawHub Skill Page](https://clawhub.ai/18072937735/skills/smyx-pet-calming-trigger-analysis) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, JSON, shell commands, guidance] <br>\n**Output Format:** [Markdown and structured JSON-like analysis text, with optional saved output files] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May include analysis results, recommendations, cloud report history, and report export links.] <br>\n\n## Skill Version(s): <br>\n1.0.9 (source: ClawHub release metadata; artifact frontmatter reports 1.0.8) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.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, 35870 bytes\n\nFiles: references/api_doc.md (676b), scripts/__init__.py (31b), scripts/config.py (659b), scripts/config.yaml (3b), scripts/pet_calming_trigger_analysis.py (3186b), scripts/skill.py (573b), skill-card.md (2824b), SKILL.md (10222b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (22801b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (13468b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (23409b), _meta.json (152b)\n\nFile v1.0.8:SKILL.md\n\n---\nname: \"pet-calming-trigger-analysis\"\ndescription: \"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手\"\nversion: \"1.0.6\"\nlicense: \"MIT-0\"\n---\n\n# 🧸 Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **宠物安抚触发分析技能** |\n| 🎯 核心目标 | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PET_CALMING_TRIGGER` |\n\nEquipped with advanced pet emotion recognition algorithms, this feature precisely captures anxiety-induced behavioral\ntraits, including persistent howling, destructive pacing, and prolonged isolation. Through multi-modal sensor fusion\ntechnology, the system monitors vocal frequencies, movement trajectories, and duration data in real-time. Once abnormal\nemotional indicators exceed preset thresholds, it automatically triggers a smart soothing mechanism. This mechanism\nsupports playing calming soundscapes validated by animal behavior research and can link with laser toys to generate\ndynamic light spots that attract the pet's attention, effectively alleviating separation anxiety symptoms. The entire\nsystem forms a complete closed loop from monitoring to intervention, providing 24/7 intelligent companionship for pets\nleft alone and serving as an ideal solution for modern pet households.\n\n本功能搭载先进的宠物情绪识别算法，能够精准捕捉宠物的焦虑行为特征，包括持续性嚎叫、破坏性踱步及长时间独处状态。系统通过多模态传感器融合技术，实时监测宠物的声音频率、活动轨迹及时长数据，一旦识别到异常情绪指标超过预设阈值，即刻自动触发智能安抚机制。该机制支持播放经动物行为学研究验证的舒缓音效，并可联动激光逗宠设备生成动态光点吸引宠物注意力，有效缓解分离焦虑症状。整套系统形成从监测到干预的完整闭环，为独自在家的宠物提供全天候智能陪伴，是现代化宠物家庭的理想解决方案\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\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.pet_calming_trigger_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.pet_calming_trigger_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 📸 检测要求 | Detection Requirements\n| 要求项 | 说明 |\n|---|---|\n| 摄像头固定位置 | ，覆盖宠物主要活动区域 |\n| 光线充足清晰 | ，宠物完整可见，便于观察肢体语言和行为 |\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.pet_calming_trigger_analysis` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地视频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络视频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--list` | 显示历史宠物安抚触发分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/pet_calming_trigger_analysis.py`](scripts/pet_calming_trigger_analysis.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 🐍 必要脚本 | [`scripts/config.py`](scripts/config.py) | 调用 API、执行分析或查询历史报告 | 执行分析或查询时使用 |\n| 📘 领域参考 | [`references/api_doc.md`](references/api_doc.md) | 了解 API 接口规范、字段说明和错误码 | 仅在需要了解接口规范或错误码时读取 |\n\n## ⚠️ 注意事项 | Notes\n| 分类 | 注意事项 |\n|---|---|\n| 📚 文档读取 | 仅在需要时读取参考文档，保持上下文简洁 |\n| 📁 格式支持 | 支持格式：mp4/avi/mov，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 本分析结果仅供智能触发参考，实际安抚效果因宠物个体差异有所不同 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地宠物监控视频\npython -m scripts.pet_calming_trigger_analysis --input /path/to/living_room.mp4 分析网络监控视频\npython -m scripts.pet_calming_trigger_analysis --url https://example.com/petcam.mp4 显示历史安抚记录/显示安抚报告清单列表/显示历史触发记录（自动触发关键词：查看历史安抚报告、历史报告、安抚报告清单等）\npython -m scripts.pet_calming_trigger_analysis --list\n\n# 输出精简报告\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --detail basic\n\n# 保存结果到文件\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --output result.json\n```\n\nFile v1.0.8:_meta.json\n\n{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-pet-calming-trigger-analysis\",\n  \"version\": \"1.0.8\",\n  \"publishedAt\": 1782686903480\n}\n\nFile v1.0.8:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放宠物安抚触发分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_CALMING_TRIGGER_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 pet monitoring videos or video URLs for anxiety, howling, and prolonged loneliness signals, then returns structured pet-soothing trigger analysis and 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 pet-care application developers use this skill to submit pet camera footage for cloud analysis, review structured behavior results, and retrieve historical pet-soothing trigger reports. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Pet-camera videos or video URLs may contain sensitive home footage and are sent to the configured cloud analysis service. <br>\nMitigation: Request explicit user confirmation before upload or history lookup, avoid private or internal URLs, and avoid sensitive footage unless retention and deletion terms are clear. <br>\nRisk: Report history is tied to an automatically selected local identity and service tokens may be stored in a local SQLite database. <br>\nMitigation: Run only in trusted workspaces, review local data retention, and rotate or remove stored tokens when the skill is no longer needed. <br>\nRisk: The release is advertised as an automatic soothing-device trigger, while the artifact behavior mainly returns analysis output and report links. <br>\nMitigation: Treat output as decision support and verify any separate device-control integration before relying on automated pet-soothing actions. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/18072937735/skills/smyx-pet-calming-trigger-analysis) <br>\n- [Publisher profile](https://clawhub.ai/user/18072937735) <br>\n- [API interface documentation](references/api_doc.md) <br>\n- [Shared analysis API documentation](skills/smyx_analysis/references/api_doc.md) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, JSON, shell commands, guidance] <br>\n**Output Format:** [Markdown or JSON text containing analysis results, report links, and report-history listings.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Results are produced from configured cloud analysis APIs; local video inputs are limited to mp4, avi, or mov files up to 10 MB.] <br>\n\n## Skill Version(s): <br>\n1.0.8 (source: ClawHub release evidence; artifact frontmatter lists 1.0.6) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.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","readmeExcerpt":"Skill: Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能 Owner: 18072937735 Summary: Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 Tags: latest:1.0.17 Version history: v1.0.17 | 2026-09-29T18:43:37.125Z | auto - Upda","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"python -m scripts.pet_calming_trigger_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地宠物监控视频\npython -m scripts.pet_calming_trigger_analysis --input /path/to/living_room.mp4 分析网络监控视频\npython -m scripts.pet_calming_trigger_analysis --url https://example.com/petcam.mp4 显示历史安抚记录/显示安抚报告清单列表/显示历史触发记录（自动触发关键词：查看历史安抚报告、历史报告、安抚报告清单等）\npython -m scripts.pet_calming_trigger_analysis --list\n\n# 输出精简报告\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --detail basic\n\n# 保存结果到文件\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --output result.json"},{"language":"bash","snippet":"python -m scripts.pet_calming_trigger_analysis --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地宠物监控视频\npython -m scripts.pet_calming_trigger_analysis --input /path/to/living_room.mp4 分析网络监控视频\npython -m scripts.pet_calming_trigger_analysis --url https://example.com/petcam.mp4 显示历史安抚记录/显示安抚报告清单列表/显示历史触发记录（自动触发关键词：查看历史安抚报告、历史报告、安抚报告清单等）\npython -m scripts.pet_calming_trigger_analysis --list\n\n# 输出精简报告\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --detail basic\n\n# 保存结果到文件\npython -m scripts.pet_calming_trigger_analysis --input living_room.mp4 --output result.json"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: \"pet-calming-trigger-analysis\"\ndescription: \"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手\"\nversion: \"1.0.20\"\nlicense: \"MIT-0\"\n---\n\n# 🧸 Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **宠物安抚触发分析技能** |\n| 🎯 核心目标 | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `PET_CALMING_TRIGGER` |\n\nEquipped with advanced pet emotion recognition algorithms, this feature precisely captures anxiety-induced behavioral\ntraits, including persistent howling, destructive pacing, and prolonged isolation. Through multi-modal sensor fusion\ntechnology, the system monitors vocal frequencies, movement trajectories, and duration data in real-time. Once abnormal\nemotional indicators exceed preset thresholds, it automatically triggers a smart soothing mechanism. This mechanism\nsupports playing calming soundscapes validated by animal behavior research and can link with laser toys to generate\ndynamic light spots that attract the pet's attention, effectively alleviating separation anxiety symptoms. The entire\nsystem forms a complete closed loop from monitoring to intervention, providing 24/7 intelligent companionship for pets\nleft alone and serving as an ideal solution for modern pet households.\n\n本功能搭载先进的宠物情绪识别算法，能够精准捕捉宠物的焦虑行为特征，包括持续性嚎叫、破坏性踱步及长时间独处状态。系统通过多模态传感器融合技术，实时监测宠物的声音频率、活动轨迹及时长数据，一旦识别到异常情绪指标超过预设阈值，即刻自动触发智能安抚机制。该机制支持播放经动物行为学研究验证的舒缓音效，并可联动激光逗宠设备生成动态光点吸引宠物注意力，有效缓解分离焦虑症状。整套系统形成从监测到干预的完整闭环，为独自在家的宠物提供全天候智能陪伴，是现代化宠物家庭的理想解决方案\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\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.pet_calming_trigger_analysis --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.pet_calming_trigger_analysis --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7e2caqj7pnsvr9r7t8zenghs83xw7n\",\n  \"slug\": \"smyx-pet-calming-trigger-analysis\",\n  \"version\": \"1.0.17\",\n  \"publishedAt\": 1790707417125\n}"},{"path":"references/api_doc.md","content":"# API 接口文档\n\n此处用于存放宠物安抚触发分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/ai-analysis/v2/start-common-ai-analysis` - 启动AI分析任务\n2. `/web/ai-analysis/v2/get-common-ai-analysis-result` - 获取分析结果\n3. `/web/ai-analysis/page-common-ai-analysis-result` - 分页查询历史报告\n4. `/ai/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_PET_CALMING_TRIGGER_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":"Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 Skill: Pet Soothing Trigger Analysis Skill | 宠物安抚触发分析技能 Owner: 18072937735 Summary: Automatically triggers soothing mechanisms (playing relaxing sounds, activating laser toys) when pet anxiety, howling, or prolonged loneliness is detected; a smart companion for pet care. | 宠物安抚触发技能，检测到宠物焦虑、嚎叫、长时间孤独时，自动触发安抚机制（播放舒缓音效、开启激光逗宠），智能宠物陪伴好帮手 Tags: latest:1.0.17 Version history: v1.0.17 | 2026-09-29T18:43:37.125Z | auto - Upda","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":874,"uniquenessScore":52,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T15:31:23.022Z","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-09T15:31:23.022Z","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-10T02:03:37.848Z","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"}]}}}