/memory-sync:memory-syncfrom memory-sync
Guides manually syncing learnings to mem0 and Obsidian memory systems, including entry templates, agent instructions, and reconciliation steps.
Ships in memory-sync. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
How to manually sync learnings to memory systems after tasks.
Ariff uses two complementary memory systems:
Use mcp__mem0-memory-mcp__add_memory to store:
- Task context and solution
- Key learnings and gotchas
- Useful commands discovered
Use mcp__obsidian-memory__create_note with:
- path: "tasks/YYYY-MM-DD-task-slug.md"
- content: Structured task notes
## Task: [Brief Title]
Date: [YYYY-MM-DD]
Device: [hostname]
### Problem
[What was the issue/request]
### Solution
[How it was resolved]
### Key Learnings
- [Learning 1]
- [Learning 2]
### Related
- Previous tasks: [links]
- Documentation: [links]
When a mistake or pattern should be avoided in future:
Create instruction file at:
Ariff-code-config/instructions/[category]-[topic].instructions.md
Use format:
---
description: [What this instruction prevents/ensures]
applyTo: [glob pattern like **/*.py or **/canvas/**]
---
# [Rule Title]
## Context
[When this applies]
## Rule
[What to do/not do]
## Example
[Good vs bad example]
Add to 00_INSTRUCTIONS_INDEX.md if significant
If memories seem out of sync:
Save memory when:
Skip saving when:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
memory-sync, mem0, obsidian, agent-instructions, knowledge-management
npx claudepluginhub a-ariff/ariff-claude-plugins --plugin memory-syncOther plugins' skills for the same job