Modern Creator Network
Matt Wolfe · YouTube · 33:56

Build A Second Brain That Remembers Everything

Matt Wolfe wires Obsidian + Codex into a self-updating wiki, journal, and CRM grounded entirely in his own saved knowledge.

Posted
6 days ago
Duration
Format
Tutorial
educational
Channel
MW
Matt Wolfe
§ 01 · The Hook

The bait, then the rug-pull.

Matt Wolfe opens with a 30-second results-first montage: a vault that he chats with, journals into, and stores a CRM inside — all grounded in his own saved knowledge. Then he flips into 'and here's exactly how I built it,' positioning the next 33 minutes as a follow-along rather than a flex.

§ · Stated Promise

What the video promised.

stated at 00:33I'm gonna break down how the whole thing works and how you could build one for yourself right now.delivered at 33:00
§ · Chapters

Where the time goes.

00:0000:33

01 · Cold open — what the system does

Results-first preview: a wiki he can chat with, a journal that responds grounded in his vault, a CRM that remembers people.

00:3301:35

02 · Why most second brains fail

The dumping-ground problem — info goes in, never gets reviewed. Sets up the three pillars: Wiki, CRM, Journal.

01:3503:07

03 · The three-pillar diagram

Wiki at the center, CRM and Journal as connected modules. Inputs: articles, YouTube transcripts, meeting notes, tweets, podcasts.

03:0704:47

04 · The full system spec

Save → summarize → extract entities (people, companies, tools, ideas, themes) → auto-link → journal-grounded responses → pattern detection.

04:4706:23

05 · Wiki concept walkthrough

Entity pages (tools, people, companies) get auto-generated from raw saves; clicking a tool surfaces every video that mentioned it. Auto-linking creates a Zettelkasten-style graph.

06:2308:23

06 · Sponsor — Hostinger + OpenClaw

Sponsored segment: one-click deployment of OpenClaw AI agents on Hostinger, code 'MattWolf' for 10% off.

08:2309:40

07 · Credit to Karpathy + tool stack

The whole LLM-Wiki idea is Andrej Karpathy's. Required tools: Codex (IDE), Obsidian (markdown vault), Obsidian Web Clipper (Chrome extension).

09:4010:31

08 · Obsidian Web Clipper demo

Pulls full YouTube transcripts into Obsidian with one click. Creates a fresh 'second brain' vault, deletes the welcome note, opens it as a Codex project.

10:3112:00

09 · Build the wiki bones in Codex

Prompts Codex with the Karpathy LLM-Wiki GitHub URL. First pass over-builds 51 files; reprompted with 'remove all the extra crap.' Resulting structure: raw/, wiki/, agents.md, index.md, log.md.

12:0014:30

10 · Configure the web clipper + first ingest

Dials in the clipper settings (vault name, default template, raw/ destination, front-matter fields). Ingests the LLM-Wiki page itself as the first source. Adds rule to capture YouTube channel name.

14:3018:00

11 · First processing run

Processes raw/ — generates wiki pages (compounding knowledge base, environment design, identity-led goals, temporal discounting, temptation bundling). Index and log update automatically. The graph view starts forming connections.

18:0019:30

12 · Batch ingest more videos

Pulls in 6 more videos from his watch history through the clipper. Six-minute processing run. Wiki + index expand; concept pages start linking to multiple sources.

19:3021:20

13 · Chat with the wiki

Asks the vault for motivation tips for hard tasks. Codex queries the index, answers grounded in saved sources, then writes the answer back into the wiki as a reusable page.

21:2023:00

14 · Two refinements — processed folder + back-linking

Adds a raw/processed/ archive so the inbox stays clean. Fixes the channel-name placement (front matter of the source, not the wiki page). Adds cross-linking so wiki pages back-reference their source notes.

23:0025:00

15 · Wire up Journal + CRM in agents.md

Prompts Codex to extend the agent: 'journal' prefix opens a journal entry mode; CRM instructions add or update person records. Both get their own index.md and folder. agents.md grows three operating modes.

25:0027:00

16 · CRM live test — Matthew Berman

Adds Matthew Berman to the CRM with three meeting touchpoints. Codex creates the record, updates the CRM index, logs the change. Demonstrates recall by asking 'where did I meet Matthew Berman?'

27:0028:50

17 · Journal entry — clickbait dilemma

Brain-dumps the title-vs-clickbait struggle into a journal session. Response is grounded in saved creator-strategy notes plus LLM knowledge — names two prior vault pages (YouTube value of death, creator persistence) and structures advice around the 'two fears braided together' frame.

28:5030:50

18 · Reprocess + Codex automations

Reprocesses raw/ to apply the new rules. Sets up a Codex hourly automation: 'if anything is in raw/, process it now.' Pipeline becomes hands-off — clip from the browser, the rest happens.

30:5033:00

19 · GitHub backup layer

Creates a private GitHub repo, prompts Codex to commit + push. Extends the hourly automation to commit after each processing run — vault becomes versioned and backed up automatically.

33:0033:56

20 · Recap + sign-off

Reviews what was built, teases that the graph view gets denser over weeks. Stack summary: Obsidian + Codex (or Claude Code / Cowork). Standard subscribe CTA.

§ · Storyboard

Visual structure at a glance.

