Notre avis
Configure Obsidian et OpenClaw pour créer un système de mémoire persistante pour l'IA, avec recherche sémantique QMD et maintenance proactive via HEARTBEAT.
Points forts
- Permet à l'IA de conserver le contexte entre les sessions en lisant les fichiers du workspace
- Obsidian visualise le graphe de connaissances pour une navigation intuitive
- QMD offre une recherche sémantique locale sans surcharger le contexte de l'IA
- HEARTBEAT automatise la maintenance de la mémoire à long terme
Limites
- Nécessite une installation et configuration initiale de plusieurs outils
- Dépend d'OpenClaw qui n'est pas universellement supporté
- La qualité de la mémoire dépend de la discipline à écrire régulièrement
Utilisez cette compétence lorsque l'utilisateur souhaite que son assistant IA se souvienne des décisions et du contexte entre les sessions.
Évitez si l'utilisateur utilise un environnement sans accès à OpenClaw ou s'il préfère une solution de mémoire intégrée.
Analyse de sécurité
SûrThe skill provides setup instructions for Obsidian, OpenClaw, and QMD. It suggests shell commands (e.g., qmd collection add, qmd embed) that are legitimate and used for indexing/search, with no destructive or exfiltrating behavior. No code is obfuscated or dangerous.
Aucun point d'attention détecté
Exemples
Set up an Obsidian vault pointed at my ~/clawd workspace and configure OpenClaw to inject MEMORY.md and daily logs into the system prompt.Create a HEARTBEAT.md file that reminds me every three days to review recent daily logs and distill key insights into MEMORY.md.Install and configure QMD for semantic search over my memory files, then show me how to query it from within OpenClaw using mcporter.name: obsidian-openclaw-memory 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.
Obsidian + OpenClaw Memory System
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
~/clawdworkspace 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, TASKqueries) - Templater — daily note templates for
memory/YYYY-MM-DD.md
- Dataview — query memory files like a database (
- Daily note template (via Templater):
# <% tp.date.now("YYYY-MM-DD") %> ## Session Log ## Decisions Made ## Things to Remember - Dataview query to surface recent memories:
LIST FROM "memory" SORT file.name DESC LIMIT 7
QMD Semantic Search Setup
# Add workspace to QMD index
qmd collection add ~/clawd --name clawd
# Generate embeddings (run after adding new files)
qmd embed
# Search from within OpenClaw
mcporter call qmd.vsearch query="what did we decide about X"
mcporter call qmd.query query="project status"
This lets the AI find relevant context without loading every file into the context window.
Heartbeat-Based Memory Maintenance
HEARTBEAT.md drives proactive AI behavior. OpenClaw polls it on a schedule and acts on what it finds.
Example HEARTBEAT.md:
## Memory Maintenance
- [ ] Review memory/ files from last 3 days
- [ ] Distill key insights into MEMORY.md
- [ ] Remove outdated entries from MEMORY.md
The AI will pick this up, review recent logs, and update long-term memory — like a human reviewing their journal and updating their mental model.
Schedule: Add a heartbeat cron or configure OpenClaw's heartbeat interval. Every few days is sufficient for memory distillation.
Best Practices
- Write it down — if you want the AI to remember something next session, say "write this to memory" or update
memory/YYYY-MM-DD.mddirectly - Keep MEMORY.md curated — it's the distilled essence, not a dump. Short, high-signal entries.
- Daily logs are raw —
memory/YYYY-MM-DD.mdis for raw session notes; don't worry about formatting - Use directives/ for SOPs — repeatable workflows go here so the AI can follow them consistently
- Link files in Obsidian — use
[[MEMORY]]wiki-links to build the graph view - Re-embed after adding files — run
qmd embedafter adding significant new content
Architecture Diagram
See assets/architecture.png for a visual overview of how the three components interact.
Priorisation de Tâches
Productivite
Priorise vos tâches avec les frameworks Eisenhower, ICE et RICE.
Generateur de Rapport Hebdomadaire
Productivite
Generez des rapports de statut hebdomadaires structures et concis.
Rapport de Daily Standup
Productivite
Génère des rapports de daily standup structurés et concis.