agentleFS
bocodes1bocodes1/claude-skills/obsidian-memory-sync/SKILL.md

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

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
  1. Distinctive:

    When user says "sync", "save", "remember this", "update obsidian"

    line 13
  2. Distinctive:

    After completing a significant piece of work (feature shipped, decision made, lesson learned)

    line 14
  3. Distinctive:

    If the file doesn't exist, create it with this template:

    line 28
  4. Distinctive:

    If the file exists, append under the correct section headings — never overwrite.

    line 55
  5. Very specific:

    If this session included any of these, update {VAULT}/MEMORY.md:

    line 70
  6. Distinctive:

    After writing, tell the user what was synced.

    line 81

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.md

Step 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 Notes

If 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 - Topic subheadings.
  • 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:MM when 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)

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.