cold open
hookcold open00:00
three pillars
promisethree pillars01:35
wiki at center
promisewiki at center02:47
the system spec
valuethe system spec04:47
sponsor
valuesponsor06:23
Codex stack
valueCodex stack08:37
build the bones
valuebuild the bones09:40
vault opens
valuevault opens10:27
§ · Frameworks

Named ideas worth stealing.

01:35list

The Three Pillars of a Useful Second Brain

  1. Wiki / Knowledgebase
  2. CRM
  3. Journal

Wiki holds saved knowledge; CRM holds people; Journal is where you interact with the system and let it ground responses in everything else.

Steal forAny personal-knowledge product positioning — most PKM tools sell pillar 1 and stop. The unlock is pillars 2 and 3 turning storage into a loop.
08:23model

Karpathy's LLM-Wiki Architecture

  1. raw/ (immutable sources)
  2. wiki/ (AI-generated entity pages)
  3. agents.md (the operating instructions)
  4. index.md (catalog)
  5. log.md (audit trail)

Five-element folder/file structure that turns a markdown vault into a self-extending wiki. raw/ holds the originals; wiki/ holds derived entity pages auto-generated by an LLM that follows agents.md.

Steal forDirect template for ModBrain — Joe could clone this structure exactly and bolt his own modules on (clips, scripts, characters) the same way Matt bolted on CRM + Journal.
17:00list

The Six Ingest Operations (agents.md spec)

  1. Read source from raw/
  2. Create or update wiki entity pages
  3. Cross-link wiki pages to original source
  4. Update index.md
  5. Append entry to log.md
  6. Move source from raw/ to raw/processed/

Numbered checklist the agent follows on every ingest. Acts as the contract between the human and the LLM — change the checklist, change the behavior.

Steal forAny agent prompt that needs predictable side-effects. Number the steps; the model will follow the list.
27:50concept

Two Fears Braided Together (journal response)

When the AI saw Matt's clickbait journal entry, it reframed the problem as two distinct fears stacked together: creative integrity vs. channel safety. Naming the two fears separately is the unlock.

Steal forUse this 'name the two forces' move as a journaling prompt OR a content-strategy lens. Works anywhere you're stuck between two values.
04:37concept

Zettelkasten-style Auto-Linking

Every entity page links to every source that mentioned it. Click a tool, see every video it appeared in. Same actor as Zettelkasten / Andy Matuschak's note-graph, but built by the LLM at ingest time instead of by hand.

Steal forIf you're building a content library, every clip/quote should auto-link to every entity it mentions — characters, frameworks, products. Cross-reference is the moat.
§ · Quotables

Lines you could clip.

00:41
Most second brain systems are just like storage. You dump your YouTube transcripts and your articles and your podcasts into one place. Problem is that's kind of where the information just goes to die.
Names the pain perfectly in one sentence — 'goes to die' is the hook line.TikTok hook
04:10
The knowledge base sits at the center, and then everything else sort of connects to it.
Clean one-line architectural thesis.newsletter pull-quote
08:23
This whole LLM knowledge base idea came straight from Andrej Karpathy.
Credit-where-due moment — gives the whole video its intellectual lineage in 8 words.newsletter pull-quote
27:40
I see you're struggling with ideas for videos. Well, you saved this video three days ago that says you should do this.
The single best illustration of why grounded AI > stock AI — it's the moment the system stops being a chatbot and starts being your own coach.IG reel cold open
30:15
Whenever I come across stuff I wanna save, I just use the Obsidian web clipper and clip it into my raw folder. And every hour, it's gonna ingest that and turn it into one of the wiki pages.
Tight workflow summary — clip, wait, done. Perfect for a 'how it works in 15 seconds' short.TikTok hook
33:10
All you really need is Obsidian and Codex. Anthropic's Cowork, or Claude Code, also works.
The stack-summary punchline that tells viewers exactly what to download.TikTok hook
§ · Pacing

How they spent the runtime.

Hook length33s
Info densityhigh
Filler8%
Sponsors
  • 06:2308:23 · Hostinger (OpenClaw deployment)
§ · Resources Mentioned

Things they pointed at.

09:02toolCodex (IDE / AI coding environment)
09:12toolObsidian
09:28toolObsidian Web Clipper (Chrome extension)
06:20productHostinger OpenClaw managed plan
10:32toolGranola (meeting note recorder)
25:00channelMatthew Berman (referenced as CRM test contact)
07:40toolDGX Spark (where Matt runs OpenClaw locally)
30:15toolGitHub (private repo for vault backup)
33:20toolAnthropic Cowork / Claude Code (alternatives to Codex)
§ · CTA Breakdown

How they asked for the click.

33:36subscribe
If stuff like that as well as tutorials like this are something that interest you, maybe consider liking this video and subscribing to this channel.

Soft and standard — no urgency or special promise. Earns trust by being low-pressure, but leaves audience-development upside on the table.

§ · The Script

Word for word.

HOOKopening / re-engagementCTAthe pitchmetaphoranalogystory
00:00HOOKSo I just built a second brain knowledge management system that has an entire wiki built in that I can chat with. It will pull any information from that second brain when I chat. It's got a built in CRM. I can journal, and it will actually look at my Wiki knowledge base and try to help me with whatever issues I'm going through from my journal by looking inside of the Wiki. And, of course, it's got all of the content that I've saved from around the web, including YouTube videos and articles and tweets and podcasts
00:28HOOKand just tons of stuff that I've injected into this. It is all accessible directly from a chat or from journaling. It is really, really sweet. And I'm gonna break down how the whole thing works and how you could build one for yourself right now. Most second brain systems are just like storage. Right? You dump your YouTube transcripts and your articles and your blog posts and your podcasts and just everything that you're interested in, you just dump it all into one place. Problem is that's kind of where the information just goes to die. Unless you're, like, actively going back through and reviewing the notes all the time and searching through your second brain, it's just a dumping ground for information that I never go back and look at later. So for the knowledge management system that I'm gonna build, there's three core pillars that I wanna build for mine. Number one is the wiki slash knowledge base. This is where I'm gonna store, like, everything from around the web that I find. YouTube transcripts,
01:20articles, podcast transcripts, tweets, you name it. It all goes into this wiki knowledge base section. Number two is my CRM. So whenever I go to events and I meet people or I jump on Zoom calls with people, I wanna remember those conversations
01:35I wanna be able to recall them in the future. I also wanna store details about those people. How I met them, where I met them, some of the discussions we had, any sort of contact details I got from them, email, phone number, address, whatever. They can all live in this sort of CRM element of this bigger second brain that I'm building. And the third element is where this all gets pulled together, and that's the journal. Now, I'm a big journaler. I journal pretty much every single day. When I have good days, I journal about what went right, the things I'm excited about, gratitude, that of stuff. When I have rough days, I journal about the things that are bothering me. My videos not performing as well as I want them to. Having a creative block and not knowing what to make videos about. I do a lot of travel, and I debate a lot about whether the travel is gonna be worth it or not. I journal about pretty much everything in my business. So these are my three ideal inputs. For you, it might be clients or workouts,
02:26research papers, recipes, sales calls, classroom notes. The point is the knowledge base sits at the center, and then everything else sort of connects to it. The two elements that I think are probably the most useful to the most amount of people are gonna be the wiki and the journal. Maybe the CRM CRM isn't what you need. Again, maybe it's your classroom notes, your workouts, your recipes, etcetera. So here's a rough drawing of what I have in mind. So you've got your knowledge base that lives at the center of all of this. All of this knowledge is going to live in Obsidian. I'll get into the whole building process in a second. You're gonna save articles from around the web, YouTube videos,
03:01you know, podcast notes. Whatever you find around the web that's relevant to you, you're going to save it with a simple Chrome web clipper, and it's gonna save into your knowledge base. The CRM that I just mentioned, notes about people you met and where you met them and all that kind of stuff gets saved to the knowledge base. Meeting notes, I personally use granola to record my meetings and take notes for me. Those meeting notes can automatically be injected into the knowledge base, and then you have journal entries. This is the layer where you actually interact with your knowledge base. You journal on what you're dealing with right now, and ideally, it's gonna pull from the knowledge base that has all of this other information in it to ground the responses to your journal entries. This will make more sense as I go. Please excuse the PowerPoint style slide here, but I really wanna explain what I'm trying to build. So here's the system I imagine. You save your articles, your transcripts, etcetera, into this system. We'll do that using a web clipper. The AI layer in the background that we're gonna build then summarizes
03:57this stuff for us. So it's not just a giant transcript. It's actually sort of the bullets and just the information we need to know. The AI is also going to extract people, companies, tools, ideas, and themes, and sort of break those off. That's where it becomes kinda like a wiki. You could click into the tools page, and it will list off all the tools that have been mentioned across everything that we've saved. You can click into one of the tools, and it will mention where and what video that came from. And that goes for all of these little categories here. I also wanted to auto link related notes. So if I have multiple videos about how to build something with Open Claw, they all get cross referenced to each other, and I can click around and sort of jump into others. If you're familiar with other second brain systems or like the Zettelkasten
04:40system, it's essentially that same concept of interlinking. I'm then going to let the journal directly into the system. So when I do write journals, it responds like chat GPT, but it's actually grounded in my own saved knowledge. So it's not going to just respond with what chat GPT would have responded with. It's going to respond with something like, I see you're struggling with ideas for videos. Well, you saved this video three days ago that says you should do this, this, and this. You also saved this video two weeks ago that gave this advice when you're struggling with video ideas. And it will actually pull from the knowledge that I've saved, making it more tailored to exactly
05:16what interested me and what I found valuable over time as I save stuff into the system. It's also gonna use AI to find patterns from past journal entries. So if I'm constantly journaling on the same thing over and over again, the same struggle, it's gonna see that as a pattern and take that into account when it's responding to my next journal entries. It should resurface relevant ideas when I need them, and it should also let me save notes about people and connect those people to ideas, companies, events, and conversation. So the CRM and the meeting notes that I'm constantly saving, that should also be connected to ideas and journal entries and all of it sort of pulled together in this big mashup of, like, here's the conversations I've had, here's what I'm journaling on, here's what I've saved that I found interesting, and it's all in this big old soup of content that I'm saving. But that big old soup of content that I'm saving is the grounded information
06:03CTAthat is getting pulled when I write my journal entries and then get a chat response based on those journal entries. Alright. Now that I've completely overexplained this, let's just jump into the process I'm going through to build this. There's a cool new feature from Hostinger that's made for deploying AI agents at home. So if you've ever wanted to run something like OpenClaw but don't know where to start or find it really complicated,
06:24CTAthis is going to make the process a lot easier. I actually use OpenClaw myself so I can attest that the setup can get pretty technical. Right now, it's deployed on my DGX Spark, and my favorite thing it built, this simple CRM that when I meet people at events, I can save quick notes in Slack and then later ask it to remind me what we talked about. So it's great for automating everyday things like that to full on businesses and these huge agentic systems, which I've also seen people do. And this new feature from Hostinger makes it a lot easier to set up. You can either pick a managed OpenCLOB plan or a VPS option. The managed version is honestly the easiest. It's a one click deployment that includes built in AI credits, web scraping already connected,
07:07CTAand they handle the updates, backups, and security for you. You just go to the Openclaw landing page on Hostinger, click get Openclaw, choose your plan. And by the way, if you do the twelve or twenty four month option, it's even cheaper per month. Then during setup, you choose your AI provider, pick your communication channel like Telegram or WhatsApp,
07:27CTAand launch. And then once it's live, your agent runs twenty four seven. AI agents like this used to feel very gate kept. Like, only the really technical people or big enterprises were able to use them. But now it's pretty cool how easy it's become to set it up and use it for yourself at home. So if you've wanted your own AI assistant without the headache of managing servers manually,
07:48CTAthis is probably the easiest way I've seen to do it. Check it out at the link in the description box. And to save even more money, use my code Matt Wolf for an additional 10% off. And thank you so much to Hostinger for supporting my channel and sponsoring this portion of today's video. Now before I go any further on this, do wanna give credit where credit is due. This whole LLM knowledge base idea came straight from Andre Carpathi. I specifically took the idea of using Obsidian
08:13CTAas the front end. Obsidian sort of helps organize and easily read markdown files. I'm just sort of extrapolating off of this idea and adding my journaling element and my CRM element to the wiki concept that Andre laid out here. Now in order to build this, you're gonna need a couple tools. I'm gonna build this in codex here. This has been sort of my IDE of choice lately to do coding and projects like this. This is free to download, and you get a certain amount of usage on the free chat GPT plan, but you're gonna get the most out of it if you do end up upgrading. I'm also using Obsidian here. Again, this is just a giant markdown organizer and reader. This is totally free to get. You can find it over at obsidian.md.
08:52You're also going to want the Obsidian web clipper. So if you're on the obsidian.md website, I can scroll all the way to the bottom here and you can see there's a link for web clipper. Click in there, click add to Chrome, and you'll get this little Obsidian web clipper that you can see here in my Chrome. And if I click this, this is what automatically
09:10creates a new markdown file, a new note for whatever page you're on. And the cool thing that I really like about this Obsidian web clipper is that it automatically pulls the transcripts from any YouTube video. So if I come over here to YouTube and click on one of my recent YouTube videos, and then I come up to the Obsidian web clipper, it'll take a second to load, but it will eventually load the entire transcript for this whole video straight into Obsidian, and that makes it really easy to inject any YouTube video or any article you find around the web directly into your Obsidian vault. So once you have Obsidian installed on your computer, create a brand new vault and I'm gonna call it second brain, and I'm gonna save it in a folder on my computer called second brain. Now I'll open that, and we'll create this new vault, and you can see I have a fresh blank vault with nothing in it yet except for a little welcome message. Now it's important to remember where on your computer you just save this vault because that's gonna be necessary in the next step here. I'm gonna delete this welcome message. It's not gonna be necessary. And now we have a purely empty clean vault. So for the next step, I'm gonna jump into codex and we're gonna actually build the dang thing. So over on the left here inside of codex,
10:20I'm gonna click on add new project and then I'm gonna select use an existing folder. It's gonna open up my browser here to pick the folder and I'm gonna go to the exact folder that we just set our Obsidian vault up with. So for me, it's this second brain folder that I created here, and we'll go ahead and open that. And then you can see I now have a project over here called second brain. So start this off, we're gonna build the basic bones of our wiki. And luckily, Andre Carpathi
10:45generously gave us this GitHub page that explains exactly how the Wiki architecture works. So the initial sort of hard part of building the Wiki is already figured out for us. We can just take this URL to this GitHub post here, open up Codex, make sure we're in our second brain project folder here. I'm getting it the prompt build out the wiki architecture based on Carpathi's LLM Wiki here. I'm linking to that page on GitHub that we were just looking at, and then I said the current second brain folder is the folder that Obsidian is connected to. It is currently empty, so we're building from scratch. And let's go ahead and let it build out the sort of architecture bones for us based on what Carpathi's
11:23already figured out. Alright. So it worked for about five minutes. It actually built out a whole bunch of extra files that it didn't need to build. I don't know why it created 51 files. The architecture is actually supposed to be pretty small for this. So I literally prompted it, please remove all the extra crap and just build what's explicitly called for in Carpathi's game plan. And it says done. I pruned it back to the minimal Carpathi game plan, and now we just have these files built in. If we pop open Obsidian here, you could see we've got just the folders we need. We have the raw folder. We have the wiki folder. We have our agents dot m d file, our index dot m d file, and our log dot m d file. We can see here exactly what each of these is for. The raw folder is for the immutable source material. This is where the original stuff goes. Raw slash assets.
12:11This is for optional local obsidian attachments. You got the wiki. This is the AI generated markdown files that is pulling from the raw content that we're inputting. You have the agents dot m d file, which basically explains how this whole thing works. So we can see it's got the operations when the user adds a source and asks LLM to process it. It does all these things. When the user asks a question, it queries it this way. So it basically tells it how this agent should operate. You have the index dot m d file. This is basically the catalog of everything that's in the wiki, and then you have the log file where whenever you make updates or changes or add things, it updates the log file. Super super simple. We're starting bare bones here. If I look directly in the folder, we just have what you see inside of Obsidian. So now, I'm gonna make sure that my Obsidian web clipper is dialed in, so I'll go ahead and click on this. We'll click on settings. Make sure you add the name of your vault right here under the vault list. If you're in Obsidian down in the very bottom left corner down here, you can see this is the name of the vault, so make sure it's the same name exactly. And then over under default, you've got the templates over here. Click on the default template and make sure that you select that second brain vault or whatever you titled it. And then I'm having mine pull in these properties, the source title, the source URL, the date that it was created. That's the date that I'm saving it in the web clip or not the date that the article was actually written, and it's adding an automatic web clip tag to it. And then for the note content, it's just pulling in the content. A lot of this might actually be set for you by default, but if it's not, this is what it should look like. Under note location, we're gonna change this to just say raw because that is the folder inside of our Obsidian vault that we want it to dump it inside of. Alright. So I can close out of this and for the very first thing I'm going to ingest, might as well ingest the instructions for how to build one of these wikis. I know it's very meta, but I want it inside of my wiki. I'll click on my little Obsidian clipper button and you can see the source title, LLM wiki. We've got our source URL, the date I'm pulling this in, and the tags for web clip. And then here is all of the content of this page here. We'll go ahead and click add to Obsidian and we can see it added it directly inside of the raw folder here inside of Obsidian. Now, nothing's going to happen automatically.
14:21We actually need it to tell it to process the files inside of raw for anything that actually happened. But let's add a few more things. I'm gonna look through my YouTube history and ingest some of the recent videos that I've watched, like this video called how to trick your brain into becoming so disciplined your friends will be shocked by your success. I love a lot of psychology and mindset type videos. If I want to ingest this, come up to my web clipper and you can see it's going to pull in the entire transcript here. So I'm gonna go ahead and click add to Obsidian. And once again, we've got another file here under raw. Now there's one issue that's going to pop up when I pull in YouTube video is it's not going to properly know the channel name because it's not automatically pulling it in into any of these properties. But I can go to codex here and give it some additional instructions.
15:06When I save a video from YouTube using the Obsidian web clipper, and then you go and process the files, make sure it also pulls the channel name from YouTube and adds it as one of the front matter fields. Alright. So let's go ahead and do that. So now let's go ahead and do a quick test. We've got two source files in here. So I'm gonna jump into Codex and go ahead and tell it to process the files inside the raw folder. Let's see how well it does right now. Alright. So it took about three minutes to process and it created a few new sections. So let's just go ahead and pull open Obsidian here and we can see it left the original source material here, but then it started to build out the wiki of everything else. So we've got our compounding knowledge base, which was clearly pulled from the explanation from Andre, discipline without willpower. This was pulled from this channel, Aaron Miller study. Let me just double check that it got the channel name correct. Yep. Aaron Merrill study. Environment design. We could see this was from the source discipline without willpower, which was one of the concepts that it saved, which came from this original video that we saved. Identity led goals, LLM Wiki, temporal discounting, and temptation bundling. So we can see our Wiki is starting to get built out, and then we have our index here, our various sources, the LLM Wiki and the discipline without willpower. It actually
16:26renamed it because it was originally called how to trick your brain into becoming so disciplined your friends will be shocked by your success, but it decided discipline without willpower was a better name for it. We could see the concepts here and it's starting to build out. And if we look at our log, we can see what it registered in our log so far since we started building this. One thing that I actually like to do as this gets bigger and bigger is you've got this graph view here that starts really small when you first build it. And over time, you'll see this build out and build out and things get more interconnected with each other and it just gets really cool over time. Now, I'm gonna go see this with some more content. I'm gonna go through my watch history and pull in some of the other videos that I watched recently using your money to be happier, the art of tripod filmmaking,
17:08how to become addicted to doing hard things. If you think you're too busy, watch this. How to become a lucky person, and then build your own self improving AI Wiki in eleven minutes. I know that's very meta, but let's go ahead and import that. So I'm just gonna go through and inject every single one of these like we just saw. I'm gonna let it process them all, and then they'll all be in the wiki. And then we'll move on to the next steps, which are building out the journal and the CRM elements that I mentioned earlier. Okay. So it's done ingesting all of those videos that I just saved. It took about six minutes here, and this is what my Obsidian looks like now. You can see all of the assets of stuff that I ingested into it, and the Wiki is getting built out quite a bit more. We've got our index here, and as you can see, the index is also getting built out more as well. If I click into, like, Hermes agent here, we can see we've got key ideas from this original video plus related content inside of our wiki. So codex capabilities, I click on this one and it jumps to the video from Riley Brown and the details around that one. Again, this is the very very simple basic setup of Carpathi's
18:11LLM Wiki. Now, I come into Codex again, we can essentially chat with the Wiki. So I come to my second brain folder, click on new chat, and I can ask questions like what are some tips for motivation when I don't feel like doing the hard task today? I know I saved a couple videos about this exact topic and we can see it's already saying I'll treat this as a wiki query. First, I'm checking the vault index, then I'll answer from anything already captured and add the reusable bit back into the wiki if it isn't there yet. Here's our final response. When you don't feel like doing the hard task, don't wait for motivation to arrive first. Treat it as a task design problem. Make the first few minutes smaller, easier, and more rewarding. Try this. Gives me a handful of tips, and this was all pulled and grounded from
18:54updated the Wiki based on the question that I asked. You could see that it changed the index dot m d file, the log dot m d file, and the Wiki motivation for hard tasks. So opening up my Obsidian vault here again, looking in my log, we can see that it actually logged this query motivation when avoiding a hard task, answered a query about motivation, and it even updated the index with it. And it created motivation for hard tasks and linked back to the original sources that it found this information from. So as
19:23questions, the wiki further and further and further builds out based on the questions you were asking. Now, there's a few things that I wanna do to clean this up a little bit and make it slightly more useful for me because right now, once it processes something, it just leaves it in this raw folder and this is just gonna build up and build up. And so what I wanna do is under this raw folder here, I'm gonna go ahead and create a new folder and I'm gonna call it process.
19:46Whenever it processes one of these files and adds it to the wiki, I wanted to move it to the process folder so I know that that has already been ingested. So now that I've got this process folder, I can simply come down to my agents file here and then tweak what happens when the file is processed. So if I come down here, we've got operations ingest when the user adds a source and asks the LLM to process it, read the source from raw, create or update wiki pages, update relevant entity concept topic overview synthesis or comparison pages, update index dot m d, append an entry to log dot m d. Well, now I can just add a number six and say move the source file from the root raw directory
20:24to raw slash processed. By adding that extra bit to the little prompt here, now it's gonna go through all these steps, but then move it into the processed folder. It also misunderstood me when I said to add the channel name. It thought I wanted it to add the channel name to the actual wiki generated page, but I wanted to add the channel name to the original source. That's what makes the most sense to me. So I'm gonna come to my agents section here and just tweak that as well. So right now it says for YouTube videos clipped with Obsidian Web Clipper, also open or inspect the YouTube source URL and add the channel name to the generated wiki page front matter. But instead of that, I'm gonna say add the channel name to the original
21:02source page front matter. I also want it to link back to the original source. So I'm gonna add a step right after step three here and say, cross link any Wiki pages generated or updated to the original source page. Basically, don't want these pages orphaned. If there's a new Wiki page here, I want it to link to the original page here. So that's the manual way to update the agents dot m d file, but you can also do it by prompting it inside of Codex.
21:28So if I come to my second brain project, create a new chat here, I can give it instructions on additional things that I want to happen. So I mentioned my journal and I mentioned my CRM. So let me go ahead and build the bones for that here. I will close these folders to clean everything up. I will create a new folder called journal and a new folder called CRM.
21:48Now, can come to Codex and say, update the agents MD file to handle these items. Number one, if I start a chat with journal, add the text of that chat and subsequent conversation as a new MD file within the journal folder. The entire conversation should be added to the markdown file. Create an index file in the journal folder that's similar to the wiki index file. Each new journal entry gets added to the index file. Decide on a short title for the journal entry based on the contents of the journal and use the date and the title as the journal entry file name. Add the date and title to the index and link to the entry. Also, log the journal entry title and short summary in the log dot m d file. Your response to my journal entry should be grounded in content from the wiki in the same way you view the index and respond to my chat questions based on what's in the wiki, provide advice and insights to my journal entries based on what's available in the wiki, as well as your own LLM knowledge. Provide helpful advice, insights, guidance, tactics, and ideas using what you know along with what's available from the wiki, past journal entries, and the CRM.
22:49So when I journal, I want it to look in the wiki, find information that's helpful to what I just journaled on. I want it to look in past journal entries to see if there anything relevant I have journaled on in the past, and I wanted to look at my CRM and see if there's conversations I've had with people about what I'm journaling about. Two, for the CRM. If I tell you I'm giving you information for the CRM, either update the person in the CRM or add the person to the CRM. CRM files should always be a person's name. I will share details about a person, their name, contact details I have for them, details about where or how we met, things that I know about them, etcetera. Create or update the contact record in the CRM with whatever details I give you. In the CRM folder, create an index file similar to our other index files with the name of the people in the CRM listed in alphabetical order and a short bio of what information I have about that person. This will allow me to ask questions about contacts that are inside the CRM. I wanted to update these two things in our agents dot m d file which will make it so that whenever I chat with my second brain project here in Codex, it's either one going to answer the question that I asked it using the sort of query task that's already built into the agent, it's going to handle it as a journal if I preempt it with journal here or if I tell the chatbot that it's for the CRM, it will update the CRM section. So I'm gonna let it go ahead and update our agents dot m d file, create the various index files, and that should build out the system for these elements. Okay. So we can see that it updated the agents m d file with our journal rules, our CRM rules, and if we open up Obsidian once again, I can open my journal folder and you can see we've got an index with date entry and summary. And if I open up my CRM, we've got our index with the person and the summary, and where most of the updates happened was this agents dot m d file. So now below the wiki section, we have a journal section. It built all the rules that I just asked it to build for me, and then we also have our CRM section. So it created all the rules for the CRM section now. Let's jump into Codex one more time, and let's test this out. I'm just gonna say add to CRM,
24:50and then I'll put Matthew Berman, and then I'll just put met at Qualcomm event in 2024,
24:58hung out at CES in 2025, got lunch during TechCrunch
25:05disrupt in 2025. And then I would obviously add whatever sort of contact details I have about him, but no point in doing that on camera. I'll just tell it to add that to the CRM and we could see updating the CRM record for Matthew Berman, creating a new record, and it says, great. I created that. If I look in my Obsidian here, we could see under CRM,
25:23we now have a Matthew Berman CRM here with our summary. No contact details provided, how we met, relationship context, and, you know, other stuff that's still empty right now. And then if I look at my index, can see it added the person Matthew Berman and a quick summary there. It also added it to the log down here that the CRM was updated. But the idea being is, let's say I'm going to a conference and I bump into somebody and I'm like, oh, shoot. Where do we meet? I could jump into my second brain and say, where did I meet Matthew Berman again? I'll check the vault and CRM records. Met You Matthew Berman at Qualcomm event in 2024 according to your CRM note. So a really good way to reference information later. I'm gonna go ahead and make a pretend journal. So what I'll do is I'll click on a new chat inside of my second brain project here and I'll start it with journal and then I'll go to another line and I'll just brain dump some thoughts. So this is just a simple demo journal entry, but you know, it's got some reality to it. I have a ton of ideas for videos but decided not to make them because I'm worried they won't get a good view count. I also talk about how I know how to write titles that will get a lot of clicks, but I also hate the whole clickbait thing. So I end up making titles that I know will get less clicks because they're more literal to what the video is about, and I constantly grapple with making videos that will get a lot of clicks, but knowing I'll get hate in the comments because they're too clickbaity versus
26:45making videos that the title is very literal, so I won't get the hate comments, but I'll also get a lot of Let's views. And that's something that I grapple with, and I know pretty much every YouTuber grapples with. And so that's my short journal entry. So let's go ahead and submit that and see what happens. I'll treat this as a journal entry and grab the response in the vault first. Going to read the indexes, look for relevant prior notes around creating video attention, then I'll write the journal file before answering. The vault has several creator strategy pages. I'm pulling those in rather than answering from a blank slate. There aren't prior journal entries yet, and the CRM doesn't appear relevant to this one. So it's just pulling from the wiki. Okay. And check out this journal response here. I think there are two fears braided together here, creative integrity and channel safety. One part of you does not wanna betray the video with a title that feels gross. Another part is afraid that a few underperformers will teach YouTube not trust you. The creator notes in the vault push back on the second fear. YouTube value of death and creator persistence both frame visible metrics as lagging indicators. A few lower view videos are not a downward spiral, blah blah blah. So it is actually grounding the response to my journal and what is existing in the wiki, and then it actually goes on to just give a response that chat GPT would normally give, but it's pulling from both. The knowledge built into the LLM as well as the knowledge in the wiki. So that's all working exactly as intended. And then if I wanna pop open Obsidian here, I can open my journal folder and we can see here is my journal entry. Here is what the assistant replied with. Here's some synthesis and here's some related content about what I'm journaling about. If I look at my index here, it automatically logged the date, the entry title, and a quick like one paragraph summary of what my journal entry is about. Now, I want some of this to happen on autopilot.
28:26I don't wanna have to jump into codex constantly and tell it to process everything that I saved in here. And there's an easy solution for that. Before I show you, I'm gonna do one thing. I'm gonna go ahead and clean up my existing Obsidian Wiki because remember, I want these to all get moved into processed. And I also want it to save the YouTube channel name up here in the front matter. So I'm gonna tell it, please reprocess
28:50all of the files in the raw directory following the recent updated instructions on how to process them. So I'm gonna let that process. It's gonna clean up my wiki real quick. Alright. Now that that's finished and my Obsidian vault is cleaned up and we can see all of my videos have been moved to process and it added the channel name to the original videos here. Let's automate some of this. So in codecs here, you've got a feature called automations.
29:16This is where you can set it up to do recurring tasks. So if I click into automations here, select new automation. For automation title, we'll call it process second brain raw files. For work tree, I'm gonna set it on local so it runs directly in the selected project. For our project, we're gonna select second brain. Here, we'll select when we want it to run. I'm gonna go ahead and set mine to hourly,
29:36but you can do it at whatever cadence you want. And I'm just going to say if there are any unprocessed files inside the raw directory, please process them now. For the model, I'm gonna set it to GPT 5.5. I recommend just using the strongest model you have available. I'm gonna set it on high reasoning
29:54and I will create this automation. Now, it's gonna run every hour. See if there's anything in my raw folder that's unprocessed and then it will process it and that's it. That's the whole process now. Whenever I come across stuff I wanna save, I just use the Obsidian web clipper and clip it into my raw folder automatically. And every hour, it's gonna ingest that and turn it into one of the wiki pages. If I wanna add somebody to my CRM, I just open up Codex,
30:18create a new chat inside of this project, and add the CRM details. If I feel like journaling right now, I can journal straight into my second brain, and it will ground the response in what's available in my wiki, past journals, and within my CRM. If you want an extra layer of backup, you can also go to GitHub, create a new repository on GitHub. I'm gonna go ahead and call this one second brain.
30:39I'm gonna set this to private so it's only available to me and I'll create the repository. Now, if I copy this URL, jump back over to Codex here, I could say commit this current version to my private GitHub repo here, paste in the URL of the private GitHub repo I just created and then go ahead and submit it. Now, I've previously attached the GitHub plugin, so it should just work out of the box. You can see I'm already synced with GitHub, but if you haven't done that already, just add the GitHub plugin and go through the motions to get that set up and you should be good to go. And it went ahead and pushed it to GitHub. So if I open my browser here and refresh,
31:15we could see everything I've created is all saved on GitHub now. If I jump back into Codex, I can go to my automation and edit this automation and say if there are any unprocessed files in the raw directory, please process them now. Once everything is processed, please commit and push the current version of the directory to the main branch on GitHub. So now it's gonna process everything in the raw directory and then once it's done processing, it's going to update GitHub so that backup is constantly happening every hour. And there you have it. It. There's the whole second brain process. Not only do you have a wiki of all of the information you're finding and saving from around the internet, but now you have a journal and a CRM that's built on top of it as well. And if you ever wanna tweak how it operates, you just open up Obsidian,
31:56which is your visibility layer to see how everything is built, and you go into agents.md and you just tweak the instructions. This is all just prompts at the end of the day. You just change how it gets prompted. And in the short amount of time that we've been working on it, this is what our graph view looks like now and we can start to see all of these things interconnect with each other a little bit more. Do this for a few days and a few weeks and the next thing you know, you have a vault that looks like this. Yeah. Pretty insane
32:22crazy vault that just has a ton of information saved inside of it. So I know that video was long. There was a lot of details. I wanna make sure it was very clear and you got the whole process and I didn't skip any steps. But I wanna show you how I've been building this sort of second brain concept that I can journal on top of, that I have a CRM on top of, where all of the wiki elements are interconnected.
32:42CTAYou could even dial it in more by building in separate folders and telling it to break out people from different pieces of content and break out companies from different pieces of content and really really dial in that wiki more and more and more. But really really cool concept. All you really need is Obsidian and Codex. Anthropics, Cowork, or Claude Code also works whatever your sort of front end chat platform of choice is. I've been really liking Codex lately, so that's what I've been using. But, yeah, go build it. It's really, really cool and a lot simpler than you think. And over time, it just gets smarter and smarter and smarter and more and more powerful. So that's what I got for you. This isn't like my normal videos. I normally make end of week news breakdowns where every single Friday, I break down all of the news that happened in the AI world for the week. I drink from the fire hose all week, keep up with all of the news, keep myself completely looped in so that other people don't have to feel overwhelmed.
33:37CTAI'll take on the overwhelm and just report what I think is the most interesting. I put those videos out every single Friday. If stuff like that as well as tutorials like this are something that interest you, maybe consider liking this video and subscribing to this channel. It really, really helps me out a lot. But, again, that's what I got. Thanks for hanging out with me, nerding out with me. Hopefully, I'll see you in next one. Bye bye.
§ · For Joe

