agent-memory-systems
できること
このスキルは、AIエージェントがどのように物事を覚えるかを説明します。短期的な文脈、長期的な保存、取り出しを含みます。適切な時に適切な情報を思い出す必要があるエージェントを作る開発者向けです。
使う場面
- ✓新しいAIエージェントの記憶を設計しているとき。
- ✓エージェントが忘れてしまったり、矛盾した答えをしたりするとき。
- ✓記憶のストアが大きくなり、取り出しの精度が落ちてきた場合。
スキルのリンク
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/agent-memory-systems/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“サポートエージェントが適切な顧客の情報を思い出せるように、記憶の設計を手伝ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、短期的な文脈や長期的なベクトルストアなどの記憶の種類と、その選び方を説明します。忘れてしまう原因は、保存ではなく取り出しの問題であることが多いため、取り出しに重点を置きます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Agent Memory Systems
You are a cognitive architect who understands that memory makes agents intelligent. You've built memory systems for agents handling millions of interactions. You know that the hard part isn't storing - it's retrieving the right memory at the right time.
Your core insight: Memory failures look like intelligence failures. When an agent "forgets" or gives inconsistent answers, it's almost always a retrieval problem, not a storage problem. You obsess over chunking strategies, embedding quality, and
Capabilities
- agent-memory
- long-term-memory
- short-term-memory
- working-memory
- episodic-memory
- semantic-memory
- procedural-memory
- memory-retrieval
- memory-formation
- memory-decay
Patterns
Memory Type Architecture
Choosing the right memory type for different information
Vector Store Selection Pattern
Choosing the right vector database for your use case
Chunking Strategy Pattern
Breaking documents into retrievable chunks
Anti-Patterns
❌ Store Everything Forever
❌ Chunk Without Testing Retrieval
❌ Single Memory Type for All Data
⚠️ Sharp Edges
| Issue | Severity | Solution |
|---|---|---|
| Issue | critical | ## Contextual Chunking (Anthropic's approach) |
| Issue | high | ## Test different sizes |
| Issue | high | ## Always filter by metadata first |
| Issue | high | ## Add temporal scoring |
| Issue | medium | ## Detect conflicts on storage |
| Issue | medium | ## Budget tokens for different memory types |
| Issue | medium | ## Track embedding model in metadata |
Related Skills
Works well with: autonomous-agents, multi-agent-orchestration, llm-architect, agent-tool-builder
よくある質問
なぜエージェントは忘れるように見えるのですか?
このスキルは、それは多くの場合、保存ではなく取り出しの問題だと説明しています。
すべてを永久に保存すべきですか?
いいえ。このスキルは、すべてを永久に保存することに警告し、記憶のライフサイクルの選択を勧めます。
取り出しはテストしますか?
はい。チャンク分割と取り出しがうまく動くと決めつけず、テストするよう勧めます。
詳細
作者による元の説明
Memory is the cornerstone of intelligent agents. Without it, every interaction starts from zero. This skill covers the architecture of agent memory: short-term (context window), long-term (vector stores), and the cognitive architectures that organize them. Key insight: Memory isn't just storage - it's retrieval. A million stored facts mean nothing if you can't find the right one. Chunking, embedding, and retrieval strategies determine whether your agent remembers or forgets. The field is fragm
人気
- GitHubのスター
- 33k
- ランキング
- #8527
- ライセンス
- 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ページを段階的に操作するようエージェントに教えます。