Interactive walkthrough · Private equity · Claude Code

Claude Code for Private Equity Due Diligence: Interactive Walkthrough

Set up an AI analyst that reads a raw data room and returns a memo, the red flags and the questions for management. Click through 11 screens, then copy the CLAUDE.md file, red-flag thresholds and prompts to use on your next deal.

11screens, from raw data room to a reusable analyst
0lines of code; you talk to it in plain English
3outputs per deal: memo, red-flag table, questions
~29 hrsanalyst time back per quarter (illustrative, 15 deals)

Why first-pass diligence is worth automating

Most deals die in screening. The problem isn’t that analysts can’t find the risks. It’s that finding them takes a day of reading, so the risks show up after the first management call instead of before it.

Speed where it counts

The first read of a data room is the same work every time: pull ARR, concentration, renewals and retention, and check they tie out. An agent does that in minutes, so the team spends its hours on judgment, not extraction.

The same screen on every deal

When each analyst screens in their own format, deals can’t be compared. Written thresholds and a fixed output standard mean every deal gets the same checks, in the same order.

Every file, not just the CIM

The CIM is the seller’s story. The retention file and the top-20 list are where the story gets tested. The agent reads all of them on every pass and cites where each number came from.

What you’ll learn

  • Point it at a raw data roomCIMs, retention workbooks and P&Ls exactly as the seller sends them. No data prep.
  • Write the analyst’s job descriptionUse /init and CLAUDE.md so every session starts as an M&A analyst.
  • Keep context cleanWhen to use /clear vs /compact so old numbers don’t leak into new answers.
  • Encode your firm’s red flagsAdd thresholds and an output standard so each screen is consistent and cites its sources.
Tip: tap the expand button (top right) and turn your phone sideways for the full screen.
Illustrative mockup · fictional data
The playbook

How the AI diligence analyst runs, deal after deal

1

Set up once

Who: deal ops, with JayOh

Approved machine, VS Code and Claude Code, a CLAUDE.md with your thresholds and output standard, and the three output templates.

Output: a reusable analyst

2

Run the screen

Who: associate

New folder per deal, drop in the data room untouched, start claude, run the first-pass screen prompt.

Output: memo, red-flag table, question list

3

Check the evidence

Who: associate or VP

Open the cited file for the top findings and confirm the numbers. If something is wrong, fix the brief, /clear and re-run.

Output: findings you can defend

4

Walk into the call ready

Who: deal lead

Use the ranked question list in the management call; drop the red-flag table into the screening memo.

Output: a faster pass or kill decision

Copy and use

Starter CLAUDE.md for due diligence

Save this as CLAUDE.md in the deal folder. It holds no target-specific facts, so it works on any data room. The thresholds are JayOh starting points: tune them to your fund’s thesis.

CLAUDE.md
# CLAUDE.md

## Role
You are an M&A analyst agent on a private equity deal team. You run
first-pass due diligence on the data room in this folder and produce
outputs the deal team can forward.

## How to work
- Read every file in the data room before answering a cross-file question.
- Word (.docx): convert with  textutil -convert txt -stdout "path/to/file.docx"
- Excel (.xlsx): list the sheets with openpyxl first, then read the tabs you need.
- Never invent a number. If a figure is not in the files, say so and add it
  to the management question list.
- Cite the source file and tab for every number you report.

## Firm Red-Flag Thresholds
- Top 10 customers > 25% of ARR
- Any top-20 contract expired or < 90 days to renewal
- Gross revenue retention < 85% in any segment
- Net revenue retention < 100% overall
- ARR differs by more than 2% between the CIM and any other file
- Pipeline coverage < 3x the next-quarter forecast

## Output Standard
- Screen memo (.docx): one page, headline risk first, then up to 5 findings
- Red-flag table (.xlsx): metric, value, threshold, status, source file/tab
- Management questions (.docx): one question per finding, ranked by dollars at risk
- Every finding cites the source file and tab and ends with one question
- Plain language. No adjectives without a number.

## Do not
- Do not install packages without asking.
- Do not upload, send or share files outside this folder.
- Do not carry facts from another deal folder.

Red-flag thresholds: what to check and why

These six checks catch the problems that most often change a deal’s price or kill it. Each one ends in a question for management, because a red flag without a question is just a worry.

CheckStarting thresholdWhy it mattersAsk management
Customer concentrationTop 10 > 25% of ARRLosing one or two logos moves the whole model, and the next buyer will discount it.What are the terms and renewal dates for each top-10 customer?
Top-20 renewalsExpired or < 90 daysAn expired contract is revenue at risk, not recurring revenue.Which expired contracts are still paying, and on what terms?
Gross retention by segment< 85% in any segmentGrowth in a leaky segment is refilling the bucket, not compounding.What drives churn in this segment, and what has changed?
Net retention< 100% overallBelow 100% the base shrinks unless new sales cover it.Which cohorts expand, and what triggers the expansion?
ARR reconciliation> 2% gap between filesNumbers that don’t tie in the data room won’t survive confirmatory diligence.Walk us from CIM ARR to billed revenue.
Pipeline coverage< 3x next quarterA forecast without coverage is a hope, not a plan.What stage-weighted pipeline sits behind next quarter?

Prompt library: six prompts to run on every data room

Run them in order, with /clear between them. Each one is scoped to a single job so you can check the output.

