Skip to content
Blog
ObsidianClaude CodeAIProductivity

My second brain lives on GitHub, and agents write it

Markdown notes in a GitHub repo, a skill that tells my agents where they are, and a dashboard for my phone. That's how I stopped wasting time hunting for documentation.

Kevin Defalco4 min read

The documentation for my projects lives in a vault of notes that I share with my AI agents. It’s a GitHub repo, I can reach it from any project, and I can check it from my phone. Here’s why I built it and how it works.

The idea came from a few posts I saw on Twitter. It clicked because I had two problems.

The first: I work on several projects at once, and many of them share the same architecture. What I’d already solved in one was useful in another, but the documentation lived inside each project, and whenever I switched computers I’d lose a good while looking for it.

The second: I bookmark a ton of things on Twitter. Threads, tools, articles. And then I forget about them. Days go by and all that interesting stuff ends up buried somewhere I never look again.

The idea

It’s a folder of notes. That’s it.

Each note is a Markdown file: a piece of research, a decision, a guide, a to-do, or something I saved from Twitter. I open it with Obsidian when I want to read or edit something by hand, but most of the work is done by the agents.

The agents follow a manual that lives in the vault itself: where each thing goes, how to search, and when a task counts as done.

A skill to reach it from any project

I almost never work inside the vault: I work in my projects. So I wrote a global skill, boveda (“vault” in Spanish). It’s tiny: it tells the agent where the vault is and to read the manual before touching anything.

With that, from any project I can say things like:

  • “What do we know about this?”
  • “Save this research to the vault.”
  • “What’s still pending in this project?”

It searches the notes, answers with the source and, if needed, saves whatever is new. If I already solved something similar in another project, it finds it. And when I hand it a Twitter link, it summarizes it and saves it as a document. It stops being a forgotten bookmark and becomes something the agent can look up.

Everything in a GitHub repo

The whole vault is a private GitHub repo. Every time an agent finishes something, it commits and pushes only what it changed. That’s the part that makes it work everywhere:

  • On any computer: I pull and I have everything.
  • In the cloud: a Claude Code session on the web can clone the vault next to the project, so I can work without my machine.
  • On my phone: my dashboard reads and writes to the repo through the GitHub API.

And since every change is a commit, I can see what each agent touched and undo it.

The dashboard

My personal dashboard already showed me how my projects were doing. Now it also reads the vault, and I open it the same way on my computer or my phone.

That’s where I see my to-dos for the week, move them, close them, or jot something down for an agent to process later. Whatever I don’t want to go check comes to me as an alert: if something is due today or tomorrow, I hear about it in the morning.

What I didn’t need

At first I thought I’d need a lot more: my own server, AI-powered search, a chat to talk to my notes. I even researched and tried some of those.

I dropped them one by one. I’m past a hundred notes and still adding more; for now, keyword search is enough, and for talking to them I already have the agents.

What it’s built with

  • Obsidian to read and edit by hand.
  • A private GitHub repo to store and sync everything.
  • Claude Code and Codex as agents, with the boveda skill.
  • My dashboard for the phone and the alerts.
  • Facundo Corengia’s vault starter kit, which I’ve adapted to my workflow.

Today I track my to-dos with alerts, see how my projects are doing at a glance and, above all, I never start from scratch: I open a session, ask what we know, and pick up from there.