bases-vault
A Bases-native, agent-ready Obsidian starter vault — queryable notes your AI can read. Zero dependencies.
bases-vault
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
.basefile 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:
- Edit
01 Core/me.md— who you are, in five lines. - Delete the two example notes and add a real project and person.
- Point your agent at the folder. It reads
_index/core-digest.mdfirst.
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:
| File | Shows |
|---|---|
02 Projects/Projects.base | every project, with an "Active" view |
03 People/People.base | every person, plus a view grouped by org |
04 Registers/Registers.base | subscriptions 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-vault | Agent-memory skills | PARA/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
| Command | Does |
|---|---|
node scripts/vault-sync.mjs | regenerates _index/, preserving authored sections |
node scripts/validate-vault.mjs | fails 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.
How to Install
- Download the ZIP or clone the repository
- Open the folder as a vault in Obsidian (File → Open Vault)
- Obsidian will prompt you to install required plugins
Stats
Stars
0
Forks
0
License
MIT
Last updated 2mo ago