{"id":"1825ef48-caa9-43ee-82fd-d1258de8b25c","entityType":"agent","slug":"clawhub-smyx-sunjinhui-smyx-fraud-call-identification-analysis","name":"Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具","canonicalUrl":"https://www.xpersona.co/agent/clawhub-smyx-sunjinhui-smyx-fraud-call-identification-analysis","canonicalPath":"/agent/clawhub-smyx-sunjinhui-smyx-fraud-call-identification-analysis","generatedAt":"2026-10-10T07:10:10.007Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T16:07:02.159Z","emptyReason":null},"description":"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 Skill: Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具 Owner: smyx-sunjinhui Summary: Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 Tags: latest:9.9.18 Version history: v9.9.18 | 2026","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 2.3K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17cfv2h26b7hq5w47tgfy23xx83z9x6:smyx-fraud-call-identification-analysis","sourceUrl":"https://clawhub.ai/smyx-sunjinhui/smyx-fraud-call-identification-analysis","homepage":"https://clawhub.ai/smyx-sunjinhui/skills/smyx-fraud-call-identification-analysis","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/smyx-sunjinhui/smyx-fraud-call-identification-analysis","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/smyx-sunjinhui/skills/smyx-fraud-call-identification-analysis","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":67,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and "},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T16:07:02.159Z","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-09T16:07:02.159Z","emptyReason":null},"stars":null,"forks":null,"downloads":2346,"packageName":null,"latestVersion":"9.9.18","tractionLabel":"2.3K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T16:07:02.159Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T16:07:02.159Z","lastCrawledAt":"2026-10-09T16:07:02.159Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T16:07:02.159Z","lastVerifiedAt":null,"highlights":[{"version":"9.9.18","createdAt":"2026-09-28T00:24:25.916Z","changelog":"- Version updated to 1.0.18. - Documentation in SKILL.md revised; minor content and version update. - File skill-card.md was removed. - No feature or behavior changes—this update affects documentation and packaging only.","fileCount":31,"zipByteSize":38581},{"version":"9.9.17","createdAt":"2026-09-23T11:47:38.787Z","changelog":"- Version bumped to 1.0.17. - Updated documentation in SKILL.md, including minor clarifications and corrections. - Removed redundant file: skill-card.md. - No changes to core logic or user-facing features.","fileCount":31,"zipByteSize":38673},{"version":"9.9.16","createdAt":"2026-09-08T17:15:30.854Z","changelog":"- Updated SKILL.md version from 1.0.14 to 1.0.16 with minor text/content revisions. - Removed skill-card.md file. - No feature or workflow changes; documentation and metadata updates only.","fileCount":31,"zipByteSize":38706},{"version":"9.9.15","createdAt":"2026-08-30T04:27:31.019Z","changelog":"- Updated version info in SKILL.md from 1.0.13 to 1.0.14. - Removed deprecated file: skill-card.md. - No functional or feature changes to analysis logic or workflow. - Documentation maintained with no significant content edits other than metadata/version update and file removal.","fileCount":31,"zipByteSize":38716},{"version":"9.9.14","createdAt":"2026-08-21T23:08:28.233Z","changelog":"- Updated SKILL.md version to 1.0.13 with minor adjustments to task description and details. - Made small clarifications and alignment in the documentation, without impacting usage or core workflow. - Removed the deprecated skill-card.md file.","fileCount":31,"zipByteSize":38700},{"version":"9.9.13","createdAt":"2026-08-11T23:35:35.104Z","changelog":"- Version bumped from 1.0.10 to 1.0.11 in SKILL.md. - Minor documentation updates; no changes to feature set or workflow. - File skill-card.md removed for streamlined documentation. - No changes to parameters, usage, or behavior.","fileCount":31,"zipByteSize":38692},{"version":"9.9.12","createdAt":"2026-07-26T18:44:32.936Z","changelog":"- Updated version to 1.0.10 in SKILL.md. - Minor content or metadata adjustments in SKILL.md. - Removed the file skill-card.md.","fileCount":31,"zipByteSize":38634},{"version":"9.9.11","createdAt":"2026-07-19T09:28:28.096Z","changelog":"Changelog for version 9.9.11: - Bumped SKILL.md version to 1.0.9. - Updated documentation in SKILL.md for improved clarity and accuracy. - Removed the outdated skill-card.md file. - Modified scripts/smyx_common/scripts/util.py (details not shown).","fileCount":31,"zipByteSize":38763}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17cfv2h26b7hq5w47tgfy23xx83z9x6:smyx-fraud-call-identification-analysis","setupComplexity":"low","setupSteps":["Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-fraud-call-identification-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-fraud-call-identification-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-fraud-call-identification-analysis/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-fraud-call-identification-analysis/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-fraud-call-identification-analysis/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-fraud-call-identification-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-10T07:10:10.003Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-fraud-call-identification-analysis/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-fraud-call-identification-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-fraud-call-identification-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-fraud-call-identification-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-09T16:07:02.159Z","emptyReason":null},"readme":"Skill: Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具\n\nOwner: smyx-sunjinhui\n\nSummary: Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告\n\nTags: latest:9.9.18\n\nVersion history:\n\nv9.9.18 | 2026-09-28T00:24:25.916Z | auto\n\n- Version updated to 1.0.18.\n- Documentation in SKILL.md revised; minor content and version update.\n- File skill-card.md was removed.\n- No feature or behavior changes—this update affects documentation and packaging only.\n\nv9.9.17 | 2026-09-23T11:47:38.787Z | auto\n\n- Version bumped to 1.0.17.\n- Updated documentation in SKILL.md, including minor clarifications and corrections.\n- Removed redundant file: skill-card.md.\n- No changes to core logic or user-facing features.\n\nv9.9.16 | 2026-09-08T17:15:30.854Z | auto\n\n- Updated SKILL.md version from 1.0.14 to 1.0.16 with minor text/content revisions.\n- Removed skill-card.md file.\n- No feature or workflow changes; documentation and metadata updates only.\n\nv9.9.15 | 2026-08-30T04:27:31.019Z | auto\n\n- Updated version info in SKILL.md from 1.0.13 to 1.0.14.\n- Removed deprecated file: skill-card.md.\n- No functional or feature changes to analysis logic or workflow. \n- Documentation maintained with no significant content edits other than metadata/version update and file removal.\n\nv9.9.14 | 2026-08-21T23:08:28.233Z | auto\n\n- Updated SKILL.md version to 1.0.13 with minor adjustments to task description and details.\n- Made small clarifications and alignment in the documentation, without impacting usage or core workflow.\n- Removed the deprecated skill-card.md file.\n\nv9.9.13 | 2026-08-11T23:35:35.104Z | auto\n\n- Version bumped from 1.0.10 to 1.0.11 in SKILL.md.\n- Minor documentation updates; no changes to feature set or workflow.\n- File skill-card.md removed for streamlined documentation.\n- No changes to parameters, usage, or behavior.\n\nv9.9.12 | 2026-07-26T18:44:32.936Z | auto\n\n- Updated version to 1.0.10 in SKILL.md.\n- Minor content or metadata adjustments in SKILL.md.\n- Removed the file skill-card.md.\n\nv9.9.11 | 2026-07-19T09:28:28.096Z | auto\n\nChangelog for version 9.9.11:\n\n- Bumped SKILL.md version to 1.0.9.\n- Updated documentation in SKILL.md for improved clarity and accuracy.\n- Removed the outdated skill-card.md file.\n- Modified scripts/smyx_common/scripts/util.py (details not shown).\n\nv9.9.10 | 2026-07-09T08:44:29.526Z | auto\n\n- Removed the skill summary file `skill-card.md`.\n- No changes to the code or core documentation.\n- No feature, API, or user experience changes in this version.\n\nv9.9.9 | 2026-07-07T18:16:05.177Z | auto\n\nNo file changes detected for version 9.9.9.\n\n- No updates or code/documentation changes in this version.\n- Existing functionality, features, and documentation remain unchanged.\n\nv1.0.5 | 2026-07-04T18:49:29.399Z | auto\n\n- Updated version to 1.0.7.\n- Documentation improvements in SKILL.md to clarify use and workflow.\n- Removed obsolete file: skill-card.md.\n- Minor adjustments in configuration and utility scripts.\n\nv1.0.4 | 2026-06-25T07:33:26.746Z | auto\n\n**Major revision: Identity handling is now fully automatic, with improved modularity and new analysis modules.**\n\n- Internal identity parameters (open-id) are completely managed by the system; users are never prompted for or shown identity info.\n- All user flows, including report queries, now leverage automatic internal identity association.\n- Refactored for clearer module boundaries; new `smyx_analysis` submodule and supporting files introduced.\n- Removed legacy face analysis module to streamline skill focus.\n- Documentation updated to reflect automated identity, stricter API/cloud query requirements, and a more concise user experience.\n- Table outputs, analysis workflows, and rules governing report access are clarified and simplified for all users.\n\nv1.0.3 | 2026-05-13T17:19:42.533Z | auto\n\n- Improved configuration management to support dev and test environments (updated config-dev.yaml, config-test.yaml).\n- Enhanced shared utilities and initialization logic in smyx_common/scripts for better modularity and maintainability.\n- Updated handling of API keys and open-id retrieval in configuration and utility scripts.\n- Minor code refactoring in main and utility script files for improved clarity and consistency.\n- No changes to the skill's user-facing documentation or interface.\n\nv1.0.2 | 2026-05-03T22:20:38.742Z | auto\n\nNo changes detected in this version.\n\n- No file changes or updates were made in version 1.0.2.\n\nv1.0.1 | 2026-05-01T00:39:46.469Z | auto\n\n- Updated configuration and utility scripts in the common module (`smyx_common`) for improved settings management.\n- Made changes to face analysis scripts, likely aligning config and script structure across skills.\n- Refined configuration YAML files for development, testing, and production environments.\n- No changes to end-user workflow or visible analysis/reporting features.\n- Documentation and skill metadata remain consistent with the previous skill version; no breaking changes.\n\nv1.0.0 | 2026-04-15T17:27:24.030Z | auto\n\nFraud Call Identification Analysis Tool — Initial Release\n\n- Provides real-time, multi-dimensional risk analysis of incoming call content to identify fraud and assess risk level.\n- Supports analysis of audio files, audio URLs, or call transcripts, with automatic report generation.\n- Enforces strict rules for open-id acquisition and mandates cloud-based report queries (local memory strictly forbidden).\n- Includes clear instructions for use, open-id handling, and output formatting for both report and report list views (with Markdown table examples).\n- Multi-language description and detailed process control for secure and compliant fraud call analysis workflows.\n\nArchive index:\n\nArchive v9.9.18: 31 files, 38581 bytes\n\nFiles: references/api_doc.md (712b), scripts/__init__.py (31b), scripts/config.py (656b), scripts/config.yaml (3b), scripts/fraud_call_identification.py (3323b), scripts/skill.py (585b), skill-card.md (2211b), SKILL.md (9917b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (159b)\n\nFile v9.9.18:SKILL.md\n\n---\nname: \"fraud-call-identification-analysis\"\ndescription: \"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告\"\nversion: \"1.0.18\"\nlicense: \"MIT-0\"\n---\n\n# 📞 Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **诈骗电话识别分析工具** |\n| 🎯 核心目标 | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `FRAUD_CALL_IDENTIFICATION` |\n\nThis capability conducts real-time, multi-dimensional risk analysis of incoming call content, intelligently identifying\ntypical fraud scripts such as impersonating officials, investment scams, and brush-and-rebate schemes. Based on Natural\nLanguage Understanding and semantic comparison models, the system comprehensively evaluates high-risk features including\nthreatening instructions, emotional manipulation, and urgent transfer requests to determine if a call is fraudulent and\noutputs a risk level. Upon completion, it generates an \"Anti-Fraud Guardian Analysis Report,\" helping users or security\nagencies quickly grasp risk details and enhance their proactive prevention and interception capabilities.\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| 5 | 防诈建议生成 |\n| 6 | 具备顶尖测谎能力 |\n| 7 | 能从正常对话中洞察异常 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供通话录音文件 URL 或本地文件/文字内容需要分析时，默认触发本技能进行诈骗电话识别分析 |\n| 🔎 明确分析意图 | 当用户明确需要进行诈骗识别、反诈分析时，提及诈骗电话、反诈分析、骗子识别、通话风险分析等关键词，并且上传了音频文件或者提供了通话文字内容 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史反诈报告、历史反诈分析报告、诈骗识别报告清单、反诈报告清单、查询历史反诈报告、查看反诈报告列表、显示所有反诈报告、显示诈骗识别报告，查询反诈卫士分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.fraud_call_identification --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.fraud_call_identification --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备输入内容 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行诈骗电话识别分析 | 调用 `-m scripts.fraud_call_identification` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地音频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络音频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--text` | 通话文字内容（直接输入文本分析） | 按需填写 |\n| `--list` | 显示历史诈骗识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/fraud_call_identification.py`](scripts/fraud_call_identification.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| 📁 格式支持 | 音频要求：支持 mp3/wav/m4a 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供反诈参考，不能替代警方正式判定，如遇可疑诈骗请及时报警 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地音频文件\npython -m scripts.fraud_call_identification --input /path/to/call_recording.mp3\n\n# 分析网络音频 URL\npython -m scripts.fraud_call_identification --url https://example.com/call_recording.mp3\n\n# 分析通话文字内容\npython -m scripts.fraud_call_identification --text \"您好，我是银行客服，您的账户涉嫌洗钱...\"\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史反诈报告（自动触发关键词：查看历史反诈报告、历史报告、反诈报告清单等）\npython -m scripts.fraud_call_identification --list\n\n# 输出精简报告\npython -m scripts.fraud_call_identification --input recording.mp3 --detail basic\n\n# 保存结果到文件\npython -m scripts.fraud_call_identification --input recording.mp3 --output result.json\n```\n\nFile v9.9.18:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-fraud-call-identification-analysis\",\n  \"version\": \"9.9.18\",\n  \"publishedAt\": 1790555065916\n}\n\nFile v9.9.18:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放诈骗电话识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传，纯文本支持 application/json\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/fraud-analysis/v2/start-fraud-analysis` - 启动诈骗分析任务\n2. `/web/fraud-analysis/v2/get-fraud-analysis-result` - 获取分析结果\n3. `/web/fraud-analysis/page-fraud-analysis-result` - 分页查询历史报告\n4. `/fraud/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_FRAUD_CALL_IDENTIFICATION` - 开放平台诈骗电话识别分析\n\nFile v9.9.18: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 v9.9.18:scripts/config.yaml\n\n{}\n\nFile v9.9.18:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v9.9.18: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 v9.9.18: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 v9.9.18: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 v9.9.18:skill-card.md\n\n## Description:\n\nAnalyzes call recordings, audio URLs, or transcripts for possible fraud and provides risk assessments and an anti-fraud report.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nPeople reviewing suspicious calls and developers building anti-fraud workflows can analyze call audio or transcripts, assess potential scam indicators, and retrieve prior reports.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Call recordings, transcripts, or supplied URLs are sent to lifeemergence.com services for analysis.\n\nMitigation: Disclose remote processing and obtain appropriate consent before submitting sensitive call content.\n\nRisk: Report history can be queried from cloud storage and linked to a locally created or reused identity with tokens stored in a workspace SQLite database.\n\nMitigation: Limit access to report history and the local workspace, and review stored identity and token handling before installation.\n\nRisk: The broader cloud media-analysis and authentication behavior is not fully explained by the fraud-call description.\n\nMitigation: Review the skill and its remote-service behavior before enabling it for users.\n\n## Reference(s):\n\n- [ClawHub skill release](https://clawhub.ai/smyx-sunjinhui/skills/smyx-fraud-call-identification-analysis)\n- [Fraud analysis API documentation](references/api_doc.md)\n- [Skill demonstration](https://lifeemergence.com/sample.html)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, JSON]\n\n**Output Format:** [Markdown reports or structured JSON]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Includes risk assessments, fraud indicators, recommendations, report links, or requested report history.]\n\n## Skill Version(s):\n\n9.9.18 (source: ClawHub release; packaged 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 v9.9.18:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v9.9.18:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v9.9.17: 31 files, 38673 bytes\n\nFiles: references/api_doc.md (712b), scripts/__init__.py (31b), scripts/config.py (656b), scripts/config.yaml (3b), scripts/fraud_call_identification.py (3323b), scripts/skill.py (585b), skill-card.md (2474b), SKILL.md (9917b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (159b)\n\nFile v9.9.17:SKILL.md\n\n---\nname: \"fraud-call-identification-analysis\"\ndescription: \"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告\"\nversion: \"1.0.17\"\nlicense: \"MIT-0\"\n---\n\n# 📞 Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **诈骗电话识别分析工具** |\n| 🎯 核心目标 | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `FRAUD_CALL_IDENTIFICATION` |\n\nThis capability conducts real-time, multi-dimensional risk analysis of incoming call content, intelligently identifying\ntypical fraud scripts such as impersonating officials, investment scams, and brush-and-rebate schemes. Based on Natural\nLanguage Understanding and semantic comparison models, the system comprehensively evaluates high-risk features including\nthreatening instructions, emotional manipulation, and urgent transfer requests to determine if a call is fraudulent and\noutputs a risk level. Upon completion, it generates an \"Anti-Fraud Guardian Analysis Report,\" helping users or security\nagencies quickly grasp risk details and enhance their proactive prevention and interception capabilities.\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| 5 | 防诈建议生成 |\n| 6 | 具备顶尖测谎能力 |\n| 7 | 能从正常对话中洞察异常 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供通话录音文件 URL 或本地文件/文字内容需要分析时，默认触发本技能进行诈骗电话识别分析 |\n| 🔎 明确分析意图 | 当用户明确需要进行诈骗识别、反诈分析时，提及诈骗电话、反诈分析、骗子识别、通话风险分析等关键词，并且上传了音频文件或者提供了通话文字内容 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史反诈报告、历史反诈分析报告、诈骗识别报告清单、反诈报告清单、查询历史反诈报告、查看反诈报告列表、显示所有反诈报告、显示诈骗识别报告，查询反诈卫士分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.fraud_call_identification --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.fraud_call_identification --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备输入内容 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行诈骗电话识别分析 | 调用 `-m scripts.fraud_call_identification` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地音频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络音频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--text` | 通话文字内容（直接输入文本分析） | 按需填写 |\n| `--list` | 显示历史诈骗识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/fraud_call_identification.py`](scripts/fraud_call_identification.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| 📁 格式支持 | 音频要求：支持 mp3/wav/m4a 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供反诈参考，不能替代警方正式判定，如遇可疑诈骗请及时报警 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地音频文件\npython -m scripts.fraud_call_identification --input /path/to/call_recording.mp3\n\n# 分析网络音频 URL\npython -m scripts.fraud_call_identification --url https://example.com/call_recording.mp3\n\n# 分析通话文字内容\npython -m scripts.fraud_call_identification --text \"您好，我是银行客服，您的账户涉嫌洗钱...\"\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史反诈报告（自动触发关键词：查看历史反诈报告、历史报告、反诈报告清单等）\npython -m scripts.fraud_call_identification --list\n\n# 输出精简报告\npython -m scripts.fraud_call_identification --input recording.mp3 --detail basic\n\n# 保存结果到文件\npython -m scripts.fraud_call_identification --input recording.mp3 --output result.json\n```\n\nFile v9.9.17:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-fraud-call-identification-analysis\",\n  \"version\": \"9.9.17\",\n  \"publishedAt\": 1790164058787\n}\n\nFile v9.9.17:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放诈骗电话识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传，纯文本支持 application/json\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/fraud-analysis/v2/start-fraud-analysis` - 启动诈骗分析任务\n2. `/web/fraud-analysis/v2/get-fraud-analysis-result` - 获取分析结果\n3. `/web/fraud-analysis/page-fraud-analysis-result` - 分页查询历史报告\n4. `/fraud/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_FRAUD_CALL_IDENTIFICATION` - 开放平台诈骗电话识别分析\n\nFile v9.9.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 v9.9.17:scripts/config.yaml\n\n{}\n\nFile v9.9.17:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v9.9.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 v9.9.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 v9.9.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 v9.9.17:skill-card.md\n\n## Description:\n\nAnalyzes incoming call content for multi-dimensional risk, identifies scam scripts, determines whether a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users, security teams, and developers use this skill to analyze call recordings, call text, local files, or URLs for fraud-call indicators and receive a structured risk report with recommendations and report links.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The security evidence says the skill sends call content, uploaded files, URLs, identity-linked report data, and generated history reports to a configured cloud service.\n\nMitigation: Use only when the operator is comfortable sending that data to the configured service, and avoid highly sensitive calls unless the publisher provides clear privacy, retention, and token-storage terms.\n\nRisk: The security evidence flags under-disclosed cloud processing, automatic identity/account handling, and local token persistence for sensitive call and file data.\n\nMitigation: Review the publisher's data-handling terms and run the skill in an environment where token storage and account-linked report history are acceptable.\n\n## Reference(s):\n\n- [Fraud Call Identification API documentation](artifact/references/api_doc.md)\n- [Shared analysis API documentation](artifact/skills/smyx_analysis/references/api_doc.md)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-fraud-call-identification-analysis)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, json, shell commands, guidance]\n\n**Output Format:** [Markdown and structured JSON returned by command-line scripts]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Can return analysis results, risk guidance, report export links, or historical report lists.]\n\n## Skill Version(s):\n\n9.9.17 (source: ClawHub release metadata; artifact frontmatter version is 1.0.17)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v9.9.17:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v9.9.17:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v9.9.16: 31 files, 38706 bytes\n\nFiles: references/api_doc.md (712b), scripts/__init__.py (31b), scripts/config.py (656b), scripts/config.yaml (3b), scripts/fraud_call_identification.py (3323b), scripts/skill.py (585b), skill-card.md (2518b), SKILL.md (9917b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (472b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (159b)\n\nFile v9.9.16:SKILL.md\n\n---\nname: \"fraud-call-identification-analysis\"\ndescription: \"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告\"\nversion: \"1.0.16\"\nlicense: \"MIT-0\"\n---\n\n# 📞 Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **诈骗电话识别分析工具** |\n| 🎯 核心目标 | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `FRAUD_CALL_IDENTIFICATION` |\n\nThis capability conducts real-time, multi-dimensional risk analysis of incoming call content, intelligently identifying\ntypical fraud scripts such as impersonating officials, investment scams, and brush-and-rebate schemes. Based on Natural\nLanguage Understanding and semantic comparison models, the system comprehensively evaluates high-risk features including\nthreatening instructions, emotional manipulation, and urgent transfer requests to determine if a call is fraudulent and\noutputs a risk level. Upon completion, it generates an \"Anti-Fraud Guardian Analysis Report,\" helping users or security\nagencies quickly grasp risk details and enhance their proactive prevention and interception capabilities.\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| 5 | 防诈建议生成 |\n| 6 | 具备顶尖测谎能力 |\n| 7 | 能从正常对话中洞察异常 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供通话录音文件 URL 或本地文件/文字内容需要分析时，默认触发本技能进行诈骗电话识别分析 |\n| 🔎 明确分析意图 | 当用户明确需要进行诈骗识别、反诈分析时，提及诈骗电话、反诈分析、骗子识别、通话风险分析等关键词，并且上传了音频文件或者提供了通话文字内容 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史反诈报告、历史反诈分析报告、诈骗识别报告清单、反诈报告清单、查询历史反诈报告、查看反诈报告列表、显示所有反诈报告、显示诈骗识别报告，查询反诈卫士分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.fraud_call_identification --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.fraud_call_identification --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备输入内容 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行诈骗电话识别分析 | 调用 `-m scripts.fraud_call_identification` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地音频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络音频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--text` | 通话文字内容（直接输入文本分析） | 按需填写 |\n| `--list` | 显示历史诈骗识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/fraud_call_identification.py`](scripts/fraud_call_identification.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| 📁 格式支持 | 音频要求：支持 mp3/wav/m4a 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供反诈参考，不能替代警方正式判定，如遇可疑诈骗请及时报警 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地音频文件\npython -m scripts.fraud_call_identification --input /path/to/call_recording.mp3\n\n# 分析网络音频 URL\npython -m scripts.fraud_call_identification --url https://example.com/call_recording.mp3\n\n# 分析通话文字内容\npython -m scripts.fraud_call_identification --text \"您好，我是银行客服，您的账户涉嫌洗钱...\"\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史反诈报告（自动触发关键词：查看历史反诈报告、历史报告、反诈报告清单等）\npython -m scripts.fraud_call_identification --list\n\n# 输出精简报告\npython -m scripts.fraud_call_identification --input recording.mp3 --detail basic\n\n# 保存结果到文件\npython -m scripts.fraud_call_identification --input recording.mp3 --output result.json\n```\n\nFile v9.9.16:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-fraud-call-identification-analysis\",\n  \"version\": \"9.9.16\",\n  \"publishedAt\": 1788887730854\n}\n\nFile v9.9.16:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放诈骗电话识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传，纯文本支持 application/json\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/fraud-analysis/v2/start-fraud-analysis` - 启动诈骗分析任务\n2. `/web/fraud-analysis/v2/get-fraud-analysis-result` - 获取分析结果\n3. `/web/fraud-analysis/page-fraud-analysis-result` - 分页查询历史报告\n4. `/fraud/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_FRAUD_CALL_IDENTIFICATION` - 开放平台诈骗电话识别分析\n\nFile v9.9.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 v9.9.16:scripts/config.yaml\n\n{}\n\nFile v9.9.16:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v9.9.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 v9.9.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 v9.9.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 v9.9.16:skill-card.md\n\n## Description:\n\nAnalyzes incoming call content for multi-dimensional risk, identifies scam scripts, determines whether a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users, analysts, and safety teams use this skill to submit call recordings, audio URLs, or call text for fraud-risk analysis and structured anti-fraud reporting. It can also query cloud-hosted historical analysis reports associated with the resolved user identity.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Call recordings, media files, text, and report queries may be sent to a third-party cloud service.\n\nMitigation: Use only with trusted deployments and non-sensitive inputs until remote processing, retention, and data handling are documented.\n\nRisk: The security scan reports under-disclosed local identity persistence and token storage.\n\nMitigation: Review identity creation and stored credentials before installation, and make identity use explicit and controllable for the operator.\n\nRisk: The security scan reports active plaintext HTTP endpoints in the package.\n\nMitigation: Disable development HTTP endpoints and require HTTPS endpoints before handling sensitive recordings or reports.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-fraud-call-identification-analysis)\n- [Skill Demo](https://lifeemergence.com/sample.html)\n- [API Interface Documentation](artifact/references/api_doc.md)\n- [Analysis API Interface Documentation](artifact/skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown and JSON-style structured analysis output with optional report links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May write analysis results to a user-specified output file and may return cloud report export links.]\n\n## Skill Version(s):\n\n9.9.16 (source: server release metadata; artifact frontmatter version: 1.0.16)\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 v9.9.16:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v9.9.16:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v9.9.15: 31 files, 38716 bytes\n\nFiles: references/api_doc.md (712b), scripts/__init__.py (31b), scripts/config.py (656b), scripts/config.yaml (3b), scripts/fraud_call_identification.py (3323b), scripts/skill.py (585b), skill-card.md (2641b), SKILL.md (9917b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (472b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (159b)\n\nFile v9.9.15:SKILL.md\n\n---\nname: \"fraud-call-identification-analysis\"\ndescription: \"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告\"\nversion: \"1.0.14\"\nlicense: \"MIT-0\"\n---\n\n# 📞 Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **诈骗电话识别分析工具** |\n| 🎯 核心目标 | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `FRAUD_CALL_IDENTIFICATION` |\n\nThis capability conducts real-time, multi-dimensional risk analysis of incoming call content, intelligently identifying\ntypical fraud scripts such as impersonating officials, investment scams, and brush-and-rebate schemes. Based on Natural\nLanguage Understanding and semantic comparison models, the system comprehensively evaluates high-risk features including\nthreatening instructions, emotional manipulation, and urgent transfer requests to determine if a call is fraudulent and\noutputs a risk level. Upon completion, it generates an \"Anti-Fraud Guardian Analysis Report,\" helping users or security\nagencies quickly grasp risk details and enhance their proactive prevention and interception capabilities.\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| 5 | 防诈建议生成 |\n| 6 | 具备顶尖测谎能力 |\n| 7 | 能从正常对话中洞察异常 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供通话录音文件 URL 或本地文件/文字内容需要分析时，默认触发本技能进行诈骗电话识别分析 |\n| 🔎 明确分析意图 | 当用户明确需要进行诈骗识别、反诈分析时，提及诈骗电话、反诈分析、骗子识别、通话风险分析等关键词，并且上传了音频文件或者提供了通话文字内容 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史反诈报告、历史反诈分析报告、诈骗识别报告清单、反诈报告清单、查询历史反诈报告、查看反诈报告列表、显示所有反诈报告、显示诈骗识别报告，查询反诈卫士分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.fraud_call_identification --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.fraud_call_identification --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备输入内容 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行诈骗电话识别分析 | 调用 `-m scripts.fraud_call_identification` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地音频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络音频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--text` | 通话文字内容（直接输入文本分析） | 按需填写 |\n| `--list` | 显示历史诈骗识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/fraud_call_identification.py`](scripts/fraud_call_identification.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| 📁 格式支持 | 音频要求：支持 mp3/wav/m4a 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供反诈参考，不能替代警方正式判定，如遇可疑诈骗请及时报警 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地音频文件\npython -m scripts.fraud_call_identification --input /path/to/call_recording.mp3\n\n# 分析网络音频 URL\npython -m scripts.fraud_call_identification --url https://example.com/call_recording.mp3\n\n# 分析通话文字内容\npython -m scripts.fraud_call_identification --text \"您好，我是银行客服，您的账户涉嫌洗钱...\"\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史反诈报告（自动触发关键词：查看历史反诈报告、历史报告、反诈报告清单等）\npython -m scripts.fraud_call_identification --list\n\n# 输出精简报告\npython -m scripts.fraud_call_identification --input recording.mp3 --detail basic\n\n# 保存结果到文件\npython -m scripts.fraud_call_identification --input recording.mp3 --output result.json\n```\n\nFile v9.9.15:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-fraud-call-identification-analysis\",\n  \"version\": \"9.9.15\",\n  \"publishedAt\": 1788064051019\n}\n\nFile v9.9.15:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放诈骗电话识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传，纯文本支持 application/json\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/fraud-analysis/v2/start-fraud-analysis` - 启动诈骗分析任务\n2. `/web/fraud-analysis/v2/get-fraud-analysis-result` - 获取分析结果\n3. `/web/fraud-analysis/page-fraud-analysis-result` - 分页查询历史报告\n4. `/fraud/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_FRAUD_CALL_IDENTIFICATION` - 开放平台诈骗电话识别分析\n\nFile v9.9.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 v9.9.15:scripts/config.yaml\n\n{}\n\nFile v9.9.15:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v9.9.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 v9.9.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 v9.9.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 v9.9.15:skill-card.md\n\n## Description:\n\nAnalyzes incoming call content for multi-dimensional fraud risk, identifies scam scripts, assesses risk level, and generates an Anti-Fraud Guardian analysis report.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users, analysts, or security teams use this skill to submit call recordings, call-content text, or media URLs for fraud-call risk analysis and structured anti-fraud reporting. It can also retrieve server-side historical fraud-analysis reports for the resolved user identity.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Call or media content, submitted URLs, report-history requests, and internal identity metadata may be sent to Life Emergence/Open API services.\n\nMitigation: Use only with content the user is authorized to submit, and review service scoping, consent, and retention expectations before deployment.\n\nRisk: The skill silently manages identity and token state and may create a local SQLite account or token store.\n\nMitigation: Review local storage behavior, workspace data handling, and cleanup requirements before broad use.\n\nRisk: The implementation is broader and more video-oriented than the fraud-call description.\n\nMitigation: Validate accepted input types and user-facing claims during release review so users understand what data may be processed.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-fraud-call-identification-analysis)\n- [Skill Demo](https://lifeemergence.com/sample.html)\n- [Fraud Analysis API Reference](references/api_doc.md)\n- [Shared Analysis API Reference](skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown and JSON-formatted structured analysis results, with report links when returned by the remote service.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May create local account or token state and may submit call/media content, URLs, report-history requests, and internal identity metadata to Life Emergence/Open API services.]\n\n## Skill Version(s):\n\n9.9.15 (source: server-resolved release metadata; skill frontmatter reports 1.0.14)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v9.9.15:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v9.9.15:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v9.9.14: 31 files, 38700 bytes\n\nFiles: references/api_doc.md (712b), scripts/__init__.py (31b), scripts/config.py (656b), scripts/config.yaml (3b), scripts/fraud_call_identification.py (3323b), scripts/skill.py (585b), skill-card.md (2482b), SKILL.md (9917b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (472b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (159b)\n\nFile v9.9.14:SKILL.md\n\n---\nname: \"fraud-call-identification-analysis\"\ndescription: \"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告\"\nversion: \"1.0.13\"\nlicense: \"MIT-0\"\n---\n\n# 📞 Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **诈骗电话识别分析工具** |\n| 🎯 核心目标 | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `FRAUD_CALL_IDENTIFICATION` |\n\nThis capability conducts real-time, multi-dimensional risk analysis of incoming call content, intelligently identifying\ntypical fraud scripts such as impersonating officials, investment scams, and brush-and-rebate schemes. Based on Natural\nLanguage Understanding and semantic comparison models, the system comprehensively evaluates high-risk features including\nthreatening instructions, emotional manipulation, and urgent transfer requests to determine if a call is fraudulent and\noutputs a risk level. Upon completion, it generates an \"Anti-Fraud Guardian Analysis Report,\" helping users or security\nagencies quickly grasp risk details and enhance their proactive prevention and interception capabilities.\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| 5 | 防诈建议生成 |\n| 6 | 具备顶尖测谎能力 |\n| 7 | 能从正常对话中洞察异常 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供通话录音文件 URL 或本地文件/文字内容需要分析时，默认触发本技能进行诈骗电话识别分析 |\n| 🔎 明确分析意图 | 当用户明确需要进行诈骗识别、反诈分析时，提及诈骗电话、反诈分析、骗子识别、通话风险分析等关键词，并且上传了音频文件或者提供了通话文字内容 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史反诈报告、历史反诈分析报告、诈骗识别报告清单、反诈报告清单、查询历史反诈报告、查看反诈报告列表、显示所有反诈报告、显示诈骗识别报告，查询反诈卫士分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.fraud_call_identification --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.fraud_call_identification --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备输入内容 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行诈骗电话识别分析 | 调用 `-m scripts.fraud_call_identification` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地音频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络音频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--text` | 通话文字内容（直接输入文本分析） | 按需填写 |\n| `--list` | 显示历史诈骗识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/fraud_call_identification.py`](scripts/fraud_call_identification.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| 📁 格式支持 | 音频要求：支持 mp3/wav/m4a 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供反诈参考，不能替代警方正式判定，如遇可疑诈骗请及时报警 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地音频文件\npython -m scripts.fraud_call_identification --input /path/to/call_recording.mp3\n\n# 分析网络音频 URL\npython -m scripts.fraud_call_identification --url https://example.com/call_recording.mp3\n\n# 分析通话文字内容\npython -m scripts.fraud_call_identification --text \"您好，我是银行客服，您的账户涉嫌洗钱...\"\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史反诈报告（自动触发关键词：查看历史反诈报告、历史报告、反诈报告清单等）\npython -m scripts.fraud_call_identification --list\n\n# 输出精简报告\npython -m scripts.fraud_call_identification --input recording.mp3 --detail basic\n\n# 保存结果到文件\npython -m scripts.fraud_call_identification --input recording.mp3 --output result.json\n```\n\nFile v9.9.14:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-fraud-call-identification-analysis\",\n  \"version\": \"9.9.14\",\n  \"publishedAt\": 1787353708233\n}\n\nFile v9.9.14:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放诈骗电话识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传，纯文本支持 application/json\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/fraud-analysis/v2/start-fraud-analysis` - 启动诈骗分析任务\n2. `/web/fraud-analysis/v2/get-fraud-analysis-result` - 获取分析结果\n3. `/web/fraud-analysis/page-fraud-analysis-result` - 分页查询历史报告\n4. `/fraud/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_FRAUD_CALL_IDENTIFICATION` - 开放平台诈骗电话识别分析\n\nFile v9.9.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 v9.9.14:scripts/config.yaml\n\n{}\n\nFile v9.9.14:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v9.9.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 v9.9.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 v9.9.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 v9.9.14:skill-card.md\n\n## Description:\n\nAnalyzes incoming call content for multi-dimensional risk, identifies scam scripts, determines whether a call is fraudulent, assesses risk level, and generates an Anti-Fraud Guardian analysis report.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users, security teams, and developers use this skill to analyze call recordings, call transcript text, local files, or URLs for suspected fraud patterns and receive structured risk findings, anti-fraud advice, and report links.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Supplied media, files, URLs, and text may be processed by remote cloud services.\n\nMitigation: Use only with non-sensitive inputs unless the publisher documents the remote services, retention behavior, and supported input handling.\n\nRisk: Automatic identity association, history lookup, and local token persistence may affect privacy or workspace state.\n\nMitigation: Review identity and token handling before installation, and avoid private or production workspaces until the publisher documents the identity model.\n\nRisk: Fraud-call analysis results may be incomplete or incorrect.\n\nMitigation: Treat the report as advisory anti-fraud support and escalate suspected fraud through official security or law-enforcement channels.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-fraud-call-identification-analysis)\n- [API Documentation](references/api_doc.md)\n- [Analysis API Documentation](skills/smyx_analysis/references/api_doc.md)\n- [Skill Demo](https://lifeemergence.com/sample.html)\n\n## Skill Output:\n\n**Output Type(s):** [Analysis, Markdown, JSON, Files, Guidance]\n\n**Output Format:** [Markdown or JSON structured analysis report, with optional saved output file]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include risk level, detected fraud script patterns, prevention guidance, history report listings, and report links.]\n\n## Skill Version(s):\n\n9.9.14 (source: server release metadata; SKILL.md frontmatter reports 1.0.13)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v9.9.14:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v9.9.14:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v9.9.13: 31 files, 38692 bytes\n\nFiles: references/api_doc.md (712b), scripts/__init__.py (31b), scripts/config.py (656b), scripts/config.yaml (3b), scripts/fraud_call_identification.py (3323b), scripts/skill.py (585b), skill-card.md (2514b), SKILL.md (9917b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (159b)\n\nFile v9.9.13:SKILL.md\n\n---\nname: \"fraud-call-identification-analysis\"\ndescription: \"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告\"\nversion: \"1.0.11\"\nlicense: \"MIT-0\"\n---\n\n# 📞 Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **诈骗电话识别分析工具** |\n| 🎯 核心目标 | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `FRAUD_CALL_IDENTIFICATION` |\n\nThis capability conducts real-time, multi-dimensional risk analysis of incoming call content, intelligently identifying\ntypical fraud scripts such as impersonating officials, investment scams, and brush-and-rebate schemes. Based on Natural\nLanguage Understanding and semantic comparison models, the system comprehensively evaluates high-risk features including\nthreatening instructions, emotional manipulation, and urgent transfer requests to determine if a call is fraudulent and\noutputs a risk level. Upon completion, it generates an \"Anti-Fraud Guardian Analysis Report,\" helping users or security\nagencies quickly grasp risk details and enhance their proactive prevention and interception capabilities.\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| 5 | 防诈建议生成 |\n| 6 | 具备顶尖测谎能力 |\n| 7 | 能从正常对话中洞察异常 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供通话录音文件 URL 或本地文件/文字内容需要分析时，默认触发本技能进行诈骗电话识别分析 |\n| 🔎 明确分析意图 | 当用户明确需要进行诈骗识别、反诈分析时，提及诈骗电话、反诈分析、骗子识别、通话风险分析等关键词，并且上传了音频文件或者提供了通话文字内容 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史反诈报告、历史反诈分析报告、诈骗识别报告清单、反诈报告清单、查询历史反诈报告、查看反诈报告列表、显示所有反诈报告、显示诈骗识别报告，查询反诈卫士分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.fraud_call_identification --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.fraud_call_identification --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备输入内容 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行诈骗电话识别分析 | 调用 `-m scripts.fraud_call_identification` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地音频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络音频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--text` | 通话文字内容（直接输入文本分析） | 按需填写 |\n| `--list` | 显示历史诈骗识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/fraud_call_identification.py`](scripts/fraud_call_identification.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| 📁 格式支持 | 音频要求：支持 mp3/wav/m4a 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供反诈参考，不能替代警方正式判定，如遇可疑诈骗请及时报警 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地音频文件\npython -m scripts.fraud_call_identification --input /path/to/call_recording.mp3\n\n# 分析网络音频 URL\npython -m scripts.fraud_call_identification --url https://example.com/call_recording.mp3\n\n# 分析通话文字内容\npython -m scripts.fraud_call_identification --text \"您好，我是银行客服，您的账户涉嫌洗钱...\"\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史反诈报告（自动触发关键词：查看历史反诈报告、历史报告、反诈报告清单等）\npython -m scripts.fraud_call_identification --list\n\n# 输出精简报告\npython -m scripts.fraud_call_identification --input recording.mp3 --detail basic\n\n# 保存结果到文件\npython -m scripts.fraud_call_identification --input recording.mp3 --output result.json\n```\n\nFile v9.9.13:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-fraud-call-identification-analysis\",\n  \"version\": \"9.9.13\",\n  \"publishedAt\": 1786491335104\n}\n\nFile v9.9.13:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放诈骗电话识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传，纯文本支持 application/json\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/fraud-analysis/v2/start-fraud-analysis` - 启动诈骗分析任务\n2. `/web/fraud-analysis/v2/get-fraud-analysis-result` - 获取分析结果\n3. `/web/fraud-analysis/page-fraud-analysis-result` - 分页查询历史报告\n4. `/fraud/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_FRAUD_CALL_IDENTIFICATION` - 开放平台诈骗电话识别分析\n\nFile v9.9.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 v9.9.13:scripts/config.yaml\n\n{}\n\nFile v9.9.13:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v9.9.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 v9.9.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 v9.9.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 v9.9.13:skill-card.md\n\n## Description:\n\nAnalyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users, security teams, and developers use this skill to submit call audio, call text, or a call recording URL for fraud-risk analysis. It returns a structured Anti-Fraud Guardian report with risk level, suspected fraud patterns, prevention guidance, and report links.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Call recordings, call text, URLs, and report history may be sent to lifeemergence.com services for analysis and retrieval.\n\nMitigation: Use only inputs whose data handling is approved for that service, and avoid sensitive recordings unless those terms are acceptable.\n\nRisk: The skill creates or reuses a hidden local/cloud identity and can retrieve cloud report history associated with it.\n\nMitigation: Run it in a controlled workspace, review identity handling before deployment, and clear local state when changing users.\n\nRisk: Tokens may be stored in a local workspace database.\n\nMitigation: Restrict workspace file access, avoid sharing the workspace database, and rotate or revoke credentials if exposed.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-fraud-call-identification-analysis)\n- [Skill demo](https://lifeemergence.com/sample.html)\n- [Fraud analysis API documentation](references/api_doc.md)\n- [Shared analysis API documentation](skills/smyx_analysis/references/api_doc.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, JSON, guidance]\n\n**Output Format:** [Markdown or JSON report text with optional report links]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Can save analysis output to a user-specified file; history queries return a Markdown table derived from cloud report results.]\n\n## Skill Version(s):\n\n9.9.13 (source: ClawHub release evidence; artifact frontmatter reports 1.0.11)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v9.9.13:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v9.9.13:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v9.9.12: 31 files, 38634 bytes\n\nFiles: references/api_doc.md (712b), scripts/__init__.py (31b), scripts/config.py (656b), scripts/config.yaml (3b), scripts/fraud_call_identification.py (3323b), scripts/skill.py (585b), skill-card.md (2401b), SKILL.md (9917b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (159b)\n\nFile v9.9.12:SKILL.md\n\n---\nname: \"fraud-call-identification-analysis\"\ndescription: \"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告\"\nversion: \"1.0.10\"\nlicense: \"MIT-0\"\n---\n\n# 📞 Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **诈骗电话识别分析工具** |\n| 🎯 核心目标 | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `FRAUD_CALL_IDENTIFICATION` |\n\nThis capability conducts real-time, multi-dimensional risk analysis of incoming call content, intelligently identifying\ntypical fraud scripts such as impersonating officials, investment scams, and brush-and-rebate schemes. Based on Natural\nLanguage Understanding and semantic comparison models, the system comprehensively evaluates high-risk features including\nthreatening instructions, emotional manipulation, and urgent transfer requests to determine if a call is fraudulent and\noutputs a risk level. Upon completion, it generates an \"Anti-Fraud Guardian Analysis Report,\" helping users or security\nagencies quickly grasp risk details and enhance their proactive prevention and interception capabilities.\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| 5 | 防诈建议生成 |\n| 6 | 具备顶尖测谎能力 |\n| 7 | 能从正常对话中洞察异常 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供通话录音文件 URL 或本地文件/文字内容需要分析时，默认触发本技能进行诈骗电话识别分析 |\n| 🔎 明确分析意图 | 当用户明确需要进行诈骗识别、反诈分析时，提及诈骗电话、反诈分析、骗子识别、通话风险分析等关键词，并且上传了音频文件或者提供了通话文字内容 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史反诈报告、历史反诈分析报告、诈骗识别报告清单、反诈报告清单、查询历史反诈报告、查看反诈报告列表、显示所有反诈报告、显示诈骗识别报告，查询反诈卫士分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.fraud_call_identification --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.fraud_call_identification --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备输入内容 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行诈骗电话识别分析 | 调用 `-m scripts.fraud_call_identification` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地音频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络音频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--text` | 通话文字内容（直接输入文本分析） | 按需填写 |\n| `--list` | 显示历史诈骗识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/fraud_call_identification.py`](scripts/fraud_call_identification.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| 📁 格式支持 | 音频要求：支持 mp3/wav/m4a 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供反诈参考，不能替代警方正式判定，如遇可疑诈骗请及时报警 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地音频文件\npython -m scripts.fraud_call_identification --input /path/to/call_recording.mp3\n\n# 分析网络音频 URL\npython -m scripts.fraud_call_identification --url https://example.com/call_recording.mp3\n\n# 分析通话文字内容\npython -m scripts.fraud_call_identification --text \"您好，我是银行客服，您的账户涉嫌洗钱...\"\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史反诈报告（自动触发关键词：查看历史反诈报告、历史报告、反诈报告清单等）\npython -m scripts.fraud_call_identification --list\n\n# 输出精简报告\npython -m scripts.fraud_call_identification --input recording.mp3 --detail basic\n\n# 保存结果到文件\npython -m scripts.fraud_call_identification --input recording.mp3 --output result.json\n```\n\nFile v9.9.12:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-fraud-call-identification-analysis\",\n  \"version\": \"9.9.12\",\n  \"publishedAt\": 1785091472936\n}\n\nFile v9.9.12:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放诈骗电话识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传，纯文本支持 application/json\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/fraud-analysis/v2/start-fraud-analysis` - 启动诈骗分析任务\n2. `/web/fraud-analysis/v2/get-fraud-analysis-result` - 获取分析结果\n3. `/web/fraud-analysis/page-fraud-analysis-result` - 分页查询历史报告\n4. `/fraud/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_FRAUD_CALL_IDENTIFICATION` - 开放平台诈骗电话识别分析\n\nFile v9.9.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 v9.9.12:scripts/config.yaml\n\n{}\n\nFile v9.9.12:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v9.9.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 v9.9.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 v9.9.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 v9.9.12:skill-card.md\n\n## Description: <br>\nAnalyzes incoming call content for multi-dimensional risk, identifies scam scripts, assesses whether a call is fraudulent, estimates risk level, and generates an Anti-Fraud Guardian analysis report. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and security teams use this skill to analyze call recordings, call text, or media URLs for fraud indicators and receive structured anti-fraud reports, risk levels, recommendations, and report links. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Sensitive call text or media may be uploaded to external services for processing. <br>\nMitigation: Use only with content the user is permitted to share, and review remote processing expectations before installation. <br>\nRisk: The skill may silently create or reuse an account identity and retain identity or token data locally. <br>\nMitigation: Install only in trusted, isolated workspaces and clear local identity or token state when persistent account linkage is not desired. <br>\nRisk: Cloud-stored history may be queried for the resolved identity. <br>\nMitigation: Limit use to trusted users and review history-query output before exposing it further. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-fraud-call-identification-analysis) <br>\n- [API documentation](artifact/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, Files] <br>\n**Output Format:** [Markdown or JSON text with optional saved output file] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Returns structured fraud-risk analysis, recommendations, history-list output, and report/export links when available.] <br>\n\n## Skill Version(s): <br>\n9.9.12 (source: server release metadata; artifact frontmatter lists 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 v9.9.12:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v9.9.12:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v9.9.11: 31 files, 38763 bytes\n\nFiles: references/api_doc.md (712b), scripts/__init__.py (31b), scripts/config.py (656b), scripts/config.yaml (3b), scripts/fraud_call_identification.py (3323b), scripts/skill.py (585b), skill-card.md (2755b), SKILL.md (9916b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28776b), _meta.json (159b)\n\nFile v9.9.11:SKILL.md\n\n---\nname: \"fraud-call-identification-analysis\"\ndescription: \"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告\"\nversion: \"1.0.9\"\nlicense: \"MIT-0\"\n---\n\n# 📞 Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **诈骗电话识别分析工具** |\n| 🎯 核心目标 | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `FRAUD_CALL_IDENTIFICATION` |\n\nThis capability conducts real-time, multi-dimensional risk analysis of incoming call content, intelligently identifying\ntypical fraud scripts such as impersonating officials, investment scams, and brush-and-rebate schemes. Based on Natural\nLanguage Understanding and semantic comparison models, the system comprehensively evaluates high-risk features including\nthreatening instructions, emotional manipulation, and urgent transfer requests to determine if a call is fraudulent and\noutputs a risk level. Upon completion, it generates an \"Anti-Fraud Guardian Analysis Report,\" helping users or security\nagencies quickly grasp risk details and enhance their proactive prevention and interception capabilities.\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| 5 | 防诈建议生成 |\n| 6 | 具备顶尖测谎能力 |\n| 7 | 能从正常对话中洞察异常 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供通话录音文件 URL 或本地文件/文字内容需要分析时，默认触发本技能进行诈骗电话识别分析 |\n| 🔎 明确分析意图 | 当用户明确需要进行诈骗识别、反诈分析时，提及诈骗电话、反诈分析、骗子识别、通话风险分析等关键词，并且上传了音频文件或者提供了通话文字内容 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史反诈报告、历史反诈分析报告、诈骗识别报告清单、反诈报告清单、查询历史反诈报告、查看反诈报告列表、显示所有反诈报告、显示诈骗识别报告，查询反诈卫士分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.fraud_call_identification --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.fraud_call_identification --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备输入内容 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行诈骗电话识别分析 | 调用 `-m scripts.fraud_call_identification` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地音频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络音频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--text` | 通话文字内容（直接输入文本分析） | 按需填写 |\n| `--list` | 显示历史诈骗识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/fraud_call_identification.py`](scripts/fraud_call_identification.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| 📁 格式支持 | 音频要求：支持 mp3/wav/m4a 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供反诈参考，不能替代警方正式判定，如遇可疑诈骗请及时报警 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地音频文件\npython -m scripts.fraud_call_identification --input /path/to/call_recording.mp3\n\n# 分析网络音频 URL\npython -m scripts.fraud_call_identification --url https://example.com/call_recording.mp3\n\n# 分析通话文字内容\npython -m scripts.fraud_call_identification --text \"您好，我是银行客服，您的账户涉嫌洗钱...\"\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史反诈报告（自动触发关键词：查看历史反诈报告、历史报告、反诈报告清单等）\npython -m scripts.fraud_call_identification --list\n\n# 输出精简报告\npython -m scripts.fraud_call_identification --input recording.mp3 --detail basic\n\n# 保存结果到文件\npython -m scripts.fraud_call_identification --input recording.mp3 --output result.json\n```\n\nFile v9.9.11:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-fraud-call-identification-analysis\",\n  \"version\": \"9.9.11\",\n  \"publishedAt\": 1784453308096\n}\n\nFile v9.9.11:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放诈骗电话识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传，纯文本支持 application/json\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/fraud-analysis/v2/start-fraud-analysis` - 启动诈骗分析任务\n2. `/web/fraud-analysis/v2/get-fraud-analysis-result` - 获取分析结果\n3. `/web/fraud-analysis/page-fraud-analysis-result` - 分页查询历史报告\n4. `/fraud/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_FRAUD_CALL_IDENTIFICATION` - 开放平台诈骗电话识别分析\n\nFile v9.9.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 v9.9.11:scripts/config.yaml\n\n{}\n\nFile v9.9.11:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v9.9.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 v9.9.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 v9.9.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 v9.9.11:skill-card.md\n\n## Description: <br>\nAnalyzes incoming call content for multi-dimensional risk, identifies scam scripts, determines whether a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users, developers, and security teams use this skill to submit call recordings, call transcript text, or media URLs for fraud-risk analysis and structured anti-fraud reporting. It can also query cloud-hosted historical analysis reports linked to the internally resolved user identity. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Supplied files, URLs, and transcript text are sent to third-party lifeemergence.com services for remote analysis. <br>\nMitigation: Install and run the skill only when those remote data flows are acceptable for the content being analyzed. <br>\nRisk: The skill can create or reuse an account-like identity, store tokens locally, and retrieve cloud-hosted historical reports associated with that identity. <br>\nMitigation: Review local token storage and cloud history behavior before use, and avoid shared environments where account-linked report history would be inappropriate. <br>\nRisk: The artifacts are inconsistent about audio/text fraud-call support versus video/media analysis behavior. <br>\nMitigation: Validate expected input types and output behavior in a controlled environment before relying on results. <br>\n\n\n## Reference(s): <br>\n- [ClawHub Skill Page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-fraud-call-identification-analysis) <br>\n- [Skill Demo](https://lifeemergence.com/sample.html) <br>\n- [Fraud Analysis 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, JSON, shell commands, guidance] <br>\n**Output Format:** [Markdown or JSON-like structured text with report links; history queries return structured report lists.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May write the returned report text to a user-specified output file.] <br>\n\n## Skill Version(s): <br>\n9.9.11 (source: ClawHub release metadata; SKILL.md 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 v9.9.11:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v9.9.11:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v9.9.10: 31 files, 38671 bytes\n\nFiles: references/api_doc.md (712b), scripts/__init__.py (31b), scripts/config.py (656b), scripts/config.yaml (3b), scripts/fraud_call_identification.py (3323b), scripts/skill.py (585b), skill-card.md (2789b), SKILL.md (9916b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28605b), _meta.json (159b)\n\nFile v9.9.10:SKILL.md\n\n---\nname: \"fraud-call-identification-analysis\"\ndescription: \"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告\"\nversion: \"1.0.7\"\nlicense: \"MIT-0\"\n---\n\n# 📞 Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **诈骗电话识别分析工具** |\n| 🎯 核心目标 | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `FRAUD_CALL_IDENTIFICATION` |\n\nThis capability conducts real-time, multi-dimensional risk analysis of incoming call content, intelligently identifying\ntypical fraud scripts such as impersonating officials, investment scams, and brush-and-rebate schemes. Based on Natural\nLanguage Understanding and semantic comparison models, the system comprehensively evaluates high-risk features including\nthreatening instructions, emotional manipulation, and urgent transfer requests to determine if a call is fraudulent and\noutputs a risk level. Upon completion, it generates an \"Anti-Fraud Guardian Analysis Report,\" helping users or security\nagencies quickly grasp risk details and enhance their proactive prevention and interception capabilities.\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| 5 | 防诈建议生成 |\n| 6 | 具备顶尖测谎能力 |\n| 7 | 能从正常对话中洞察异常 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供通话录音文件 URL 或本地文件/文字内容需要分析时，默认触发本技能进行诈骗电话识别分析 |\n| 🔎 明确分析意图 | 当用户明确需要进行诈骗识别、反诈分析时，提及诈骗电话、反诈分析、骗子识别、通话风险分析等关键词，并且上传了音频文件或者提供了通话文字内容 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史反诈报告、历史反诈分析报告、诈骗识别报告清单、反诈报告清单、查询历史反诈报告、查看反诈报告列表、显示所有反诈报告、显示诈骗识别报告，查询反诈卫士分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.fraud_call_identification --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.fraud_call_identification --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备输入内容 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行诈骗电话识别分析 | 调用 `-m scripts.fraud_call_identification` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地音频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络音频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--text` | 通话文字内容（直接输入文本分析） | 按需填写 |\n| `--list` | 显示历史诈骗识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/fraud_call_identification.py`](scripts/fraud_call_identification.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| 📁 格式支持 | 音频要求：支持 mp3/wav/m4a 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供反诈参考，不能替代警方正式判定，如遇可疑诈骗请及时报警 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地音频文件\npython -m scripts.fraud_call_identification --input /path/to/call_recording.mp3\n\n# 分析网络音频 URL\npython -m scripts.fraud_call_identification --url https://example.com/call_recording.mp3\n\n# 分析通话文字内容\npython -m scripts.fraud_call_identification --text \"您好，我是银行客服，您的账户涉嫌洗钱...\"\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史反诈报告（自动触发关键词：查看历史反诈报告、历史报告、反诈报告清单等）\npython -m scripts.fraud_call_identification --list\n\n# 输出精简报告\npython -m scripts.fraud_call_identification --input recording.mp3 --detail basic\n\n# 保存结果到文件\npython -m scripts.fraud_call_identification --input recording.mp3 --output result.json\n```\n\nFile v9.9.10:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-fraud-call-identification-analysis\",\n  \"version\": \"9.9.10\",\n  \"publishedAt\": 1783586669526\n}\n\nFile v9.9.10:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放诈骗电话识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传，纯文本支持 application/json\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/fraud-analysis/v2/start-fraud-analysis` - 启动诈骗分析任务\n2. `/web/fraud-analysis/v2/get-fraud-analysis-result` - 获取分析结果\n3. `/web/fraud-analysis/page-fraud-analysis-result` - 分页查询历史报告\n4. `/fraud/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_FRAUD_CALL_IDENTIFICATION` - 开放平台诈骗电话识别分析\n\nFile v9.9.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 v9.9.10:scripts/config.yaml\n\n{}\n\nFile v9.9.10:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v9.9.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 v9.9.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 v9.9.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 v9.9.10:skill-card.md\n\n## Description: <br>\nAnalyzes incoming call recordings, URLs, or transcript text for fraud indicators, scam-script patterns, risk level, and Anti-Fraud Guardian report output. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users, support teams, and security reviewers use this skill to submit call audio, URLs, or transcript text for fraud-call risk analysis and to retrieve current or historical Anti-Fraud Guardian reports. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Call recordings, files, text, or URLs may be sent to the publisher's remote service for analysis. <br>\nMitigation: Install and run only when that data transfer is approved for the intended users and data classes. <br>\nRisk: The skill can create or reuse a local identity and persist authentication tokens in workspace data. <br>\nMitigation: Review workspace data storage, token handling, and retention before running; isolate the workspace for sensitive evaluations. <br>\nRisk: Server security evidence reports mismatched call/video behavior, external uploads, token persistence, and broad automatic triggers. <br>\nMitigation: Treat the suspicious verdict as a deployment blocker until the publisher aligns the manifest with actual behavior and narrows automatic triggers. <br>\nRisk: Historical report queries can return cloud-stored analysis history under the resolved identity. <br>\nMitigation: Confirm identity scope, report access controls, and cloud retention expectations before enabling history queries. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-fraud-call-identification-analysis) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n- [API documentation](references/api_doc.md) <br>\n- [SMYX analysis API documentation](skills/smyx_analysis/references/api_doc.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Text, Markdown, JSON, Shell commands, Configuration] <br>\n**Output Format:** [Markdown or JSON analysis report, with optional saved text output and report links.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May call publisher remote APIs and query cloud history under an automatically resolved local identity.] <br>\n\n## Skill Version(s): <br>\n9.9.10 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v9.9.10:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v9.9.10:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3\n\nArchive v9.9.9: 31 files, 38616 bytes\n\nFiles: references/api_doc.md (712b), scripts/__init__.py (31b), scripts/config.py (656b), scripts/config.yaml (3b), scripts/fraud_call_identification.py (3323b), scripts/skill.py (585b), skill-card.md (2624b), SKILL.md (9916b), skills/smyx_analysis/__init__.py (0b), skills/smyx_analysis/references/api_doc.md (427b), skills/smyx_analysis/requirements.txt (45b), skills/smyx_analysis/scripts/__init__.py (0b), skills/smyx_analysis/scripts/api_service.py (1509b), skills/smyx_analysis/scripts/config.py (1003b), skills/smyx_analysis/scripts/config.yaml (3b), skills/smyx_analysis/scripts/skill.py (6529b), skills/smyx_analysis/scripts/smyx_analysis.py (3833b), skills/smyx_common/__init__.py (0b), skills/smyx_common/requirements.txt (47b), skills/smyx_common/scripts/__init__.py (177b), skills/smyx_common/scripts/api_service.py (2645b), skills/smyx_common/scripts/base.py (469b), skills/smyx_common/scripts/config-dev.yaml (214b), skills/smyx_common/scripts/config-prod.yaml (0b), skills/smyx_common/scripts/config-test.yaml (256b), skills/smyx_common/scripts/config.py (24363b), skills/smyx_common/scripts/config.yaml (473b), skills/smyx_common/scripts/dao.py (18266b), skills/smyx_common/scripts/skill.py (2473b), skills/smyx_common/scripts/util.py (28605b), _meta.json (158b)\n\nFile v9.9.9:SKILL.md\n\n---\nname: \"fraud-call-identification-analysis\"\ndescription: \"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告\"\nversion: \"1.0.7\"\nlicense: \"MIT-0\"\n---\n\n# 📞 Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **诈骗电话识别分析工具** |\n| 🎯 核心目标 | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `FRAUD_CALL_IDENTIFICATION` |\n\nThis capability conducts real-time, multi-dimensional risk analysis of incoming call content, intelligently identifying\ntypical fraud scripts such as impersonating officials, investment scams, and brush-and-rebate schemes. Based on Natural\nLanguage Understanding and semantic comparison models, the system comprehensively evaluates high-risk features including\nthreatening instructions, emotional manipulation, and urgent transfer requests to determine if a call is fraudulent and\noutputs a risk level. Upon completion, it generates an \"Anti-Fraud Guardian Analysis Report,\" helping users or security\nagencies quickly grasp risk details and enhance their proactive prevention and interception capabilities.\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| 5 | 防诈建议生成 |\n| 6 | 具备顶尖测谎能力 |\n| 7 | 能从正常对话中洞察异常 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供通话录音文件 URL 或本地文件/文字内容需要分析时，默认触发本技能进行诈骗电话识别分析 |\n| 🔎 明确分析意图 | 当用户明确需要进行诈骗识别、反诈分析时，提及诈骗电话、反诈分析、骗子识别、通话风险分析等关键词，并且上传了音频文件或者提供了通话文字内容 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史反诈报告、历史反诈分析报告、诈骗识别报告清单、反诈报告清单、查询历史反诈报告、查看反诈报告列表、显示所有反诈报告、显示诈骗识别报告，查询反诈卫士分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.fraud_call_identification --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.fraud_call_identification --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或要求输入任何身份标识**。\n\n执行本技能分析或历史报告查询时，脚本会自动完成身份初始化：\n\n| 场景 | 系统行为 |\n|---|---|\n| 上游系统有内部身份参数 | 由脚本静默接收并使用 |\n| 上游系统未提供内部身份参数 | 脚本会自动复用本地缺省用户 |\n| 本地缺省用户不存在 | 脚本会自动创建并在后续任务中复用 |\n| 对用户输出 | 只展示分析进度、分析结果和报告链接，不展示内部身份值 |\n\n#### 🔒 关键约束\n\n| 禁止/要求 | 说明 |\n|---|---|\n| 🚫 不得询问身份 | 不得提示用户输入用户名、手机号或任何内部身份参数 |\n| 🚫 不得暴露身份值 | 不得在回复、报告、示例、错误提示中暴露内部身份值 |\n| 🚫 不得列为用户参数 | 不得把内部身份参数列为用户需要理解或传入的参数 |\n| ✅ 自动关联报告 | 历史报告查询同样由系统内部身份自动关联，用户只需表达“查看历史报告/报告清单”等意图 |\n\n---\n\n### 🧪 标准流程 | Standard Flow\n\n| 步骤 | 阶段 | 执行动作 |\n|---:|---|---|\n| 1 | 📥 准备输入内容 | 提供本地文件路径或网络 URL；确保输入内容清晰、符合技能场景要求 |\n| 2 | 🔐 系统自动完成身份关联 | 无需用户输入任何身份参数；不在回复中展示内部身份值 |\n| 3 | ⚙️ 执行诈骗电话识别分析 | 调用 `-m scripts.fraud_call_identification` 处理输入（**必须在技能根目录下运行脚本**） |\n| 4 | 📊 查看分析结果 | 接收结构化分析报告，查看识别/监测结果、风险提示、建议与报告链接 |\n\n### ⚙️ 脚本参数说明\n\n| 参数 | 含义 | 备注 |\n|---|---|---|\n| `--input` | 本地音频文件路径 | 适用于本地文件分析 |\n| `--url` | 网络音频 URL 地址（API 服务自动下载） | API 服务自动下载网络资源 |\n| `--text` | 通话文字内容（直接输入文本分析） | 按需填写 |\n| `--list` | 显示历史诈骗识别分析报告列表清单（可以输入起始日期参数过滤数据范围） | 用于云端历史报告查询 |\n| `--api-url` | API 服务地址（可选，使用默认值） | 按需填写 |\n| `--detail` | 输出详细程度（basic/standard/json，默认 json） | 输出详细程度 |\n| `--output` | 结果输出文件路径（可选） | 可选 |\n\n## 🗂️ 资源索引 | Resource Index\n| 资源类型 | 路径 | 用途 | 何时读取 |\n|---|---|---|---|\n| 🐍 必要脚本 | [`scripts/fraud_call_identification.py`](scripts/fraud_call_identification.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| 📁 格式支持 | 音频要求：支持 mp3/wav/m4a 格式，最大 10MB |\n| 🧑‍⚖️ 结果性质 | 分析结果仅供反诈参考，不能替代警方正式判定，如遇可疑诈骗请及时报警 |\n| 🚫 脚本限制 | 禁止临时生成脚本，只能用技能本身的脚本 |\n| 🌐 网络地址 | 传入的网路地址参数，不需要下载本地，默认地址都是公网地址，api 服务会自动下载 |\n| 📜 报告输出 | 当显示历史分析报告清单的时候，从接口返回 json 数据中提取字段  作为超链接地址，且自动转化为如下 Markdown |\n| 📜 报告输出 | 表格输出示例 |\n\n## 🧰 使用示例 | Examples\n```bash\n# 分析本地音频文件\npython -m scripts.fraud_call_identification --input /path/to/call_recording.mp3\n\n# 分析网络音频 URL\npython -m scripts.fraud_call_identification --url https://example.com/call_recording.mp3\n\n# 分析通话文字内容\npython -m scripts.fraud_call_identification --text \"您好，我是银行客服，您的账户涉嫌洗钱...\"\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史反诈报告（自动触发关键词：查看历史反诈报告、历史报告、反诈报告清单等）\npython -m scripts.fraud_call_identification --list\n\n# 输出精简报告\npython -m scripts.fraud_call_identification --input recording.mp3 --detail basic\n\n# 保存结果到文件\npython -m scripts.fraud_call_identification --input recording.mp3 --output result.json\n```\n\nFile v9.9.9:_meta.json\n\n{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-fraud-call-identification-analysis\",\n  \"version\": \"9.9.9\",\n  \"publishedAt\": 1783448165177\n}\n\nFile v9.9.9:references/api_doc.md\n\n# API 接口文档\n\n此处用于存放诈骗电话识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传，纯文本支持 application/json\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/fraud-analysis/v2/start-fraud-analysis` - 启动诈骗分析任务\n2. `/web/fraud-analysis/v2/get-fraud-analysis-result` - 获取分析结果\n3. `/web/fraud-analysis/page-fraud-analysis-result` - 分页查询历史报告\n4. `/fraud/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_FRAUD_CALL_IDENTIFICATION` - 开放平台诈骗电话识别分析\n\nFile v9.9.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 v9.9.9:scripts/config.yaml\n\n{}\n\nFile v9.9.9:skills/smyx_analysis/scripts/config.yaml\n\n{}\n\nFile v9.9.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 v9.9.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 v9.9.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 v9.9.9:skill-card.md\n\n## Description: <br>\nAnalyzes incoming call content for multi-dimensional risk, identifies scam scripts, assesses fraud risk levels, and generates an Anti-Fraud Guardian analysis report. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[smyx-sunjinhui](https://clawhub.ai/user/smyx-sunjinhui) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and agents use this skill to submit call recordings, call transcript text, or report-list requests for fraud-call risk analysis and structured anti-fraud reporting. The output helps users review suspected scam patterns, risk levels, recommendations, and report links. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Call recordings, transcript text, report history, and identity metadata may be sent to publisher-operated cloud services. <br>\nMitigation: Use the skill only with data appropriate for remote processing, and avoid providing unrelated local files or sensitive recordings. <br>\nRisk: The skill can create or reuse an internal identity and persist authentication tokens in a local workspace database. <br>\nMitigation: Review local persistence behavior before deployment and clear workspace state when identity or token reuse is not acceptable. <br>\nRisk: Fraud determinations are advisory and may be incorrect or incomplete. <br>\nMitigation: Treat outputs as anti-fraud guidance rather than a formal law-enforcement determination, and escalate suspicious activity through appropriate channels. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/smyx-sunjinhui/skills/smyx-fraud-call-identification-analysis) <br>\n- [Publisher profile](https://clawhub.ai/user/smyx-sunjinhui) <br>\n- [API documentation](references/api_doc.md) <br>\n- [Skill demo](https://lifeemergence.com/sample.html) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, json, shell commands, guidance] <br>\n**Output Format:** [Markdown text with structured JSON analysis content and report links] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Can save the returned analysis text to a local output file when requested.] <br>\n\n## Skill Version(s): <br>\n9.9.9 (source: server-resolved release metadata; source frontmatter lists 1.0.7) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v9.9.9:skills/smyx_analysis/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nyaml==6.0.3\n\nFile v9.9.9:skills/smyx_common/requirements.txt\n\npydash==8.0.6\nSQLAlchemy==2.0.46\nPyYAML==6.0.3","readmeExcerpt":"Skill: Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具 Owner: smyx-sunjinhui Summary: Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 Tags: latest:9.9.18 Version history: v9.9.18 | 2026","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"python -m scripts.fraud_call_identification --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地音频文件\npython -m scripts.fraud_call_identification --input /path/to/call_recording.mp3\n\n# 分析网络音频 URL\npython -m scripts.fraud_call_identification --url https://example.com/call_recording.mp3\n\n# 分析通话文字内容\npython -m scripts.fraud_call_identification --text \"您好，我是银行客服，您的账户涉嫌洗钱...\"\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史反诈报告（自动触发关键词：查看历史反诈报告、历史报告、反诈报告清单等）\npython -m scripts.fraud_call_identification --list\n\n# 输出精简报告\npython -m scripts.fraud_call_identification --input recording.mp3 --detail basic\n\n# 保存结果到文件\npython -m scripts.fraud_call_identification --input recording.mp3 --output result.json"},{"language":"bash","snippet":"python -m scripts.fraud_call_identification --list"},{"language":"text","snippet":"requests>=2.28.0"},{"language":"bash","snippet":"# 分析本地音频文件\npython -m scripts.fraud_call_identification --input /path/to/call_recording.mp3\n\n# 分析网络音频 URL\npython -m scripts.fraud_call_identification --url https://example.com/call_recording.mp3\n\n# 分析通话文字内容\npython -m scripts.fraud_call_identification --text \"您好，我是银行客服，您的账户涉嫌洗钱...\"\n\n# 显示历史分析报告/显示分析报告清单列表/显示历史反诈报告（自动触发关键词：查看历史反诈报告、历史报告、反诈报告清单等）\npython -m scripts.fraud_call_identification --list\n\n# 输出精简报告\npython -m scripts.fraud_call_identification --input recording.mp3 --detail basic\n\n# 保存结果到文件\npython -m scripts.fraud_call_identification --input recording.mp3 --output result.json"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: \"fraud-call-identification-analysis\"\ndescription: \"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告\"\nversion: \"1.0.18\"\nlicense: \"MIT-0\"\n---\n\n# 📞 Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具\n> **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询\n\n---\n\n## 🧭 技能概览 | Overview\n\n| 模块 | 内容 |\n|---|---|\n| 🏷️ 技能名称 | **诈骗电话识别分析工具** |\n| 🎯 核心目标 | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 |\n| 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL |\n| 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 |\n| 🧩 场景码 | `FRAUD_CALL_IDENTIFICATION` |\n\nThis capability conducts real-time, multi-dimensional risk analysis of incoming call content, intelligently identifying\ntypical fraud scripts such as impersonating officials, investment scams, and brush-and-rebate schemes. Based on Natural\nLanguage Understanding and semantic comparison models, the system comprehensively evaluates high-risk features including\nthreatening instructions, emotional manipulation, and urgent transfer requests to determine if a call is fraudulent and\noutputs a risk level. Upon completion, it generates an \"Anti-Fraud Guardian Analysis Report,\" helping users or security\nagencies quickly grasp risk details and enhance their proactive prevention and interception capabilities.\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| 5 | 防诈建议生成 |\n| 6 | 具备顶尖测谎能力 |\n| 7 | 能从正常对话中洞察异常 |\n\n### 3. ⚡ 触发条件\n\n| 触发类型 | 触发规则 |\n|---|---|\n| ✅ 默认触发 | **默认触发**：当用户提供通话录音文件 URL 或本地文件/文字内容需要分析时，默认触发本技能进行诈骗电话识别分析 |\n| 🔎 明确分析意图 | 当用户明确需要进行诈骗识别、反诈分析时，提及诈骗电话、反诈分析、骗子识别、通话风险分析等关键词，并且上传了音频文件或者提供了通话文字内容 |\n| 📚 历史报告查询 | 当用户提及以下关键词时，**自动触发历史报告查询功能** ：查看历史反诈报告、历史反诈分析报告、诈骗识别报告清单、反诈报告清单、查询历史反诈报告、查看反诈报告列表、显示所有反诈报告、显示诈骗识别报告，查询反诈卫士分析报告 |\n\n### 4. 🤖 自动行为\n\n| 自动行为 | 执行要求 |\n|---|---|\n| 📎 附件处理 | 如果用户上传了附件或者视频/图片文件，则自动保存为本地文件 |\n| ☁️ 历史报告查询 | 如果用户触发历史报告查询关键词，必须直接调用云端 API 查询，不得从本地记忆或人工汇总中获取 |\n\n#### ⚠️ 强制数据获取规则（次高优先级）\n\n> **橙色强约束：** 历史报告清单只允许从云端接口读取，不允许从本地记录、长期记忆或人工汇总中提取。\n\n必须执行：\n\n```bash\npython -m scripts.fraud_call_identification --list\n```\n\n| 类型 | 要求 |\n|---|---|\n| ✅ 必须 | 使用 `python -m scripts.fraud_call_identification --list` 调用 API 查询云端的历史报告数据 |\n| 🚫 严格禁止 | 从本地 `memory` 目录读取历史会话信息 |\n| 🚫 严格禁止 | 手动汇总本地记录中的报告 |\n| 🚫 严格禁止 | 从长期记忆中提取报告 |\n| ✅ 输出格式 | 必须统一从云端接口获取最新完整数据，然后以 Markdown 表格格式输出结果 |\n\n## 📦 前置准备 | Requirements\n- 依赖说明:scripts 脚本所需的依赖包及版本\n  ```\n  requests>=2.28.0\n  ```\n\n## 🚀 操作步骤 | Workflow\n### 🔐 用户身份处理（内部自动完成）\n\n> **绿色安全原则：** 用户身份参数由系统内部自动处理，**不得向用户展示、询问或"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7cyxkr2ymf7zwsrybpedg8xx83ywrj\",\n  \"slug\": \"smyx-fraud-call-identification-analysis\",\n  \"version\": \"9.9.18\",\n  \"publishedAt\": 1790555065916\n}"},{"path":"references/api_doc.md","content":"# API 接口文档\n\n此处用于存放诈骗电话识别分析 API 的接口文档，待后续补充。\n\n## 接口规范\n\n- 基础地址：由 smyx_common 配置统一管理\n- 认证方式：API Key 鉴权\n- 请求格式：支持文件上传，纯文本支持 application/json\n- 响应格式：JSON\n\n## 主要接口\n\n1. `/web/fraud-analysis/v2/start-fraud-analysis` - 启动诈骗分析任务\n2. `/web/fraud-analysis/v2/get-fraud-analysis-result` - 获取分析结果\n3. `/web/fraud-analysis/page-fraud-analysis-result` - 分页查询历史报告\n4. `/fraud/order/api/getReportDetailExport?id={id}` - 导出完整报告\n\n## 场景代码\n\n- `OPEN_FRAUD_CALL_IDENTIFICATION` - 开放平台诈骗电话识别分析"},{"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":"Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 Skill: Fraud Call Identification Analysis Tool | 诈骗电话识别分析工具 Owner: smyx-sunjinhui Summary: Analyzes incoming call content for multi-dimensional risk, intelligently identifies scam scripts, determines if a call is fraudulent, assesses risk levels, and generates an Anti-Fraud Guardian analysis report. | 诈骗电话识别分析工具，针对来电通话内容进行多维度风险分析，智能识别诈骗话术，判断是否为诈骗电话并评估风险等级，输出反诈卫士分析报告 Tags: latest:9.9.18 Version history: v9.9.18 | 2026","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":905,"uniquenessScore":48,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T16:07:02.159Z","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-09T16:07:02.159Z","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-10T07:10:10.007Z","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"}]}}}