Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/brainbytes-dev/everything-claude-finance/lbo-modelgit clone --depth 1 https://github.com/brainbytes-dev/everything-claude-financeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/brainbytes-dev/everything-claude-finance/lbo-model)<a href="https://agentmods.dev/commands/brainbytes-dev/everything-claude-finance/lbo-model"><img src="https://agentmods.dev/badge/commands/brainbytes-dev/everything-claude-finance/lbo-model.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00008 | $0.01802 |
| Opus 5 | $0.00004 | $0.00901 |
| Sonnet 5 | $0.00002 | $0.00360 |
| Haiku 4.5 | $0.00001 | $0.00180 |
Grade A, and why
lbo-model scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/lbo-model — LBO Analysis
What This Command Does
Constructs a full leveraged buyout model including sources & uses, debt structure, operating projections, debt paydown schedule, and returns analysis (IRR, MOIC) under base, upside, and downside scenarios. Determines maximum bid price for target return thresholds.
When to Use
- Private equity investment committee memos
- Buy-side M&A bid pricing (sponsor-backed)
- Management buyout (MBO) structuring
- Recapitalization analysis
- Secondary buyout evaluation
- Co-investment analysis
How It Works
- Sources & Uses: Purchase price, financing structure, equity check, fees and expenses
- Debt Structure: Senior secured, second lien, mezzanine, seller notes — with terms and covenants
- Operating Model: Revenue, EBITDA projections with margin expansion assumptions
- Debt Schedule: Mandatory and optional prepayments, cash sweep, revolver usage
- Returns Analysis: Exit at various multiples, IRR/MOIC sensitivity, attribution analysis
- Scenario Modeling: Base, upside, downside with key driver sensitivities
Example Usage
Input:
/lbo-model target:"PrecisionParts GmbH" entry_multiple:8.5 hold_period:5 currency:EUR
Output:
# LBO Model — PrecisionParts GmbH
## Entry: 8.5x EBITDA | Hold: 5 years | Currency: EUR millions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## Sources & Uses
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Sources | EUR M | x EBITDA | Uses | EUR M |
|-------------------|-------|----------|-------------------|--------|
| Senior Term Loan A| 80.0 | 2.7x | Enterprise Value | 255.0 |
| Senior Term Loan B| 50.0 | 1.7x | Transaction Fees | 8.5 |
| Mezzanine | 30.0 | 1.0x | Financing Fees | 4.5 |
| Equity (Sponsor) | 95.0 | 3.2x | Cash to B/S | 5.0 |
| Management rollover| 18.0 | 0.6x | | |
| **Total Sources** |**273.0**|**9.1x**| **Total Uses** |**273.0**|
Entry EBITDA: EUR 30.0M | Entry EV: EUR 255.0M (8.5x)
Total Leverage: 5.3x | Equity: 41.4% of total
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## Operating Projections (Base Case)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| EUR M | Entry | Yr 1 | Yr 2 | Yr 3 | Yr 4 | Yr 5 |
|-----------------|-------|-------|-------|-------|-------|-------|
| Revenue | 180.0 | 193.0 | 208.0 | 224.6 | 240.3 | 255.0 |
| Growth | — | 7.2% | 7.8% | 8.0% | 7.0% | 6.1% |
| EBITDA | 30.0 | 33.5 | 37.4 | 42.1 | 46.0 | 50.2 |
| Margin | 16.7% | 17.4% | 18.0% | 18.7% | 19.1% | 19.7% |
| Capex | (9.0) | (9.7) | (10.4)| (11.2)| (12.0)| (12.8)|
| FCF (pre-debt) | — | 18.2 | 21.0 | 24.5 | 27.2 | 30.0 |
[Assumption: Margin expansion from operational improvements and scale]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## Debt Paydown Schedule
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| EUR M | Entry | Yr 1 | Yr 2 | Yr 3 | Yr 4 | Yr 5 |
|------------------|-------|-------|-------|-------|-------|-------|
| Senior TLA | 80.0 | 68.0 | 54.5 | 39.0 | 21.5 | 2.0 |
| Senior TLB | 50.0 | 50.0 | 50.0 | 50.0 | 50.0 | 42.0 |
| Mezzanine | 30.0 | 30.0 | 30.0 | 30.0 | 30.0 | 30.0 |
| **Total Debt** |**160.0**|**148.0**|**134.5**|**119.0**|**101.5**|**74.0**|
| Net Debt/EBITDA | 5.3x | 4.4x | 3.6x | 2.8x | 2.2x | 1.5x |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## Returns Analysis (Year 5 Exit)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Exit Multiple | Exit EV | Equity Value | MOIC | IRR |
|---------------|---------|-------------|-------|-------|
| 7.0x | 351.4 | 277.4 | 2.5x | 19.8% |
| 7.5x | 376.5 | 302.5 | 2.7x | 21.6% |
| **8.0x** |**401.6**|**327.6** |**2.9x**|**23.3%**|
| 8.5x (no Δ) | 426.7 | 352.7 | 3.1x | 25.0% |
| 9.0x | 451.8 | 377.8 | 3.3x | 26.5% |
### Returns Attribution (Base Case, 8.0x exit)
| Driver | Contribution to MOIC |
|---------------------|---------------------|
| EBITDA growth | 1.2x |
| Debt paydown | 0.8x |
| Multiple expansion | (0.1x) |
| **Total** | **2.9x** |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## Scenario Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Scenario | EBITDA Exit | Multiple | IRR | MOIC |
|----------|-------------|----------|-------|------|
| Downside | 40.0 | 7.0x | 12.5% | 1.8x |
| Base | 50.2 | 8.0x | 23.3% | 2.9x |
| Upside | 58.0 | 9.0x | 32.1% | 4.0x |
### Investment Decision: PROCEED — meets 20% IRR hurdle in base case.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 137 lines · 8 tokens per session scan A 0cd44a9f5142
lbo-model is a command published in the GitHub repository brainbytes-dev/everything-claude-finance (5 stars, last pushed 5mo ago), licensed MIT. It adds 8 tokens to every session and 1,802 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
dispatcher
Pick the next-best repo to work on across the portfolio — rank free repos, recommend one, claim its lease atomically, and route to the entry command.
merit-reconcile
Preview or check the status of Stripe → Merit payout reconciliation (read-only).
valuation-methods
Valuation methods analysis — multiples, DCF inputs, PEG integration, valuation assumption extraction.
scan
Scan AWS account for cost optimization.
audit-checklist
Perform an internal audit, review controls, or prepare for an external financial audit.
finops-status
Orientation — say where an opportunity or assignment sits in the five-step FinOps lifecycle and what unlocks next. Useful when a record has no active stage: an opportunity while its assignments do the work, an assignment whose plan has not been approved yet, or a rejected or archived assignment. Read-only; mutates…