/daloopa-investing:merger-model ACQUIRER TARGETfrom daloopa-investing
Builds a full merger model (accretion/dilution) for two public companies with pro forma financials. Handles standalone projections, transaction structure, purchase accounting, and accretion/dilution analysis.
Ships in daloopa-investing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Build a comprehensive merger model for the two companies specified by the user: $ARGUMENTS
Before starting, read ../data-access.md (data access, citations, reuse), ../design-system.md and ../report-template.html (report format), ../valuation-conventions.md (share count, EV bridge, multiples, WACC, deal defaults, accretion test, summary sidecar) and ../metrics-definitions.md (EBITDA, net debt, leverage, ROIC inputs, pull windows, year-to-date cash flows, reading filings).
The first ticker is the Acquirer and the second is the Target. If only one ticker is given, ask for the second.
The model builds standalone projections for both companies, a transaction, purchase accounting, a pro forma income statement and balance sheet, accretion/dilution, and a test of whether the deal earns its cost of capital. The deliverable is an HTML report plus a JSON summary sidecar.
Share count, the EV bridge, multiples, WACC and every deal default (premium, consideration mix, fees, minimum cash, leverage ceiling, synergies, purchase accounting, interest deductibility) are defined in ../valuation-conventions.md. This skill does not restate them. Every default is an assumption: list each in the assumptions table with its value and source, and let the user's prompt override any of them ("all cash", "40% premium", "$500mm synergies"). Where this skill sets a value the reference leaves open, it says "skill default".
This is an illustrative analysis. Do not present a hypothetical pairing as a likely or pending deal, and say so in the report's meta line.
Run the standard company setup for each company (../data-access.md Section 1.2), one ticker per lookup. If either is not in Daloopa, tell the user and stop.
Apply the sector gate (../valuation-conventions.md Section 1). If either company is a bank, insurer or other balance-sheet financial, stop and say why: a merger of financials is judged on tangible book value dilution and earn-back, which this model does not build. If either is pre-revenue or loss-making, continue only for the EPS mechanics and say that leverage and ROIC tests are not meaningful.
One batched get_stock_prices call for both companies (../data-access.md Section 1.7).
../valuation-conventions.md Section 5).../valuation-conventions.md Sections 2 and 3).../valuation-conventions.md Section 4).Display: three fiscal years on the acquirer's fiscal calendar, plus LTM. Pull: the 13 calendar quarters ending at the later of the two latest_calendar_quarter values, for both companies in parallel. Check for year-to-date cash flows first (../metrics-definitions.md Section 2).
Calendarization. Build every annual figure for both companies by summing the four calendar quarters that make up each of the acquirer's last three fiscal years. Do not use the target's own fiscal-year totals when its year-end differs. LTM for both is the latest four quarters available for both companies. State the mapping in the report.
Pull for each company:
If a series is unavailable, show the line as "not available" and say what the model assumed in its place. Never fill a gap silently.
Read, per ../metrics-definitions.md Section 7:
Use phrase-level searches only for what those sections leave unanswered, within the search cap.
Expert calls (optional): call get_expert_call_transcripts(company_id) for each company (../data-access.md Sections 1.8 and 8.4). Skip if unavailable. Otherwise use insider views on integration difficulty, customer overlap and cost structure to test the synergy assumptions, labelled as opinion and cited.
Compute the acquirer's WACC per ../valuation-conventions.md Section 7, showing every input. It is the hurdle for the deal ROIC test in Step 12 and the capitalization rate for synergies. The tax rate t from that section is the pro forma tax rate throughout.
Build in the report script. Do not use infra/projection_engine.py here: it does not carry interest and capital structure the way this model needs.
t on pre-tax income.One capital-return policy for both the standalone and the pro forma case. Default (skill default): dividends per share held flat and no share repurchases in either case, so the standalone share count stays at the latest diluted count. In the standalone case, free cash flow after dividends accumulates as cash earning the LTM yield on cash. In the pro forma case it repays acquisition debt first. If the user wants a buyback programme modelled, apply the same dollar repurchases in both cases. Never model buybacks on one side only: the comparison would then measure the buyback, not the deal.
Standalone acquirer EPS for years 1-3 is the baseline for accretion/dilution. If sourced consensus exists (../data-access.md Section 3), show it beside the projections.
All defaults from ../valuation-conventions.md Section 10 unless the user overrides them.
../valuation-conventions.md Section 2); equity purchase price; transaction EV via the EV bridge.../valuation-conventions.md Section 4), beside the target's own trading multiples and, where reports/{TARGET}_precedent_transactions.json passes the reuse rule, the precedent median.Sources and uses (the identity in ../valuation-conventions.md Section 10, for a strategic buyer):
Uses = equity purchase price
+ target debt refinanced, including call premium
+ advisory fees + financing fees
Sources = new acquirer shares issued (at the acquirer's price)
+ combined cash and marketable securities above the combined minimum cash
+ new debt (the balancing item)
Minimum cash for the combined company stays on the balance sheet and is never a source. Assert that sources equal uses.
Financing check. Compute pro forma net leverage at close and compare it with the acquirer's stated target from Step 4, or the default strategic ceiling. If the base mix breaches it, say so in the bottom line and show the stock percentage at which it is met (../valuation-conventions.md Section 11).
Pro forma ownership: acquirer holders and target holders, as percentages of pro forma shares.
Using the purchase-accounting defaults in ../valuation-conventions.md Section 10:
t.Assert: adjusted book value + step-up − deferred tax liability + goodwill = equity purchase price. Show the allocation as a bridge. Flag goodwill above about half of pro forma equity as an impairment risk.
Cost synergies, phase-in and one-time cost to achieve at the defaults in ../valuation-conventions.md Section 10. R&D synergies are zero unless the overlap found in Step 4 clearly supports them. Revenue synergies are off unless the user asks; if included, show them separately and haircut them.
Spread the cost to achieve over years 1-2. It is in GAAP EPS and excluded from adjusted EPS.
Sanity check: run-rate synergies as a percentage of target revenue and of combined operating expenses. Above about 5% of target revenue needs explicit justification. Cite the acquirer's disclosed synergy outcomes on past deals if the Step 4 reading found any.
For each year, four columns: Acquirer standalone | Target standalone | Adjustments | Pro forma.
Income statement adjustments: phased synergies; cost to achieve; amortization of the intangible step-up; interest on new debt, including amortized financing fees; interest income foregone on cash used, at the LTM yield on cash; removal of interest on refinanced target debt; tax on all adjustments at t. Interest is treated as fully deductible, per the interest-deductibility assumption in ../valuation-conventions.md Section 10: carry that caveat into the assumptions table.
Pro forma shares in year t = standalone acquirer shares in year t + new shares issued.
Balance sheet at close: combined assets, plus goodwill and the step-up, less cash used; new debt; target equity eliminated; new equity issued; advisory fees charged to equity. Assert that it balances.
Leverage path: pro forma net leverage at close and at the end of years 1-3 (../metrics-definitions.md Section 4), with free cash flow after dividends repaying acquisition debt.
For years 1-3:
(standalone EPS − pro forma EPS excluding synergies) × pro forma shares ÷ (1 − t): the pre-tax synergies at which dilution is zero. Compare with the base synergy assumption.../valuation-conventions.md Section 10. State both sides as percentages. The simple comparison of acquirer P/E with P/E paid is valid only for an all-stock deal: do not use it for a mixed or cash deal.Sensitivity grids on year-2 GAAP EPS accretion, as heatmap tables (accretive green, dilutive red). The base case must be a cell in each grid and must match the headline.
Accretion is not value creation. State:
(target LTM NOPAT + after-tax run-rate synergies) ÷ (transaction EV + advisory fees + financing fees + cost to achieve), against the acquirer's WACC from Step 5. An accretive deal that earns less than WACC destroys value. Show ROIC without synergies as well.Write reports/{ACQUIRER}_{TARGET}_merger_model.html with a script, using the <style> block from ../report-template.html and the rules in ../design-system.md. Sections, in order:
../data-access.md Section 7): for example /precedent-transactions to test the premium, /credit on the acquirer for leverage headroom, /buyer-universe on the target for competing bidders.Write the summary sidecar reports/{ACQUIRER}_{TARGET}_merger_model.json in the format of ../valuation-conventions.md Section 12, with both tickers recorded. Its methods entry is "Offer price per target share" with the three premium cases as low, base and high, basis "control". Put the consideration mix, exchange ratio, synergies, WACC, tax rate, EPS accretion by year, breakeven synergies, deal ROIC and pro forma leverage under assumptions, and any departure from the shared deal defaults under deviations.
Run the Final Checks in ../design-system.md before saving. The script must assert: sources equal uses; the purchase price allocation foots; the closing balance sheet balances; pro forma net income equals the two standalones plus the listed adjustments; each grid's base cell equals the headline.
Tell the user where the report and sidecar were saved. Summarize: accretion or dilution by year, breakeven against base synergies, pro forma leverage and ownership, deal ROIC against WACC, and the defaults the user should review first.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
merger-model, accretion-dilution, pro-forma, m-and-a, financial-modeling
npx claudepluginhub daloopa/investing2 --plugin daloopa-investing42 skills in this plugin
/activismActivist vulnerability assessment — performance gaps, likely activist playbook, and defense analysis/bomInteractive product bill-of-materials dashboard with an exploded view, mapping components, suppliers, unit costs, and gross margin sensitivity/build-modelBuild a multi-tab Excel financial model/bull-bearBull/bear/base case scenario framework for a given companyOther plugins' skills for the same job