本文へスキップ
Skillpedia
エージェント33k · #8537

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がスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/conversation-memory/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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:

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

repo: davila7/claude-code-templates

人気

GitHubのスター
33k
ランキング
#8537
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル