Fund Comparison logo

Fund Comparison

Community
belos-street
fund-comparison

专业的基金对比分析工具,对多只基金进行全方位、多维度深度对比,生成专业投资分析报告。支持股票型、债券型、混合型、指数型等各类公募基金。Invoke when user asks to compare funds, evaluate fund replacement, or optimize fund portfolio.

Overview

Publisherbelos-street
Repositorystock-analytics-agent
Skill namefund-comparison
Stars
57
Forks
9
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by belos-street on GitHub. Read the source before you install it.

Installation

Install the Fund Comparison AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/belos-street/stock-analytics-agent/tree/main/.agents/skills/fund-comparison
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/belos-street/stock-analytics-agent.git /tmp/stock-analytics-agent
mkdir -p .claude/skills
cp -r /tmp/stock-analytics-agent/.agents/skills/fund-comparison .claude/skills/fund-comparison
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Fund Comparison in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Fund Comparison on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Fund Comparison is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

基金对比分析

技能核心定位

核心目标

专业的基金对比分析工具,基于数据对多只基金进行全方位、多维度的深度对比,生成专业的投资分析报告。支持客观中立分析和主观倾向性分析两种模式。

目标用户

  • 基金选择者:在多只候选基金中选择最适合的
  • 基金替换者:评估是否应该用基金A替换基金B
  • 组合优化者:对比同类基金,选择性价比更高的
  • 尽职调查者:全面评估基金的优劣势
  • 学习投资者:理解不同基金的差异和特点

技能边界

可提供服务:

  • 多维度业绩对比
  • 风险指标对比分析
  • 持仓结构对比
  • 基金经理能力对比
  • 费用成本对比
  • 投资组合优化建议

不可提供服务:

  • 具体买卖指令
  • 承诺收益
  • 预测基金净值
  • 内幕信息

输出口径(S6):所有结论统一为「预期差方向 + 正反双方论点 + 配置参考」,不使用收益承诺、概率承诺或买卖指令式措辞;结论/配置建议均为配置参考。


对比维度

1. 业绩对比

指标说明评判标准
近1月收益短期表现仅供参考
近3月收益短期表现仅供参考
近6月收益中期表现可参考
近1年收益年度表现重要指标
近3年收益中期表现核心指标
近5年收益长期表现核心指标
成立以来全程表现参考指标

2. 风险对比

指标说明评判标准
最大回撤历史上最大亏损越小越好
年化波动率净值波动程度越低越稳
夏普比率风险调整收益越高越好
卡玛比率收益/最大回撤越高越好
索提诺比率下行风险调整收益越高越好

📐 口径注释:最大回撤 = 自区间高点起算的最大跌幅(标注起算点+统计窗口);风险指标优劣按基金类型分档对照同类自身历史分布判断,不设跨类型统一阈值;被对比基金须使用同一统计窗口与同一数据基准日。

3. 持仓对比

维度分析内容
资产配置股票/债券/现金比例
行业分布前三大行业占比
重仓持股前十大重仓股
换手率交易频繁程度
集中度前十大占比

4. 基金经理对比

维度分析内容
从业年限管理基金时间
管理规模管理的基金规模
获奖情况金牛奖等荣誉
风格稳定性投资风格是否漂移
离职风险是否可能离职

5. 费用对比

费用类型说明
申购费买入时收取
赎回费卖出时收取
管理费按年收取
托管费按年收取
销售服务费C类份额收取

对比模式

客观分析模式

  • 不带倾向性,全面展示各基金优劣势
  • 适合: neutral "对比A和B哪个好"
  • 输出:双方优劣势客观呈现

主观分析模式

  • 根据用户倾向,重点分析目标基金
  • 适合:"A比B好在哪"
  • 输出:重点分析A的同时,强制同步输出 A 的劣势与空方论点/看空情景(不得只讲优势);结论须含证伪条件

对比分析方法

1. 业绩归因分析

  • Alpha:主动管理获取的超额收益
  • Beta:跟随市场的收益
  • 行业配置贡献:行业选择带来的收益
  • 个股选择贡献:个股选择带来的收益

2. 风险调整收益分析

夏普比率 = (基金收益 - 无风险收益) / 基金波动率
卡玛比率 = 年化收益 / 最大回撤
索提诺比率 = (基金收益 - 无风险收益) / 下行波动率

3. 持仓结构分析

  • 股票仓位:判断基金风险偏好
  • 行业集中度:判断风险暴露
  • 前十大持仓:判断选股能力
  • 换手率:判断交易风格

4. 基金经理能力评估

  • 选股能力:能否选中上涨股票
  • 时机能力:能否判断市场走势
  • 风控能力:能否控制回撤
  • 稳定性:业绩是否持续

报告输出格式

基金对比报告

# 基金对比分析报告

## 对比标的
- 基金A:XXXX(代码)
- 基金B:XXXX(代码)
- 基金C:XXXX(代码)

## 一、业绩对比

### 收益率对比
| 指标 | 基金A | 基金B | 基金C |
|------|-------|-------|-------|
| 近1年 | xx% | xx% | xx% |
| 近3年 | xx% | xx% | xx% |
| 近5年 | xx% | xx% | xx% |

