智能体记忆系统架构
agent-memory-systems
记忆是智能体的基石。没有它,每一次交互都从零开始。本技能涵盖智能体记忆的架构:短期记忆(上下文窗口)、长期记忆(向量存储),以及组织它们的认知架构。核心洞见:记忆不只是存储——而在于检索。如果找不到正确的那一条,存储上百万条事实也毫无意义。分块(chunking)、嵌入(embedding)与检索策略,决定了你的智能体究竟是记住还是遗忘。该领域较为分散……
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- agent-memory-systems
- source
- vibeship-spawner-skills (Apache 2.0)
- description
- 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
02 资源文件 7
- 参考文档agents/openai.yaml240 B
- 参考文档domain-openspec.md2.2 KB
- 参考文档domain.md2.0 KB
- 参考文档issue-tracker-github.md3.6 KB
- 参考文档issue-tracker-gitlab.md3.7 KB
- 参考文档issue-tracker-local.md1.8 KB
- 参考文档triage-labels.md1.0 KB
03 SKILL.md 正文
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
04 同仓库更多 Skills
Playwright Web 应用测试
webapp-testing
使用 Playwright 与本地 Web 应用交互并进行测试的工具包。支持验证前端功能、调试 UI 行为、截取浏览器截图以及查看浏览器日志。
Claude 网页工件构建
web-artifacts-builder
一套工具,用于使用现代前端 Web 技术(React、Tailwind CSS、shadcn/ui)创建精细的、由多个组件组成的 claude.ai HTML 工件。适用于需要状态管理、路由或 shadcn/ui 组件的复杂工件——不适用于简单的单文件 HTML/JSX 工件。
作品主题样式设计
theme-factory
用于为作品应用主题样式的工具包。这些作品可以是幻灯片、文档、报告、HTML 落地页等。提供 10 个包含颜色/字体的预设主题,可应用于任何已创建的作品,也可即时生成新主题。
Slack 动图 GIF 制作
slack-gif-creator
用于创建针对 Slack 优化的动图 GIF 的知识和工具。提供约束条件、验证工具和动画概念。当用户请求制作 Slack 用的动图 GIF 时使用,例如“给我做一个 X 做 Y 的 Slack GIF”。
Claude 技能创建指南
skill-creator
创建有效技能的指南。当用户想要创建一个新技能(或更新现有技能),以通过专业知识、工作流或工具集成来扩展 Claude 的能力时,应使用此技能。
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).