due-diligence

due-diligence is a command for coding agents from brainbytes-dev/everything-claude-finance. It costs 12 tokens per session (1,139 once invoked), scanned A, original, MIT.

A structured due-diligence checklist for evaluating a company, investment, acquisition, or joint-venture partner. It covers financial, commercial, legal, operational, tax, and human-resources information, then records findings and risks.

In plain words
What is it for?
Use it for buy-side or sell-side M&A, private-equity and venture-capital reviews, joint-venture assessments, and analysis between a letter of intent and closing.
Why use it?
It reduces the chance of overlooking important facts or deal-breaking problems during an investment or transaction review.

Command

Part of the everything-claude-finance plugin — 13 skills, 22 commands, 20 agents shipped together

Install

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.

agentmods
npx agentmods add commands/brainbytes-dev/everything-claude-finance/due-diligence
Clone the repo
git clone --depth 1 https://github.com/brainbytes-dev/everything-claude-finance

Or install everything-claude-finance, the plugin that ships this one along with the rest of its 13 skills, 22 commands, 20 agents.

Wrote 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.

agentmods badge for due-diligence

README.md
[![agentmods](https://agentmods.dev/badge/commands/brainbytes-dev/everything-claude-finance/due-diligence.svg)](https://agentmods.dev/commands/brainbytes-dev/everything-claude-finance/due-diligence)
Your own site
<a href="https://agentmods.dev/commands/brainbytes-dev/everything-claude-finance/due-diligence"><img src="https://agentmods.dev/badge/commands/brainbytes-dev/everything-claude-finance/due-diligence.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,139 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00012 $0.01139
Opus 5 $0.00006 $0.00570
Sonnet 5 $0.00002 $0.00228
Haiku 4.5 $0.00001 $0.00114

Measured 5d ago against content hash 2ffadb7c4723, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

due-diligence 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 5d 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.

commands/due-diligence.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/due-diligence — Due Diligence Checklist

What This Command Does

Generates and executes a comprehensive due diligence checklist tailored to the deal type and target. Covers financial, commercial, legal, operational, tax, and HR workstreams. Tracks findings, flags red flags, and produces a summary of key risks and deal-breakers.

When to Use

  • Buy-side M&A due diligence
  • Sell-side vendor due diligence preparation
  • Private equity investment evaluation
  • Venture capital deep-dive on a target
  • Joint venture partner assessment
  • Post-LOI / pre-closing analysis

How It Works

  1. Scoping: Determines relevant DD workstreams based on deal type, industry, and jurisdiction
  2. Checklist Generation: Creates a prioritized checklist per workstream with data request items
  3. Analysis Execution: Works through available information, documenting findings per item
  4. Red Flag Identification: Highlights material findings that could affect deal terms or viability
  5. Quality of Earnings: Adjusts reported earnings for non-recurring items, accounting policy differences, and normalization
  6. Risk Matrix: Maps findings to a risk severity matrix (critical / major / minor / observation)
  7. Summary Report: Consolidates findings into an executive summary with recommended actions

Example Usage

Input:

/due-diligence target:"LogiFreight SpA" type:financial deal_type:acquisition

Output:

# Financial Due Diligence — LogiFreight SpA
## Status: In Progress | Deal Type: Acquisition | Jurisdiction: Italy (OIC/IFRS)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## 1. QUALITY OF EARNINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

| Item                           | Status | Finding                              | Severity |
|--------------------------------|--------|--------------------------------------|----------|
| Revenue recognition policies   | ✓ Done | Revenue recognized at delivery — OK  | —        |
| Non-recurring items            | ✓ Done | EUR 1.2M one-time gain in 2025      | ⚠ Major  |
| Related party transactions     | ✓ Done | Management co. charges EUR 400K/yr  | ⚠ Major  |
| Working capital normalization  | ✓ Done | Seasonal spike inflates YE position | ⚡ Minor  |
| Accounting policy consistency  | ✓ Done | Changed depreciation method in 2024 | ⚡ Minor  |

### Adjusted EBITDA Bridge
| EUR '000                       | Amount  |
|--------------------------------|---------|
| Reported EBITDA (2025)         | 8,500   |
| Less: One-time gain            | (1,200) |
| Less: Above-market mgmt fees  | (200)   |
| Plus: Below-market rent adj.   | 150     |
| **Normalized EBITDA**          | **7,250** |

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## 2. BALANCE SHEET REVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

| Item                    | Status | Finding                          | Severity   |
|-------------------------|--------|----------------------------------|------------|
| Net debt verification   | ✓ Done | Off-BS lease liabilities found   | 🔴 Critical |
| Receivables quality     | ✓ Done | 12% of AR > 90 days overdue     | ⚠ Major    |
| Inventory valuation     | ✓ Done | FIFO applied consistently        | —          |
| Contingent liabilities  | ✓ Done | Pending labor dispute EUR 300K   | ⚡ Minor    |
| Tax liabilities review  | ⬜ Open | Awaiting tax audit results       | TBD        |

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## 3. RED FLAGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🔴 CRITICAL: Off-balance sheet operating leases of EUR 3.5M not captured
   in reported net debt. Adjusts EV by EUR 3.5M.

⚠ MAJOR: Normalized EBITDA 14.7% below reported — affects valuation
   multiple application.

⚠ MAJOR: Related party management fees above market rate suggest
   potential value leakage.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## 4. RECOMMENDED ACTIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Adjust purchase price to reflect normalized EBITDA (EUR 7.25M vs EUR 8.5M)
2. Include off-BS leases in enterprise value bridge
3. Negotiate termination of related party management agreement at closing
4. Request completion of open tax audit before signing
5. Include AR warranty for receivables > 90 days in SPA

### Overall Assessment: PROCEED WITH CAUTION
Material adjustments required to deal terms. No deal-breakers identified
if price reflects normalized earnings and off-BS liabilities.

Read the full file on GitHub · 119 lines

Changes

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.

  1. 5d ago First seen · 119 lines · 12 tokens per session scan A 2ffadb7c4723

Subscribe to this mod's changes

due-diligence is a command published in the GitHub repository brainbytes-dev/everything-claude-finance (5 stars, last pushed 5mo ago), licensed MIT. It adds 12 tokens to every session and 1,139 once invoked, about $0.0001 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.