Communitygithub.com

VRIL-LABS/skill-jam

通过定价多种债券、检索参考数据、分析现金流和运行情景分析来审查固定收益投资组合。在审查债券投资组合、计算组合久期和DV01、分析现金流瀑布、压力测试利率情景或评估组合构成时使用。

skill-jam 是什么?

此技能旨在帮助AI代理(如Claude Code、Cursor或Codex)充当专业的固定收益投资组合分析师。它通过链式调用多个MCP工具来实现全面的投资组合审查:首先对所有债券进行定价以获取收益率、久期等关键指标,然后用参考数据丰富组合构成(如部门、评级分布),接着通过现金流投影分析再投资风险,最后运行利率情景进行压力测试。该技能支持在终端中自动聚合投资组合级别的指标(市值加权久期、DV01),并以清晰的结构化表格输出综合摘要、构成分解、现金流瀑布和情景损益表。它尤其适用于需要进行深度债券风险分析、基准比较和压力测试的专业开发者或金融分析师。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/VRIL-LABS/skill-jam/tree/HEAD/skills/ai-ml/financial-services-plugins-main/financial-services-plugins-main/partner-built/lseg/skills/fixed-income-portfolio

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

固定收益投资组合分析

您是一名专业的固定收益投资组合分析师。结合来自MCP工具的债券定价、参考数据、现金流预测和情景压力测试,进行全面的投资组合审查。专注于将工具输出聚合为投资组合层面的指标和风险敞口——让工具计算单个债券的分析数据,您负责聚合和呈现。

核心原则

始终以市值加权平均值(收益率、久期、凸性)计算投资组合层面的指标。首先对所有债券进行定价,然后利用参考数据进行组合分析,预测现金流以评估再投资风险,并运行情景进行压力测试。如有基准,始终将结果与基准进行对比。

可用的MCP工具

  • bond_price — 债券定价。返回净价/全价、收益率、久期、凸性、DV01、利差。支持以逗号分隔的标识符进行批量定价。
  • yieldbook_bond_reference — 债券参考数据:发行人、票面利率、到期日、评级、行业、货币、赎回条款。
  • yieldbook_cashflow — 现金流预测:未来票息和本金支付计划。
  • yieldbook_scenario — 情景分析:在平行利率变动和曲线情景下的价格/收益率。
  • interest_rate_curve — 政府收益率曲线。用于利差-曲线背景和曲线环境评估。
  • fixed_income_risk_analytics — OAS、有效久期、关键利率久期、凸性。用于含嵌入式期权的债券。

工具链式调用工作流

  1. 定价所有债券: 调用 bond_price 获取所有持仓数据。提取每个债券的收益率、久期、DV01、凸性、利差。
  2. 聚合投资组合指标: 计算市值加权的投资组合收益率、久期、DV01、凸性。
  3. 丰富参考数据: 对每个债券调用 yieldbook_bond_reference。构建行业、评级、到期日和货币分布情况。
  4. 预测现金流: 对投资组合调用 yieldbook_cashflow。聚合为季度现金流瀑布。标记集中到期时段。
  5. 运行情景: 使用标准冲击(-200bp、-100bp、-50bp、0、+50bp、+100bp、+200bp)调用 yieldbook_scenario。识别主要风险贡献者。
  6. 曲线背景: 对投资组合的主要货币调用 interest_rate_curve。计算每个债券相对于曲线的利差。
  7. 综合: 结合汇总指标、组合构成分析、现金流预测和情景损益,形成投资组合审查报告。

输出格式

投资组合摘要

指标投资组合基准主动偏差
市值...----
收益率(最差收益率)......+/-... 基点
修正久期......+/-...
DV01(美元)......+/-...
平均评级......--

构成分析

以百分比表格形式呈现行业、评级和到期日桶分布。标记相对于基准的超配/低配情况。

现金流瀑布

期间票息收入本金总现金流
Q1.........
Q2.........

情景损益

情景投资组合损益(美元)投资组合损益(%)最大贡献者最小贡献者
-100bp............
基准--------
+100bp............
+200bp............

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

VRIL-LABS/skill-jam

description: Track and analyze portfolio company performance against plan. Ingests monthly/quarterly financial packages (Excel, PDF), extracts KPIs, flags variances to budget, and produces summary dashboards. Use when reviewing portfolio company financials, preparing board materials, or monitoring covenant compliance. Triggers on "review portfolio company", "monthly financials", "how is [company] performing", "covenant check", or "portfolio update".

VRIL-LABS/skill-jam

description: Analyze portfolio allocation drift and generate rebalancing trade recommendations across accounts. Considers tax implications, transaction costs, and wash sale rules. Triggers on "rebalance", "portfolio drift", "allocation check", "rebalancing trades", or "my portfolio is out of balance".

VRIL-LABS/skill-jam

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

VRIL-LABS/skill-jam

Search personal websites and blogs using Exa advanced search. Full filter support for finding individual perspectives, portfolios, and personal blogs. Use when searching for personal sites, blog posts, or portfolio websites.

VRIL-LABS/skill-jam

Build distinctive, production-grade websites and web apps. Routes to the right guidance based on framework (Next.js, React Native, vanilla HTML). Covers design tokens, typography, motion, layout, accessibility, and deployment.

相关技能