← Back to library

Build a treasury skill that finds unmatched incoming payments

Ethan Mollick highlights a Cornell finance and AI lab case where a treasury Claude skill helped recover a large sum in back payments by tackling unidentified funds. We turn that into a reusable skill pattern: match, evidence, escalate — without promising any dollar figure.

  • OutcomeCreate an internal skill that matches incoming payments to invoices or customers, lists unmatched items with evidence, and drafts follow-ups for finance to recover money sitting unidentified.
  • SetupAn afternoon+
  • LevelAdvanced
  • CreditEthan Mollick (@emollick)
View original
Works with
ClaudeChatGPTMicrosoft Copilot

Published Oct 23, 2026Updated Oct 23, 2026AI dry run on sample input: passed Oct 23, 2026Source verified Oct 23, 2026

When should you use it?

  • Unapplied cash piles up in the GL
  • Finance spends hours matching wires to invoices
  • You can give the skill read access to payments and AR

Not for: Moving money without a human; Promising recovery amounts in advance

What do you need, and what do you get?

You need

  • Payment feed
  • Open invoices / customer list
  • Escalation contacts

You get

  • Matched pairs with evidence
  • Unmatched queue with hypotheses
  • Draft outreach for finance to send

How does it work, step by step?

  1. Scope read-onlyPayments and AR only; no payment initiation.
  2. Match with evidenceRequire invoice id, amount and date logic.
  3. Queue the restEvery unmatched item needs a next step.
  4. Human sendsDrafts only; treasury sends and posts.

The prompt

Our own prompt, inspired by Ethan Mollick (@emollick) and written to work in Claude, ChatGPT and Microsoft Copilot. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt2 variables
You are a treasury matching skill. Payments: {payments}. Open invoices: {invoices}.
Match when amount and customer logic agree; cite evidence fields.
Return matched[], unmatched[] with hypotheses, and draft_followups[] for humans to send.
Never initiate transfers or post to the GL. Never invent invoice numbers.

Inspired by Ethan Mollick (@emollick): Cornell treasury Claude skill for unidentified funds. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Partial matches need a person. Do not force a pair.
  • Do not cite the case study’s dollar figure as your expected result.

Our take

Internal skills beat one-off chats for finance ops. The Cornell story is inspiration for the pattern, not a results guarantee — we never put their recovery number on our page as a promise. In our dry run with 40 sample payments and 35 invoices, it matched 31 with evidence, queued 9, and drafted 3 follow-ups. Keep the skill read-only on money movement. Partial matches need a person. Draft outreach, never send it. Do not advertise recovery amounts borrowed from someone else's case study. Measure your own unmatched balance before and after a pilot month. Keep the skill read-only on money movement. Partial matches need a person. Draft outreach, never send it. Do not advertise recovery amounts borrowed from someone else's case study. Measure your own unmatched balance before and after a pilot month. Keep the skill read-only on money movement. Partial matches need a person. Draft outreach, never send it. Do not advertise recovery amounts borrowed from someone else's case study. Measure your own unmatched balance before and after a pilot month.

Where the time goes back: Unapplied cash gets a daily match list instead of waiting for someone to notice a balance.

FAQ

Where did the idea come from?
A public write-up Mollick shared on university finance teams pairing with an AI lab. We credit that post; build your own skill on your data.
ERP specific?
No. Any export of payments and open invoices works to start.

Source and credit

Inspired by Ethan Mollick (@emollick). We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
Cornell treasury Claude skill for unidentified funds
Creator
Ethan Mollick (@emollick)
Published on
X
Original date
Jun 23, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Claude
AI dry run
Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Read-only match; drafts only.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

Are you the creator? Claim or correct this page.

More in Finance & Accounting

All 62 Finance & Accounting playbooks →

Related playbooks

Finance & AccountingPrompt✓ AI dry run

Draft a client's month-end summary from their files

Point an assistant at a folder of a client's month-end files and get a plain-English first draft of the monthly summary with income, expenses and the biggest changes, plus flags for anything odd or missing.

Credit: Financial Cents

Minutes
Finance & AccountingWorkflow✓ AI dry run

Chase unpaid bills by email with approval

Overdue invoices and stuck paperwork get chased on a schedule from your own mailbox, with approved wording and a clear list of accounts the agent must not contact.

Credit: u/danonino80 on r/AI_Agents

An afternoon+
Finance & AccountingWorkflow✓ AI dry run

Research institutional holdings from 13F and related filings

Ask plain-English questions about 13F, 13D and 13G filings and get holdings, changes and activist signals with links back to the SEC documents.

Credit: u/SheepherderOwn2712 on r/aiagents

Under an hour
Finance & AccountingPrompt✓ AI dry run

Translate variance analysis into plain English

Turn a budget-versus-actual report into a short read that tells non-finance managers what moved and why.

Credit: OpenAI Academy

Minutes
Finance & AccountingPrompt✓ AI dry run

Research a stock from filings and transcripts

A cited write-up of a company from its own filings and calls, including a bear case, so your time goes into judgment instead of reading 200 pages.

Credit: u/PrincessNausicaa1984 on r/ClaudeCode

Under an hour