← Back to library

Research company filings with a quote for every number

u/Practical-Rise-1188 on r/AIportfolio, a former equity sales professional who does not code, keeps SEC filings as text files in an Obsidian folder that Claude Code reads. Every figure needs the source line and filing ID, and a second pass rechecks each number.

  • OutcomeUse a coding agent over a folder of saved filings so every figure in your notes comes with the exact line and filing it came from.
  • SetupUnder an hour
  • LevelIntermediate
  • Creditu/Practical-Rise-1188 on r/AIportfolio
View original
Works with
Claude CodeClaude CoworkCustom agent

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

When should you use it?

  • You read company filings, reports or contracts and need numbers you can defend
  • You compare the same company across several periods
  • You've been burned by an AI summary that got a figure wrong

Not for: Telling you what to buy or sell; this is a reading method, not investment advice

What do you need, and what do you get?

You need

  • A folder of filings or reports saved as text or PDF
  • One instructions file describing your folder layout and standards
  • A coding agent that can read those files and run small scripts

You get

  • Notes where each number links to its quoted line and filing ID
  • A second-pass list of figures that didn't match the source
  • Side-by-side tables across periods built by scripts, not mental math

How does it work, step by step?

  1. Save the sourcesDownload the filings you need from EDGAR (or your regulator) into one folder.
  2. Write the house rulesIn an instructions file, require a quoted line and filing ID for every figure and forbid estimates.
  3. Run, then recheckAsk your question, then run our second-pass prompt to recheck every figure against the files.
  4. Compare across periodsAsk it to search each release for the same metric and build the table with a script.

The prompt

Our own prompt, inspired by u/Practical-Rise-1188 on r/AIportfolio and written to work in Claude Code, Claude Cowork and Custom agent. Values in lime are placeholders.

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

Prompt2 variables
Work only from the files in {folder}. Don't use anything you remember about this company.
Task: {question}
For every number you give, include the exact quoted line, the file name and the filing or accession ID. If a number isn't in the files, write 'not found'; never estimate.
For any calculation (growth, ratios, totals), write and run a small script and show its output.
When you're done, do a second pass: reopen each cited file, confirm each quote and number match exactly, and list any that don't.

Inspired by u/Practical-Rise-1188 on r/AIportfolio: How I use Claude Code for equity research (I do not code). The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Forget to forbid estimates and it will estimate. Put the rule in the instructions file, not just the chat.
  • On long filings it may drift into summarizing from memory. Ask for page or section references as well as the quote.

Our take

Most AI research failures come down to numbers that sound right but came from nowhere. This post fixes that with three simple rules, and none of them requires programming skill: work only from files you've saved, demand a quoted line and filing ID for every figure, and recheck everything in a second pass. Using scripts for arithmetic is the quiet third safeguard. The payoff the poster describes is a good illustration of why this matters: by stacking several earnings releases and searching each for the same metric, the agent showed a headline number fading from prominence and then disappearing, something easy to miss reading one release at a time. The poster discloses a small position in that company and says the example isn't meant as an opinion on the shares, and we'd treat any such finding as a question to investigate rather than a conclusion. In our dry run we gave our prompts three made-up quarterly releases; the first pass extracted 12 figures with quotes, the second pass caught one revenue number copied from the wrong quarter, and the script-built table showed a metric missing from the latest release.

Where the time goes back: Cross-checking figures across several filings is the slow part of research, and the receipts let you verify a number in seconds instead of rereading the document.

FAQ

Do I need to know how to code?
No. The poster doesn't code. The agent writes the small scripts; you read the outputs and the quotes.
Why scripts for math?
Language models make arithmetic slips. A few lines of code that add, divide or compare are exact and easy to rerun.

Source and credit

Inspired by u/Practical-Rise-1188 on r/AIportfolio. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
How I use Claude Code for equity research (I do not code)
Creator
u/Practical-Rise-1188 on r/AIportfolio
Published on
Reddit
Original date
Jul 13, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Claude Code
AI dry run
Oct 20, 2026: passed. Dry-run tested by our AI test agent on sample input. Receipts and the second pass worked; no estimates.
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 24, 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 & AccountingSkill✓ AI dry run

Chase overdue invoices in the right tone

Draft reminders for every overdue invoice, gentle for good customers and firm for repeat late payers.

Credit: Anthropic

Under an hour
Finance & AccountingSkill✓ AI dry run

Have Claude build Excel files that recalculate cleanly

Give Claude the xlsx skill so that any spreadsheet it creates or edits keeps live formulas instead of pasted results, passes a full recalculation with zero formula errors before delivery, labels every assumption with its source, and follows standard financial model conventions or the existing file's own styling.

Credit: Anthropic

Minutes
Finance & AccountingWorkflow✓ AI dry run

Match a bank statement to invoices and rename the files

Arrive at your accountant's deadline with every charge matched to an invoice, the gaps listed and the invoice files named consistently.

Credit: Daria Cupareanu

Minutes
Finance & AccountingPrompt✓ AI dry run

Spot business expenses hiding on your personal card

Find charges on personal card statements you should be reimbursed for, collected in a spreadsheet after a short calibration chat.

Credit: Katie Fifer

Minutes
Finance & AccountingSkill✓ AI dry run

Turn a prospect's statements into one clean intake summary

A financial advisor hands over a new prospect's statements and gets a consolidated view of their accounts, a plain-English summary, a detailed analyst handoff and a friendly what-to-expect note.

Credit: Anthropic

Under an hour