bases-vault

A Bases-native, agent-ready Obsidian starter vault — queryable notes your AI can read. Zero dependencies.

bases-vault

validate License: MIT Obsidian 1.9+ Built on Bases PRs Welcome

A starting vault that turns your notes into a database your AI agents can actually read — built on Obsidian Bases, with an agent index and zero dependencies.

Most "AI memory" setups are a black box: a vector store, a plugin, a service. This is the opposite. Your notes stay plain Markdown you own; Bases makes them queryable; a small script makes them legible to any agent. Clone it, open it in Obsidian, and it works.

Why this exists

Your notes are a database — people, projects, renewals, decisions — but most PKM templates keep them as prose. An agent asked "what renews this month?" has nothing to query. Two things fix that:

  • Bases: Obsidian's native, file-based database layer. A .base file queries your notes by frontmatter and renders live tables and views. No plugin, no lock-in.
  • A four-layer structure that separates who you are from how you work from what you know, so an agent can read the right layer instead of guessing.

Architecture

Core   →  01 Core/me.md + MOC-Index      who you are
Ring   →  _skills/ (how) + _habits/ (when)
Body   →  02–04 domains, each with a MOC and a Base
Outer  →  the agent reads _index/ and answers
flowchart TB
  A["You ask"] --> B["_index/core-digest.md<br/>identity, goals, focus"]
  B --> C["MOC-Index"]
  C --> D["Domain MOC"]
  D --> E["Notes + .base views"]
  C --> F["_skills (how) · _habits (when)"]
  classDef agent fill:#ecfdf5,stroke:#059669,stroke-width:1.5px;
  classDef core fill:#f8fafc,stroke:#94a3b8;
  class A agent;
  class B,C core;

The vault is the source of truth. _index/ is a cheap generated lens. The agent is the reader.

Quick start

git clone https://github.com/livingdream01/bases-vault my-vault
cd my-vault
node scripts/vault-sync.mjs          # generate _index/

Open the folder as a vault in Obsidian (the Bases core plugin ships with Obsidian 1.9+). Then:

  1. Edit 01 Core/me.md — who you are, in five lines.
  2. Delete the two example notes and add a real project and person.
  3. Point your agent at the folder. It reads _index/core-digest.md first.

Prefer a clean copy? Use the scaffold script:

node scripts/scaffold.mjs ~/Documents/my-vault

Or click Use this template on GitHub.

What's inside

00 Home/        HOME · MOC-Index · Conventions · Dashboard
01 Core/        me.md · Values · Goals · Open Questions
_skills/        decide · capture · review        (how you do things)
_habits/        daily-capture · weekly-review · monthly-review   (when)
_templates/     Person · Project · Register Item · Daily · MOC
02 Projects/    MOC-Projects · Projects.base · example
03 People/      MOC-People · People.base · example
04 Registers/   MOC-Registers · Registers.base · Items/
_index/         generated: core-digest.md · vault-map.md
AGENTS.md       the agent contract
scripts/        vault-sync · validate-vault · scaffold

The Bases views

Three live views ship ready to use, and they query your notes:

FileShows
02 Projects/Projects.baseevery project, with an "Active" view
03 People/People.baseevery person, plus a view grouped by org
04 Registers/Registers.basesubscriptions and renewals, with due dates

Add a note with the right frontmatter and it appears in the table — that is the whole trick.

The agent contract

AGENTS.md tells any agent how to use the vault: read the digest, walk the maps, use skills for how and habits for when, cite paths, and never invent. It is a plain file, so it works with Claude Code, Codex, Cursor, OpenCode, or anything that reads AGENTS.md.

Privacy by default

  • Pointers, never secrets. The convention is enforced from the first note: no keys, tokens, account numbers or IDs — just where to find them.
  • Local-first. No telemetry, no network calls, no dependency on a service.
  • Yours. Plain Markdown in a folder you control; git it, sync it, or neither.

How it compares

bases-vaultAgent-memory skillsPARA/GTD templates
Queryable via Bases✅✗✗ (prose)
Committed agent index✅varies✗
Zero dependencies✅often needs a CLI✅
Privacy doctrine✅rare✗
Plugin required✗ (Bases is core)✗✗

Scripts

CommandDoes
node scripts/vault-sync.mjsregenerates _index/, preserving authored sections
node scripts/validate-vault.mjsfails on any broken link or missing frontmatter
node scripts/scaffold.mjs <dir>copies the vault to a fresh location

CI runs vault-sync + validate on every push.

Contributing

Issues and PRs welcome — see CONTRIBUTING.md. Ground rule: keep it dependency-free, local-first, and private.

License

MIT.

Related

How to Install

  1. Download the ZIP or clone the repository
  2. Open the folder as a vault in Obsidian (File → Open Vault)
  3. Obsidian will prompt you to install required plugins

Stats

Stars

0

Forks

0

License

MIT

Last updated 2mo ago

Categories

Tags

ai-agentsbaseslocal-firstmarkdownobsidianobsidian-basespkmsecond-braintemplate