lbo-model
它能做什么
它用于填写杠杆收购工作簿,涵盖资金来源与用途、经营、债务和回报等内容,回报指标包括 IRR 和 MOIC。适合分析私募股权式收购的金融从业者。
适用场景
- ✓需要带有 IRR 和 MOIC 回报指标的杠杆收购模型的时候。
- ✓你有一份需要填入交易假设的 LBO 模板的时候。
- ✓你希望在工作簿中内置债务安排表和回报分析的时候。
技能链接
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/finance/lbo-model/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用这些交易假设填写我们的 LBO 模板,并显示三个退出倍数下的 IRR 和 MOIC。”
每周 5 个新技能,1 分钟读完。
工作原理
如果提供了模板,智能体会使用该模板而不是从零搭建,并为每项计算编写公式。交付前,它会先重新计算工作簿。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Environment
This skill assumes headless openpyxl — you are producing an .xlsx file on disk.
Follow the excel-author skill's conventions for cell coloring, formulas, named ranges, and sensitivity tables.
Recalculate before delivery: python /path/to/excel-author/scripts/recalc.py ./out/model.xlsx.
TEMPLATE REQUIREMENT
This skill uses templates for LBO models. Always check for an attached template file first.
Before starting any LBO model:
- If a template file is attached/provided: Use that template's structure exactly - copy it and populate with the user's data
- 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."
- If using the standard template: Copy
examples/LBO_Model.xlsxas 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 — READ FIRST
Use Python/openpyxl. Write formula strings (ws["D20"] = "=B5*B6"), then run the excel-author skill's recalc.py helper before delivery.
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), NOTcell.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.xlsxor 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
#1F4E79with white bold text - Column headers (Year 1, Year 2, etc.): Light blue
#D9E1F2with black bold text - Input cells: Light grey
#F2F2F2(or just white) — the blue font is the signal, fill is secondary - Formula/calculated cells: White, no fill
- Key outputs (IRR, MOIC, Exit Equity): Medium blue
#BDD7EEwith black bold text
- Section headers (Sources & Uses, Operating Model, etc.): Dark blue
- That's the whole palette. 3 blues + 1 grey + white. If the template uses its own colors, follow the template instead.
- Note: The blue/black/purple/green font colors above are for distinguishing inputs vs formulas vs links. Those are separate from the fill palette here — both work together.
Number Formatting Standards
- Currency:
$#,##0;($#,##0);"-"or$#,##0.0depending on template - Percentages:
0.0%(one decimal) - Multiples:
0.0"x"(one decimal) - MOIC/Detailed Ratios:
0.00"x"(two decimals for precision) - All numeric cells: Right-aligned
Cl
常见问题
如果我没有模板怎么办?
技能会询问你是否有模板,否则会提供其标准模板。
标准模板包括哪些内容?
资金来源与用途、经营模型、债务安排表和回报分析。
如果附上了模板,还会从零搭建吗?
不会。技能规定要复制并调整所提供的模板。
详情
热度
- GitHub 星标
- 260k
- 排名
- #494
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-merge-conflict-arbiter
260k以中立第三方的身份,解决两个智能体分支之间的 git 合并冲突,为代码仓库生成一个合并结果。
antigravity-cli
260k指导你安装、更新和排查 Antigravity 命令行工具,包括其插件、登录和沙盒。
blackbox
260k让你的智能体把编程任务交给 Blackbox AI 命令行工具,它会运行多个 AI 模型并挑选最佳结果。
dynamic-workflow
260k教你的智能体把大量相似的工作保存为脚本批量运行,使只有经过验证的结果才返回主对话。