AI SummaryThe AI doesn't have memory — it reads memory. OpenClaw injects workspace files into the system prompt at session start, giving the AI persistent context across sessions. Obsidian visualizes the knowledge graph. QMD provides semantic search so the AI finds relevant context without loading everything.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "obsidian-openclaw-memory" skill in my project. Please run this command in my terminal: # Install skill into your project mkdir -p .claude/skills/obsidian-openclaw-memory && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/obsidian-openclaw-memory/SKILL.md "https://raw.githubusercontent.com/Samin12/obsidian-openclaw-memory/main/SKILL.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Set up Obsidian + OpenClaw as a living AI memory system. Use when helping users configure their workspace so their AI assistant remembers context across sessions, builds a knowledge graph, and proactively maintains memory. Covers file structure, Obsidian vault setup, QMD semantic search, and heartbeat-based memory maintenance.
Overview
The AI doesn't have memory — it reads memory. OpenClaw injects workspace files into the system prompt at session start, giving the AI persistent context across sessions. Obsidian visualizes the knowledge graph. QMD provides semantic search so the AI finds relevant context without loading everything. Three components: • OpenClaw — reads workspace files at session start (injected into system prompt) • Obsidian — vault pointed at the workspace; Graph View shows connections between files • QMD — on-device semantic search; find relevant files without loading them all
File Structure
See references/file-structure.md for the full annotated file tree. Core files: | File/Folder | Purpose | |---|---| | MEMORY.md | Curated long-term memory (distilled from daily logs) | | memory/YYYY-MM-DD.md | Raw daily session logs | | second-brain/ | Structured knowledge base (concepts, journal, documents) | | directives/ | SOPs and workflows | | HEARTBEAT.md | Drives proactive AI behavior between sessions | | AGENTS.md | How the AI should operate in this workspace | | USER.md | Context about the human | | SOUL.md | AI persona and tone |
How OpenClaw Reads Files
OpenClaw's workspace injection reads files listed in its config and prepends them to the system prompt. This means: • Files in the workspace root are always available • The AI "wakes up" each session already knowing what's in those files • Updating a file = updating what the AI knows next session Key principle: write important things to files, not just say them in chat.
Obsidian Setup
• Create vault pointing to your ~/clawd workspace folder (File → Open Vault → Open Folder as Vault) • Enable Graph View (Ctrl/Cmd+G) — see how memory files link to each other • Install plugins: • Dataview — query memory files like a database (TABLE, LIST, TASK queries) • Templater — daily note templates for memory/YYYY-MM-DD.md • Daily note template (via Templater): ` # <% tp.date.now("YYYY-MM-DD") %> ## Session Log ## Decisions Made ## Things to Remember ` • Dataview query to surface recent memories: `dataview LIST FROM "memory" SORT file.name DESC LIMIT 7 `
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster