跳到正文
Skillpedia
分析与电子表格41k · #6583

lbo-model

它能做什么

这个技能引导 AI 智能体完成一项私募股权交易的杠杆收购模型。适合需要为投资委员会准备交易模型的投资者。

适用场景

  • ✓当你有一个需要填写公式和数字的 LBO 模板的时候。
  • ✓当你正在为投资委员会准备一项私募股权交易的时候。
  • ✓当你需要一张包含债务计划和回报的资金来源与运用表的时候。

技能链接

https://github.com/anthropics/financial-services/blob/main/plugins/agent-plugins/model-builder/skills/lbo-model/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/anthropics/financial-services/blob/main/plugins/agent-plugins/model-builder/skills/lbo-model/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请用我的交易假设填写这个 LBO 模板,并给我看回报和债务计划?”

每周 5 个新技能,1 分钟读完。

工作原理

如果你提供了模板,智能体会按原样使用;如果没有附带模板,则使用标准模板。它会填入假设和公式,并在完成前检查计算结果。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。


TEMPLATE REQUIREMENT

This skill uses templates for LBO models. Always check for an attached template file first.

Before starting any LBO model:

  1. If a template file is attached/provided: Use that template's structure exactly - copy it and populate with the user's data
  2. If no template is attached: Ask the user: "Do you have a specific LBO template you'd like me to use? If not, I can use the standard template which includes Sources & Uses, Operating Model, Debt Schedule, and Returns Analysis."
  3. If using the standard template: Copy examples/LBO_Model.xlsx as your starting point and populate it with the user's assumptions

IMPORTANT: When a file like LBO_Model.xlsx is attached, you MUST use it as your template - do not build from scratch. Even if the template seems complex or has more features than needed, copy it and adapt it to the user's requirements. Never decide to "build from scratch" when a template is provided.


CRITICAL INSTRUCTIONS FOR CLAUDE - READ FIRST

Environment: Office JS vs Python

If running inside Excel (Office Add-in / Office JS environment):

  • Use Office JS (Excel.run(async (context) => {...})) directly — do NOT use Python/openpyxl
  • Write formulas via range.formulas = [["=B5*B6"]] — Office JS formulas recalculate natively in the live workbook
  • The same formulas-over-hardcodes rule applies: set range.formulas, never range.values for anything that should be a calculation
  • Use range.format.font.color / range.format.fill.color for the blue/black/purple/green convention
  • No separate recalc step needed — Excel handles calculation natively
  • Merged cell pitfall: Do NOT call .merge() then set .values on the merged range (throws InvalidArgument — range still reports original dimensions). Instead: write value to top-left cell alone (ws.getRange("A7").values = [["SOURCES & USES"]]), then merge + format the full range (ws.getRange("A7:F7").merge(); ws.getRange("A7:F7").format.fill.color = "#1F4E79";)

If generating a standalone .xlsx file (no live Excel session):

  • Use Python/openpyxl as described below
  • Write formula strings (ws["D20"] = "=B5*B6"), then run recalc.py before delivery

The rest of this skill is written with openpyxl examples, but the same principles apply to Office JS — just translate the API calls.

Core Principles

  • Every calculation must be an Excel formula - NEVER compute values in Python and hardcode results into cells. When using openpyxl, write cell.value = "=B5*B6" (formula string), NOT cell.value = 1250 (computed result). The model must be dynamic and update when inputs change.
  • Use the template structure - Follow the organization in examples/LBO_Model.xlsx or the user's provided template. Do not invent your own layout.
  • Use proper cell references - All formulas should reference the appropriate cells. Never type numbers that should come from other cells.
  • Maintain sign convention consistency - Follow whatever sign convention the template uses (some use negative for outflows, some use positive). Be consistent throughout.
  • Work section by section, verify with user at each step - Complete one section fully, show the user what was built, run the section's verification checks, and get confirmation BEFORE moving to the next section. Do NOT build the entire model end-to-end and then present it — later sections depend on earlier ones, so catching a mistake in Sources & Uses after the returns are already built means rework everywhere.

Formula Color Conventions

  • Blue (0000FF): Hardcoded inputs - typed numbers that don't reference other cells
  • Black (000000): Formulas with calculations - any formula using operators or functions (=B4*B5, =SUM(), =-MAX(0,B4))
  • Purple (800080): Links to cells on the same tab - direct references with no calculation (=B9, =B45)
  • Green (008000): Links to cells on different tabs - cross-sheet references (=Assumptions!B5, ='Operating Model'!C10)

Fill Color Palette — Professional Blues & Greys (Default unless user/template specifies otherwise)

  • Keep it minimal — only use blues and greys for cell fills. Do NOT introduce greens, yellows, reds, or multiple accents. A professional LBO model uses restraint.
  • Default fill palette:
    • Section headers (Sources & Uses, Operating Model, etc.): Dark blue #1F4E79 with white bold text
    • Column headers (Year 1, Year 2, etc.): Light blu
常见问题

如果我没有模板怎么办?

智能体会先询问。如果你没有模板,它可以使用标准模板,其中涵盖资金来源与运用、经营、债务和回报。

如果我附上了模板,它会从头制作吗?

不会。技能说明,应使用你附上的模板并加以调整,而不是新建模型。

它能在 Excel 中工作吗?

可以。它可以在已打开的 Excel 加载项中工作,也可以作为独立文件使用。

详情

作者的原始描述

This skill should be used when completing LBO (Leveraged Buyout) model templates in Excel for private equity transactions, deal materials, or investment committee presentations. The skill fills in formulas, validates calculations, and ensures professional formatting standards that adapt to any template structure.

repo: anthropics/financial-services

热度

GitHub 星标
41k
排名
#6583
许可证
Apache-2.0
更新时间
2026/10/28

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能