agentCLAWHUBUnverified

fund-diagnosis

面向公募基金的单基金综合诊断能力。适用于用户提出“这只基金怎么样”“适不适合继续持有”“风险和收益特征如何”等泛化问题时,返回结构化的Markdown诊断报告。每次仅分析一只基金,不处理多基金对比与量化建模。触发核心条件:用户问法为概括性诊断,未要求具体指标公式计算或回测建模。 Skill: fund-diagnosis Owner: financial-ai-analyst Summary: 面向公募基金的单基金综合诊断能力。适用于用户提出“这只基金怎么样”“适不适合继续持有”“风险和收益特征如何”等泛化问题时,返回结构化的Markdown诊断报告。每次仅分析一只基金,不处理多基金对比与量化建模。触发核心条件:用户问法为概括性诊断,未要求具体指标公式计算或回测建模。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-17T11:18:27.865Z | user Publish 1.0.0 Archive index: Archive v1.0.0: 4 files, 7286 bytes Files: scripts/get_data.py (10994b), skill-card.md (2444b), SKILL.md (4989b), _

OpenClaw

Rank

62

Safety

84

Downloads

2.1k

Updated

Oct 9, 2026

Version

1.0.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 2.1K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 9, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 9, 2026
Adoption signal
2.1K downloadsadoption · observed Oct 9, 2026
Latest release
1.0.0release · observed Apr 17, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s172qfps754dhtdynwv0gwshes83mtd4:fund-diagnosis
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. 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: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-fund-diagnosis/snapshot"

Documentation

CLAWHUB

5,841 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: fund-diagnosis
description: 面向公募基金的单基金综合诊断能力。适用于用户提出“这只基金怎么样”“适不适合继续持有”“风险和收益特征如何”等泛化问题时,返回结构化的Markdown诊断报告。每次仅分析一只基金,不处理多基金对比与量化建模。触发核心条件:用户问法为概括性诊断,未要求具体指标公式计算或回测建模。
metadata:
  {
    "openclaw": {
      "requires": {
        "env":["EM_API_KEY"]
      }
    }
  }
---

# 基金综合诊断

通过**自然语言问句**对单只基金进行综合分析,返回 Markdown 诊断报告,适用场景包括:
- **基金整体判断(收益表现 + 风险特征 + 持仓结构)**
- **持有决策参考(继续持有/观望/调整仓位)**
- **波动市场中的基金风险排查**
- **用户泛化问法的一站式诊断回答**

## 密钥来源与安全说明

- 本技能仅使用一个环境变量:`EM_API_KEY`。
- `EM_API_KEY` 由东方财富妙想服务(`https://ai.eastmoney.com/mxClaw`)签发,用于接口鉴权。
- 在提供密钥前,请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。
- 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。

## 功能范围

### 基础诊断能力
- 输入自然语言问句,调用诊基接口生成结构化结论
- 每次仅处理**一只**基金
- 返回可读 Markdown 报告(优先提取 `data.displayData`)
- 支持将结果保存为本地 `.md` 文件,便于复盘追踪

### 触发规则(何时使用本技能)
- 用户问题是**笼统/概括性**诊断:如“这只基金怎么样”“值得继续持有吗”“风险大吗”
- 问句中未明确要求具体指标计算、回测建模或程序化导出
- 若上下文已明确基金实体,用户后续使用“它/这只基金”等代词继续提问,也应触发

### 不触发规则(何时不要使用本技能)
- 用户要求 Python 回测、组合优化、量化建模等高级计算任务
- 用户明确要求导出净值明细、构建CSV或做数据工程处理
- 用户要求多只基金横向对比(应走多标的分析类能力)

### 触发示例

| 触发(泛化诊断) | 不触发(建模/工程) |
|---|---|
| 华夏成长混合基金怎么样? | 帮我用Python回测华夏成长混合基金策略 |
| 这只基金适合长期持有吗? | 帮我建一个基金组合优化模型 |
| 它近期风险大吗? | 把这只基金净值数据导出为CSV |

## 前提条件

### 1. 注册东方财富妙想账号

访问 https://ai.eastmoney.com/mxClaw 注册账号并获取 API Key。

### 2. 配置 Token

```bash
# macOS 添加到 ~/.zshrc,Linux 添加到 ~/.bashrc
export EM_API_KEY="your_api_key_here"
```

然后根据系统执行对应的命令:

**macOS:**
```bash
source ~/.zshrc
```

**Linux:**
```bash
source ~/.bashrc
```

## 快速开始

### 1. 命令行调用

```bash
python3 {baseDir}/scripts/get_data.py --query "华夏成长混合基金"
```

**输出示例**
```text
Saved: /path/to/workspace/fund_diagnosis/fund_diagnosis_90bf169c.md
(随后输出 Markdown 诊断内容)
```

**参数说明:**

