Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

jy-fund-consistency-analysis

v1.0.0

基于聚源数据库分析基金经理观点与持仓一致性,提供行业配置、投资风格、选股逻辑和风险控制的多维度评分及标准化报告。

0· 96·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for jiayinian/jy-fund-consistency-analysis.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "jy-fund-consistency-analysis" (jiayinian/jy-fund-consistency-analysis) from ClawHub.
Skill page: https://clawhub.ai/jiayinian/jy-fund-consistency-analysis
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install jy-fund-consistency-analysis

ClawHub CLI

Package manager switcher

npx clawhub@latest install jy-fund-consistency-analysis
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The skill's functionality (call MCP/Gildata APIs via an mcporter CLI to fetch viewpoints and holdings and produce reports) is coherent with its description. However the registry metadata presented earlier lists no required binaries/env, while SKILL.md (and analyzer_v2.py) require Node/npm/npx and the mcporter CLI—this mismatch should be reconciled.
Instruction Scope
SKILL.md instructs the agent/user to install/enable mcporter, obtain a JY_API_KEY, run mcporter calls, and edit OpenClaw's config to enable mcporter. These steps are within the skill's functional scope but they require modifying OpenClaw config and creating a local .mcporter config containing the token, which increases the skill's reach and persistence.
Install Mechanism
There is no formal install spec in the registry, but SKILL.md recommends 'npm install -g mcporter' and pip install -r requirements.txt. Installing an npm package (mcporter) is moderate-risk until the package/source is verified. analyzer_v2.py also hardcodes a Windows npx path (C:\Program Files\nodejs\npx.cmd), which is brittle and platform-specific.
Credentials
The only external secret required is the JY_API_KEY for the MCP/Gildata API—which is appropriate for this data source. However the instructions place the key inside mcporter config URLs (persisted in ~/.mcporter or C:\Users\...\.mcporter\mcporter.json) and add an MCPORTER_CONFIG env entry to OpenClaw; this stores a token on-disk and in agent config, so users should ensure secure file permissions and trust the mcporter package.
Persistence & Privilege
The skill is not forced (always:false) and can be invoked by the user. It explicitly tells users to enable an external tool (mcporter) in OpenClaw's configuration, which modifies agent settings and increases the agent's toolset—this is functionally required but raises the blast radius if mcporter or its configuration is untrusted.
What to consider before installing
This skill largely does what it says (calls Gildata/MCP APIs via an mcporter CLI and generates reports), but before installing: 1) verify the mcporter npm package and its source on the npm registry (avoid installing unknown global packages blindly); 2) confirm api.gildata.com is the legit data provider you expect; 3) be aware you will need to obtain a JY_API_KEY and the instructions store it inside mcporter's config URL (a local file) — secure that file and consider limiting permissions; 4) the Python script hardcodes a Windows npx path—adjust for your OS; 5) consider running initial tests in an isolated environment (VM/container) to validate behavior; and 6) reconcile the mismatch between the registry metadata (no required binaries) and SKILL.md (requires node/npm/mcporter) before enabling the skill in production.

Like a lobster shell, security has layers — review code before you run it.

latestvk97ah5jwaa8jwhccv5swgyn3r9845tcn
96downloads
0stars
1versions
Updated 3w ago
v1.0.0
MIT-0

基金经理观点持仓一致性分析 (JY Fund Consistency Analysis)

基于聚源金融数据库的专业基金经理"言行一致性"分析工具,通过 MCP 服务获取真实数据,按照标准化模板输出高质量的基金经理观点与持仓一致性检验分析报告。

核心理念: 基于真实数据,客观分析,不编造任何信息。


功能范围

本 Skill 支持以下功能:

  • 观点提取: 从基金定期报告中提取基金经理核心观点(市场展望、投资策略、重点关注领域)
  • 持仓分析: 获取基金重仓股及行业配置数据
  • 一致性评分: 多维度量化分析(行业配置 35%、投资风格 25%、选股逻辑 25%、风险控制 15%)
  • 报告生成: 生成专业 Markdown 格式分析报告(支持 HTML/PDF 导出)
  • 基金全覆盖: 对基金经理管理的每一只基金分别进行一致性检验
  • 数据验证: 确保所有数据来自 MCP API,不编造任何信息
  • 智能日期匹配: 自动匹配最接近的标准报告期

