lbo-model
What it does
It fills in a leveraged buyout workbook that covers sources and uses, operations, debt, and returns such as IRR and MOIC. It is for finance professionals analyzing a private equity style acquisition.
When to use it
- ✓When you need a leveraged buyout model with IRR and MOIC returns.
- ✓When you have an LBO template that must be populated with deal assumptions.
- ✓When you want a debt schedule and returns analysis built into the workbook.
Skill link
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/finance/lbo-model/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Populate our LBO template with these deal assumptions and show the IRR and MOIC at three exit multiples.”
5 new skills a week. 1 minute to read.
How it works
The agent uses the attached template if one is provided rather than building from scratch, and writes formulas for every calculation. It then recalculates the workbook before delivery.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
What if I have no template?
The skill asks whether you have one, and otherwise offers its standard template.
What does the standard template include?
Sources and uses, an operating model, a debt schedule, and a returns analysis.
Does it build from scratch when a template is attached?
No. The skill says to copy and adapt the provided template instead.
Details
Original description by the author
Build leveraged buyout workbooks with IRR/MOIC in Excel.
Popularity
- GitHub stars
- 260k
- Ranking position
- #494
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-merge-conflict-arbiter
260kSettles a git merge conflict between two agents' branches as a neutral third party, producing one merged result for the repo.
antigravity-cli
260kGuides you through installing, updating, and troubleshooting the Antigravity command line tool, including its plugins, sign-in, and sandbox.
blackbox
260kLets your agent hand a coding task to the Blackbox AI command line tool, which runs several AI models and picks the best result.
dynamic-workflow
260kTeaches your agent to run large batches of similar work as a saved script, so only verified results return to the main conversation.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.