### 风险指标对比
| 指标 | 基金A | 基金B | 基金C |
|------|-------|-------|-------|
| 最大回撤 | xx% | xx% | xx% |
| 夏普比率 | x.xx | x.xx | x.xx |
| 卡玛比率 | x.xx | x.xx | x.xx |

### 业绩归因
| 贡献来源 | 基金A | 基金B |
|---------|-------|-------|
| Alpha | xx% | xx% |
| 行业配置 | xx% | xx% |
| 个股选择 | xx% | xx% |

## 二、持仓对比

### 资产配置
| 资产类别 | 基金A | 基金B |
|---------|-------|-------|
| 股票 | xx% | xx% |
| 债券 | xx% | xx% |
| 现金 | xx% | xx% |

### 行业分布
| 行业 | 基金A | 基金B |
|------|-------|-------|
| 食品饮料 | xx% | xx% |
| 医药 | xx% | xx% |
| 科技 | xx% | xx% |

## 三、基金经理对比
| 维度 | 基金A | 基金B |
|------|-------|-------|
| 从业年限 | X年 | X年 |
| 管理规模 | X亿 | X亿 |
| 获奖情况 | X座金牛 | X座金牛 |

## 四、综合结论

### 基金A
- 优势:
- 劣势:
- 空方论点/看空情景(必填):
- 适合投资者:

### 基金B
- 优势:
- 劣势:
- 空方论点/看空情景(必填):
- 适合投资者:

### 投资建议
- 核心配置:
- 卫星配置:
- 不建议配置(含理由):

> 仓位口径:单只个股 ≤ 总资金 10%;单只高风险/行业 ETF ≤ 总资金 5%(hard constraint);高弹性组合避免同一成长风格重复暴露。三者是**不同层级约束**(个股上限 / 高风险ETF上限 / 组合风格去重),非同一口径,须分别校验。

## 五、空方论点 / 看空情景 / 证伪条件(必填)
- 空方论点(每只对比标的至少一条实质论据,不得套话):
- 看空情景(可证伪:触发条件 + 影响路径):
- 证伪条件/观察指标(触发即结论失效、须重估):

## 六、估值陷阱检查项(必填)
- 低 PE ≠ 便宜:警惕盈利顶部(周期股陷阱)
- 回撤大 ≠ 估值低:区分"杀估值"与"杀逻辑/杀业绩"
- 高股息可持续性:分红率、自由现金流覆盖、分红政策
- 增长质量:盈利含量 / 现金含量(收现比、净现比)

使用示例

示例1:优选对比

用户:"帮我对比一下华夏成长和易方达中小盘" Agent:

  1. 获取两只基金数据
  2. 对比业绩、风险、持仓、基金经理
  3. 客观呈现双方优劣势
  4. 给出综合建议

示例2:替换评估

用户:"易方达蓝筹精选和兴全合润哪个更好?想换掉手中的兴全合润" Agent:

  1. 对比两只基金各项指标
  2. 分析替换逻辑和成本
  3. 给出替换建议及理由

示例3:多基金对比

用户:"对比这几只基金:000001.OF, 110011.OF, 163406.OF" Agent:

  1. 同时对比3只基金
  2. 构建对比矩阵
  3. 给出优先级排序

示例4:债券基金对比

用户:"分析一下这三只债券基金的差异" Agent:

  1. 对比纯债基金、二级债基、可转债基
  2. 分析风险收益特征差异
  3. 给出配置建议

重要提醒

  1. 合规性:所有分析仅供参考,不构成投资建议
  2. 风险提示:基金投资有风险,过往业绩不代表未来
  3. 客观公正:分析保持客观,不带倾向性
  4. 定期跟踪:定期复盘基金表现
  5. 成本意识:考虑申赎成本和持有期

数据获取与口径

  • 获取方式:优先本地 CLI bun run main.ts(实时行情/净值/股息率/K线);估值分位、宏观/行业/财报数据用 WebSearch 补充
  • 官方口径优先:券商实际到账、交易所/公司公告 > 第三方平台;数据冲突以官方为准
  • 禁止编造:取不到的数据标「不可得」,不得臆测填充;预测值须标来源或「作者假设」
  • 数据基准日:所有数值标注取数日期;跨期对比须同一基准日

持续优化

根据市场变化和用户反馈,持续优化对比维度和报告模板,提升分析的准确性和实用性。

Frequently asked questions

What does the Fund Comparison AI skill do?

专业的基金对比分析工具,对多只基金进行全方位、多维度深度对比,生成专业投资分析报告。支持股票型、债券型、混合型、指数型等各类公募基金。Invoke when user asks to compare funds, evaluate fund replacement, or optimize fund portfolio.

Why use Fund Comparison on TypingMind?

Because you install it once and use it with any model. Fund Comparison is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Fund Comparison in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/belos-street/stock-analytics-agent/tree/main/.agents/skills/fund-comparison. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Fund Comparison?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Fund Comparison?

As many as you like. As long as a model supports skills, you can use Fund Comparison with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Fund Comparison AI skill free?

Yes. It is published on GitHub by belos-street under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