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?
- Save the sourcesDownload the filings you need from EDGAR (or your regulator) into one folder.
- Write the house rulesIn an instructions file, require a quoted line and filing ID for every figure and forbid estimates.
- Run, then recheckAsk your question, then run our second-pass prompt to recheck every figure against the files.
- 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)
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?
Why scripts for math?
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
- 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.