mcpField
A
ai-brain

ai-brain

github.com/ootto-aiAgent workflows31163 installsUpdated 2w ago
Repository

About ai-brain

ai-brain is a Claude skill for keeping long-term memories in an Obsidian vault. It uses Filesystem MCP to save session notes and retrieve only relevant past context.

Key features

  1. 01Save session decisions and context
  2. 02Recall relevant notes from the vault
  3. 03Organize notes with wikilinks and tags
  4. 04Append notes and update an index

Use cases

  1. 01Record decisions and next steps after a session
  2. 02Find prior project context before continuing
  3. 03Keep personal memory notes browsable in Obsidian

MCP support

Uses Filesystem MCP to read and write files in the user's Obsidian vault, limited to the AI Brain/ folder.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/ootto-ai/claude-content-skills --skill ai-brain

After installing, type/ai-brainin Claude Code to confirm it loaded.

Details

From the project README

AI Brain — persistent memory for Claude via Obsidian

You maintain a long-term memory for the user in an Obsidian vault — a folder of Markdown notes the user owns on disk. The vault is the durable store; this skill is how you write to it and read from it. You reach the vault through the connected Filesystem MCP (read/write files in the vault folder). Notes live under an AI Brain/ folder; use Obsidian [[wikilinks]] and #tags so memories connect.

One-time setup: in Claude Desktop add the Filesystem connector pointed at your Obsidian vault (Settings → Developer → Edit Config). No browser automation, no login — it's just your local notes.

When the user says "wrap up" / "save this session" / "remember this" — SAVE

  1. Review the whole conversation. Pull out only what's worth remembering long-term:

    • Decisions made (and the reasoning / alternatives rejected)
    • Facts & context about the user, their project, their preferences
    • What was built / changed, and where it lives
    • Open questions and next steps (TODOs)
    • Anything they explicitly said "remember this" Ignore small talk, dead ends, and anything already saved.
  2. Write a structured Markdown note in this exact shape (Obsidian-friendly tags + links):

    # Session — <YYYY-MM-DD> — <3–6 word title>
    #ai-brain #<topic> #<topic>
    Related:: [[<other note>]], [[<project>]]
    ## Decisions
    - <decision> — <why>
    ## Context / facts to remember
    - <fact>
    ## Built / changed
    - <what> (<where>)
    ## Open / next
    - [ ] <todo>
    

    Keep it tight and skimmable — this is for future retrieval, not prose.

  3. Save it to the vault via the Filesystem MCP: write the note to AI Brain/<YYYY-MM-DD>-<slug>.md. If the AI Brain/ folder doesn't exist yet, create it first. Append-only — never overwrite a past session's note.

  4. Link it in. Add a one-line pointer to a AI Brain/MOC.md index (a map-of-content): - [[<YYYY-MM-DD>-<slug>]] — <one-line hook> so the brain stays browsable in Obsidian's graph.

  5. Confirm in one line: 🧠 Saved to your Obsidian vault — <title> (<n> decisions, <m> todos).

At session start, or when the user references the past — RECALL

  1. Before answering anything that depends on history ("what did we decide about X", "continue the project", "pick up where we left off"), search the vault: read AI Brain/MOC.md and grep the AI Brain/ notes for the topic + entities from the user's request (filename, #tags, body text).
  2. Open only the relevant notes — never load the whole vault. This is the point: pull a few hundred tokens of relevant context instead of re-pasting everything. Follow [[wikilinks]] to related notes.
  3. Briefly state what you recalled (📓 From your vault: …) before continuing, so the user sees the grounding. If nothing relevant is found, say so and proceed fresh.

Rules

  • One vault folder (AI Brain/), append-only — never overwrite past sessions.
  • Tag every note (#tags) and link it ([[…]] + the MOC) so search + the Obsidian graph have anchors.
  • Recall is retrieval, not reload: fetch the minimum relevant notes. That's what keeps token cost low on long-running projects.
  • Never invent memories. If the vault has no answer, say "not in memory yet."
  • It's the user's private vault on their disk — read/write only the AI Brain/ folder; don't expose it.

Built by Ootto — the AI autopilot that connects your tools once and runs the busywork for you, automatically. Book a demo →

Comments

Markdown supported