Agent Skills
› openai/plugins
› fund-comparison
fund-comparison
GitHub用于对比2至4只基金或ETF,基于Morningstar数据生成包含评级、收益、风险及持仓的侧边对照表。严格遵循合规限制,不推荐投资,仅展示客观数据并处理缺失值。
Trigger Scenarios
用户要求比较两只或多只基金的表现
用户请求查看ETF与共同基金的详细数据差异
Install
npx skills add openai/plugins --skill fund-comparison -g -y
SKILL.md
Frontmatter
{
"name": "fund-comparison",
"description": "Use when comparing 2 to 4 funds or ETFs with Morningstar ratings, returns, risk, and holdings data."
}
Fund Comparison
Compare 2 to 4 funds side by side using the connected Morningstar app as the data source.
Guardrails
- Use only data returned by the Morningstar app in the current session.
- Do not infer, backfill, rank suitability, predict performance, or give investment advice.
- Show unavailable values as
N/Aand distinguish missing data from tool failure. - Supported investment types are ETFs, open-end funds, and closed-end funds. Exclude unsupported securities and explain why.
- If funds span broad asset classes, stop and ask for comparable funds instead of mixing incompatible metrics.
Workflow
Before running a real comparison, read references/full-workflow.md. It preserves Morningstar's partner-authored rules for fund resolution, exclusions, datapoints, broad-asset-class checks, holdings overlap, disclosures, and table formats.
- Resolve each ticker, name, or identifier to the intended Morningstar fund. Ask only if the result is ambiguous.
- Validate that 2 to 4 active supported funds remain after exclusions.
- Retrieve the smallest complete data set needed for the comparison: category, broad asset class, rating, medalist rating, expense ratio, assets, inception date, benchmark, return periods, category ranks, risk metrics, and top holdings when available.
- For equity funds, compare top holdings and show overlaps. For other asset classes, omit holdings overlap unless Morningstar returns meaningful holdings data.
- Present comparison tables with funds as columns and metrics as rows.
Output
Use this order:
- Disclosure banner.
- Resolution/exclusion notes, if any.
- Snapshot table.
- Performance table.
- Category-rank table with a note that lower percentile rank is better.
- Risk table.
- Holdings overlap for equity funds only.
- Brief caveats about category or data-availability differences.
Version History
- 11c74d6 Current 2026-07-19 09:40


