Everything going on in AI - updated daily from 500+ sources
Your AI Second Brain Is Not a Library. It Is a Routing System.
Five practical rules for building AI knowledge management that stays accurate as your files, projects, meetings, and automations multiply. Your AI second brain remembers the contract, the meeting, the old pricing rule, and the revised pricing rule. Then it chooses the wrong one. Nothing was technically lost. The system simply walked through the wrong door—and answered with the confidence of something that never saw the hallway. An AI second brain becomes useful when growing knowledge remains connected, routed, and retrievable—not merely stored. Most people build an AI second brain like a digital attic. They add meeting transcripts, customer research, project notes, policies, brainstorms, and every document that might matter later. The collection gets larger. The answers briefly get better. Then something peculiar happens: the system knows more and becomes less reliable. This is not primarily a storage problem. It is a routing problem. An AI second brain is a personal or organizational knowledge system that helps an agent retrieve context, apply it to a task, and preserve useful learning for later. Its quality depends on three separate abilities: store the right knowledge → retrieve the right slice → know when that slice is no longer trustworthy Most setups obsess over the first line and improvise the other two. The fix is not one enormous prompt or a prettier folder tree. It is a small operating system for context: a router, segmented knowledge, freshness rules, audits, and a repair loop. Why does an AI second brain give confident wrong answers? Wrong answers usually enter through one of four doors. The names matter because each failure requires a different repair. Poisoning: the retrieved fact is false Poisoning happens when the system faithfully retrieves a false but trusted fact. Better search cannot repair bad evidence. Poisoning means a false fact is already inside the trusted context. The model may reason perfectly from it and still produce the wrong answer. The repair is verification: Attach provenance to high-risk facts. Check live systems for prices, permissions, inventory, legal rules, or account state. Require approval when confidence depends on an unverified note. Record when a fact was observed and by whom. An AI knowledge management system should distinguish remembered from verified . Those are not synonyms. Bloat: the useful fact is buried Bloat is not simply having many files. It is loading more context than the decision needs. Bloat appears when the agent receives too much information at once. Relevant details lose salience, unrelated material bleeds into the answer, and every turn becomes more expensive. This is why putting an entire wiki into CLAUDE.md feels powerful for a week and fragile for the next six months. Claude Code’s documentation recommends keeping project instructions concise and moving narrower guidance into path-scoped rules. The principle applies beyond Claude Code: always-on context should contain durable operating instructions, not the accumulated history of your life. Confusion: the needed fact is missing Confusion begins with a retrieval gap. If the system cannot locate the necessary fact, fluent completion can disguise the absence. Confusion means the agent did not retrieve the evidence the task required. The fact may never have been stored, may be stored under an unexpected path, or may be inaccessible to the current tool. The dangerous behavior is not the gap. It is silently filling the gap. Your routing rules should define an explicit missing-evidence state: if_required_context_is_missing: answer: "insufficient evidence" report: - paths searched - tools unavailable - missing record do_not: - infer a policy - invent a customer fact - treat an old example as current truth Clash: two valid-looking facts disagree Clash occurs when old and new rules remain equally retrievable. A reliable second brain needs precedence, not guesswork. Clash is a versioning failure. March says “always refund.” June says “never refund.” Both documents look authoritative, so the agent chooses unpredictably. The repair is precedence: Newer policy supersedes older policy. Approved decisions outrank discussion notes. Live databases outrank cached summaries for operational state. Client-specific rules outrank generic defaults within that client’s scope. Contradictions must be surfaced, not blended. The most dangerous note in a second brain is not the obviously wrong one; it is the obsolete one wearing the uniform of authority. Rule 1: Separate durable context from situational context The first design decision is not where a file lives. It is whether the information belongs in every run. Durable context changes slowly: Identity and business goals. Security constraints. Coding or writing standards. Stable definitions. Routing conventions. Verification requirements. Situational context is pulled only when a task needs it: Yesterday’s support ticket. A client’s current project status. This week’s inventory. A meeting transcript. The latest campaign results. Imagine a school principal and a classroom teacher making a seating plan. The principal knows the durable rules: accessibility, room safety, class size, and school policy. The teacher knows the situation: who needs to sit near the board and which two students should not share a desk. Loading every classroom incident into the school rulebook would not make the principal wiser. It would make the rulebook unusable. The same is true of Claude Code memory or any file-based second brain system. Put stable behavior in always-loaded instructions. Retrieve operational detail just in time. Rule 2: Turn CLAUDE.md into a router For a focused software project, CLAUDE.md should contain project instructions: commands, architecture, conventions, and review expectations. For a larger personal operating system, the root file should behave more like an airport departures board. It should tell the agent where to go—not attempt to contain every destination. # Context Router ## Business knowledge - Canonical index: `knowledge/business/INDEX.md` - Current decisions: `knowledge/decisions/` ## Clients - Engagement context: `clients/ /context.md` - Deliverable repository: recorded in each client index ## Recurring data - Leadership meetings: `knowledge/meetings/leadership/` - Customer Q&A: `knowledge/customer-questions/` ## Operating rules - Verification policy: `.claude/rules/verification.md` - Data handling: `.claude/rules/security.md` The router should answer: What kinds of knowledge exist? Which location is canonical for each kind? Which source wins during a conflict? What should load automatically? What must be retrieved on demand? Official Claude Code guidance suggests targeting fewer than 200 lines per CLAUDE.md because long instruction files consume context and can reduce adherence. Treat that as a pressure gauge, not a magical limit. If the file keeps growing, the architecture is asking for routes, rules, or skills. Rule 3: Segment knowledge by retrieval path People often organize information by where it came from: downloads/ meeting-recordings/ notion-export/ google-drive/ misc/ An agent needs information organized by how it will be used. knowledge/ ├── decisions/ ├── policies/ ├── customers/ ├── product/ ├── content/ │ ├── published/ │ └── research/ └── meetings/ ├── leadership/ └── customer/ Give a growing, distinct knowledge domain its own index. A transcript archive should not compete with active policy for every query. A client’s internal context should not share a retrieval pool with another client simply because both arrived through Zoom. Each index can carry lightweight retrieval metadata: domain: customer-research canonical_path: knowledge/customers/ freshness: rolling-90-days authority: interview-transcripts exclude: - drafts - synthetic-examples Segmentation reduces the search surface. It also makes permissions, retention, and ownership easier to reason about when a personal knowledge system becomes a team system. Rule 4: Automate freshness, not hoarding If you repeatedly tell the agent to pull the same class of data, that source is no longer incidental. It has a cadence. Examples include: Weekly leadership calls. Customer Q&A sessions. Monthly metrics. Product changelogs. Support themes. Decision logs. Automate those feeds only after defining three things: source → destination → freshness expectation A recurring import without a freshness rule merely automates bloat. Claude Code now offers several scheduling shapes. Session-scoped /loop tasks are appropriate for short-lived polling. Desktop scheduled tasks can access local files while the machine is available. Cloud routines persist independently and operate from configured repositories and connectors. Choose based on data access and durability. Do not use a temporary session loop for knowledge that the business expects to remain current next month. Every automated feed should record: observed_at source owner expected_refresh supersedes status That turns “this looks old” into a check the system can perform. Rule 5: Audit the routes—and make misses repairable An AI second brain needs an audit because indexes are claims. An index claims a path exists. A router claims that a type of question belongs there. A freshness label claims a feed is current. The audit checks those claims against reality. A useful read-only audit covers: routing integrity index accuracy missing or orphaned knowledge stale feeds duplicate authority contradictory rules always-loaded context size retrieval dead ends Run the audit without automatic repairs first. A knowledge system can contain contracts, credentials, private customer records, and business decisions. The agent should produce a proposed fix list and wait for approval before moving or deleting anything. The second repair loop starts when retrieval fails. Do not respond with “remember this next time.” Ask the agent to reconstruct the miss: 1. What did you search? 2. Which route did you follow? 3. Where was the correct information? 4. Why did the route fail? 5. What smallest routing or index change prevents recurrence? This converts frustration into an observable defect. A vague correction changes one conversation. A routing repair changes the system. A practical folder architecture for an AI second brain There is no universally correct folder tree, but there is a useful separation of responsibilities: second-brain/ ├── CLAUDE.md # concise router ├── knowledge/ │ ├── INDEX.md # domain map │ ├── decisions/ # approved, dated decisions │ ├── policies/ # current rules + archive │ ├── meetings/ # segmented by meeting type │ └── research/ # evidence and synthesis ├── clients/ │ └── client-a/ │ ├── context.md # internal engagement context │ └── deliverable.md # pointer to separate repo ├── projects/ # internal project work ├── .claude/ │ ├── rules/ # scoped behavioral guidance │ └── skills/ # reusable workflows └── audits/ # read-only audit reports Keep client-facing deliverables in separate repositories when collaborators, deployment environments, or permissions differ. The second brain can hold the engagement context and a pointer without owning every working file. This boundary becomes essential when the system expands to a team. The team problem is governance, not storage A team can store knowledge in GitHub, Google Drive, Notion, or a database. None of those tools solves the human decisions underneath: Who declares a source canonical? Who retires old rules? Which agent can read which client? What may enter shared memory? Who approves automated repairs? How are contradictions escalated? Personal knowledge management tolerates informal ownership because one person can remember the exceptions. Team knowledge management cannot. The next generation of AI second brains will not win by ingesting the most documents. It will win by making authority, freshness, access, and repair visible enough that humans can govern them. That future is closer than the folder tree makes it look. Stay curious 🍓 PS: Ask your AI second brain one question it should answer instantly. If it takes more than two searches, do not correct the answer yet. Save the search path. That detour is the most honest architecture diagram your system has ever produced. Reference Notes These primary sources support current Claude Code behavior added during repurposing: Claude Code memory — official loading behavior for CLAUDE.md, rules, auto memory, imports, and instruction-size guidance. Claude Code feature overview — official distinctions among instructions, skills, MCP, hooks, subagents, and agent teams. Claude Code scheduled tasks — official behavior for /loop, local scheduling, persistence, and task expiry. Claude Code routines — official persistent cloud scheduling and connector behavior. Claude Code subagents — official subagent context, skills, memory, permissions, and isolation. Your AI Second Brain Is Not a Library. It Is a Routing System. was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.
Read Original Article →