Back to skills
SkillHub ClubShip Full StackFull Stack

memory-sync

Imported from https://github.com/a-ariff/ariff-claude-plugins.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
3
Hot score
80
Updated
March 20, 2026
Overall rating
C2.8
Composite score
2.8
Best-practice grade
B78.7

Install command

npx @skill-hub/cli install a-ariff-ariff-claude-plugins-memory-sync

Repository

a-ariff/ariff-claude-plugins

Skill path: plugins/memory-sync/skills/memory-sync

Imported from https://github.com/a-ariff/ariff-claude-plugins.

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: a-ariff.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install memory-sync into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/a-ariff/ariff-claude-plugins before adding memory-sync to shared team environments
  • Use memory-sync for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw SKILL.md

---
name: memory-sync
description: Memory Sync Skill
---

# Memory Sync Skill

How to manually sync learnings to memory systems after tasks.

## Dual Memory Architecture

Ariff uses two complementary memory systems:
- **mem0-memory-mcp** - AI-native semantic memory for quick recall
- **obsidian-memory** - Structured vault for long-term knowledge

## Manual Sync Commands

### Quick Save to mem0
```
Use mcp__mem0-memory-mcp__add_memory to store:
- Task context and solution
- Key learnings and gotchas
- Useful commands discovered
```

### Save to Obsidian
```
Use mcp__obsidian-memory__create_note with:
- path: "tasks/YYYY-MM-DD-task-slug.md"
- content: Structured task notes
```

## Memory Entry Template

```markdown
## 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]
```

## Creating Agent Instructions

When a mistake or pattern should be avoided in future:

1. Create instruction file at:
   ```
   Ariff-code-config/instructions/[category]-[topic].instructions.md
   ```

2. Use format:
   ```markdown
   ---
   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]
   ```

3. Add to 00_INSTRUCTIONS_INDEX.md if significant

## Reconciliation

If memories seem out of sync:
1. Query both systems for topic
2. Compare entries
3. Update older system with newer info
4. Remove duplicates with less detail

## When to Save

Save memory when:
- ✅ Task completed successfully
- ✅ Discovered non-obvious solution
- ✅ Made mistake worth remembering
- ✅ Found useful tool/command
- ✅ Clarified user preference

Skip saving when:
- ❌ Trivial task (simple file edit)
- ❌ Already documented elsewhere
- ❌ One-off unique situation
memory-sync | SkillHub