Agent skill

Precedent Transactions

by daloopa in daloopa/investing

Precedent M&A transactions analysis with deal multiples and acquisition history

Apache-2.0Auto-check passedLegal & Compliance

Install Precedent Transactions

skills CLI
$ npx skills add daloopa/investing --skill precedent-transactions -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install daloopa/investing precedent-transactions --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/daloopa/investing.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/precedent-transactions .claude/skills/precedent-transactions && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
precedent-transactions
GitHub stars
489
Token cost
~2.4k tokens
SKILL.md length
1,042 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
Apache-2.0

At a glance

Precedent M&A transactions analysis with deal multiples and acquisition history

  • Works in 9 steps: Company Lookup → Subject Company Financials → Identify Comparable Precedent Transactions → …
  • Tasks that involve Legal research
  • SKILL.md covers 1. Company Lookup, 2. Subject Company Financials, 3. Identify Comparable… and 4. Source Target Financials…, plus 5 more sections
  • Reaches daloopa.com

What it does

Precedent Transactions is an agent skill from daloopa/investing. Precedent M&A transactions analysis with deal multiples and acquisition history

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Legal & Compliance, covering Legal research. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Legal research

Example prompts

  • “/precedent-transactions”

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Company Lookup
  2. Subject Company Financials
  3. Identify Comparable Precedent Transactions
  4. Source Target Financials via Daloopa
  5. Compute Deal Multiples
  6. Subject Company's Acquisition History
  7. Implied Valuation for Subject Company
  8. Deal Environment Commentary
  9. Save Report

What it can do on your machine

Read from SKILL.md and the folder at commit e2dd01d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • daloopa.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Precedent Transactions loads about 2.4k tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 1,042 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from daloopa/investing at commit e2dd01d, republished under its Apache-2.0 licence (© daloopa). 1,042 words, ~2,385 tokens.