1. First-pass screen
Run the first-pass screen on this data room using the thresholds and output standard in CLAUDE.md.

Why: one consistent screen per deal, in the same three files.

2. Reconcile ARR
Reconcile ARR across every file that reports it. Show each figure with its file and tab, and explain any gap over 2%.

Why: the CIM number is the seller’s; the source files are the evidence.

3. Concentration and renewals
List the top 20 customers by ARR with contract end date and status. Flag anything expired or renewing in the next 90 days.

Why: the fastest way to find revenue that is at risk today.

4. Retention by segment
Build gross and net retention by segment and cohort year from the retention file. Flag any segment under 85% gross retention.

Why: blended retention hides the segment that is leaking.

5. Management questions
Turn every finding so far into one question for management, ranked by dollars at risk. Save it as Management_Questions.docx.

Why: the call is where you test the story; go in with the order already set.

6. Bull and bear case
Write the strongest bull case and bear case for this deal, under 200 words each, using only cited numbers from the data room.

Why: forces the agent to argue both sides from the same evidence.

Guardrails and what to measure

Guardrails

  • Run it on a machine and plan your firm has approved for deal data.
  • Keep command approvals on. Read every install before you say yes.
  • One deal per folder. Copy the data room in; never work on the original.
  • No number without a source file and tab.
  • A person signs off before anything leaves the deal team.

What to measure

  • Time to first screen: data room access to memo in hand.
  • Citation rate: share of findings with a source file and tab. Target 100%.
  • Red flags before the call: issues found before the first management call vs after.
  • Questions used: how many agent-drafted questions made it into the call.
  • Deals screened per analyst: the capacity you actually get back.

Where deal teams get this wrong

Mistake

No job description

A fresh session is a smart hire with no brief. Without CLAUDE.md you get generic summaries and a different format every time.
Mistake

Hard-coding the target

Leaving the company name and numbers in CLAUDE.md means the next deal inherits the last one’s context. Keep the brief target-agnostic.
Mistake

One endless conversation

Long sessions drag every old file and answer into each new call. Quality drops and stale numbers creep in. Use /clear when a task is done.
Mistake

Trusting uncited numbers

If a finding doesn’t name its source file and tab, it isn’t diligence. Make citations part of the output standard and spot-check every run.
What good looks like

Your screening rules, written down

Thresholds in CLAUDE.md. Every finding cites a file and ends with a question for management. The same three outputs on every deal, so deals compare side by side.

Why JayOh

PE is our sharpest niche. We build the systems deal and portfolio teams run on: GTM diligence, scoring and portfolio-wide reporting.

  • OpenView: we built a deal-flow and diligence scoring system that cut time spent on low-potential deals by 30%.
  • Samsung Next: we standardized RevOps and GTM infrastructure across 5 portfolio companies.
  • Anthropic partner: we set up Claude and Claude Code for GTM and deal teams, with the guardrails above.

Keep going

Pair the agent with a commercial checklist: our GTM commercial due diligence checklist covers what to test, and how buyers evaluate SaaS revenue data in diligence covers what a buyer will ask. For the operating side, see RevOps for private equity firms and Claude Code for GTM engineering.

FAQ

Can Claude Code analyze a due diligence data room without coding?

Yes. You open the deal folder, start Claude Code and ask in plain English. It reads Word and Excel files, installs the libraries it needs (after you approve them) and writes outputs like a .docx memo or an .xlsx table. You review its commands; you don't write them.

What is CLAUDE.md and why does it matter for diligence?

CLAUDE.md is a Markdown file that loads into every new Claude Code session. For diligence it acts as the analyst's job description: role, responsibilities, how to read the files and your firm's red-flag thresholds. Without it, each session starts with no context and outputs drift.

Should the target company's name go in CLAUDE.md?

No. Keep CLAUDE.md target-agnostic so the same analyst works on every data room. The agent can read company details from the files themselves. Put firm-wide rules in CLAUDE.md and leave deal specifics in the folder.

When should I use /clear vs /compact?

Use /clear when a task is finished and you want a clean start; CLAUDE.md reloads automatically. Use /compact when you need a summary of the current thread carried forward. For deal work, a clean /clear per task keeps stale numbers out of new answers.

Is it safe to put confidential data room files into Claude Code?

That depends on your firm's data policy and the plan and terms you run Claude Code under. Run it on a machine your firm has approved for deal data, scope it to one deal folder, and keep command approvals on so nothing installs or runs without a person saying yes.

What should a CLAUDE.md for due diligence include?

Five parts: the analyst role, how to read the file types in a data room, your firm's red-flag thresholds, an output standard (what files to produce and what every finding must include), and a short do-not list. Keep it free of target-specific facts so it works on every deal. The starter on this page covers all five.

Can the same setup work after the deal closes?

Yes. Swap the screening thresholds for post-close KPIs such as pipeline coverage, forecast accuracy and retention by cohort, and point it at the portfolio company's monthly exports. The structure (role, thresholds, output standard) stays the same.

How long does it take to set up an AI diligence analyst?

The basic setup in this walkthrough takes under an hour once VS Code and Claude Code are installed. Writing good firm-specific thresholds and an output standard takes longer, because it means agreeing what your team actually screens for. That is the part JayOh helps with.

Want an AI diligence analyst built for your deal team?

JayOh sets up Claude Code with your screening rules, output standard and data handling, then trains your team to run it on every deal.

Talk to JayOh