查询建议

查询需要具备的要素

  1. 基金经理姓名(必需):完整的基金经理姓名,如"张坤"、"葛兰"
  2. 查询日期(必需):日期格式为 YYYY-MM-DD,如"2024-12-31",系统会自动匹配到最接近的标准报告期

查询写法

分析 [基金经理姓名] 在 [日期] 的观点与持仓一致性
[基金经理姓名] [日期] 一致性检验
查看 [基金经理姓名] 的言行一致性报告

查询示例

# 示例 1:分析张坤在 2024 年底的一致性
分析张坤在 2024-12-31 的观点与持仓一致性

# 示例 2:分析葛兰在 2023 年中报的一致性
葛兰 2023-06-30 一致性检验

# 示例 3:查看傅鹏博的言行一致性报告
查看傅鹏博的言行一致性报告

# 示例 4:简单查询
张坤 2024 年年报 一致性

环境检查与配置

每次使用本技能前,必须先检查 mcporter 安装和 MCP 服务配置状态!

步骤 1:检查 mcporter 是否安装

mcporter --version

如未安装,按以下流程安装:

# 1. 通过 npm 全局安装
npm install -g mcporter

# 2. 验证安装
mcporter --version

步骤 2:检查 MCP 服务配置

# 列出所有已配置的 MCP 服务
mcporter list

预期输出(必须包含以下两个服务):

  • jy-financedata-tool
  • jy-financedata-api

如服务未配置,需要获取 JY_API_KEY 并配置:

2.1 获取 JY_API_KEY

向恒生聚源申请 JY_API_KEY,通过邮箱申请(首次配置需提供,配置一次即可)

JY_API_KEY 申请路径: 向恒生聚源官方邮箱发送邮件申请签发数据地图 JY_API_KEY,用于接口鉴权。申请通过后,恒生聚源将默认发送【工具版和接口版】KEY。

申请邮箱datamap@gildata.com

邮件标题:数据地图 KEY 申请-XX 公司 - 申请人姓名

正文模板

  • 姓名:
  • 手机号:
  • 公司/单位全称:
  • 所属部门:
  • 岗位:
  • MCP_KEY 申请用途:
  • Skill 申请列表:
  • 是否需要 Skill 安装包:(是,邮件提供/否,自行下载)
  • 其他补充说明(可选):

另外,【Skill】包可通过 https://clawhub.ai/ 自行选择下载,若需要我们通过邮件提供【Skill】,亦可在邮件中注明。

2.2 配置 MCP 服务

# 配置 jy-financedata-tool 服务
mcporter config add jy-financedata-tool --url "https://api.gildata.com/mcp-servers/aidata-assistant-srv-tool?token=你的 JY_API_KEY"

# 配置 jy-financedata-api 服务
mcporter config add jy-financedata-api --url "https://api.gildata.com/mcp-servers/aidata-assistant-srv-api?token=你的 JY_API_KEY"

2.3 验证配置

mcporter list

预期输出应包含:

- jy-financedata-tool — 聚源 - 多智能体模式(X 工具)
- jy-financedata-api — 聚源 - 全量接口模式(X 工具)

2.4 测试调用

# 测试调用(注意:所有服务工具的入参均为 query)
mcporter call jy-financedata-api.FundManagerViewPointReport query="张坤 2024-12-31"

步骤 3:在 OpenClaw 中启用 mcporter(如未配置)

mcporter 配置文件路径

  • Windows: C:\Users\你的用户名\.mcporter\mcporter.json

OpenClaw 配置文件路径

  • Windows: C:\Users\你的用户名\.openclaw\openclaw.json

编辑 openclaw.json,在 skills 部分添加 mcporter 配置:

{
  "skills": {
    "entries": {
      "mcporter": {
        "enabled": true,
        "env": {
          "MCPORTER_CONFIG": "C:\\Users\\你的用户名\\.mcporter\\mcporter.json"
        }
      }
    }
  }
}

