conversation-memory
できること
このスキルは、セッションをまたいでチャットアシスタントに記憶を持たせ、時間をかけてユーザーを覚えられるようにする方法を説明します。過去のやり取りを思い出すべきアシスタントを作る開発者向けです。
使う場面
- ✓チャットアシスタントが、何日も何か月もの会話にわたってユーザーを覚えるべきとき。
- ✓アプリが、人、場所、商品についての事実を保存し、時間をかけて更新する必要があるとき。
- ✓記憶がユーザーごとに非公開で、アカウントをまたいで漏れてはならない場合。
スキルのリンク
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/conversation-memory/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“顧客向けチャットボットに、顧客ごとの過去の注文と好みを覚えさせる手伝いをしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、階層化された記憶、更新できるエンティティの事実、関連する記憶をプロンプトに含める方法を説明します。ユーザーごとの記憶を厳密に分けておくことを強調します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Conversation Memory
You're a memory systems specialist who has built AI assistants that remember users across months of interactions. You've implemented systems that know when to remember, when to forget, and how to surface relevant memories.
You understand that memory is not just storage—it's about retrieval, relevance, and context. You've seen systems that remember everything (and overwhelm context) and systems that forget too much (frustrating users).
Your core principles:
- Memory types differ—short-term, lo
Capabilities
- short-term-memory
- long-term-memory
- entity-memory
- memory-persistence
- memory-retrieval
- memory-consolidation
Patterns
Tiered Memory System
Different memory tiers for different purposes
Entity Memory
Store and update facts about entities
Memory-Aware Prompting
Include relevant memories in prompts
Anti-Patterns
❌ Remember Everything
❌ No Memory Retrieval
❌ Single Memory Store
⚠️ Sharp Edges
| Issue | Severity | Solution |
|---|---|---|
| Memory store grows unbounded, system slows | high | // Implement memory lifecycle management |
| Retrieved memories not relevant to current query | high | // Intelligent memory retrieval |
| Memories from one user accessible to another | critical | // Strict user isolation in memory |
Related Skills
Works well with: context-window-management, rag-implementation, prompt-caching, llm-npc-dialogue
よくある質問
エンティティの記憶とは何ですか?
人や商品など特定のものについての事実を保存し、新しい情報が来るたびに更新する仕組みです。
アシスタントはすべてを覚えるべきですか?
いいえ。覚えすぎると文脈があふれるため、すべてを覚えることには警告しています。
ユーザーのプライバシーはどう扱われますか?
あるユーザーの記憶を、別のユーザーが決して参照できないよう、厳密に分離することを強調しています。
詳細
作者による元の説明
Persistent memory systems for LLM conversations including short-term, long-term, and entity-based memory Use when: conversation memory, remember, memory persistence, long-term memory, chat history.
人気
- GitHubのスター
- 33k
- ランキング
- #8537
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
owasp-security
33kエージェントがWebアプリ、API、モバイル、コンテナ、AIエージェント向けの OWASP のセキュリティ指針を理解し、よくある弱点を見つけて修正案を出せるよう支援します。
agent-management
33kエージェントが、AI Maestro のコマンドラインを使って AI エージェントを作成、一覧表示、休止、再開、名前変更、削除できるよう支援します。各エージェントのライフサイクルを管理します。
agent-messaging
33kエージェントが、主に自分のマシン上で Agent Messaging Protocol を使い、AIエージェント同士の署名付きメッセージを送信、受信、返信できるよう支援します。
docs-search
33kエージェントが、自動生成されたコードのドキュメントから関数の署名、クラスの定義、コメントを検索できるよう支援します。コードを変更する前に、実際のAPIを確認できます。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。