A self-organizing Obsidian vault that gives AI coding agents persistent memory.
TypeScript ai-agentsclaude-codecodex-cligemini-cliknowledge-managementobsidianobsidian-vaultpersistent-memorysecond-braintemplate
feat: add Memory section to AGENTS.md/GEMINI.md
Brenno Ferrari824d63e98a3e
diff --git a/AGENTS.md b/AGENTS.mdindex eec2e6a..b37b98f 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -25,9 +25,15 @@ The hook scripts in `.claude/scripts/` are agent-agnostic Python and shell — n18 slash commands in `.claude/commands/` — agent-agnostic markdown with YAML frontmatter. Invoke as `/om-standup`, `/om-dump`, etc. in any agent that supports custom commands or skills.+## Memory++The vault's memory lives in `brain/` — `Memories.md`, `Patterns.md`, `Key Decisions.md`, `Gotchas.md`. These are plain markdown files that any agent can read and write. When you learn something worth remembering, write it to the relevant `brain/` topic note with a wikilink to context.++The `~/.claude/` auto-loaded memory index is Claude Code-specific — skip that section in `CLAUDE.md`. The vault-side `brain/` notes are the source of truth.+## What's agent-specific-Subagents (`.claude/agents/`) and the memory system (`~/.claude/`) are Claude Code-only. Skip those sections in `CLAUDE.md`.+Subagents (`.claude/agents/`) and the `~/.claude/` auto-memory loader are Claude Code-only. Skip those sections in `CLAUDE.md`.## Setupdiff --git a/GEMINI.md b/GEMINI.mdindex eec2e6a..b37b98f 100644--- a/GEMINI.md+++ b/GEMINI.md@@ -25,9 +25,15 @@ The hook scripts in `.claude/scripts/` are agent-agnostic Python and shell — n18 slash commands in `.claude/commands/` — agent-agnostic markdown with YAML frontmatter. Invoke as `/om-standup`, `/om-dump`, etc. in any agent that supports custom commands or skills.+## Memory++The vault's memory lives in `brain/` — `Memories.md`, `Patterns.md`, `Key Decisions.md`, `Gotchas.md`. These are plain markdown files that any agent can read and write. When you learn something worth remembering, write it to the relevant `brain/` topic note with a wikilink to context.++The `~/.claude/` auto-loaded memory index is Claude Code-specific — skip that section in `CLAUDE.md`. The vault-side `brain/` notes are the source of truth.+## What's agent-specific-Subagents (`.claude/agents/`) and the memory system (`~/.claude/`) are Claude Code-only. Skip those sections in `CLAUDE.md`.+Subagents (`.claude/agents/`) and the `~/.claude/` auto-memory loader are Claude Code-only. Skip those sections in `CLAUDE.md`.## Setup