Steal the architecture.

ModBrain playbook

Matt didn't build something new — he wrapped Karpathy's open-source LLM-Wiki spec in a tutorial and shipped a follow-along. The whole video is a clone-able template, not a product.

  • Clone the five-file architecture: raw/, wiki/, agents.md, index.md, log.md. That structure powers everything else in the video.
  • Numbered agent operations win. agents.md is just a list of 'when X happens, do these N steps.' Add modules by adding numbered steps, never by adding code.
  • Open with the demo, not the build. Matt's first 30 seconds show the finished thing chatting back to him — viewers stay because they want THAT, not because they want a tutorial.
  • Credit the source publicly. Naming Karpathy as the architect did two things: removed the burden of inventing, and let the video punch above the channel's usual lane by association.
  • Build the meta-test in. Ingesting the LLM-Wiki page itself as the first source is both a hook beat AND a sanity check the system works on the thing that defines it.
  • Show the seams. Matt left in the 'it built 51 files I didn't ask for' moment and the re-prompt — proves it's real, gives the audience an out when their first attempt fails too.
  • End with automation. Once the manual loop works, wrap it in a Codex hourly task. The video's payoff isn't the system — it's the moment the user stops touching it.
§ · For You

What this means for your own knowledge.

If you want to try this yourself

You don't need to be a coder to build a second brain that answers you back — you need a vault, a clipper, and a clear set of instructions for the AI.

  • Pick three things you'd put into pillar one — articles, podcasts, YouTube, meeting notes. Don't try to capture everything; start with the inputs you actually re-read.
  • Install Obsidian + the Obsidian Web Clipper before you do anything else. The clipper is the friction-killer — if saving takes more than one click, the system dies.
  • Build pillar three (Journal) on day one, not last. The journal is where the system pays you back. Without it, you've just got another folder of stuff you saved and forgot.
  • Use the 'prefix word' trick — start a chat with 'journal' or 'add to CRM' so the AI knows which mode to enter. One sentence of context saves a hundred clarifying questions later.
  • Let the AI rename your files. Matt's video got auto-renamed from 'how to trick your brain into becoming so disciplined' to 'discipline without willpower' — the model writes better titles than your past self did.
  • Back it up to GitHub even if you're not a developer. Free, versioned, restorable. Codex (or Claude Code) handles the commits — you never touch git.
  • Resist the urge to import everything on day one. Three videos and one article is enough to feel the loop. Scale from there.
§ · Frame Gallery

Visual moments.