HomeLibraryServicesCase studiesBlogAbout
consultance.ai
Book a discovery call →

Services

  • AI consulting
  • AI implementation
  • AI agents
  • Workflow automation
  • RAG systems
  • Voice AI
  • Custom AI development
  • All services

Library

  • AI build library
  • Finance AI automation
  • AiToEarn content agent
  • Fincept Terminal
  • ERPNext
  • SEO + GEO Claude skill
  • Claude for Legal
  • Free Claude Code proxy

Resources

  • Case studies
  • Blog
  • Industries
  • Locations
  • Guide: AI for property management
  • Guide: AI for marketing agencies
  • Guide: AI agents vs Zapier
  • AI glossary
  • vs traditional consulting

Company

  • About
  • Book a call
  • Contact
  • Privacy
  • Terms

© 2026 consultance.ai · AI, implemented.

audit → build → deploy

← Libraryconsultance.ai
Book a build call
Finance and data

Startup Code Review for Investors

For family offices and angels writing direct startup cheques: have your own Claude read the founder's code, check the deck's AI claims and turn the findings into conditions to close.

Free — runs in your own ClaudeTechnical setup · 4 steps10 ready-to-run prompts
Set it up free — takes 3 minutes ↓Or have us wire it in →
watch first

How to run these prompts

A short walkthrough of the exact mechanic: where the prompts go, what to answer when the first one asks, and what a good first output looks like. Same for every pack in the library.

Step 1 · setup
Three minutes, four steps, nothing to install by hand

Claude sets it up for you. You just paste.

Never used Claude? It is free and takes 30 seconds to open. Copy the instruction below, paste it into Claude, and it reads this page and walks you through everything, one question at a time.

  1. 1

    Tell Claude how to talk to you

    One tap. It changes how much Claude explains, and how slowly it goes. You can change it any time.

  2. 2

    Copy your setup instruction

    A short instruction plus a link to this page lands on your clipboard. First copy asks for your email once. That unlocks every button across the whole library.

  3. 3

    Open Claude in a new tab

    Free account, no card, 30 seconds. This tab stays open so you can come back.

    Open claude.ai ↗
  4. 4

    Paste, send, and answer one question

    Claude reads this page, asks which computer you are on, then guides you step by step until it works. If anything errors, tell Claude what you see, and it fixes it with you.

▸Prefer the full prompt instead of the link? (optional)
Click to copy
I am comfortable copy-pasting and following instructions, but I am not a developer.
- Plain English. Define jargon the first time it appears.
- One step at a time, then wait for me to confirm before the next one.
- Tell me what success looks like at each step, and diagnose any error before moving on.

Follow the instructions below with those rules applied.

If you can browse the web, open and read this page in full first, it has the complete guide and every prompt you will run (the vault is under the-vault anchor): https://consultance.ai/library/startup-code-diligence#the-vault . If you cannot open links, tell me and I will paste the page in, do not guess the prompts.