| 参数 | 说明 | 必填 |
|---|---|---|
| `--query` | 用户原始自然语言问句 | ✅(`--query` 或 stdin 二选一) |
| `--no-save` | 仅输出结果,不写入本地文件 | 否 |

### 2. 代码调用

```python
import asyncio
from pathlib import Path
from scripts.get_data import diagnose_fund

async def main():
    result = await diagnose_fund(
        question="华夏成长混合基金",
        output_dir=Path("workspace/fund_diagnosis"),
        save_to_file=True,
    )
    if "error" in result:
        print(result["error"])
    else:
        print(result["content"])
        if result.get("output_path"):
            print("已保存至:", result["output_path"])

asyncio.run(main())
```
## 输出规范
通过脚本或工具拿到诊股结果后,**对用户的可见回复必须以接口返回的 Markdown 正文为主体**,避免模型二次转述。仅当接口/脚本明确返回 `error`、或正文为空时,才用简短文字说明失败原因;**禁止**在失败时杜撰报告内容。

## 常见问题

**错误:EM_API_KEY is required.**  
→ 需先配置 `EM_API_KEY`,请联系官网获取并手动配置。

**为什么需要保持原始问句?**  
→ 诊基接口依赖用户自然语言语义,建议避免改写导致意图偏移。

**如何只看输出,不落盘?**
```bash
python3 -m scripts.get_data --query "华夏成长混合基金" --no-save
```

## 合规说明

- 诊断结果仅供参考,不构成投资建议,输出时应附风险提示。
- 禁止在代码或提示词中硬编码账号 ID、会话 ID 或 token。
- 环境变量按敏感信息处理,不在日志或回复中泄露。
- 接口失败时不得编造结论,应返回明确错误或不确定性说明。

_meta.json

{
  "ownerId": "kn7b4ptpdag877t9kmq8axyja182taab",
  "slug": "fund-diagnosis",
  "version": "1.0.0",
  "publishedAt": 1776424707865
}

skill-card.md

## Description:

Provides single-fund diagnostic analysis for public mutual fund questions and returns a structured Markdown report covering overall judgment, holding considerations, and risk and return characteristics.

This skill is ready for commercial/non-commercial use.

## Publisher:

[financial-ai-analyst](https://clawhub.ai/user/financial-ai-analyst)

### License/Terms of Use:

MIT-0

## Use Case:

External users and financial-analysis agents use this skill to answer broad questions about a single public mutual fund, such as whether it is suitable to continue holding and what its risk and return profile looks like. It is not intended for multi-fund comparison, backtesting, portfolio optimization, or quantitative modeling workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Fund questions and the EM_API_KEY are sent to Eastmoney's API.

Mitigation: Install only when that data transfer is acceptable, keep the API key revocable, and keep the key out of logs, prompts, and shared files.

Risk: Returned fund diagnostics may be mistaken for investment advice.

Mitigation: Present the report as reference-only analysis and include a risk notice that it does not constitute investment advice.

Risk: Markdown reports may be saved locally by default and retained longer than intended.

Mitigation: Use --no-save for sensitive analyses or manage the generated report files according to the user's retention needs.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/financial-ai-analyst/skills/fund-diagnosis)
- [Eastmoney Miaoxiang service](https://ai.eastmoney.com/mxClaw)
- [Eastmoney fund-analysis API endpoint](https://ai-saas.eastmoney.com/proxy/)

## Skill Output:

**Output Type(s):** [Analysis, Markdown, Files, Shell commands, Guidance]

**Output Format:** [Markdown report, optionally saved as a local .md file]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [The visible answer should use the API-returned Markdown as the primary content and should not invent a report when the API returns an error or empty body.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users 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.
Github ReposUpdated 4h agoRank 70

AionUi

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!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

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

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/financial-ai-analyst/skills/fund-diagnosis",
      "sourceUrl": "https://clawhub.ai/financial-ai-analyst/skills/fund-diagnosis",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T18:44:44.364Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-fund-diagnosis/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-fund-diagnosis/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-09T18:44:44.364Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "2.1K downloads",
      "href": "https://clawhub.ai/financial-ai-analyst/fund-diagnosis",
      "sourceUrl": "https://clawhub.ai/financial-ai-analyst/fund-diagnosis",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T18:44:44.364Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.0",
      "href": "https://clawhub.ai/financial-ai-analyst/fund-diagnosis",
      "sourceUrl": "https://clawhub.ai/financial-ai-analyst/fund-diagnosis",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-17T11:18:27.865Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-fund-diagnosis/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-financial-ai-analyst-fund-diagnosis/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.0",
      "description": "Publish 1.0.0",
      "href": "https://clawhub.ai/financial-ai-analyst/fund-diagnosis",
      "sourceUrl": "https://clawhub.ai/financial-ai-analyst/fund-diagnosis",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-17T11:18:27.865Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 9, 2026.

Sponsored

Ads related to fund-diagnosis and adjacent AI workflows.