sdicsc-fund-query-compare

An off-exchange public fund information query and multi-dimensional comparison tool from SDIC Securities, supporting single-fund detail queries and multi-fund comparative analysis across performance, risk, holdings, fund manager and other dimensions, helping investors quickly identify strengths and weaknesses among funds and make efficient investment choices.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "sdicsc-fund-query-compare" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-187340d445b951f92e50ac49559b0301414cdbf52ee0e8d141bb9a9dc1adffbf. Verify the upstream source and version against https://skillhub.cn/skills/org-0q3x1etg/sdicsc-fund-query-compare before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

An off-exchange public fund information query and multi-dimensional comparison tool from SDIC Securities, supporting single-fund detail queries and multi-fund comparative analysis across performance, risk, holdings, fund manager and other dimensions, helping investors quickly identify strengths and weaknesses among funds and make efficient investment choices.

0 Downloads

Introduction source: third_party · org-0q3x1etg · 1.0.2 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: sdicsc-fund-query-compare
description: 国投证券场外公募基金信息查询与多维度对比分析工具,支持单只基金详情查询和多只基金从业绩、风险、持仓、基金经理等多个维度对比分析,帮助投资者快速甄别不同基金的优劣势,高效做出基金投资选择。
version: 1.0.2
display_name: 国投证券基金对比
metadata:
  dependency:
    python3:
      requirements: scripts/requirements.txt
    install: 脚本启动时自动检查依赖并安装(兼容PEP 668,优先 --user 模式);手动安装请用 pip3 install --user -r scripts/requirements.txt
    requirement: 必须使用 python3 执行(脚本依赖 asyncio/httpx/typing 等Python3特性,系统无 python 命令时 python 会执行失败)
allowed-tools:
  - execute_command
  - WebSearch
  - WebFetch

基金查询与对比分析

⚠️ 核心注意事项(必读)

  1. 禁止读取历史会话文件 — 只允许读取本次会话中脚本生成的JSON文件
  2. 异常处理规范 — 脚本执行返回错误时,必须严格按照 assets/error_handling.md 处理
  3. 禁止自行查询第三方数据 — 错误时禁止去天天基金、支付宝基金等平台查询,必须按错误处理规范提示用户
  4. 风险提示必须完整 — 报告末尾必须完整展示 assets/disclaimer.md 的声明内容
  5. 不暴露文件路径 — 输出中不提及JSON文件路径,直接输出Markdown文本报告

概述

提供场外基金多维度对比分析能力,支持从业绩、风险、持仓、基金经理等多个维度对比分析,帮助投资者快速甄别不同基金的优劣势,高效做出基金投资选择。 基金对比Skill由国投证券提供。

工作流程

用户请求 → 输入识别 → [名称→搜索映射代码] → 调用脚本取数(生成JSON) → 智能体读取JSON → 输出Markdown报告 → 结束

执行步骤:

  1. API Key 检查 — 读取 assets/setup.md,按其中说明确认已配置;未配置或后续返回异常码均按 setup.md 引导用户完成配置

  2. 输入识别 — 纯数字=代码,含汉字/字母=名称,混合取数字。名称输入需读取 assets/name_resolution.md 执行映射

  3. 数量检查 — 1只详情、2-5只对比;超过5只提示上限

  4. 意图识别 — 根据用户请求关键词判断输出维度:

    • 业绩对比:关键词含"业绩"、"收益"、"回报"、"表现" → 只输出"业绩表现"维度
    • 风险对比:关键词含"风险"、"回撤"、"波动" → 只输出"风险指标"维度
    • 费率对比:关键词含"费率"、"费用"、"成本"、"申购"、"赎回" → 只输出"费率与交易规则"维度
    • 经理对比:关键词含"经理"、"基金经理"、"管理" → 只输出"基金经理"维度
    • 持仓对比:关键词含"持仓"、"重仓"、"配置" → 只输出"持仓分析"维度
    • 基础对比:关键词含"基础"、"基本信息"、"概况" → 只输出"基础信息"维度
    • 全面对比:关键词含"全面"、"详细"、"完整" 或 无特定维度关键词 → 输出全部7个维度
  5. 调用脚本取数 — 执行命令获取JSON数据:

    python3 scripts/get_fund_compare.py --funds "代码1,代码2"
    • 脚本自动完成:数据获取 → JSON文件生成(包含基金对比数据)
    • stdout输出概要信息(timestamp、summary、fund_count、fund_codes、output_files、meta),不输出详细funds数据,避免截断
    • 智能体必须从stdout输出的 output_files.json 字段值读取完整基金数据路径,使用read_file工具读取该路径对应的JSON文件
    • ✓ 确认stdout包含 output_files.json 字段,从该字段值中获取完整基金数据的文件路径
  6. 输出Markdown分析报告 — 根据步骤3识别的意图,读取 assets/output_spec.md 中对应维度的输出要点,结合脚本返回的基金数据输出报告:

    • 单维度输出:只输出用户请求的维度,使用"XX对比分析"格式(如"业绩表现对比分析")
    • 全维度输出:输出全部7个维度,使用序号标题(如"一、基础信息")
    • 末尾提示:根据输出维度类型判断提示内容

输出规范

详见 assets/output_spec.md,包含报告结构、各维度分析要点、数据表格格式等完整说明

Current listing version

1.0.2

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value80/100

Highlights

  • 提供基金多维度对比分析能力,满足投资者实际需求
  • 支持业绩、风险、持仓、基金经理等多个维度分析
  • 具有明确的实用价值和广泛受众
Trigger Precision85/100

Highlights

  • 触发词描述清晰完整,支持多种输入方式
  • 意图识别机制完善,能准确判断用户请求维度
  • 边界清晰,覆盖合理
Structure and Standards88/100

Highlights

  • 工作流程清晰,步骤划分明确
  • 包含详细的执行命令示例和参数说明
  • frontmatter完整,文档结构规范
Execution Reliability85/100

Highlights

  • 工具来源明确,依赖管理规范
  • 异常处理规范完善,有专门的错误处理指引
  • 脚本执行流程清晰,输出规范明确
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 10
  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 40

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.