ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsQuick take3 min readDisconfirmAI Editorial

How to Structure a Local 'Investing Brain' for Claude: Folder Taxonomy and Selective Retrieval

Kevin describes a four-folder architecture (inbox, raw, wiki, state) and a five-step query mechanism that lets Claude retrieve only the files needed to answer an investment question, avoiding both context-window overload and the limitations of chat memory or single-company projects.

2026-11-27 01:00 GMT+8

Kevin, writing on the Invest with AI Substack, identifies a concrete gap in how people currently use Claude for investment research. A blank chat starts from nothing. AI chat memory, he notes, is "a summary of who you are and what you're into"—useful for personalization but "not enough to make sure Claude becomes a real junior analyst who helps you make investment decisions." Even Claude Projects, which bundle company files and notes, are typically scoped to one company at a time. Investing decisions require learning from all past discussions, mistakes, and portfolio-level context simultaneously.

His solution is a local folder structure that Claude can read and write into, which he calls "The Vault." Inside a folder he labels SecondBrain, Kevin describes four subfolders. The inbox holds all data added manually. The raw folder stores original files, each tagged with an ID card that tells Claude what the file contains and what type it is. The wiki folder compiles raw data into dated records—earnings updates or analyses that the user validated and filed away. The state folder contains documents that can change over time: a list of decisions, the portfolio. It evolves as new decisions are made.

Kevin argues that this structure gives Claude persistent, focused context alongside its own intelligence. Without a high-quality brain, he writes, "all these systems would produce rubbish" because the tracker, hunter, and research systems all depend on reading from and writing back to the same knowledge base.

The query mechanism demonstrates how to avoid loading the entire knowledge base into context. Kevin walks through a specific example: asking the brain to assess capital allocation history for a company called PDEX. Claude follows five steps. First, it invokes a skill that defines how to assess capital allocation. Second, it reads an index file to see what documents exist on PDEX. Third, it notices a concept page on capital allocation in the wiki and reads that too. Fourth, the skill needs more information, so Claude follows references from the wiki page into specific raw filings. Fifth, it writes the output back to the state folder.

Sign in / Sign up
ReadingResearchRadarInvestment framework

The context management principle underlying this design: with a 1M-token window and a knowledge base that might be 50M tokens, the goal is "not too much, not too little. Exactly what it needs." The index and concept pages serve as routing layers. Claude reads the index to find relevant files, reads a concept page to understand relationships, then follows specific references into raw data. At no point does it read the entire brain or go to the internet.

Four skills automate the lifecycle: /setup-brain creates the folder structure, /brainhealth runs daily maintenance, /brain handles notes and journaling, /ingest processes new information into the structured format. Kevin states that with these four skills, a reader can build and manage the entire investing brain.

The boundaries of this account deserve stating plainly. Everything here is author-reported. Kevin describes the architecture and the intended workflow, but provides no performance comparison, no failure cases, and no evidence that the structure actually improves investment decisions relative to alternatives. The deeper implementation details—the code that creates the ID cards, builds the index, and routes queries—are available in a video module on the Invest with AI platform, which requires creating a free account. A reader can understand why the folder structure and routing mechanism are organized as they are, but cannot verify whether they work as described without building the system independently.

Sources

  • investwithai.substack.com↗
Continue researching →