merger-model
What it does
It models how a potential acquisition would change the buyer's earnings per share, including purchase price, financing, and synergies. It is for analysts and advisers evaluating a merger or acquisition.
When to use it
- ✓When you are evaluating whether an acquisition would raise or lower earnings per share.
- ✓When you need synergy sensitivities for a merger proposal.
- ✓When you are preparing a merger consequences analysis for a pitch.
Skill link
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/finance/merger-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
“Model the accretion or dilution if we acquire this target at a 30 percent premium, paid half in cash and half in stock.”
5 new skills a week. 1 minute to read.
How it works
The agent gathers the acquirer and target inputs and deal terms, then calculates the purchase price and pro forma earnings per share. It writes the results into an Excel workbook using formulas.
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.
Merger Model
Build accretion/dilution analysis for M&A transactions. Models pro forma EPS impact, synergy sensitivities, and purchase price allocation. Use when evaluating a potential acquisition, preparing merger consequences analysis for a pitch, or advising on deal terms.
Workflow
Step 1: Gather Inputs
Acquirer:
- Company name, current share price, shares outstanding
- LTM and NTM EPS (GAAP and adjusted)
- P/E multiple
- Pre-tax cost of debt, tax rate
- Cash on balance sheet, existing debt
Target:
- Company name, current share price, shares outstanding (if public)
- LTM and NTM EPS or net income
- Enterprise value or equity value
Deal Terms:
- Offer price per share (or premium to current)
- Consideration mix: % cash vs. % stock
- New debt raised to fund cash portion
- Expected synergies (revenue and cost) and phase-in timeline
- Transaction fees and financing costs
- Expected close date
Step 2: Purchase Price Analysis
| Item | Value |
|---|---|
| Offer price per share | |
| Premium to current | |
| Equity value | |
| Plus: net debt assumed | |
| Enterprise value | |
| EV / EBITDA implied | |
| P/E implied |
Step 3: Sources & Uses
| Sources | $ | Uses | $ |
|---|---|---|---|
| New debt | Equity purchase price | ||
| Cash on hand | Refinance target debt | ||
| New equity issued | Transaction fees | ||
| Financing fees | |||
| Total | Total |
Step 4: Pro Forma EPS (Accretion / Dilution)
Calculate year-by-year (Year 1-3):
| Standalone | Pro Forma | Accretion/(Dilution) | |
|---|---|---|---|
| Acquirer net income | |||
| Target net income | |||
| Synergies (after tax) | |||
| Foregone interest on cash (after tax) | |||
| New debt interest (after tax) | |||
| Intangible amortization (after tax) | |||
| Pro forma net income | |||
| Pro forma shares | |||
| Pro forma EPS | |||
| Accretion / (Dilution) % |
Step 5: Sensitivity Analysis
Accretion/Dilution vs. Synergies and Offer Premium:
| $0M syn | $25M syn | $50M syn | $75M syn | $100M syn | |
|---|---|---|---|---|---|
| 15% premium | |||||
| 20% premium | |||||
| 25% premium | |||||
| 30% premium |
Accretion/Dilution vs. Cash/Stock Mix:
| 100% cash | 75/25 | 50/50 | 25/75 | 100% stock | |
|---|---|---|---|---|---|
| Year 1 | |||||
| Year 2 |
Step 6: Breakeven Synergies
Calculate the minimum synergies needed for the deal to be EPS-neutral in Year 1.
Step 7: Output
- Excel workbook with:
- Assumptions tab
- Sources & uses
- Pro forma income statement
- Accretion/dilution summary
- Sensitivity tables
- Breakeven analysis
- One-page merger consequences summary for pitch book
Important Notes
- Always show both GAAP and adjusted (cash) EPS where relevant
- Stock deals: use acquirer's current price for exchange ratio, note dilution from new shares
- Include purchase price allocation — goodwill and intangible amortization matter for GAAP EPS
- Synergy phase-in is critical — Year 1 is often only 25-50% of run-rate synergies
- Don't forget foregone interest income on cash used and new interest expense on debt raised
- Tax rate on synergies and interest adjustments should match the acquirer's marginal rate
Data sources — MCP first, web fallback
Many passages below say "use the S&P Kensho MCP / Daloopa MCP / FactSet MCP". Those are commercial financial-data MCPs from the original Cowork plugin context. In Hermes:
- If you have any structured financial-data MCP configured (Hermes supports MCP — see
native-mcpskill), prefer it for point-in-time comps, precedent transactions, and filings. - Otherwise, fall back to:
web_search/web_extractagainst SEC EDGAR (https://www.sec.gov/cgi-bin/browse-edgar) for US filings- Company IR pages for press releases, earnings decks
browser_execfor interactive data portals- User-provided data (explicitly ask when the context doesn't have it)
- Never fabricate. If a multiple, precedent, or filing number can't be source
FAQ
What inputs do I need?
Both companies' share prices, share counts, and earnings per share, plus the deal terms such as the offer price and cash or stock mix.
Does it include synergies?
Yes. The skill includes expected revenue and cost synergies with a phase-in timeline.
What else does it calculate?
The skill covers purchase price allocation and pro forma earnings per share.
Details
Original description by the author
Build M&A accretion/dilution workbooks in Excel.
Popularity
- GitHub stars
- 260k
- Ranking position
- #495
- 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.