重启 OpenClaw 使配置生效

openclaw gateway restart

核心工作流程

流程中的工具调用能够并发调用尽量并发调用提速。

步骤 1:获取基金经理观点

  1. 调用 API: FundManagerViewPointReport
  2. 输入参数:
    • 查询参数:{基金经理姓名} {查询日期}
  3. 获取并记录以下信息: 对于在查询日期对应报告期内,该基金经理管理下的每一只基金:
    • 管理基金代码
    • 管理基金简称
    • 观点报告期 (API 返回的实际报告期)
    • 投资策略和运作分析内容
    • 基金市场展望内容
  4. 注意:
    • 如果用户输入的日期不是标准的报告期末,请选择与该日期最接近的已披露报告期的观点
    • 记录下所有由该基金经理管理的、在指定报告期有观点数据的基金列表

调用示例

mcporter call jy-financedata-api.FundManagerViewPointReport query="张坤 2024-12-31"

步骤 2:获取基金持股明细

  1. 确定持仓报告期: 对于步骤 1 中获取的每一只基金及其对应的观点报告期,计算其后一个季度的日期作为"持仓报告期"。

    规则:

    • 观点报告期为 2023 年年报 (2023-12-31) → 持仓报告期为 2024 年一季报 (2024-03-31)
    • 观点报告期为 2023 年一季报 (2023-03-31) → 持仓报告期为 2023 年二季报 (2023-06-30)
    • 观点报告期为 2023 年中报 (2023-06-30) → 持仓报告期为 2023 年三季报 (2023-09-30)
    • 观点报告期为 2023 年三季报 (2023-09-30) → 持仓报告期为 2023 年年报 (2023-12-31)
  2. 调用 API: ShareholdingDetailReport

  3. 输入参数(对步骤 1 中获取的每一只基金分别调用):

    • 查询参数:{基金代码/基金简称} {持仓报告期}
    • 持仓类型:重仓股票
  4. 获取并记录以下信息: 对于每只基金,在其对应的"持仓报告期",记录其重仓股票,至少包括:

    • 股票代码
    • 股票简称
    • 持仓市值
    • 占基金净值比
    • 所属行业(例如申万一级行业)

调用示例

mcporter call jy-financedata-api.ShareholdingDetailReport query="000001 2024-03-31"

步骤 3:数据验证与处理

  1. 验证基金代码匹配: 确保观点数据与持仓数据来自同一只基金
  2. 处理 A/C 类合并: 同一基金的 A/C 类份额合并分析
  3. 数据去重: 去除重复的股票记录
  4. 行业分类统一: 确保行业分类标准一致

步骤 4:一致性分析

对每一只基金,从以下维度进行分析:

  1. 行业配置匹配度 (35%):

    • 观点中提到的行业是否在持仓中体现?
    • 重点配置的行业是否与观点一致?
  2. 投资风格一致性 (25%):

    • 持仓组合风格是否与观点中阐述的风格一致?
    • 成长/价值/均衡风格是否匹配?
  3. 选股逻辑一致性 (25%):

    • 重仓股是否符合观点中提及的选股标准?
    • 是否买入/加仓了明确看好的标的?
  4. 风险控制一致性 (15%):

    • 观点中提示的风险,在持仓中是否有规避?
    • 仓位水平是否与市场判断匹配?

步骤 5:生成报告

严格按照模板格式生成 Markdown 报告,确保:

  • 所有数据来自 API,不编造
  • 表格清晰易读
  • 分析客观严谨
  • 结论基于数据

快速开始

基础调用

主服务(jy-financedata-api)- 推荐:

# FundManagerViewPointReport 和 ShareholdingDetailReport 都在 jy-financedata-api 中
mcporter call jy-financedata-api.FundManagerViewPointReport query="张坤 2024-12-31"
mcporter call jy-financedata-api.ShareholdingDetailReport query="易方达蓝筹精选 2024-03-31"

备用服务(jy-financedata-tool)- 部分功能:

# jy-financedata-tool 只有 5 个工具,不支持 FundManagerViewPointReport 和 ShareholdingDetailReport
# 但可以用 FinQuery 查询部分金融数据作为备用
mcporter call jy-financedata-tool.FinQuery query="张坤 管理基金 2024 年年报"
mcporter call jy-financedata-tool.FinQuery query="基金代码 000001 重仓股 2024 年一季报"
mcporter call jy-financedata-tool.MacroIndustryData query="中国最新 GDP 增速 CPI 数据"
mcporter call jy-financedata-tool.FinancialResearchReport query="基金经理观点分析 研报"

数据获取策略

  1. 优先使用 jy-financedata-api:接口最全,支持 FundManagerViewPointReport 和 ShareholdingDetailReport
  2. 备用 jy-financedata-tool:当 api 服务不可用时,可用 FinQuery 查询部分数据
  3. 所有入参统一为 query:不要使用其他参数名

错误处理

# 如遇到认证错误,检查 JY_API_KEY 是否有效
mcporter list

# 如遇到超时,增加超时时间(默认 150 秒)
# 在 skill 配置中调整 timeout 参数

资源清单

jy-fund-consistency-analysis/
├── SKILL.md                          # 技能文档(本文件)
├── README.md                         # 使用说明
├── skill.config.json                 # 配置文件
├── requirements.txt                  # Python 依赖
├── analyzer_v2.py                    # 主分析程序(v2 版本)
├── generate_pdf_v2.py                # PDF 生成工具
└── consistency_reports/              # 输出目录
    ├── *.md                          # 生成的 Markdown 报告
    └── *.html                        # 生成的 HTML 文件

核心文件说明

文件用途
analyzer_v2.py主分析程序,执行完整的 CoT 思维链步骤
generate_pdf_v2.pyPDF 生成工具,通过 HTML 中转避免中文乱码
skill.config.json技能配置文件,包含 MCP 服务、分析维度等配置
consistency_reports/输出目录,存放生成的报告文件

限制

数据源限制

  1. 仅支持 MCP API 数据源:所有数据必须来自 jy-financedata-api 或 jy-financedata-tool,严禁编造数据
  2. API 响应时间:每次调用约 60-150 秒(网络延迟),请设置合理的超时时间
  3. 数据披露延迟:季报披露有延迟,可能需尝试多个日期

输出格式限制

  1. 报告格式:默认 Markdown,支持 HTML 导出,PDF 需手动打印
  2. 基金数量限制:单次分析最多处理 20 只基金
  3. 重仓股数量:每只基金分析前十大重仓股

注意事项

  1. 报告期匹配:自动匹配最接近的标准报告期(3/6/9/12 月末)
  2. 基金代码验证:确保观点与持仓数据来自同一只基金
  3. A/C 类合并:同一基金的 A/C 类份额合并分析
  4. JY_API_KEY 安全:妥善保管 API KEY,不要公开分享

一致性等级标准

综合评分等级信号灯说明
≥85高度一致🟢观点与持仓完全匹配,言行高度一致
≥70基本一致🟢观点与持仓基本匹配,整体可信
≥50部分一致🟡观点与持仓存在一定偏差
≥30存在偏差🟠观点与持仓存在明显不一致
<30明显不一致🔴观点与持仓严重不符

报告模板结构

生成的报告包含以下四个核心部分:

一、报告摘要

  • 基金经理姓名
  • 观点分析区间
  • 持仓分析区间
  • 分析基金数量
  • 核心结论
  • 综合评分

二、基金经理核心观点概述

  • 市场展望
  • 投资策略与运作分析
  • 重点关注领域/行业
  • 风险提示

三、逐只基金观点与持仓一致性检验

  • 基金名称与代码
  • 观点报告期与持仓报告期
  • 基金定位与核心观点
  • 主要持仓(前 5-10 大重仓股)
  • 一致性分析(四维度评分)
  • 结论(高度一致/基本一致/部分一致/不一致)

四、整体结论与评价

  • 综合评价
  • 一致性亮点
  • 潜在不一致/关注点
  • 投资启示

最后更新:2026-03-30 Skill 版本:v1.0 数据源:恒生聚源金融数据 (jy-financedata-api / jy-financedata-tool)

Comments

Loading comments...