Download SKILL.mdSave it as .claude/skills/precedent-transactions/SKILL.md (or your agent's skills folder).
name
precedent-transactions
description
Precedent M&A transactions analysis with deal multiples and acquisition history
argument-hint
TICKER

Build a precedent transactions analysis for the company specified by the user: $ARGUMENTS

This is the third pillar of valuation (alongside trading comps and DCF) — it answers: what have acquirers actually paid for businesses like this one? The output is two tables: comparable M&A transactions with deal multiples, and the subject company's own acquisition history.

Before starting, read ../data-access.md for data access methods and ../design-system.md for formatting conventions. Follow the data access detection logic and design system throughout this skill.

Follow these steps:

1. Company Lookup

Look up the company by ticker using discover_companies. Capture:

  • company_id
  • latest_calendar_quarter — anchor for all period calculations below (see ../data-access.md Section 1.5)
  • latest_fiscal_quarter
  • Firm name for report attribution (default: "Daloopa") — see ../data-access.md Section 4.5

Identify:

  • Full legal company name
  • Primary stock exchange and reporting currency
  • Country of domicile and primary operations
  • Industry and sub-sector
  • Approximate revenue and EBITDA scale (to calibrate comparable deal sizing)

2. Subject Company Financials

Calculate 4 quarters backward from latest_calendar_quarter. Pull from Daloopa:

  • Revenue (compute trailing 4Q / LTM total)
  • EBITDA (compute trailing 4Q; if not available, use Operating Income + D&A, label "(calc.)")
  • Operating Income
  • Net Income
  • Free Cash Flow (OCF - CapEx, label "(calc.)")

These serve as the reference point for comparing deal multiples — what would an acquirer be paying relative to this company's current financials?

3. Identify Comparable Precedent Transactions

Find 8-15 completed M&A transactions from the last 7-10 years involving target companies comparable to the subject. "Comparable" means:

  • Same industry and sub-sector
  • Similar business model (e.g., SaaS, semiconductor IP, consumer internet, industrials)
  • Roughly comparable scale — within ~0.5x-4x of the subject's revenue
  • Completed transactions only (not rumored, not pending)

Research sources in priority order:

  1. SEC EDGAR (for US targets) — SC TO, DEFM14A, 8-K filings disclose EV and deal terms
  2. Equivalent regulators for non-US targets: FCA (UK), EDINET (Japan), HKEx (Hong Kong), SEDAR+ (Canada), ASX (Australia)
  3. Official investor relations press releases from acquirer or target
  4. Reputable financial news: Reuters, Bloomberg, Wall Street Journal, Financial Times

Use web search to identify deals: "{industry} acquisitions {sub-sector} last 10 years", "{TICKER} comparable M&A transactions", "{sector} deal comps precedent transactions".

Do NOT use: finance blogs, Yahoo Finance editorial, Benzinga, Seeking Alpha, Motley Fool, Zacks, TipRanks, StockTwits, Reddit, anonymous wiki contributions, or aggregators without a traceable primary source (see ../data-access.md Section 2.5).

For each transaction, capture:

  • Announcement date
  • Acquirer name
  • Target name
  • Transaction Enterprise Value
  • Deal consideration (All Cash / All Stock / Cash + Stock)
  • Source (press release URL, SEC filing, or regulatory filing)

4. Source Target Financials via Daloopa

For each target company in the precedent transactions table, source LTM Revenue and EBITDA from Daloopa:

  1. Look up the target using discover_companies with the target's ticker or name
  2. Find relevant series using discover_company_series with keywords ["revenue", "EBITDA"] and the appropriate period (the last complete fiscal year before the deal announcement)
  3. Pull the data using get_company_fundamentals with the discovered series IDs
  4. For EBITDA, look for series containing "Adjusted EBITDA", "EBITDA", or fall back to "Operating Income" + D&A
  5. If a target is not in Daloopa (e.g., pre-IPO targets, private companies), fall back to SEC filings, press releases, or regulatory filings

Daloopa is the primary source. Only fall back to other sources when a target is genuinely unavailable in the database.

5. Compute Deal Multiples

For each transaction where both EV and financials are available:

  • EV/Revenue = Transaction EV ÷ LTM Revenue
  • EV/EBITDA = Transaction EV ÷ LTM EBITDA
  • Round to one decimal, append "x"
  • If a figure cannot be sourced, mark as N/A — do not estimate

Compute summary statistics (excluding N/A values):

  • 75th Percentile
  • Average (bold)
  • Median (bold)
  • 25th Percentile

If fewer than 3 valid data points exist for a multiple, note that the statistic is not meaningful.

Show full SKILL.md (430 more words)Show less

6. Subject Company's Acquisition History

Find deals where the subject company itself was the acquirer. Sources: company IR page, SEC 8-K or equivalent filings, Reuters/Bloomberg/WSJ.

For each acquisition, capture:

  • Date
  • Target name
  • Deal value (if disclosed)
  • Consideration (Cash / Stock / Mix)
  • Strategic rationale (one sentence from press release or filing)

7. Implied Valuation for Subject Company

Apply the precedent transaction multiples to the subject's current financials:

MethodologyPercentileMultipleSubject LTM MetricImplied EV
EV/RevenueMedianXX.Xx$XXX$XXX
EV/Revenue25th-75thXX.Xx-XX.Xx$XXX$XXX-$XXX
EV/EBITDAMedianXX.Xx$XXX$XXX
EV/EBITDA25th-75thXX.Xx-XX.Xx$XXX$XXX-$XXX

Convert implied EV to implied equity value (EV - Net Debt) and implied share price where market data is available (see ../data-access.md Section 2). Compare to current market price.

Context matters more than precision:

  • Precedent transaction multiples are snapshots from specific deal contexts (competitive auctions, strategic premiums, distressed sales). Note which deals had unusual dynamics.
  • Control premiums are embedded in these multiples — a public market investor should not expect to realize the full precedent transaction value unless a takeout actually happens.
  • If the current market cap is well below precedent transaction implied value, that's a signal of takeout optionality, not necessarily undervaluation.

8. Deal Environment Commentary

Search filings and news for context on the M&A environment:

  • Search: "{industry} M&A outlook {current_year}" — deal activity trends
  • Search: "{TICKER} acquisition target rumors" — is the subject itself a takeout candidate?

Summarize in 3-5 bullets:

  • Is deal activity in this sector accelerating or declining?
  • What are typical premiums being paid (control premium trends)?
  • Are strategic buyers or financial sponsors (PE) driving activity?
  • Any regulatory headwinds to deals in this space (antitrust scrutiny)?
  • Is the subject company a plausible acquisition target? Why or why not?

9. Save Report

Save to reports/{TICKER}_precedent_transactions.html using the HTML report template from ../design-system.md. Write the full analysis as styled HTML with the design system CSS inlined. This is the final deliverable — no intermediate markdown step needed.

The report should include interactive features:

  • Clickable acquirer names in Table 1 that open a modal showing all source links for that transaction (press release, SEC filing, Daloopa data links). Implement with data- attributes and safe DOM methods (createElement, textContent, appendChild) — never innerHTML.
  • Consideration badges styled inline: All Cash (green background), All Stock (purple background), Cash + Stock (amber background).

Structure the report with these sections:

<h1>{Company Name} ({TICKER}) — Precedent Transactions Analysis</h1>
<p>Generated: {date}</p>

<h2>Summary</h2>
{2-3 sentences: What do precedent transactions imply for this company's valuation? How does it compare to the current market price?}

<h2>Subject Company Overview</h2>
{Exchange, currency, industry, LTM Revenue and EBITDA with Daloopa citations}
{Note: "Revenue and EBITDA sourced from Daloopa where available"}

<h2>Selected Precedent Transactions</h2>
<table>
| Date | Acquirer | Target | EV ($M) | LTM Rev ($M) | LTM EBITDA ($M) | EV/Rev | EV/EBITDA | Consideration |
{data rows with Daloopa-cited financials, footnote superscripts, clickable acquirers}
| 75th Percentile | | | | | | XX.Xx | XX.Xx | |
| **Average** | | | | | | **XX.Xx** | **XX.Xx** | |
| **Median** | | | | | | **XX.Xx** | **XX.Xx** | |
| 25th Percentile | | | | | | XX.Xx | XX.Xx | |
</table>

<h2>Implied Valuation</h2>
<table>
| Methodology | Multiple | Subject Metric | Implied EV | Implied Equity | Implied Price | vs Current |
{valuation bridge using median and range multiples}
</table>

<h2>{Company Name} Acquisition History</h2>
<table>
| Date | Target | Deal Value | Consideration | Strategic Rationale |
{company's own M&A deals}
</table>

<h2>Deal Environment</h2>
<ul>{3-5 bullets on sector M&A trends, control premiums, takeout potential}</ul>

<h2>Sources</h2>
{Numbered footnote list — each deal with press release link, SEC filing, Daloopa data links}
{Data sourced from Daloopa attribution}

All financial figures from Daloopa must use citation format: <a href="https://daloopa.com/src/{fundamental_id}">$X.XX million</a>

Tell the user where the HTML report was saved.

Highlight: what precedent transactions imply about the company's takeout value, how it compares to the current market price, and whether the sector M&A environment supports deal activity.

© daloopa, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/precedent-transactions of daloopa/investing.

Open the folder on GitHubat commit e2dd01d

Compare with similar skills

Precedent Transactions next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Precedent Transactions compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Precedent Transactions this skilldaloopa/investing489—~2.4kAutomated safety check: PassApache-2.0
Tw Legal RAGaa0101181514/tw-legal-rag328—~580Automated safety check: PassCustom licence
Design Award SearchSeanJ1ang/design-judge-skills712—~3kAutomated safety check: PassApache-2.0
China Lawyer AnalystCSlawyer1985/china-lawyer-analyst196—~3.3kAutomated safety check: PassNone
Billing And Litigation BudgetTHUYRan/Legal-Skills-Chinese873—~5kAutomated safety check: PassNone
Legal Issue ResearchGolden2002/legal-research-skill156—~6.8kAutomated safety check: PassMIT

Similar skills

  • Tw Legal RAG

    aa0101181514/tw-legal-rag

    Retrieve real Taiwan court judgments with verifiable citations before answering any question about Taiwan law or case law.

    328 GitHub stars~580 tokensUpdated yesterday
    Legal & ComplianceAuto-check passed
  • Design Award Search

    SeanJ1ang/design-judge-skills

    Find and verify award-winning designs in the same or adjacent functional category through eight explicit relevance dimensions: problem and user, core function, sensing technology, intervention…

    712 GitHub stars~3k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • China Lawyer Analyst

    CSlawyer1985/china-lawyer-analyst

    通过中国法律视角分析事件,运用成文法解释、指导案例参照、请求权基础分析等方法, 理解权利义务、评估责任风险、识别法律依据并推荐合规策略。

    196 GitHub stars~3.3k tokensUpdated 8 mo ago
    Legal & ComplianceAuto-check passed
  • Billing And Litigation Budget

    THUYRan/Legal-Skills-Chinese

    A skill your agent uses when the user needs to track or manage attorney hours, expert fees, and investigation costs; control litigation spend; or prepare timesheets or expense statements for clients.

    873 GitHub stars~5k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Legal Issue Research

    Golden2002/legal-research-skill

    中国法律全领域系统性检索专家. An agent skill from Golden2002/legal-research-skill.

    156 GitHub stars~6.8k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Tax Law Research

    Serein-81/financial_rag

    Searches current Chinese tax laws, rates and policy changes with Tavily web search, prioritizing government sources and flagging outdated or conflicting results.

    148 GitHub stars~997 tokensUpdated 4 mo ago
    Legal & ComplianceAuto-check: notes

More from daloopa/investing

All 22 skills in this repo
  • Capital Allocation

    daloopa/investing

    Deep dive into capital deployment, buybacks, dividends, and shareholder yield

    489 GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check passed
  • Comp Sheet

    daloopa/investing

    Build an industry comp sheet Excel model with deep operational KPIs

    489 GitHub stars~2k tokensUpdated 2 days ago
    Auto-check passed
  • Comps

    daloopa/investing

    Trading comparables analysis with peer multiples and implied valuation

    489 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed
  • Dcf

    daloopa/investing

    Discounted cash flow valuation with sensitivity analysis. An agent skill from daloopa/investing.

    489 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed
  • Earnings Flash

    daloopa/investing

    Rapid first-read earnings flash for a given company. An agent skill from daloopa/investing.

    489 GitHub stars~1.9k tokensUpdated 2 days ago
    Auto-check passed
  • Guidance Tracker

    daloopa/investing

    Track management guidance accuracy over time for a given company

    489 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed

Questions about Precedent Transactions

What does Precedent Transactions do?

Precedent M&A transactions analysis with deal multiples and acquisition history. Precedent Transactions is an agent skill from daloopa/investing.

When should I use Precedent Transactions?

Precedent Transactions fits situations like: tasks that involve Legal research.

How do I install Precedent Transactions in Claude Code?

Run `npx skills add daloopa/investing --skill precedent-transactions -a claude-code`. Or copy the skill folder (.claude/skills/precedent-transactions in daloopa/investing) into .claude/skills/precedent-transactions in your project. Claude Code loads it when a task matches its description.

How do I install Precedent Transactions in Codex?

Run `npx skills add daloopa/investing --skill precedent-transactions -a codex`. Or copy the skill folder (.claude/skills/precedent-transactions in daloopa/investing) into .agents/skills/precedent-transactions in your project. Codex loads it when a task matches its description.

Can I use Precedent Transactions in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add daloopa/investing --skill precedent-transactions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/precedent-transactions, .gemini/skills/precedent-transactions, .github/skills/precedent-transactions and .opencode/skills/precedent-transactions in your project.

What does Precedent Transactions need to run?

SKILL.md names no scripts, command-line tools or credentials: Precedent Transactions is instructions for the agent only.

Does Precedent Transactions access the network?

SKILL.md names 1 domain. In commands or code: daloopa.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Precedent Transactions safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Precedent Transactions use?

Precedent Transactions is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Precedent Transactions use?

About 2.4k tokens (SKILL.md is roughly 9.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Precedent Transactions?

Skills that share tags, products or a category with Precedent Transactions: Tw Legal RAG (aa0101181514/tw-legal-rag, 328 stars), Design Award Search (SeanJ1ang/design-judge-skills, 712 stars), China Lawyer Analyst (CSlawyer1985/china-lawyer-analyst, 196 stars) and Billing And Litigation Budget (THUYRan/Legal-Skills-Chinese, 873 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Precedent Transactions?

daloopa (a GitHub organization) maintains it in daloopa/investing, which has 489 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 7, 2026.

Source: daloopa/investing on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.