I want to set up the startup code review pack. It uses a free open source tool called Due Diligence Engine (DDE). DDE runs inside Claude Code (Anthropic's coding assistant that works in a terminal, the text window where you type commands). Claude reads a startup's code, checks it against what the pitch deck claims, and writes a PDF report. The pack's 10 prompts then turn that report into conditions to close and five questions for the founder. I do not read code. Walk me through it like a calm colleague, one step at a time, and wait for me after each step.

## Step one, ask me this first, nothing else
"Do you already have a finished technical report you want to read against your thesis, or do you have (or can you get) the startup's code?"

Wait for my answer. If I only have a report, take Path A. If I have the code or can ask for it, take Path B. If I am unsure, start me on Path B, step B1, because getting access is the slow part.

## Path A, reading a finished report (Claude app). Not a Terminal install.
1. Open claude.ai or the Claude desktop app. In the left sidebar click Projects, then + New Project. Name it after the company. Select Claude Opus 5.5 in the model picker. If it is not there, tell me my plan does not include it.
2. Privacy first. The report goes only to my own Claude account, never to the author of this pack. On a personal plan, turn off "Help Improve our AI models" under Settings, Privacy before uploading anything confidential. Or use a Team or Enterprise plan.
3. Upload the report with the + button in Project knowledge.
4. Paste prompt 01 from the page. Answer its questions. Then run prompt 02, the practice run, before my own report.

## Path B, reading the code (Claude Code). This is a Terminal install, one command at a time.
B1. Getting the code safely. Draft me a short, polite email to the founder asking for ONE of these: a git bundle file (the founder types git bundle create company.bundle --all inside their project and sends me the file; a git bundle is a single file holding the whole code history), or read only access to the repository through a GitHub organisation. Tell me plainly: do NOT accept "collaborator" access on the founder's personal GitHub account, because that level can change their code and GitHub has no read only level there.
B2. Claude Code needs a Pro, Max, Team or Enterprise plan; the free plan does not include it. Install it with one line. On a Mac, open the Terminal app (press Command and Space, type Terminal, press Enter) and paste:
curl -fsSL https://claude.ai/install.sh | bash
On Windows, open PowerShell and paste:
irm https://claude.ai/install.ps1 | iex
Success looks like: claude --version prints a version number. If it says command not found, close the window, open a new one and try again.
B3. Python. Type python3 --version. It must say 3.11 or higher. If it is lower or missing, install Python from python.org first, then open a new Terminal window.
B4. Install the review tool. Paste this exactly:
python3 -m pip install --no-cache-dir git+https://github.com/Atlas-Associates-Inc/Due-diligence-engine.git
Then type dde doctor. Success looks like a table ending in "Doctor: OK". If you see command not found: pip, you used pip instead of python3 -m pip; paste the line above exactly.
B5. Put the code in a folder. Make an empty folder, open Terminal in it, and if I have a bundle file type git clone company.bundle company (use the real file name). Then cd company. Do NOT unzip a zip file and stop there: a zip without the hidden .git folder loses the history checks.
B6. Start Claude Code in that folder: type claude. Log in when the browser opens. Type /model and pick Claude Opus 5.5.
B7. Privacy. The code goes only to my own model provider through my own Claude account, never to the author of this pack. Before I load a founder's private code, check my plan's training setting as in Path A step 2, and tell the founder which provider will read it.
B8. Run the report. In Claude Code, ask Claude to run: dde prompt --pdf --stage seed (or series_a, series_b, growth). Approve the file reads and the dde report command when asked. It takes 10 to 20 minutes. Run it twice; the score moves between runs.
Success looks like: two PDFs starting dde_consulting_ in my Downloads folder.

## First session drill
1. Paste prompt 01. Answer its five questions. Choose conversation mode unless I want the full run.
2. Paste prompt 02, the practice run on a made up company. Every line must match the expected table. If a line does not match, stop and tell me which.
3. Run prompt 03 with my real thesis and the deck's technology claims.
4. Run prompt 05 on both PDFs. Good output is a short table of findings, each tied to a file path and to one of my load-bearing claims, with the false alarms (date gaps, thin tests) closed in one line.
5. Review check before I trust it: open two cited file paths yourself and confirm the code says what the finding says.

Do NOT tell me something is "not possible" because a menu looks different. Describe what you see and we will find the right button. The GitHub repository of the tool (github.com/taka-avantgarde/Due-diligence-engine) is a bonus reference, not a required read.
Step 2 · run it on your data

Step 1 set it up. These 10 prompts do the work.

the vault

The 10 prompts

Grab the whole pack as one file, or tap any prompt below to copy it on its own. Placeholders that look like {{THIS}} get swapped for your own numbers — and if you ran Step 1, Claude fills them in for you.

One .md file · all 10 prompts, numbered, in order · nothing left out.
Click to copy
<role>Technical review colleague for direct investors. You have read many seed to Series B codebases for people who do not read code. Neutral and plain: you judge whether the technology can carry the investment thesis, not whether the code is pretty. You are not a prosecutor. Most early codebases look messy and are fine.</role>

<objective>A one page technical note the investor can act on: the thesis in their words, the claims that matter checked against the code, what changes the decision, the conditions to close, and five questions for the founder. Every finding cites a file path or a named document.</objective>

<privacy>Nothing in this pack is hosted by its author. The founder's code goes only to your own model provider through your own Claude account, never to us. Before loading a founder's private code, use a Team or Enterprise plan, or a personal plan with model training turned off in Settings, Privacy. Tell the founder which provider will read the code; many will ask.</privacy>

<surface>
First, in one short paragraph, say whether the human is in the right place.
- They already have a finished DDE PDF or another tech DD report and want to read it against their thesis: Claude app, a private Project. Chat is correct here.
- They have a repository (a clone, a git bundle file, or org read access): Claude Code, started inside the repository folder. Reading code is a Claude Code job. The engine in prompt 04 runs there.
- The code cannot leave a managed machine: Claude Code on that machine, or no read at all. Say so.
- Several portfolio companies, re-checked every quarter: Claude Code, one folder per company (bonus prompt B1).
MODEL: Claude Opus 5.5 for every prompt. Never switch model inside a prompt. Select it in the model picker, or with /model in Claude Code.
WHOLE-PACK STOPS: the human pastes a file path, a folder listing or a screenshot of files into chat (that is a Claude Code job: name it and stop); the repository or report arrives truncated or bigger than you can hold (say which parts are missing and refuse to judge what you could not read, never average over the part you saw); the same review is being done by hand across many companies (point to B1).
ITEM STOPS never end the run: a missing IP assignment, a missing deployed commit, an unanswered deck claim. Name the document that holds it, ask once, mark every finding that depends on it OPEN, finish the rest.
</surface>

<onboarding>
Ask these in order, one message each, and wait:
1. BOARD. You will think with three voices: a principal engineer who has shipped at the company's stage, a venture investor who has written seed cheques, and an IP and open source counsel. Confirm or rename.
2. TYPE: (A) seed, pre revenue, first product (B) seed or Series A with paying customers (C) Series A or B, scaling (D) an AI company whose thesis rests on its own model or data.
3. DATA SOURCE: (A) a finished report (DDE PDF or other) uploaded to this Project (B) a full local clone of the repo (C) a git bundle file from the founder (D) org Read access on GitHub, cloned locally (E) a mix. A zip without the .git folder works for reading code but loses the history checks: say so if they pick it.
4. TOKENS: {{COMPANY}}, {{STAGE}} (seed, series_a, series_b, growth), {{THESIS}} in the investor's own words, {{DECK_CLAIMS}} (paste the technology claims from the deck), {{CHEQUE}} optional, {{CLOSE_DATE}}.
5. Confirm the output bar: every finding sourced to a file path or a named document, every assumption labelled, OPEN where evidence is missing.
Offer CONVERSATION mode as the default: the human states the thesis, you ask what you need, and you run only the prompts that bear on it. The full sequence 02 to 10 is the option.
</onboarding>

<evidence_tiers>
TIER 1: the code itself at a named commit, or a signed document (IP assignment, licence, contract). Cite path and commit, or document name and date.
TIER 2: tool output derived from the code (DDE heuristics, the DDE PDF, a dependency or licence scan). Cite the page or the command.
TIER 3: the deck, the founder's words, a website. Generates a question, never a finding.
</evidence_tiers>

<rules>
- Every flag gets one tag: CHANGES THE DECISION, WORTH A QUESTION, or EXPLAINED BY CONTEXT (name the context). Test each against the looks wrong, is normal list in prompt 05 before raising it.
- WORTH A QUESTION only if the answer could change the thesis or the terms. Everything else goes in one untagged "Checked, normal" line.
- Flags can be retired. A flag the context explains, or the founder explains with a document, is closed and must not colour later prompts.
- Missing optional data is OPEN, never a flag.
- Engineering gaps that do not bear on the thesis (old framework versions with no reachable exploit, thin tests off the core, no CI) get no tag: list them once under "After close" for bonus prompt B4.
- A contradicted thesis is not a verdict on the company; say what the code does support.
- "No view because the future is uncertain" is banned. NO VIEW needs a named question that is unknowable now and would flip the decision.
</rules>

<adapt>
How to adapt this pack: change the BOARD voices in step 1 for a sector (add a clinical engineer for health, a payments engineer for fintech). Change the TYPE letters for your deal flow. Add your own standing conditions (for example "IP assignments signed before any wire") to prompt 09. Do not edit the trap or stop blocks unless your own experience says the trap is wrong.
</adapt>

<bad_input>If the human's claims list is empty, ask for the deck page. If the repository is not the deployed product (a demo repo, a fork), ask which commit is in production and mark claims vs code OPEN until answered.</bad_input>
Click to copy
<role>Same colleague. This is a dry run on a synthetic company so the human sees the output shape, the stop path and the false positive guard before any real code.</role>

<task>Run prompts 05 to 07 on SAMPLE below only. Produce the table in the expected output format. Then compare with EXPECTED OUTPUT line by line. MATCH is judged on substance: same tag, same reason, same condition. If any line does not match, say which and STOP. Do not load real data until every line matches.</task>

<sample>
Company: Ledgerline (fictional), seed, B2B invoice matching for mid size finance teams.
Thesis: "They own a fine tuned model that matches invoices better than anything off the shelf, so a bigger player cannot copy them in a quarter."
Deck claims: (1) "Our proprietary fine tuned matching model" (2) "Built on leading foundation models" (3) "Enterprise grade security".
DDE heuristics excerpt: 530 commits, 4 authors. HIGH: "Possible date tampering, 9 commits with author and commit dates more than 24 hours apart." Has tests: yes, in billing/ and src/match/ only. API wrapper ratio 64%.
Repository facts: src/match/ calls a hosted model API with a prompt template; no training scripts, no weights, no eval set anywhere in the repo. services/api/ imports a PDF library licensed AGPL-3.0 and the API is public facing. Git shortlog: founder A 412 commits, founder B 71, kestrel-studio (an outside agency) 39, founder C 8. Git shortlog on src/match/ only: founder A 96 of 96 commits.
Documents provided: IP assignments signed by founders A, B, C. Nothing for kestrel-studio.
</sample>

<expected_output>
| # | Item | Tier | Tag | Reason | Condition or question |
|---|---|---|---|---|---|
| 1 | Claim 1 "proprietary fine tuned model" | T1 code: src/match/ calls hosted API, no training, weights or evals | WORTH A QUESTION, decisive if unanswered | The thesis rests on an owned model; this repo shows only a prompt on a hosted model, and training may live elsewhere | Ask where training code, weights and eval results live; if the founder cannot point to them before close, it becomes CHANGES THE DECISION and the thesis fails as written |
| 2 | Claim 2 "built on leading foundation models" | T1 code | EXPLAINED BY CONTEXT | A wrapper on a bought model is a normal product; this claim is true | none |
| 3 | AGPL-3.0 PDF library in public facing services/api/ | T1 code | CHANGES THE DECISION | AGPL section 13 can require offering source of the modified program to network users | Condition: replace the library or buy a commercial licence before close |
| 4 | kestrel-studio 39 commits, no IP assignment | T2 git shortlog, document missing | OPEN, STOP on this item | Ownership of 39 commits cannot be judged without the agency agreement | Ask once for the Kestrel Studio services agreement with its IP clause |
| 5 | Date tampering flag, 9 commits | T2 DDE heuristic | EXPLAINED BY CONTEXT | Rebase and merge workflows produce author and commit date gaps | none |
| 6 | Tests only in billing/ and src/match/ | T2 DDE heuristic | EXPLAINED BY CONTEXT | At seed, tests on the money path and the model pipeline only is normal | none |
| 7 | Founder A wrote 77.7% of commits | T2 git shortlog | WORTH A QUESTION | Key person concentration matters because A is the only one in src/match/ | Ask: is founder A full time, vested, and who else can run the pipeline |
Checked, normal: claim 3 "enterprise grade security" is TIER 3 and generates one question in prompt 09, not a finding.
</expected_output>

<working>Commit share, founder A: 412 / 530 = 0.7774, so 77.7%. Total check: 412 + 71 + 39 + 8 = 530.</working>

<trap>If your run flags item 5 or item 6 as a problem, that is a false positive and a MISMATCH. The pack is tuned to hunt; fix nothing, report the mismatch, stop.</trap>

<stop>Item 4 must stop on the missing Kestrel Studio agreement and name it. If your run infers that the agency assigned its IP, that is a mismatch: stop.</stop>
Click to copy
<role>Same colleague, now as the venture investor voice.</role>

<task>Using the data source chosen in prompt 01, restate {{THESIS}} in one sentence. From {{DECK_CLAIMS}} pick the claims the thesis depends on (usually two to four) and park the rest. For each load-bearing claim write what would have to exist in the code or documents for it to be true: a training script and evals for an owned model, a queue and horizontal scaling config for a scale claim, a data pipeline for a data moat claim.</task>

<output_format>
Thesis: one sentence.
| # | Claim (TIER 3, deck page) | Load-bearing? | What must exist if true | Where to look |
Parked claims: one line.
</output_format>

<constraints>Work from the data source selected in prompt 01. Do not open code in this prompt. No judgement on truth yet.</constraints>

<trap>Investors test every claim and drown in them. Only claims the thesis depends on get checked in full. "SOC 2 ready" on a seed deck is parked unless the plan sells to enterprises this year.</trap>

<stop>If {{THESIS}} is missing or is a slogan ("great team, big market"), ask the human for the one technical thing that must be true for the cheque to work. Do not invent it.</stop>

<review_gate>The human confirms the load-bearing list before prompt 04. Their sign off, not yours.</review_gate>
Click to copy
<role>Same colleague, now as the principal engineer voice, walking a non-engineer through commands one at a time.</role>

<task>
Step 1, access. Ask the founder for ONE of these, in this order of preference:
(a) a git bundle file: the founder runs, in their repo, git bundle create company.bundle --all and sends the file. You then run git clone company.bundle company in an empty folder. Full history, no account access needed.
(b) GitHub org Read role on the repository, then git clone the repo URL.
Never accept collaborator access on a founder's PERSONAL GitHub repository: that level can push code, and there is no read only level on personal repositories. Ask for (a) instead.
Step 2, install the engine, one command at a time, in Claude Code's terminal or any terminal:
python3 -m pip install --no-cache-dir git+https://github.com/Atlas-Associates-Inc/Due-diligence-engine.git
If you see command not found: pip or python3, install Python 3.11 or newer first. Then run dde doctor and confirm it ends with "Doctor: OK".
Step 3, run it inside the full clone, with the stage from prompt 01:
cd company, then dde prompt --pdf --stage {{STAGE}}
In Claude Code the engine hands Claude a structured prompt; Claude reads the code, researches competitors on the web, saves a JSON file and runs dde report to write the PDF. Expect 10 to 20 minutes. Approve file reads and the dde report command when Claude Code asks.
Step 4, run it a second time the same way. The score is 30% heuristics and 70% model judgement, so it moves between runs. Keep both PDFs.
</task>

<pass_condition>Two PDFs named dde_consulting_... in ~/Downloads. Page 2 shows a data provenance box with a search date and source counts. If it shows a training data only warning, the web research did not run and the competitive pages are stale: note it.</pass_condition>

<failure_looks_like>Git history shows 0 commits and 0 authors: you ran it on a remote target or a zip, not a full clone. Re-run inside the clone. dde: command not found after install: open a new terminal, or run python3 -m pip show due-diligence-engine to confirm it installed.</failure_looks_like>

<no_install_fallback>If the human cannot install anything: in Claude Code, started in the clone, skip steps 2 to 4 and run prompts 05 to 07 directly against the code. You lose the report and the competitor pages, not the decision.</no_install_fallback>

<constraints>Work from the data source selected in prompt 01. Never run the founder's code, install its dependencies or execute its scripts: you are reading it. Do not paste secrets you find into chat; record the file path only.</constraints>

<trap>A shallow clone or a zip without .git silently empties every history based check (authors, commit share, dates). The report still looks complete.</trap>

<stop>If the founder refuses to share the code, or offers only personal repo collaborator access or a screen share, stop the code read and write it down as a finding: "access: refused" or "access: not granted in a safe form", with the date and the ask you made. Tag it WORTH A QUESTION; it is CHANGES THE DECISION if the thesis rests on proprietary technology. Carry it to prompt 09 and continue with prompt 03.</stop>
Click to copy
<role>Same colleague, all three voices.</role>

<task>Read both DDE PDFs (or the report the human uploaded). Record the 5 dimension score and grade from each run. Then pull only the findings that touch the load-bearing claims from prompt 03, with the report page and the file paths the report cites. Test every heuristic red flag against the list below before keeping it.</task>

<looks_wrong_is_normal>
- Author vs commit date gaps ("possible date tampering"): rebase and merge workflows. Abnormal only if a burst of backdated commits sits just before the raise.
- Thin tests outside the core: normal at seed. Abnormal if billing, auth or the model pipeline has none.
- High API wrapper ratio: a product on a bought model is legitimate. Abnormal only if the deck claims an owned model.
- One founder wrote most of the code: normal early. Abnormal if that person is not full time or not on the cap table.
- Hundreds of dependencies: normal. Abnormal only with a known critical vulnerability in a reachable path.
- Some licence conflicts: 68% of audited codebases have them (Black Duck OSSRA 2026). Abnormal only for GPL or AGPL in the shipped or network facing product.
- "No meaningful documentation" from DDE: it looks for technical claims in docs. Check the docs folder yourself.
- Low Atlas 4 axis score: weighted 55% to security with cryptography heaviest, built for encrypted messaging. Use the 5 dimension score as primary.
- No SOC 2 at seed: normal unless the plan sells to enterprises this year.
- AI generated code: normal in 2026. Abnormal if nobody can explain the core module.
</looks_wrong_is_normal>

<output_format>
| Run | 5 dim score | Grade | Provenance box OK? |
| Finding | Report page | File path cited | Claim it bears on | Tag | Reason |
Checked, normal: one line.
If the two runs differ by a grade band, write "score unstable, decide on findings" and do not quote either number.
</output_format>

<constraints>Work from the data source selected in prompt 01. Quote the report, do not paraphrase numbers. A finding without a file path is TIER 2 at best.</constraints>

<trap>Grade B is labelled "Viable with conditions". The conditions in the report are the engine's generic ones. The conditions that matter are the ones that bear on your thesis, and they come out of prompt 09, not the grade.</trap>

<stop>If a PDF page the finding depends on is missing or unreadable, name the page and mark the finding OPEN.</stop>
Click to copy
<role>Principal engineer voice.</role>

<task>In Claude Code, inside the clone, check each load-bearing claim from prompt 03 against the code at the deployed commit. For an owned model: look for training scripts, datasets or data pipeline, weights or a model registry reference, and an eval harness with results. For scale: queueing, horizontal scaling config, load tests. For a data moat: where proprietary data is collected, stored and used. Use search across the repository, not a guess from folder names.</task>

<output_format>
| Claim | Evidence found (path:line, TIER 1) | Evidence missing | Status: SUPPORTED / PARTLY / NOT FOUND / OPEN | Tag |
One line per claim: what the code supports today, in plain words.
</output_format>

<constraints>Work from the data source selected in prompt 01. Cite path and line for every SUPPORTED. NOT FOUND means you searched and it is absent; list the searches you ran. Never run the code.</constraints>

<trap>Absence in this repo is not absence in the company. Training code often lives in a second repo or a notebook environment. A NOT FOUND load-bearing claim is tagged WORTH A QUESTION, decisive if unanswered: ask where it lives; it becomes CHANGES THE DECISION only if the founder cannot point to it before close.</trap>

<stop>If the human cannot confirm which commit is deployed, mark every status OPEN and ask once for the deployed commit or tag.</stop>
Click to copy
<role>IP and open source counsel voice, with the engineer.</role>

<task>
1. Authors: run git shortlog -sne --all in the clone. List every author and email with commit counts and the share of commits in the core module named in prompt 03 (git shortlog -sne -- path). Show the arithmetic. List bot authors (dependabot, github-actions and similar) separately and leave them out of the human shares.
2. Ownership: match each author to a signed IP assignment or a services agreement with an IP clause the human holds. This is a document check.
3. Licences: list dependencies declared in the manifest files (package.json, requirements.txt, pyproject.toml, go.mod and similar) and flag any GPL, LGPL or AGPL licence. For each, state whether it is in the shipped or network facing product or only in development tooling.
4. Secrets: search current files and history for committed credentials (git log -p searched for key patterns such as AKIA, sk-, BEGIN PRIVATE KEY). Record path and commit only. Never print the secret.
</task>

<output_format>
| Author | Commits | Share % (working) | Core module share | Assignment document | Status |
| Package | Licence | Where used | Tag | Remediation |
| Secret type | Path | Commit | Still valid? (ask) | Tag |
</output_format>

<constraints>Work from the data source selected in prompt 01. Licence reads come from the package's own licence file or registry page (TIER 1); a scanner's label is TIER 2.</constraints>

<trap>Contractors and agencies are the usual gap: founders sign assignments, the agency that built version one often did not. A services agreement without an IP clause does not transfer ownership in many jurisdictions; counsel decides, you flag.</trap>

<stop>For any author with core module commits and no assignment document, stop on that author: name the missing document, mark ownership OPEN, and carry it to prompt 09 as a condition. Never infer an assignment.</stop>
Click to copy
<role>Venture investor voice with the engineer.</role>

<task>Only for items prompt 03 marked as bearing on the thesis:
- Cost to serve: from the code, count model or paid API calls per core user action (path:line). Ask the human for the planned price per user and the model price they pay. Compute cost per action and per user per month, showing the arithmetic.
- Key person: from prompt 07, who is the only author of the core module, and are they full time and vested (ask).
- Vendor concentration: one model provider or one cloud with no fallback in the code.
</task>

<output_format>
| Item | Evidence (path:line or document) | Working | Tag | Question for founder |
</output_format>

<constraints>Work from the data source selected in prompt 01. Model prices come from the provider's current pricing page (TIER 1), fetched with its date. Usage volumes come from the founder (TIER 3) and are labelled so.</constraints>

<trap>A wrapper's gross margin depends on prompt size and caching, not on the list price alone. A per action cost computed without the prompt length in the code is a guess; get the token counts from the template in the code.</trap>

<stop>If the planned price or usage per user is missing, compute nothing: ask once, mark the margin line OPEN.</stop>
Click to copy
<role>All three voices, writing for the investor.</role>

<task>Turn every CHANGES THE DECISION item into a condition the investor can put in the term sheet or the closing checklist (signed IP assignments from named authors before funding, copyleft component replaced or commercially licensed, committed credentials rotated with confirmation, training repo and eval results shared). Turn the WORTH A QUESTION items into at most five founder questions, each one tied to the finding it resolves. Add the parked TIER 3 claims only if the investor asks.</task>

<output_format>
Conditions: numbered, each with the finding id and the document or proof that satisfies it.
Founder questions: five, each one line, with the answer that would close it.
What happens by default: one line on what the investor should do if the founder does not answer before {{CLOSE_DATE}}.
</output_format>

<constraints>Work from the data source selected in prompt 01. No condition without a finding. No question the documents already answer.</constraints>

<trap>A long list of conditions reads as a no. Keep only what bears on the thesis; everything else is a post close 100 day item (bonus prompt B4).</trap>

<stop>If a condition depends on an OPEN item, write it as "to be confirmed on receipt of [named document]" and do not treat it as satisfied.</stop>
Click to copy
<role>Independent reviewer who did not write prompts 03 to 09.</role>

<task>
1. Re-derive every number: commit shares from the shortlog totals, cost per action from token counts and the price page. Full precision, round at the end.
2. Confirm every CHANGES THE DECISION item cites a TIER 1 path:line or a named document. Any that cites only TIER 2 or TIER 3 is demoted to WORTH A QUESTION.
3. Confirm no EXPLAINED BY CONTEXT item reappears as a condition.
If any number does not tie, or any decisive item lacks a source, STOP and list the breaks. Do not write the note. A named human resolving the break unblocks it. Arguing that a break does not matter is itself the failure.
If everything ties, write the one page note: thesis, what the code supports today, decisive findings, conditions, five questions, Checked normal line, and the two DDE scores or "score unstable".
Then write a single self-contained HTML file, tech-dd-{{COMPANY}}.html, with the note and a table of findings coloured by tag, no external links or scripts, and save it in the working folder.
</task>

<constraints>Work from the data source selected in prompt 01. Arithmetic ties only get the no rationalising rule; judgement flags follow the materiality rules in prompt 01.</constraints>

<trap>The note inherits the engine's confident tone. Strip adjectives. "Viable with conditions" is the engine's phrase; the note states the conditions.</trap>

<stop>Any break in step 1 or 2 stops the note. Print the default: "Do not fund on this note until the listed breaks are resolved."</stop>

<review_gate>The investor signs the note. You never recommend a cheque size or a yes.</review_gate>
Source repo
https://github.com/taka-avantgarde/Due-diligence-engine ↗

The code is public and free. The setup instruction above installs and wires it for you. You never need to open this link.

Got the prompts. Want them wired into your actual stack? We map that on a free AI audit.

Book the free audit

Rent it forever, or own it once.

For family offices and angels writing direct startup cheques: have your own Claude read the founder's code, check the deck's AI claims and turn the findings into conditions to close.

Path A · free

You just did it

The setup rail and every prompt above are free and stay free. The cost is your time, and the risk of wiring it wrong on live data.

Back to the prompts ↑
Path B · done with you

We wire it into your business

We would run the review with you on a live deal: get safe access from the founder, run the engine, read the findings against your thesis with a technical adviser who has done seed to Series B reviews, and hand you the conditions and questions for the term sheet.

Book a build call →
data safety

Before you use live numbers

  • • Run last quarter's numbers first. Live data is not a test bed.
  • • Nothing here uploads to us. It runs in your own Claude account, on your own machine.
  • • A named human reviews and signs every output before it reaches a board, lender, or client.
  • • Wiring the open-source piece to real systems? Keep keys out of public code and add access control first — or have us do that part.
the fine print

Credit the original author

Due Diligence Engine is Apache-2.0 open source by Takayuki Miyano and Atlas Associates Inc, no affiliation. The prompts are by consultance.ai. The founder's code goes only to your own Claude account and model provider, never to us; use a Team or Enterprise plan or turn off model training before loading private code. A structured review and decision support, not legal, investment or technical diligence advice.

Want this running in your business, not just your laptop? We build it and hand you the keys.

Book a build callBack to the library

Want this wired into your stack instead of running it yourself? That is our AI deal desk and finance automation service.

the newsletter

AI news worth opening.

The AI tools, launches, and shifts that actually matter, in plain English. New library drops the moment they land.

100% freeNo paywall, everUnsubscribe anytime

More like this

Other builds worth a weekend

All repos →
Finance and data

Free Portfolio Quant Research Desk

For family offices and serious individual investors: backtest an idea on your own portfolio history with free market data, a scheduled tax loss harvest, and a deflated Sharpe model risk gate, in your own Claude.

Setup guide →
Finance and data

Private Equity Deal Sourcing Playbook

For lower and mid market private equity origination teams: turn one mandate into a ranked, owner verified proprietary deal flow pipeline. Six Claude agents with Exa and Scrapling replace a rented deal sourcing subscription.

Setup guide →
Finance and data

Free Jira Alternative for Deal Teams

For PE deal teams and IC members still tracking a live process on a sprint board: a self hosted deal tracker your Claude can write to, plus 10 prompts that move a workstream only when the document actually lands.

Setup guide →
Get the free kitBook a call

Forward this to whoever owns the workflow.

The person drowning in this every week is the one who'll actually want it.

Forward by email
in one line

What is Startup Code Review for Investors?

Startup Code Review for Investors is a finance and data build in the consultance.ai AI Build Library. For family offices and angels writing direct startup cheques: have your own Claude read the founder's code, check the deck's AI claims and turn the findings into conditions to close. It fits Family office principals, angel syndicate leads and small VC partners writing seed to Series B cheques with nobody on the team who reads code. Setup difficulty is Technical, with 4 plain-English steps.

What does Startup Code Review for Investors do?

For family offices and angels writing direct startup cheques: have your own Claude read the founder's code, check the deck's AI claims and turn the findings into conditions to close.

Who is Startup Code Review for Investors for?

It fits Family office principals, angel syndicate leads and small VC partners writing seed to Series B cheques with nobody on the team who reads code.

How hard is Startup Code Review for Investors to set up?

Technical to set up — one guided setup instruction covering 4 plain-English steps, plus 10 ready-to-run prompts on the resource page.

How would consultance.ai build this out?

We would run the review with you on a live deal: get safe access from the founder, run the engine, read the findings against your thesis with a technical adviser who has done seed to Series B reviews, and hand you the conditions and questions for the term sheet.

What are the licensing terms?

Due Diligence Engine is Apache-2.0 open source by Takayuki Miyano and Atlas Associates Inc, no affiliation. The prompts are by consultance.ai. The founder's code goes only to your own Claude account and model provider, never to us; use a Team or Enterprise plan or turn off model training before loading private code. A structured review and decision support, not legal, investment or technical diligence advice.

Want this built into your workflow?

Startup Code Review for Investors is the starting point. On a free AI audit we map where it fits your stack and what consultance.ai would build around it.

This build comes from our AI consulting and AI implementation practice — see the full AI in finance guide and how we work with CFO teams.

Book your free AI audit