Obsidian Plus Claude Code: The Second Brain That Sticks
Mark Kashef tried Obsidian five times and quit. The sixth time, he added Claude Code. Here's what changed about building a second brain that works.
Written by AI. Dev Kapoor
March 16, 2026

Photo: Mark Kashef / YouTube
Mark Kashef has a tool graveyard. Notion, Apple Notes, Evernote, Todoist, bare markdown folders—name any productivity system and he's tried it, set it up meticulously, used it for exactly one week, then forgotten it existed. Obsidian joined that graveyard five times before something changed on attempt six: he wired it to Claude Code.
What Kashef built isn't revolutionary in concept—Obsidian's been around, the "second brain" idea is well-trodden territory, and connecting tools via CLI isn't exactly bleeding edge. But the particular friction he solved matters: the gap between "I should organize my thoughts" and "I actually do it consistently" is where most knowledge management systems die. His solution is worth examining not because it's the only way, but because it addresses a specific failure mode that breaks a lot of otherwise solid tools.
The Core Problem: Setup Tax
Obsidian is a local-first markdown note-taking app that stores everything as plain text files in folders. Behind its graph view and canvas features, it's just a directory structure you control completely. This appeals to people who've been burned by proprietary note apps that lock up their data or vanish overnight. But that control comes with a cost: you have to decide how to organize everything.
"The goal is just to have one place where you have different compartments of your life, your business, both that can all live in cohesion where everything's well organized, well documented, and you don't have stale documents," Kashef explains. The problem is that initial taxonomy—deciding what folders exist, what gets tagged how, where ideas land when they don't fit cleanly—requires either perfect foresight or constant maintenance. Most people don't have the former and won't do the latter.
Kashef's approach: outsource the structural decisions to Claude Code. He built a /vault-setup command that asks four questions: What do you do for work? What falls through the cracks most? Work-only or full life OS? Existing files to import? Answer those (in multiple choice format if you want less friction), and Claude Code drafts your entire folder structure in seconds. Inbox, projects, areas, resources—whatever taxonomy makes sense for your answers.
This matters because the setup tax is where enthusiasm dies. You download Obsidian full of intentions, stare at an empty vault, and either spend hours designing the perfect structure (which you'll outgrow) or throw notes randomly into folders (which you'll never find again). Kashef's automation doesn't eliminate decision-making—you still answer those four questions—but it removes the paralysis.
Slash Commands as Maintenance
Once the vault exists, the next failure mode is maintenance. Notes accumulate, projects evolve, and unless you constantly curate, your second brain becomes a junk drawer. Kashef built three slash commands to handle recurring organizational tasks:
/daily: Generates a daily brief of what's happening across your vault/standup: Creates project briefings if you're tracking multiple initiatives/tldr: Kashef's favorite—end any Claude Code conversation with this and it creates a summary with next steps and decision points, then stores it in Obsidian
That last one is clever because it solves a problem specific to AI-assisted work: conversations with Claude Code can be productive but ephemeral. You prototype something, debug an issue, explore an idea—and then the context window scrolls away. /tldr turns those sessions into persistent notes without manual copy-pasting.
The automation here isn't about AI doing your thinking. It's about reducing the friction between "I had a useful conversation" and "that conversation is now part of my searchable knowledge base." The difference between those two states is usually about four manual steps people don't take.
The Document Ingestion Pipeline
The more interesting technical piece is how Kashef handles existing documents—PDFs, Word files, spreadsheets—that contain useful information buried in formatting and metadata. You can't just dump a 200-page annual report into Obsidian and expect it to be useful. You need signal extraction.
His approach: Feed messy files to Claude Code, have it organize by file type into subfolders, then use a cheap API with a large context window (he mentions Gemini Flash's million-token window) to convert PDFs to markdown. But that's still noisy—you get all the metadata, headers, footers, pagination artifacts. So the markdown goes through another pass: a prompt that says "synthesize the salient points" (where you define what "salient" means for this document).
The result is a folder of clean markdown files that are effectively cheat sheets of your source material. Those can be referenced by Claude Code in future sessions or just searched within Obsidian. The pipeline isn't one-click automation—you need to define what matters in each document type—but it's a workflow that scales better than manually summarizing every PDF you read.
This matters for anyone who works with research, technical documentation, or long-form content. The gap between "I have this useful 80-page document" and "I can actually reference the important parts six months from now" is usually unbridged. Kashef's pipeline bridges it by accepting that AI is good at compression but you still need to specify the compression criteria.
What This Actually Solves
Kashef's setup addresses three specific problems:
-
Decision paralysis at setup: Most people don't know what their ideal knowledge structure is until they've used it for months. Letting Claude Code draft it based on actual work patterns removes that chicken-egg problem.
-
Maintenance friction: Every knowledge system requires curation. Slash commands reduce the activation energy for that curation from "I should really organize my notes this weekend" to "I'll type six characters."
-
Context integration: External documents and AI conversations exist outside your knowledge base by default. The ingestion pipeline and
/tldrcommand pull them in with minimal manual work.
None of these are solved perfectly—you still have to define what matters, still have to review what Claude Code generates, still have to adjust the structure as your needs evolve. But the friction points are in different places, and for some people those new friction points will be more tolerable than the old ones.
The Unanswered Questions
What Kashef doesn't address: Does this actually lead to better outcomes, or just more organized note-taking? The failure mode for most second brain systems isn't poor organization—it's that people don't revisit their notes even when they're well-organized. Building searchable context is useful if you search it. Kashef uses /tldr daily, which suggests he's found a retrieval pattern that works. But that's a workflow question, not a tooling question.
There's also the sustainability question. This setup depends on Claude Code's CLI access, specific Obsidian features, and custom skills Kashef built. If Anthropic changes their API structure or Obsidian deprecates the CLI, maintenance burden could spike. That's the tradeoff with automation built on multiple third-party tools—more points of failure.
And finally: Is this solving tool-hopping, or just making it more elaborate? Kashef admits he's tool-hopped through everything. The sixth Obsidian attempt worked because he added automation. But maybe attempt seven will involve a different tool with different automation. The honest answer is probably "we'll see in six months."
What's Worth Stealing
Even if you don't use Obsidian or Claude Code, Kashef's approach has portable ideas:
- Automate structure creation based on actual work patterns, not idealized workflows
- Make maintenance commands trivially easy to invoke
- Build pipes between where information lives and where you need to reference it
- Accept that AI is good at compression if you define the compression criteria
The specific implementation is less interesting than the pattern: identify the exact friction points where your system breaks down, then add automation at those points specifically. Not everywhere—just where you personally keep failing.
Kashef tried Obsidian five times the traditional way. The sixth time, he automated the parts that made him quit. Whether that's Obsidian plus Claude Code or some other combination, the lesson is the same: tools fail at predictable points. If you know where yours fails, you can often engineer around it.
Dev Kapoor covers open source software and developer communities for Buzzrag
Watch the Original Video
Claude Code Turned Obsidian Into My Dream Second Brain
Mark Kashef
14m 1sAbout This Source
Mark Kashef
Mark Kashef is a well-regarded YouTube content creator in the field of artificial intelligence and data science, boasting a subscriber base of 58,800. With more than a decade of experience in AI, particularly in data science and natural language processing, Mark has been sharing his expertise through his AI Automation Agency, Prompt Advisers, for the past two years. His channel is a go-to resource for educational content aimed at enhancing viewers' understanding of AI technologies.
Read full source profileMore Like This
Becoming a Claude Code Power User
Master Claude Code updates with custom tools and stay ahead.
Claude Code's New Batch Migration Tools Change the Game
Claude Code adds parallel agent tools for code quality and large-scale migrations. Plus HTTP hooks, markdown previews, and a clipboard command that actually works.
Anthropic's Claude Gets 11 Plugins That Target Jobs
Anthropic released 11 role-specific plugins for Claude that package AI capabilities for sales, legal, finance, and more—bundling skills, commands, and connectors.
Claude Code's Loop Feature: Cron Jobs That Vanish
Claude Code's Loop lets you schedule recurring AI tasks with natural language. But there's a catch: close your session and everything stops.