{"id":"a332465d-0d59-49a9-bf38-6e12faba875c","entityType":"agent","slug":"clawhub-financial-ai-analyst-topic-research-report","name":"topic-research-report","canonicalUrl":"https://www.xpersona.co/agent/clawhub-financial-ai-analyst-topic-research-report","canonicalPath":"/agent/clawhub-financial-ai-analyst-topic-research-report","generatedAt":"2026-10-10T03:02:13.694Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T20:22:55.121Z","emptyReason":null},"description":"面向专题研究报告生成的能力。适用于用户提出“某主题/事件/政策的深度研究报告”类请求时，自动生成结构化研究内容。覆盖主题投资、政策影响、事件冲击、趋势判断等跨行业议题。触发核心条件：用户目标是“专题研究/深度解读/报告输出”，而非单行业常规研究或单标的诊断。 Skill: topic-research-report Owner: financial-ai-analyst Summary: 面向专题研究报告生成的能力。适用于用户提出“某主题/事件/政策的深度研究报告”类请求时，自动生成结构化研究内容。覆盖主题投资、政策影响、事件冲击、趋势判断等跨行业议题。触发核心条件：用户目标是“专题研究/深度解读/报告输出”，而非单行业常规研究或单标的诊断。 Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-24T09:21:19.907Z | user - 增加了命令行调用的注意事项，明确禁止后台异步执行，必须同步等待命令结果。 - 常见问题部分新增专题研究报告接口响应时间相关提示，强调需同步等待结果输出。 - 其他内容无变更。 v1.0.0 | 2026-04-17T11:19:56.241Z | user Publish 1.0.0 Ar","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 2K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s172qfps754dhtdynwv0gwshes83mtd4:topic-research-report","sourceUrl":"https://clawhub.ai/financial-ai-analyst/topic-research-report","homepage":"https://clawhub.ai/financial-ai-analyst/skills/topic-research-report","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/financial-ai-analyst/topic-research-report","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/financial-ai-analyst/skills/topic-research-report","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":66,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"面向专题研究报告生成的能力。适用于用户提出“某主题/事件/政策的深度研究报告”类请求时，自动生成结构化研究内容。覆盖主题投资、政策影响、事件冲击、趋势判断等跨行业议题。触发核心条件：用户目标是“专题研究/深度解读/报告输出”，而非单行业常规研究或单标的诊断。 Skill: topic-research-report O"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T20:22:55.121Z","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-09T20:22:55.121Z","emptyReason":null},"stars":null,"forks":null,"downloads":2030,"packageName":null,"latestVersion":"1.0.1","tractionLabel":"2K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T20:22:55.120Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T20:22:55.121Z","lastCrawledAt":"2026-10-09T20:22:55.120Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T20:22:55.120Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.1","createdAt":"2026-04-24T09:21:19.907Z","changelog":"- 增加了命令行调用的注意事项，明确禁止后台异步执行，必须同步等待命令结果。 - 常见问题部分新增专题研究报告接口响应时间相关提示，强调需同步等待结果输出。 - 其他内容无变更。","fileCount":4,"zipByteSize":8535},{"version":"1.0.0","createdAt":"2026-04-17T11:19:56.241Z","changelog":"Publish 1.0.0","fileCount":3,"zipByteSize":7034}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s172qfps754dhtdynwv0gwshes83mtd4:topic-research-report","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","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-financial-ai-analyst-topic-research-report/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-topic-research-report/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-topic-research-report/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-topic-research-report/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-topic-research-report/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-topic-research-report/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-10T03:02:13.693Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-topic-research-report/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-topic-research-report/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-topic-research-report/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-topic-research-report/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-09T20:22:55.121Z","emptyReason":null},"readme":"Skill: topic-research-report\n\nOwner: financial-ai-analyst\n\nSummary: 面向专题研究报告生成的能力。适用于用户提出“某主题/事件/政策的深度研究报告”类请求时，自动生成结构化研究内容。覆盖主题投资、政策影响、事件冲击、趋势判断等跨行业议题。触发核心条件：用户目标是“专题研究/深度解读/报告输出”，而非单行业常规研究或单标的诊断。\n\nTags: latest:1.0.1\n\nVersion history:\n\nv1.0.1 | 2026-04-24T09:21:19.907Z | user\n\n- 增加了命令行调用的注意事项，明确禁止后台异步执行，必须同步等待命令结果。\n- 常见问题部分新增专题研究报告接口响应时间相关提示，强调需同步等待结果输出。\n- 其他内容无变更。\n\nv1.0.0 | 2026-04-17T11:19:56.241Z | user\n\nPublish 1.0.0\n\nArchive index:\n\nArchive v1.0.1: 4 files, 8535 bytes\n\nFiles: scripts/get_data.py (12693b), skill-card.md (2545b), SKILL.md (7237b), _meta.json (140b)\n\nFile v1.0.1:SKILL.md\n\n---\nname: topic-research-report\ndescription: 面向专题研究报告生成的能力。适用于用户提出“某主题/事件/政策的深度研究报告”类请求时，自动生成结构化研究内容。覆盖主题投资、政策影响、事件冲击、趋势判断等跨行业议题。触发核心条件：用户目标是“专题研究/深度解读/报告输出”，而非单行业常规研究或单标的诊断。\nmetadata:\n  {\n    \"openclaw\": {\n      \"requires\": {\n        \"env\":[\"EM_API_KEY\"]\n      }\n    }\n  }\n---\n\n# 专题研究报告\n\n通过**自然语言 query**生成专题研究报告，返回 Markdown 正文及分享信息，适用场景包括：\n- **事件驱动研究（政策、国际事件、宏观变化）**\n- **主题投资研究（赛道、技术趋势、概念演化）**\n- **跨行业影响分析（单一行业难覆盖的问题）**\n- **快速输出可分享的专题深度内容**\n\n## 密钥来源与安全说明\n\n- 本技能仅使用一个环境变量：`EM_API_KEY`。\n- `EM_API_KEY` 由东方财富妙想服务（`https://ai.eastmoney.com/mxClaw`）签发，用于接口鉴权。\n- 在提供密钥前，请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。\n- 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。\n\n## 功能范围\n\n### 基础生成能力\n- 输入专题 query，调用专题研究接口生成完整报告\n- 返回报告标题、正文、文章ID、分享链接及附件路径等结构化字段\n- 若返回 `wordBase64/pdfBase64`，自动解码保存为本地 `.docx/.pdf` 附件\n\n### 触发规则（何时使用本技能）\n- 用户明确要求“专题研究/深度分析/研究报告”\n- 研究对象为主题、事件、政策、趋势、跨行业议题\n- 典型问法：`东方财富专题研究`、`美联储加息对A股影响`、`AI Agent产业链专题`\n\n### 不触发规则（何时不要使用本技能）\n- 用户只问单行业基础研究（应走行业研究技能）\n- 用户只问单只股票/基金买卖判断（应走诊断技能）\n- 用户要求指标级计算、回测、量化建模（应走量化类能力）\n\n### 触发示例\n\n| 触发（专题研究） | 不触发（其他能力） |\n|---|---|\n| 东方财富专题研究 | 半导体行业最新景气度（行业研究） |\n| 美联储加息对A股影响 | 海康威视值得买吗（个股诊断） |\n| 一带一路主题投资机会 | 永赢先锋半导体风险大吗（基金诊断） |\n| ChatGPT对教育行业冲击 | 丹化科技MACD是否金叉（指标计算） |\n\n## 前提条件\n\n### 1. 注册东方财富妙想账号\n\n访问 https://ai.eastmoney.com/mxClaw 注册账号并获取 API Key。\n\n### 2. 配置 Token\n\n```bash\n# macOS 添加到 ~/.zshrc，Linux 添加到 ~/.bashrc\nexport EM_API_KEY=\"your_api_key_here\"\n```\n\n然后根据系统执行对应的命令：\n\n**macOS：**\n```bash\nsource ~/.zshrc\n```\n\n**Linux：**\n```bash\nsource ~/.bashrc\n```\n\n## 快速开始\n\n### 1. 命令行调用\n\n```bash\npython3 {baseDir}/scripts/get_data.py --query \"东方财富专题研究\"\n```\n\n**输出示例**\n```text\nTitle: 东方财富日报专题研究报告\nShareUrl: http://aife-test.eastmoney.com:9001/researchShare?shareId=xxx&scene=research\nDOCX: /path/to/workspace/topic_research_report/5f14e352-cd8e-4169-9d69-7399f1eb8328_docx.docx\nPDF: /path/to/workspace/topic_research_report/5f14e352-cd8e-4169-9d69-7399f1eb8328_pdf.pdf\n（随后输出 Markdown 正文内容）\n```\n\n**参数说明：**\n\n| 参数 | 说明 | 必填 |\n|---|---|---|\n| `--query` | 用户原始专题研究问句 | ✅（`--query` 或 stdin 二选一） |\n| `--no-save` | 保留参数（兼容旧调用，当前对本技能无影响） | 否 |\n\n注意：禁止调用 任何「后台执行、稍后汇报」的方式跑本脚本，只能在当前会话中同步等待到命令完成，拿到 stdout 的结果后再继续，否则会导致本 Skill 失败。\n\n### 2. 代码调用\n\n```python\nimport asyncio\nfrom pathlib import Path\nfrom scripts.get_data import generate_topic_research_report\n\nasync def main():\n    result = await generate_topic_research_report(\n        query=\"东方财富专题研究\",\n        output_dir=Path(\"workspace/topic_research_report\"),\n        save_to_file=True,\n    )\n    if \"error\" in result:\n        print(result[\"error\"])\n    else:\n        print(result[\"title\"])\n        print(result[\"share_url\"])\n        print(result[\"content\"])\n        if result.get(\"output_path\"):\n            print(\"已保存至:\", result[\"output_path\"])\n\nasyncio.run(main())\n```\n\n## 输出文件说明\n\n| 文件 | 说明 |\n|---|---|\n| `<articleId>_docx.docx` | 由 `wordBase64` 解码得到的 Word 附件（若返回） |\n| `<articleId>_pdf.pdf` | 由 `pdfBase64` 解码得到的 PDF 附件（若返回） |\n\n## 返回字段说明\n\n- `title`：报告标题（来源于 `data.title`）。\n- `article_id`：报告 ID（来源于 `data.articleId`）。\n- `share_url`：报告分享链接（来源于 `data.shareUrl`）。\n- `content`：报告正文（优先 `data.content`）。\n- `attachments`：附件列表（解析 `wordBase64/pdfBase64` 后的本地路径）。\n- `raw`：原始接口返回，便于调试或二次处理。\n- `error`：接口调用失败时返回错误信息。\n\n## 输出格式规范\n\n接口返回后，必须严格按以下模板输出：\n\n#### 输出格式\n\n```\n## {title}\n\n**正文：**\n\n已经生成专题研究报告。此处仅展示部分正文内容，请下载附件查看报告详情和参考信息。\n\n{content}\n\n**附件：**\n- 📄 **PDF版完整报告地址**：{pdf_file_path}\n- 📝 **Word版完整报告地址**：{word_file_path}\n\n**分享链接：**\n{share_url}\n```\n字段映射规则：\n- `{title}` = 脚本返回的 `title`\n- `{content}` = 脚本返回的 `content`\n- `{pdf_file_path}` = 脚本返回的 `attachments`中的pdf_file_path\n- `{word_file_path}` = 脚本返回的 `attachments`中的word_file_path\n- `{share_url}` = 脚本返回的 `share_url`\n\n## 常见问题\n\n**错误：EM_API_KEY is required.**  \n→ 需先配置 `EM_API_KEY`，请联系官网获取并手动配置。\n\n**如何只看输出，不落盘？**\n```bash\npython3 -m scripts.get_data --query \"东方财富专题研究\" --no-save\n```\n\n**注意：专题研究报告接口响应时间较久，请耐心等待~**  \n→ 在当前会话中同步等待到命令完成，拿到 stdout 的结果后再继续输出，否则会导致本 Skill 失败。\n\n**异常场景**\n\n| 异常场景                  | 处理方式                                      |\n|--------------------------|----------------------------------------------|\n| 接口调用超时              | 原样返回：\"报告生成服务暂时不可用，请稍后重试。\" |\n| 接口返回空数据            | 返回兜底话术：\"内容涉及敏感信息，请尝试其它主题。\" |\n| 接口返回格式异常          | 原样返回：\"内容无法解析\" |\n\n## 合规说明\n\n- 研究内容仅供参考，不构成投资建议，输出时应附风险提示。\n- 禁止在代码或提示词中硬编码账号 ID、会话 ID 或 token。\n- 环境变量按敏感信息处理，不在日志或回复中泄露。\n- 接口失败时不得编造结论，应返回明确错误或不确定性说明。\n\nFile v1.0.1:_meta.json\n\n{\n  \"ownerId\": \"kn7b4ptpdag877t9kmq8axyja182taab\",\n  \"slug\": \"topic-research-report\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1777022479907\n}\n\nFile v1.0.1:skill-card.md\n\n## Description:\n\nGenerates structured thematic research reports from natural-language queries for topics, events, policies, investment themes, cross-industry impacts, and trend analysis.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[financial-ai-analyst](https://clawhub.ai/user/financial-ai-analyst)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and analysts use this skill to request deep thematic research reports on events, policies, market themes, technology trends, and cross-industry questions. The skill calls EastMoney's thematic research service and returns report content, a share link, and generated attachments when available.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Research queries are sent to EastMoney using EM_API_KEY.\n\nMitigation: Install only when this external API use is acceptable, and handle EM_API_KEY as a secret that is not written to code, prompts, logs, or output files.\n\nRisk: Generated DOCX/PDF attachments from the remote service can be saved locally, including when users expect non-persistent behavior from --no-save.\n\nMitigation: Do not rely on --no-save for non-persistent operation until fixed, and avoid opening generated attachments unless the API source is trusted.\n\nRisk: Financial or thematic research output can be incomplete, delayed, or unsuitable as investment advice.\n\nMitigation: Present report content as reference material, include risk notice language, and return explicit errors instead of inventing conclusions when the service fails.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/financial-ai-analyst/skills/topic-research-report)\n- [Financial AI Analyst publisher profile](https://clawhub.ai/user/financial-ai-analyst)\n- [EastMoney Miaoxiang service](https://ai.eastmoney.com/mxClaw)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, files, shell commands, guidance]\n\n**Output Format:** [Markdown report text with share-link text and optional local DOCX/PDF file paths]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Requires EM_API_KEY and may save generated DOCX/PDF attachments locally when the EastMoney API returns them.]\n\n## Skill Version(s):\n\n1.0.1 (source: server release evidence)\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\nArchive v1.0.0: 3 files, 7034 bytes\n\nFiles: scripts/get_data.py (12693b), SKILL.md (6815b), _meta.json (140b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: topic-research-report\ndescription: 面向专题研究报告生成的能力。适用于用户提出“某主题/事件/政策的深度研究报告”类请求时，自动生成结构化研究内容。覆盖主题投资、政策影响、事件冲击、趋势判断等跨行业议题。触发核心条件：用户目标是“专题研究/深度解读/报告输出”，而非单行业常规研究或单标的诊断。\nmetadata:\n  {\n    \"openclaw\": {\n      \"requires\": {\n        \"env\":[\"EM_API_KEY\"]\n      }\n    }\n  }\n---\n\n# 专题研究报告\n\n通过**自然语言 query**生成专题研究报告，返回 Markdown 正文及分享信息，适用场景包括：\n- **事件驱动研究（政策、国际事件、宏观变化）**\n- **主题投资研究（赛道、技术趋势、概念演化）**\n- **跨行业影响分析（单一行业难覆盖的问题）**\n- **快速输出可分享的专题深度内容**\n\n## 密钥来源与安全说明\n\n- 本技能仅使用一个环境变量：`EM_API_KEY`。\n- `EM_API_KEY` 由东方财富妙想服务（`https://ai.eastmoney.com/mxClaw`）签发，用于接口鉴权。\n- 在提供密钥前，请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。\n- 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。\n\n## 功能范围\n\n### 基础生成能力\n- 输入专题 query，调用专题研究接口生成完整报告\n- 返回报告标题、正文、文章ID、分享链接及附件路径等结构化字段\n- 若返回 `wordBase64/pdfBase64`，自动解码保存为本地 `.docx/.pdf` 附件\n\n### 触发规则（何时使用本技能）\n- 用户明确要求“专题研究/深度分析/研究报告”\n- 研究对象为主题、事件、政策、趋势、跨行业议题\n- 典型问法：`东方财富专题研究`、`美联储加息对A股影响`、`AI Agent产业链专题`\n\n### 不触发规则（何时不要使用本技能）\n- 用户只问单行业基础研究（应走行业研究技能）\n- 用户只问单只股票/基金买卖判断（应走诊断技能）\n- 用户要求指标级计算、回测、量化建模（应走量化类能力）\n\n### 触发示例\n\n| 触发（专题研究） | 不触发（其他能力） |\n|---|---|\n| 东方财富专题研究 | 半导体行业最新景气度（行业研究） |\n| 美联储加息对A股影响 | 海康威视值得买吗（个股诊断） |\n| 一带一路主题投资机会 | 永赢先锋半导体风险大吗（基金诊断） |\n| ChatGPT对教育行业冲击 | 丹化科技MACD是否金叉（指标计算） |\n\n## 前提条件\n\n### 1. 注册东方财富妙想账号\n\n访问 https://ai.eastmoney.com/mxClaw 注册账号并获取 API Key。\n\n### 2. 配置 Token\n\n```bash\n# macOS 添加到 ~/.zshrc，Linux 添加到 ~/.bashrc\nexport EM_API_KEY=\"your_api_key_here\"\n```\n\n然后根据系统执行对应的命令：\n\n**macOS：**\n```bash\nsource ~/.zshrc\n```\n\n**Linux：**\n```bash\nsource ~/.bashrc\n```\n\n## 快速开始\n\n### 1. 命令行调用\n\n```bash\npython3 {baseDir}/scripts/get_data.py --query \"东方财富专题研究\"\n```\n\n**输出示例**\n```text\nTitle: 东方财富日报专题研究报告\nShareUrl: http://aife-test.eastmoney.com:9001/researchShare?shareId=xxx&scene=research\nDOCX: /path/to/workspace/topic_research_report/5f14e352-cd8e-4169-9d69-7399f1eb8328_docx.docx\nPDF: /path/to/workspace/topic_research_report/5f14e352-cd8e-4169-9d69-7399f1eb8328_pdf.pdf\n（随后输出 Markdown 正文内容）\n```\n\n**参数说明：**\n\n| 参数 | 说明 | 必填 |\n|---|---|---|\n| `--query` | 用户原始专题研究问句 | ✅（`--query` 或 stdin 二选一） |\n| `--no-save` | 保留参数（兼容旧调用，当前对本技能无影响） | 否 |\n\n### 2. 代码调用\n\n```python\nimport asyncio\nfrom pathlib import Path\nfrom scripts.get_data import generate_topic_research_report\n\nasync def main():\n    result = await generate_topic_research_report(\n        query=\"东方财富专题研究\",\n        output_dir=Path(\"workspace/topic_research_report\"),\n        save_to_file=True,\n    )\n    if \"error\" in result:\n        print(result[\"error\"])\n    else:\n        print(result[\"title\"])\n        print(result[\"share_url\"])\n        print(result[\"content\"])\n        if result.get(\"output_path\"):\n            print(\"已保存至:\", result[\"output_path\"])\n\nasyncio.run(main())\n```\n\n## 输出文件说明\n\n| 文件 | 说明 |\n|---|---|\n| `<articleId>_docx.docx` | 由 `wordBase64` 解码得到的 Word 附件（若返回） |\n| `<articleId>_pdf.pdf` | 由 `pdfBase64` 解码得到的 PDF 附件（若返回） |\n\n## 返回字段说明\n\n- `title`：报告标题（来源于 `data.title`）。\n- `article_id`：报告 ID（来源于 `data.articleId`）。\n- `share_url`：报告分享链接（来源于 `data.shareUrl`）。\n- `content`：报告正文（优先 `data.content`）。\n- `attachments`：附件列表（解析 `wordBase64/pdfBase64` 后的本地路径）。\n- `raw`：原始接口返回，便于调试或二次处理。\n- `error`：接口调用失败时返回错误信息。\n\n## 输出格式规范\n\n接口返回后，必须严格按以下模板输出：\n\n#### 输出格式\n\n```\n## {title}\n\n**正文：**\n\n已经生成专题研究报告。此处仅展示部分正文内容，请下载附件查看报告详情和参考信息。\n\n{content}\n\n**附件：**\n- 📄 **PDF版完整报告地址**：{pdf_file_path}\n- 📝 **Word版完整报告地址**：{word_file_path}\n\n**分享链接：**\n{share_url}\n```\n字段映射规则：\n- `{title}` = 脚本返回的 `title`\n- `{content}` = 脚本返回的 `content`\n- `{pdf_file_path}` = 脚本返回的 `attachments`中的pdf_file_path\n- `{word_file_path}` = 脚本返回的 `attachments`中的word_file_path\n- `{share_url}` = 脚本返回的 `share_url`\n\n## 常见问题\n\n**错误：EM_API_KEY is required.**  \n→ 需先配置 `EM_API_KEY`，请联系官网获取并手动配置。\n\n**如何只看输出，不落盘？**\n```bash\npython3 -m scripts.get_data --query \"东方财富专题研究\" --no-save\n```\n\n**异常场景**\n\n| 异常场景                  | 处理方式                                      |\n|--------------------------|----------------------------------------------|\n| 接口调用超时              | 原样返回：\"报告生成服务暂时不可用，请稍后重试。\" |\n| 接口返回空数据            | 返回兜底话术：\"内容涉及敏感信息，请尝试其它主题。\" |\n| 接口返回格式异常          | 原样返回：\"内容无法解析\" |\n\n## 合规说明\n\n- 研究内容仅供参考，不构成投资建议，输出时应附风险提示。\n- 禁止在代码或提示词中硬编码账号 ID、会话 ID 或 token。\n- 环境变量按敏感信息处理，不在日志或回复中泄露。\n- 接口失败时不得编造结论，应返回明确错误或不确定性说明。\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn7b4ptpdag877t9kmq8axyja182taab\",\n  \"slug\": \"topic-research-report\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1776424796241\n}","readmeExcerpt":"Skill: topic-research-report Owner: financial-ai-analyst Summary: 面向专题研究报告生成的能力。适用于用户提出“某主题/事件/政策的深度研究报告”类请求时，自动生成结构化研究内容。覆盖主题投资、政策影响、事件冲击、趋势判断等跨行业议题。触发核心条件：用户目标是“专题研究/深度解读/报告输出”，而非单行业常规研究或单标的诊断。 Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-24T09:21:19.907Z | user - 增加了命令行调用的注意事项，明确禁止后台异步执行，必须同步等待命令结果。 - 常见问题部分新增专题研究报告接口响应时间相关提示，强调需同步等待结果输出。 - 其他内容无变更。 v1.0.0 | 2026-04-17T11:19:56.241Z | user Publish 1.0.0 Ar","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"# macOS 添加到 ~/.zshrc，Linux 添加到 ~/.bashrc\nexport EM_API_KEY=\"your_api_key_here\""},{"language":"bash","snippet":"source ~/.zshrc"},{"language":"bash","snippet":"source ~/.bashrc"},{"language":"bash","snippet":"python3 {baseDir}/scripts/get_data.py --query \"东方财富专题研究\""},{"language":"text","snippet":"Title: 东方财富日报专题研究报告\nShareUrl: http://aife-test.eastmoney.com:9001/researchShare?shareId=xxx&scene=research\nDOCX: /path/to/workspace/topic_research_report/5f14e352-cd8e-4169-9d69-7399f1eb8328_docx.docx\nPDF: /path/to/workspace/topic_research_report/5f14e352-cd8e-4169-9d69-7399f1eb8328_pdf.pdf\n（随后输出 Markdown 正文内容）"},{"language":"python","snippet":"import asyncio\nfrom pathlib import Path\nfrom scripts.get_data import generate_topic_research_report\n\nasync def main():\n    result = await generate_topic_research_report(\n        query=\"东方财富专题研究\",\n        output_dir=Path(\"workspace/topic_research_report\"),\n        save_to_file=True,\n    )\n    if \"error\" in result:\n        print(result[\"error\"])\n    else:\n        print(result[\"title\"])\n        print(result[\"share_url\"])\n        print(result[\"content\"])\n        if result.get(\"output_path\"):\n            print(\"已保存至:\", result[\"output_path\"])\n\nasyncio.run(main())"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: topic-research-report\ndescription: 面向专题研究报告生成的能力。适用于用户提出“某主题/事件/政策的深度研究报告”类请求时，自动生成结构化研究内容。覆盖主题投资、政策影响、事件冲击、趋势判断等跨行业议题。触发核心条件：用户目标是“专题研究/深度解读/报告输出”，而非单行业常规研究或单标的诊断。\nmetadata:\n  {\n    \"openclaw\": {\n      \"requires\": {\n        \"env\":[\"EM_API_KEY\"]\n      }\n    }\n  }\n---\n\n# 专题研究报告\n\n通过**自然语言 query**生成专题研究报告，返回 Markdown 正文及分享信息，适用场景包括：\n- **事件驱动研究（政策、国际事件、宏观变化）**\n- **主题投资研究（赛道、技术趋势、概念演化）**\n- **跨行业影响分析（单一行业难覆盖的问题）**\n- **快速输出可分享的专题深度内容**\n\n## 密钥来源与安全说明\n\n- 本技能仅使用一个环境变量：`EM_API_KEY`。\n- `EM_API_KEY` 由东方财富妙想服务（`https://ai.eastmoney.com/mxClaw`）签发，用于接口鉴权。\n- 在提供密钥前，请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。\n- 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。\n\n## 功能范围\n\n### 基础生成能力\n- 输入专题 query，调用专题研究接口生成完整报告\n- 返回报告标题、正文、文章ID、分享链接及附件路径等结构化字段\n- 若返回 `wordBase64/pdfBase64`，自动解码保存为本地 `.docx/.pdf` 附件\n\n### 触发规则（何时使用本技能）\n- 用户明确要求“专题研究/深度分析/研究报告”\n- 研究对象为主题、事件、政策、趋势、跨行业议题\n- 典型问法：`东方财富专题研究`、`美联储加息对A股影响`、`AI Agent产业链专题`\n\n### 不触发规则（何时不要使用本技能）\n- 用户只问单行业基础研究（应走行业研究技能）\n- 用户只问单只股票/基金买卖判断（应走诊断技能）\n- 用户要求指标级计算、回测、量化建模（应走量化类能力）\n\n### 触发示例\n\n| 触发（专题研究） | 不触发（其他能力） |\n|---|---|\n| 东方财富专题研究 | 半导体行业最新景气度（行业研究） |\n| 美联储加息对A股影响 | 海康威视值得买吗（个股诊断） |\n| 一带一路主题投资机会 | 永赢先锋半导体风险大吗（基金诊断） |\n| ChatGPT对教育行业冲击 | 丹化科技MACD是否金叉（指标计算） |\n\n## 前提条件\n\n### 1. 注册东方财富妙想账号\n\n访问 https://ai.eastmoney.com/mxClaw 注册账号并获取 API Key。\n\n### 2. 配置 Token\n\n```bash\n# macOS 添加到 ~/.zshrc，Linux 添加到 ~/.bashrc\nexport EM_API_KEY=\"your_api_key_here\"\n```\n\n然后根据系统执行对应的命令：\n\n**macOS：**\n```bash\nsource ~/.zshrc\n```\n\n**Linux：**\n```bash\nsource ~/.bashrc\n```\n\n## 快速开始\n\n### 1. 命令行调用\n\n```bash\npython3 {baseDir}/scripts/get_data.py --query \"东方财富专题研究\"\n```\n\n**输出示例**\n```text\nTitle: 东方财富日报专题研究报告\nShareUrl: http://aife-test.eastmoney.com:9001/researchShare?shareId=xxx&scene=research\nDOCX: /path/to/workspace/topic_research_report/5f14e352-cd8e-4169-9d69-7399f1eb8328_docx.docx\nPDF: /path/to/workspace/topic_research_report/5f14e352-cd8e-4169-9d69-7399f1eb8328_pdf.pdf\n（随后输出 Markdown 正文内容）\n```\n\n**参数说明：**\n\n| 参数 | 说明 | 必填 |\n|---|---|---|\n| `--query` | 用户原始专题研究问句 | ✅（`--query` 或 stdin 二选一） |\n| `--no-save` | 保留参数（兼容旧调用，当前对本技能无影响） | 否 |\n\n注意：禁止调用 任何「后台执行、稍后汇报」的方式跑本脚本，只能在当前会话中同步等待到命令完成，拿到 stdout 的结果后再继续，否则会导致本 Skill 失败。\n\n### 2. 代码调用\n\n```python\nimport asyncio\nfrom pathlib import Path\nfrom scripts.get_data import generate_topic_research_report\n\nasync def main():\n    result = await generate_topic_research_report(\n        query=\"东方财富专题研究\",\n        output_dir=Path(\"workspace/topic_research_report\"),\n        save_to_file=True,\n    )\n    if \"error\" in result:\n        print(result[\"error\"])\n    else:\n        print(result[\"title\"])\n        print(result[\"share_url\"])\n        print(result[\"content\"])\n        if result.get(\"output_path\"):\n            print(\"已保存至:\", result[\"output_path\"])\n\nasyncio.run(main())\n```\n\n## 输出文件说明\n\n| 文件 | 说明 |\n|---|---|\n| `<articleId>_docx.docx` | 由 `wordBase64` 解码得到的 Word 附件（若返回） |\n| `<articleId>_pdf.pdf` | 由 `pdfBase64` 解码得到的 PDF 附件（若返回） |\n\n## 返回字段说明\n\n- `title`：报告标题（来源于 `data.title`）。\n- `article_id`：报告 ID（来源于 `data.articleId`）。\n- `share_url`：报告分享链接（来源于 `data.shareUrl`）。\n- `content`："},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7b4ptpdag877t9kmq8axyja182taab\",\n  \"slug\": \"topic-research-report\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1777022479907\n}"},{"path":"skill-card.md","content":"## Description:\n\nGenerates structured thematic research reports from natural-language queries for topics, events, policies, investment themes, cross-industry impacts, and trend analysis.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[financial-ai-analyst](https://clawhub.ai/user/financial-ai-analyst)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and analysts use this skill to request deep thematic research reports on events, policies, market themes, technology trends, and cross-industry questions. The skill calls EastMoney's thematic research service and returns report content, a share link, and generated attachments when available.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Research queries are sent to EastMoney using EM_API_KEY.\n\nMitigation: Install only when this external API use is acceptable, and handle EM_API_KEY as a secret that is not written to code, prompts, logs, or output files.\n\nRisk: Generated DOCX/PDF attachments from the remote service can be saved locally, including when users expect non-persistent behavior from --no-save.\n\nMitigation: Do not rely on --no-save for non-persistent operation until fixed, and avoid opening generated attachments unless the API source is trusted.\n\nRisk: Financial or thematic research output can be incomplete, delayed, or unsuitable as investment advice.\n\nMitigation: Present report content as reference material, include risk notice language, and return explicit errors instead of inventing conclusions when the service fails.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/financial-ai-analyst/skills/topic-research-report)\n- [Financial AI Analyst publisher profile](https://clawhub.ai/user/financial-ai-analyst)\n- [EastMoney Miaoxiang service](https://ai.eastmoney.com/mxClaw)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, files, shell commands, guidance]\n\n**Output Format:** [Markdown report text with share-link text and optional local DOCX/PDF file paths]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Requires EM_API_KEY and may save generated DOCX/PDF attachments locally when the EastMoney API returns them.]\n\n## Skill Version(s):\n\n1.0.1 (source: server release evidence)\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."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"面向专题研究报告生成的能力。适用于用户提出“某主题/事件/政策的深度研究报告”类请求时，自动生成结构化研究内容。覆盖主题投资、政策影响、事件冲击、趋势判断等跨行业议题。触发核心条件：用户目标是“专题研究/深度解读/报告输出”，而非单行业常规研究或单标的诊断。 Skill: topic-research-report Owner: financial-ai-analyst Summary: 面向专题研究报告生成的能力。适用于用户提出“某主题/事件/政策的深度研究报告”类请求时，自动生成结构化研究内容。覆盖主题投资、政策影响、事件冲击、趋势判断等跨行业议题。触发核心条件：用户目标是“专题研究/深度解读/报告输出”，而非单行业常规研究或单标的诊断。 Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-24T09:21:19.907Z | user - 增加了命令行调用的注意事项，明确禁止后台异步执行，必须同步等待命令结果。 - 常见问题部分新增专题研究报告接口响应时间相关提示，强调需同步等待结果输出。 - 其他内容无变更。 v1.0.0 | 2026-04-17T11:19:56.241Z | user Publish 1.0.0 Ar","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":752,"uniquenessScore":59,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T20:22:55.121Z","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-09T20:22:55.121Z","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-10T03:02:13.694Z","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"}]}}}