obs-memory
Installation
SKILL.md
Obsidian Agent Memory
You have access to a persistent Obsidian knowledge vault — a graph-structured memory that persists across sessions. Use it to orient yourself, look up architecture and component knowledge, and write back discoveries.
Vault Discovery
Resolve the vault path using this chain (first match wins):
- Environment variable:
$OBSIDIAN_VAULT_PATH - Agent config reference: Parse the vault path from the agent's project or global config (look for "Obsidian Knowledge Vault" section with a path like
~/Documents/SomeName/) - Default:
~/Documents/AgentMemory
Store the resolved path as $VAULT for all subsequent operations. Derive $VAULT_NAME as basename "$VAULT" for CLI calls.
Verify the vault exists by checking for $VAULT/Home.md. If the vault doesn't exist, inform the user and suggest running the init command to bootstrap a new vault from the bundled template.
Session Start — Orientation
At the start of every session, orient yourself with at most 2 operations: