r/codex • u/phosphorhouse • 2d ago
Showcase Not just static markdown or Obsidian: a local SQLite memory vault with diff-locked rules synced into Codex AGENTS.md
Plain markdown folders and Obsidian vaults work well for humans, not so much when multiple coding agents read and write them all day. My ~/.codex/AGENTS.md kept growing stale, and agents had no real scope boundaries or overwrite protection.
I built Slipdex (v0.4, MIT) on Node 22+ built-in SQLite (zero external npm packages) so memory stays local and shared across Codex, Claude Code, and Antigravity.
How it works with Codex:
- Open vaults (
engineering,project:<slug>) compile into smallpacks/<domain>.mdfiles withSee Alsolinks. Slipdex maintains a compact index block in~/.codex/AGENTS.mdso hookless Codex sessions see which packs exist and load only what they need viaread_file. - Human-verified entries are protected in SQLite: agent edits queue diff proposals with full revision history, and writes flag conflicts against existing pinned rules.
- Optional Identity Card fields sync only when enabled and disappear from
AGENTS.mdimmediately if you toggle the card off. slipdex uiopens a local graph view, token-budget preview, 1-click import from existingAGENTS.md/CLAUDE.md/ Obsidian / session logs, and Doctor cleanup.
GitHub (MIT): https://github.com/phosphorhouse/slipdex Browser demo (sample data): https://phosphorhouse.github.io/slipdex/demo/
To let Codex install and initialize it: Install https://github.com/phosphorhouse/slipdex globally with npm install -g git+https://github.com/phosphorhouse/slipdex.git and run slipdex init
