Unified data layer for investment analysis that maps analytical scenarios to invest-cli commands. Reuses invest-cli's data sources, auth, and routing without direct API calls.
Ships in fund-investment-guide. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
in-process 封装层。不直接调用 API,不管理授权,直接复用 invest-cli 的数据源体系。
invest-cli 已经有的数据源、授权、路由、降级逻辑,全部复用。mx-data 只加一层"场景→取数"的映射。
所有查询通过 scripts/get_data.py 入口(in-process 调 route.fetch,与 invest-cli stock/fund/us 同源同缓存;import 失败才降级 subprocess):
# 自然语言查询(自动路由到 invest-cli 命令)
python3 scripts/get_data.py --query "茅台的ROE和毛利率"
# 指定标的和指标
python3 scripts/get_data.py --type stock --code 600519 --metrics ["ROE","PE","revenue"]
| 场景 | 命令 | 说明 |
|---|---|---|
| A 股基本面 | invest-cli stock <代码> | 同花顺优先,东财/天天补充 |
| 港股 | invest-cli stock <代码> | 东财优先 |
| 美股 | invest-cli us <代码> | yfinance 优先,Tiingo/FMP 补充 |
| 基金 | invest-cli fund <代码> | 天天基金优先,同花顺/东财补充 |
| 债券 | invest-cli intent deep bond <代码> | Wind 优先 |
| 行业 | invest-cli stock <代码> + invest-cli cn report <代码> | 同花顺+研报 |
| 资讯 | invest-cli info <查询词> | argo |
| 宏观 | invest-cli intent macro | FRED/argo |
| 脚本 | 用途 |
|---|---|
scripts/query_router.py | 场景→invest-cli 命令映射 |
scripts/get_data.py | 统一入口,调用 invest-cli |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/investinvest系列主入口。识别标的类型,路由到专业分析工具。
触发:「分析一下」「看看这个」「值得买吗」「这只怎么样」「资产配置」「大师怎么看」「债券」「流动性」「市场环境」「比特币抄底」
/invest-allocationinvest系列:资产配置。判断股债商比例是否合理,单一品种分析与组合配置相结合。
触发:「资产配置」「股债比例」「组合调整」「再平衡」「大类资产配置」「投资组合」
/invest-analyst全能证券分析师工作台——机构级内容交付。
覆盖:IC研报、行业深度、首次覆盖、业绩点评、事件驱动、市场日报。
触发:「出一份茅台的IC报告」「写一份XX的行业深度」「XX业绩点评」「怎么看待XX政策」「出个日报」
与invest系列区别:invest-stock/fund做「买不买」的判断,invest-analyst做「怎么写/怎么产出」的机构级内容交付。
/invest-assetinvest系列:单品种资产分析(债券/可转债/大宗商品/REITs)。
同一套三关审查骨架,按资产类型加载专属细则。
触发(债券):「债券」「国债」「信用债」「城投」「信用利差」「债券值得买吗」
触发(可转债):「可转债」「转股价值」「溢价率」「债底」「下修」
触发(商品):「黄金」「白银」「原油」「大宗商品」「黄金能配吗」
触发(REITs):「REIT」「公募REIT」「分派率」「底层资产」
/taxueseek-fund-investment-guide:mx-datafrom fund-investment-guide
Generated from the plugin's indexed repository (taxueseek/taxue-invest) — no native marketplace selected
npx claudepluginhub p/taxueseek-fund-investment-guideOther plugins' skills for the same job