本文へ移動
cccskills
無料GitHub で公開

memory-sync

Memory Sync Skill

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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

## 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:

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Complete methodology for preventing AI hallucinations. Use when accuracy is critical and you need Claude to verify before claiming, cite before asserting, and admit uncertainty instead of guessing.

日本語の概要は準備中です。原文の説明を表示しています。

a-ariff/ariff-claude-plugins142026年3月29日 更新

Transform rough ideas into solid designs through structured questioning

日本語の概要は準備中です。原文の説明を表示しています。

a-ariff/ariff-claude-plugins142026年3月29日 更新

Canvas API Connection Skill

日本語の概要は準備中です。原文の説明を表示しています。

a-ariff/ariff-claude-plugins142026年3月29日 更新

Forces every code-related claim to include file:line citations. No citation means the claim must be verified or removed. Use when building documentation, writing code reviews, or any output that others will rely on.

日本語の概要は準備中です。原文の説明を表示しています。

a-ariff/ariff-claude-plugins142026年3月29日 更新

Assign confidence scores (0-100) to every claim in a response. Helps users understand which parts are verified facts and which are educated guesses. Use when the user needs to know how much to trust each part of the answer.

日本語の概要は準備中です。原文の説明を表示しています。

a-ariff/ariff-claude-plugins142026年3月29日 更新

Forces Claude to extract exact quotes from files before making claims about them. Prevents hallucinations by grounding every statement in actual text from the codebase. Use when working with large files or unfamiliar code.

日本語の概要は準備中です。原文の説明を表示しています。

a-ariff/ariff-claude-plugins142026年3月29日 更新

a-ariff のスキルをすべて見る

このスキルの問題を報告する