anthropics--financial-services
267 行
16 KiB
Markdown
267 行
16 KiB
Markdown
<!-- WEHUB_ZH_README -->
|
||
> [!NOTE]
|
||
> 本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。
|
||
> [English](./README.en.md) · [原始项目](https://github.com/anthropics/financial-services) · [上游 README](https://github.com/anthropics/financial-services/blob/HEAD/README.md)
|
||
> 原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。
|
||
|
||
# 面向金融服务的 Claude
|
||
|
||
面向我们在金融服务领域最常见的工作流——投资银行、股票研究、私募股权和财富管理——的参考 Agent、技能(Skills)和数据连接器。
|
||
|
||
本仓库中的所有内容均可从**单一来源以两种方式**获取:将其安装为 [Claude Cowork](https://claude.com/product/cowork) 插件,或通过 [Claude Managed Agents API](https://docs.claude.com/en/api/managed-agents) 在你自己的工作流引擎后部署。系统提示词相同,技能相同——由你选择运行位置。
|
||
|
||
> [!IMPORTANT]
|
||
> 本仓库中的任何内容均不构成投资、法律、税务或会计建议。这些 Agent 起草分析师工作成果——模型、备忘录、研究笔记、对账——供合格专业人士审阅。它们不做出投资建议、不执行交易、不承担风险、不记账,也不批准客户准入;每项输出均需人工签批后方可生效。你须自行核实输出,并确保遵守适用于贵机构的法律法规。
|
||
|
||
仓库包含内容:
|
||
|
||
- **[Agents](#agents)** — 具名的端到端工作流 Agent(Pitch Agent、Market Researcher、GL Reconciler 等)。每个均可作为 Cowork 插件**以及**可通过 `/v1/agents` 部署的 [Claude Managed Agent 模板](./managed-agent-cookbooks) 使用。
|
||
- **[Vertical plugins](#vertical-plugins)** — 按 FSI(Financial Services Industry,金融服务)垂直领域打包的基础技能、斜杠命令和数据连接器。若你只需要 `/comps`、`/dcf`、`/earnings` 及连接器、而不需要完整 Agent,可单独安装这些插件。
|
||
|
||
## Agents
|
||
|
||
每个 Agent 以其运行的工作流命名。它们是起点:安装与你的工作相匹配的 Agent,然后根据贵机构的实践调整提示词、技能和连接器。
|
||
|
||
每个 Agent 插件均为**自包含**——它打包了自身使用的技能,因此安装 Agent 即可满足需求。
|
||
|
||
| 职能 | Agent | 功能 |
|
||
|---|---|---|
|
||
| **覆盖与咨询** | **[Pitch Agent](./plugins/agent-plugins/pitch-agent)** | 可比公司分析、先例交易、LBO → 品牌化 pitch deck,端到端 |
|
||
| | **[Meeting Prep Agent](./plugins/agent-plugins/meeting-prep-agent)** | 每次客户会议前的简报资料包 |
|
||
| **研究与建模** | **[Market Researcher](./plugins/agent-plugins/market-researcher)** | 行业或主题 → 行业概览、竞争格局、同业可比、投资标的短名单 |
|
||
| | **[Earnings Reviewer](./plugins/agent-plugins/earnings-reviewer)** | 财报电话会议 + 申报文件 → 模型更新 → 研究笔记草稿 |
|
||
| | **[Model Builder](./plugins/agent-plugins/model-builder)** | DCF、LBO、三表模型、可比分析 — 实时在 Excel 中完成 |
|
||
| **基金行政与财务运营** | **[Valuation Reviewer](./plugins/agent-plugins/valuation-reviewer)** | 摄取 GP 材料包,运行估值模板,准备 LP 报告 |
|
||
| | **[GL Reconciler](./plugins/agent-plugins/gl-reconciler)** | 发现差异、追溯根本原因、路由至签批环节 |
|
||
| | **[Month-End Closer](./plugins/agent-plugins/month-end-closer)** | 应计、滚动核对、差异说明 |
|
||
| | **[Statement Auditor](./plugins/agent-plugins/statement-auditor)** | 分配前审计 LP 报表 |
|
||
| **运营与客户准入** | **[KYC Screener](./plugins/agent-plugins/kyc-screener)** | 解析准入文件,运行规则引擎,标记缺口 |
|
||
|
||
对于 Managed Agent 部署——`agent.yaml`、叶子工作子 Agent(leaf-worker subagents)、引导事件(steering-event)示例及各 Agent 安全说明——请参阅 **[managed-agent-cookbooks/](./managed-agent-cookbooks)**。
|
||
|
||
## 仓库结构
|
||
|
||
```
|
||
plugins/
|
||
agent-plugins/ # Named agents — one self-contained plugin each
|
||
vertical-plugins/ # Skill + command bundles by FSI vertical, plus MCP connectors
|
||
partner-built/ # Partner-authored plugins (LSEG, S&P Global)
|
||
managed-agent-cookbooks/ # Claude Managed Agent cookbooks — one dir per agent
|
||
claude-for-msft-365-install/ # Admin tooling to provision the Claude Microsoft 365 add-in
|
||
scripts/ # deploy-managed-agent.sh · check.py · validate.py · orchestrate.py · sync-agent-skills.py
|
||
```
|
||
|
||
## 快速开始
|
||
|
||
### Cowork
|
||
|
||
在 Cowork 中,打开 **Settings → Plugins → Add plugin**,然后:
|
||
|
||
- **粘贴本仓库 URL** — `https://github.com/anthropics/financial-services` — 再从市场列表中选择所需的 Agent 和垂直领域插件,或
|
||
- **上传 zip 文件** — 将 `plugins/` 下的任意目录打包为 zip(例如 `plugins/agent-plugins/pitch-agent/`)并上传。
|
||
|
||
### Claude Code
|
||
|
||
```bash
|
||
# Add the marketplace
|
||
claude plugin marketplace add anthropics/financial-services
|
||
|
||
# Core skills + connectors (install first)
|
||
claude plugin install financial-analysis@claude-for-financial-services
|
||
|
||
# Named agents — pick the ones you want
|
||
claude plugin install pitch-agent@claude-for-financial-services
|
||
claude plugin install gl-reconciler@claude-for-financial-services
|
||
claude plugin install market-researcher@claude-for-financial-services
|
||
|
||
# Vertical skill bundles
|
||
claude plugin install investment-banking@claude-for-financial-services
|
||
claude plugin install equity-research@claude-for-financial-services
|
||
```
|
||
|
||
安装完成后,Agent 会出现在 Cowork 调度中,相关技能会自动触发,斜杠命令可在会话中使用(`/comps`、`/dcf`、`/earnings`、`/ic-memo` 等)。
|
||
|
||
### Claude Managed Agents
|
||
|
||
```bash
|
||
export ANTHROPIC_API_KEY=sk-ant-...
|
||
scripts/deploy-managed-agent.sh gl-reconciler
|
||
```
|
||
|
||
[`managed-agent-cookbooks/`](./managed-agent-cookbooks) 下的每个模板均引用与其插件对应版本相同的系统提示词和技能。部署脚本会解析文件引用、上传技能、创建叶子工作子 Agent,并将编排器 POST 至 `/v1/agents`。请参阅 [`scripts/orchestrate.py`](./scripts/orchestrate.py) 了解参考事件循环,该循环通过你自己的编排层在 Agent 之间路由 `handoff_request` 事件。
|
||
|
||
> **Research Preview:** 子 Agent 委派(`callable_agents`)为预览能力。请参阅各 Agent 的 README 了解安全与交接指引。
|
||
|
||
## 整体架构
|
||
|
||
| | 是什么 | 位于何处 |
|
||
|---|---|---|
|
||
| **Agents** | 自包含插件,端到端拥有完整工作流——系统提示词及其使用的技能。Cowork 与 Managed Agent 封装均引用同一目录。 | `plugins/agent-plugins/<slug>/` |
|
||
| **Skills** | 领域专业知识、惯例以及 Claude 在相关场景下自动调用的分步方法。在垂直领域中编写一次;每个 Agent 打包其所需技能的同步副本。 | `plugins/vertical-plugins/<vertical>/skills/`(源)· `plugins/agent-plugins/<slug>/skills/`(打包) |
|
||
| **Commands** | 你显式触发的斜杠操作(`/comps`、`/earnings`、`/ic-memo`)。 | `plugins/vertical-plugins/<vertical>/commands/` |
|
||
| **Connectors** | [MCP servers](https://modelcontextprotocol.io/) 将 Claude 连接至你的数据——终端、研究平台、文档库。 | `plugins/vertical-plugins/financial-analysis/.mcp.json` |
|
||
| **Managed-agent wrappers** | `agent.yaml` + 深度为 1 的子 Agent + 无头部署的引导示例。 | `managed-agent-cookbooks/<slug>/` |
|
||
|
||
一切均基于文件——Markdown 和 JSON,无需构建步骤。
|
||
|
||
## 垂直领域插件
|
||
|
||
从 **financial-analysis** 开始——它包含共享建模技能及全部 11 个数据连接器。按需添加垂直领域插件。
|
||
|
||
| 插件 | 新增内容 |
|
||
|---|---|
|
||
| **[financial-analysis](./plugins/vertical-plugins/financial-analysis)** *(core)* | 可比公司分析、DCF、LBO、三表模型、deck 质检、Excel 审计。全部 11 个数据连接器。 |
|
||
| **[investment-banking](./plugins/vertical-plugins/investment-banking)** | CIM、teaser、process letter、买方名单、并购模型、交易跟踪。 |
|
||
| **[equity-research](./plugins/vertical-plugins/equity-research)** | 财报笔记、首次覆盖、模型更新、投资论点与催化剂跟踪。 |
|
||
| **[private-equity](./plugins/vertical-plugins/private-equity)** | 项目发掘、筛选、尽调清单、投委会备忘录、投资组合监控。 |
|
||
| **[wealth-management](./plugins/vertical-plugins/wealth-management)** | 客户回顾、财务规划、再平衡、报告、税收亏损收割(TLH)。 |
|
||
| **[fund-admin](./plugins/vertical-plugins/fund-admin)** | 总账对账、差异追溯、应计、滚动核对、差异说明、NAV 勾稽。 |
|
||
| **[operations](./plugins/vertical-plugins/operations)** | KYC 文件解析与规则网格评估。 |
|
||
| **[lseg](./plugins/partner-built/lseg)** *(partner)* | 基于 LSEG 数据的债券相对价值、互换曲线、FX carry、期权波动率、宏观利率监控。 |
|
||
| **[sp-global](./plugins/partner-built/spglobal)** *(partner)* | 基于 S&P Capital IQ 的单页摘要、财报预览、融资摘要。 |
|
||
|
||
## MCP 集成
|
||
|
||
所有连接器都集中在 **financial-analysis** 核心插件中,并在其余插件间共享。
|
||
|
||
| Provider | URL |
|
||
|---|---|
|
||
| [Daloopa](https://www.daloopa.com/) | `https://mcp.daloopa.com/server/mcp` |
|
||
| [Morningstar](https://www.morningstar.com/) | `https://mcp.morningstar.com/mcp` |
|
||
| [S&P Global](https://www.spglobal.com/) | `https://kfinance.kensho.com/integrations/mcp` |
|
||
| [FactSet](https://www.factset.com/) | `https://mcp.factset.com/mcp` |
|
||
| [Moody's](https://www.moodys.com/) | `https://api.moodys.com/genai-ready-data/m1/mcp` |
|
||
| [MT Newswires](https://www.mtnewswires.com/) | `https://vast-mcp.blueskyapi.com/mtnewswires` |
|
||
| [Aiera](https://www.aiera.com/) | `https://mcp-pub.aiera.com` |
|
||
| [LSEG](https://www.lseg.com/) | `https://api.analytics.lseg.com/lfa/mcp` |
|
||
| [PitchBook](https://pitchbook.com/) | `https://premium.mcp.pitchbook.com/mcp` |
|
||
| [Chronograph](https://www.chronograph.pe/) | `https://ai.chronograph.pe/mcp` |
|
||
| [Egnyte](https://www.egnyte.com/) | `https://mcp-server.egnyte.com/mcp` |
|
||
| [Box](https://www.box.com/home) | `https://mcp.box.com` |
|
||
|
||
> 使用 MCP 可能需要提供商的订阅或 API 密钥。
|
||
|
||
## Claude for Microsoft 365 — 安装工具
|
||
|
||
若贵司通过 Microsoft 365 加载项在 Excel、PowerPoint、Word 和 Outlook 中使用 Claude,[`claude-for-msft-365-install/`](./claude-for-msft-365-install) 是面向 IT 管理员的管理工具,用于在 **您自己的云**(Vertex AI、Bedrock 或内部 LLM 网关)上部署该加载项,而非使用 Anthropic 的 API。
|
||
|
||
这是一个 Claude Code 插件(不是 Cowork 插件),会引导 IT 管理员完成以下步骤:生成定制化的加载项清单、授予 Azure 管理员同意,并通过 Microsoft Graph 编写按用户路由的配置。安装方式:
|
||
|
||
```bash
|
||
claude plugin install claude-for-msft-365-install@claude-for-financial-services
|
||
/claude-for-msft-365-install:setup
|
||
```
|
||
|
||
这与上文所述的 agents 和垂直插件相互独立——它是将加载项部署到租户中的入口;部署完成后,本文档中的 agents 和 skills 才会在其中运行。
|
||
|
||
## 定制为你所用
|
||
|
||
这些都是参考模板——根据贵司的实际工作方式进行调整后效果会更好。
|
||
|
||
- **更换连接器** — 将 `.mcp.json` 指向你的数据提供商和内部系统。
|
||
- **添加公司语境** — 在 skill 文件中加入你的术语、流程和格式规范。
|
||
- **引入自有模板** — `/ppt-template` 可让 Claude 学习你品牌的 PowerPoint 版式。
|
||
- **调整 agent 范围** — 编辑 `agents/<slug>.md`,使其与团队实际运行工作流的方式一致。
|
||
- **自行新增** — 复制现有结构,覆盖我们尚未涉及的工作流。
|
||
|
||
## Skill 与 Command 参考
|
||
|
||
<details>
|
||
<summary><b>financial-analysis</b> — 核心建模、Excel、演示文稿质检</summary>
|
||
|
||
| Skill | Command | Description |
|
||
|---|---|---|
|
||
| comps-analysis | `/comps` | 可比公司分析(Comparable company analysis),含交易倍数 |
|
||
| dcf-model | `/dcf` | DCF 估值,含 WACC 与敏感性分析 |
|
||
| lbo-model | `/lbo` | 杠杆收购(Leveraged buyout)模型 |
|
||
| 3-statement-model | `/3-statement-model` | 填充三表财务模型模板 |
|
||
| audit-xls | `/debug-model` | Excel 模型审计 — 公式追踪、硬编码检测、平衡校验 |
|
||
| clean-data-xls | — | 在 Excel 中规范化并清洗表格数据 |
|
||
| deck-refresh | — | 跨演示文稿重新链接并刷新嵌入的图表/表格 |
|
||
| competitive-analysis | `/competitive-analysis` | 竞争格局与市场定位分析 |
|
||
| ib-check-deck | — | 对演示文稿进行错误与一致性质检 |
|
||
| pptx-author | — | 无界面生成 `.pptx` 文件(Managed Agent 模式) |
|
||
| xlsx-author | — | 无界面生成 `.xlsx` 文件(Managed Agent 模式) |
|
||
| ppt-template-creator | `/ppt-template` | 创建可复用的 PPT 模板 skill |
|
||
| skill-creator | — | 创建新 skill 的指南 |
|
||
|
||
</details>
|
||
|
||
<details>
|
||
<summary><b>investment-banking</b> — 交易材料与执行</summary>
|
||
|
||
| Skill | Command | Description |
|
||
|---|---|---|
|
||
| strip-profile | `/one-pager` | 用于 pitch book 的单页公司简介 |
|
||
| pitch-deck | — | 用数据填充 pitch deck 模板 |
|
||
| datapack-builder | — | 基于 CIM 与申报文件构建数据包 |
|
||
| cim-builder | `/cim` | 起草保密信息备忘录(Confidential Information Memorandum) |
|
||
| teaser | `/teaser` | 匿名单页公司 teaser |
|
||
| buyer-list | `/buyer-list` | 战略与财务买方标的池 |
|
||
| merger-model | `/merger-model` | 增厚/稀释 M&A 分析 |
|
||
| process-letter | `/process-letter` | 投标指引与流程往来函件 |
|
||
| deal-tracker | `/deal-tracker` | 跟踪进行中的交易、里程碑与行动项 |
|
||
|
||
</details>
|
||
|
||
<details>
|
||
<summary><b>equity-research</b> — 覆盖与发布</summary>
|
||
|
||
| Skill | Command | Description |
|
||
|---|---|---|
|
||
| earnings-analysis | `/earnings` | 财报后季度更新报告 |
|
||
| earnings-preview | `/earnings-preview` | 财报前情景分析与关键指标 |
|
||
| initiating-coverage | `/initiate` | 机构级首次覆盖报告 |
|
||
| model-update | `/model-update` | 用新数据更新财务模型 |
|
||
| morning-note | `/morning-note` | 晨会纪要与交易观点 |
|
||
| sector-overview | `/sector` | 行业全景与主题报告 |
|
||
| thesis-tracker | `/thesis` | 维护并更新投资论点 |
|
||
| catalyst-calendar | `/catalysts` | 跟踪覆盖范围内的 upcoming catalysts |
|
||
| idea-generation | `/screen` | 选股筛选与观点挖掘 |
|
||
|
||
</details>
|
||
|
||
<details>
|
||
<summary><b>private-equity</b> — 从项目 sourcing 到投后运营</summary>
|
||
|
||
| Skill | Command | Description |
|
||
|---|---|---|
|
||
| deal-sourcing | `/source` | 发现公司、核对 CRM、起草创始人外联 |
|
||
| deal-screening | `/screen-deal` | 对 inbound CIM 与 teaser 快速通过/否决 |
|
||
| dd-checklist | `/dd-checklist` | 按工作流划分的尽调清单 |
|
||
| dd-meeting-prep | `/dd-prep` | 为管理层演示与专家电话会议做准备 |
|
||
| unit-economics | `/unit-economics` | ARR 队列、LTV/CAC、净留存、收入质量 |
|
||
| returns-analysis | `/returns` | IRR/MOIC 敏感性表 |
|
||
| ic-memo | `/ic-memo` | 投资委员会备忘录起草 |
|
||
| portfolio-monitoring | `/portfolio` | 跟踪被投公司 KPI 与偏差 |
|
||
| value-creation-plan | `/value-creation` | 交割后 100 天计划与 EBITDA bridge |
|
||
| ai-readiness | `/ai-readiness` | 评估被投公司的 AI 就绪度 |
|
||
|
||
</details>
|
||
|
||
<details>
|
||
<summary><b>wealth-management</b> — 顾问工作流</summary>
|
||
|
||
| Skill | Command | Description |
|
||
|---|---|---|
|
||
| client-review | `/client-review` | 为客户会议准备业绩与谈话要点 |
|
||
| financial-plan | `/financial-plan` | 退休、教育、遗产与现金流预测 |
|
||
| portfolio-rebalance | `/rebalance` | 配置偏离分析与税务敏感再平衡 |
|
||
| client-report | `/client-report` | 面向客户的业绩报告 |
|
||
| investment-proposal | `/proposal` | 面向潜在客户的提案 |
|
||
| tax-loss-harvesting | `/tlh` | 识别 TLH 机会并管理 wash sale |
|
||
|
||
</details>
|
||
|
||
## 贡献
|
||
|
||
此处内容均为 markdown 与 YAML。Fork、编辑、提交 PR。新增内容时:
|
||
|
||
- 新增 skill → 在 `plugins/vertical-plugins/<vertical>/skills/` 下添加,然后运行 `python3 scripts/sync-agent-skills.py`,将其传播到捆绑该 skill 的任何 agent。
|
||
- 新增 agent → `plugins/agent-plugins/<slug>/`(含 `agents/<slug>.md` + `skills/`)以及匹配的 `managed-agent-cookbooks/<slug>/`。
|
||
- 推送前运行 `python3 scripts/check.py` — 它会检查所有 manifest、验证跨文件引用均可解析,并在任何捆绑 skill 与其垂直来源出现漂移时失败。
|
||
|
||
## 许可证
|
||
|
||
[Apache License 2.0](./LICENSE)
|