obsidian-memory-sync
Skill0 starsChanged 7 months agoMITView on GitHub
Use at the END of every Claude Code session, or when the user says "sync", "save to obsidian", "remember this", or "update memory" - captures session work into the shared Obsidian vault so the partner agent sees it too
1 other project uses a version of this.
Adopted by
Most recently taken up by
- mikessh/claude-obsidian-memorytheir own version, first seen Jul 12, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- mikessh/claude-obsidian-memory★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- deploy-pipelineSkill
- ecommerce-builderSkill
- hackathon-copilotSkill
- know-meSkill
- memory-managementSkill
- polymarket-multi-agentSkill
- polymarket-vps-opsSkill
- researcherSkill
- self-healingSkill
- self-improvementSkill
- strategy-preflightSkill
- trade-journalSkill
- visual-promptingSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
When user says "sync", "save", "remember this", "update obsidian"
- Distinctive: line 14
After completing a significant piece of work (feature shipped, decision made, lesson learned)
- Distinctive: line 28
If the file doesn't exist, create it with this template:
- Distinctive: line 55
If the file exists, append under the correct section headings — never overwrite.
- Very specific: line 70
If this session included any of these, update {VAULT}/MEMORY.md:
- Distinctive: line 81
After writing, tell the user what was synced.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Obsidian Memory Sync
Capture this Claude Code session's work into the shared Obsidian vault at ~/obsidian-vault. This vault syncs bidirectionally with a partner agent via Obsidian Sync.
When to Use
- End of every session (MANDATORY — invoke before closing)
- When user says "sync", "save", "remember this", "update obsidian"
- After completing a significant piece of work (feature shipped, decision made, lesson learned)
The Process
Step 1: Determine today's date and file path
VAULT = ~/obsidian-vault
DAILY_NOTE = {VAULT}/memory/YYYY-MM-DD.md
MEMORY = {VAULT}/MEMORY.mdStep 2: Create or append to daily note
If the file doesn't exist, create it with this template:
---
title: 'YYYY-MM-DD'
type: note
tags: [daily, YYYY]
---
# YYYY-MM-DD Session Notes (Day of Week)
## Summary
<!-- End-of-day summary goes here -->
## Conversations & Decisions
## Projects Worked On
## Leads & Opportunities
## Blockers & Issues
## Action Items / Next Steps
## Personal NotesIf the file exists, append under the correct section headings — never overwrite.
Step 3: Fill in what happened this session
Under the appropriate sections, capture:
- Conversations & Decisions: What user asked, what was decided, key context. Use
### HH:MM - Topicsubheadings. - Projects Worked On: Which projects, what progress, what changed. Include status updates.
- Leads & Opportunities: Business leads, market opportunities, ideas mentioned.
- Blockers & Issues: What's stuck, what failed, what needs attention.
- Action Items / Next Steps: Explicit next steps, promises made, deadlines. Use
- [ ]checkboxes. - Personal Notes: Anything personal the user shared.
Step 4: Update long-term memory (if significant)
If this session included any of these, update {VAULT}/MEMORY.md:
- New project started or major status change
- Key decision that affects future work
- Lesson learned (especially expensive ones)
- Infrastructure/tool change
- New API/credential setup
Also update the Claude Code memory at ~/.claude/projects/<project>/memory/ to keep both systems in sync.
Step 5: Confirm to user
After writing, tell the user what was synced. Keep it brief:
Synced to Obsidian: [1-2 sentence summary of what was captured]
Rules
- Be comprehensive — capture everything, curation happens later
- Use wiki-links for cross-referencing:
[[MEMORY]],[[2026-04-01]],[[lessons-learned]] - Timestamp entries with
### HH:MMwhen timing matters - Never write secrets/credentials into daily notes unless explicitly asked
- Convert relative dates to absolute (e.g., "Thursday" -> "2026-04-10")
- Don't overwrite existing content — always append
What NOT to Capture
- Trivial back-and-forth ("yes", "ok", "thanks")
- Tool output that's already in files
- Debugging steps that led nowhere (only capture the resolution)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

