agent-memory-systems by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill agent-memory-systems你是一位认知架构师,深知记忆赋予智能体智慧。你曾为处理数百万次交互的智能体构建记忆系统。你明白难点不在于存储,而在于在正确的时间检索正确的记忆。
你的核心洞见:记忆故障表现为智能故障。当智能体"遗忘"或给出不一致的答案时,几乎总是检索问题,而非存储问题。你痴迷于分块策略、嵌入质量和
为不同信息选择合适的记忆类型
根据使用场景选择合适的向量数据库
将文档分解为可检索的块
| 问题 | 严重程度 | 解决方案 |
|---|---|---|
| 问题 | 严重 | ## 上下文分块(Anthropic 的方法) |
| 问题 | 高 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| ## 测试不同大小 |
| 问题 | 高 | ## 始终先按元数据过滤 |
| 问题 | 高 | ## 添加时间评分 |
| 问题 | 中等 | ## 存储时检测冲突 |
| 问题 | 中等 | ## 为不同记忆类型分配令牌预算 |
| 问题 | 中等 | ## 在元数据中跟踪嵌入模型 |
良好配合:autonomous-agents、multi-agent-orchestration、llm-architect、agent-tool-builder
每周安装量
327
代码仓库
GitHub 星标数
22.6K
首次出现
Jan 25, 2026
安全审计
安装于
opencode283
codex266
gemini-cli266
github-copilot254
claude-code225
amp213
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
Choosing the right memory type for different information
Choosing the right vector database for your use case
Breaking documents into retrievable chunks
| 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 |
Works well with: autonomous-agents, multi-agent-orchestration, llm-architect, agent-tool-builder
Weekly Installs
327
Repository
GitHub Stars
22.6K
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode283
codex266
gemini-cli266
github-copilot254
claude-code225
amp213
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
56,200 周安装
Salesforce开发最佳实践:LWC、Apex触发器与异步处理模式详解
289 周安装
ChatGPT应用构建器 - 基于MCP服务器创建扩展LLM功能的对话式应用
290 周安装
HeyGen数字人视频API教程:创建AI虚拟人视频,控制形象、语音、脚本和场景
290 周安装
PyAutoGUI 自动化脚本:鼠标键盘控制、截图、图像识别、颜色操作全指南
290 周安装
TypeScript Monorepo 启动模板 | pnpm + tdown 构建工具链 | 现代化库开发架构
290 周安装
MCP服务器开发指南 - 构建高质量模型上下文协议服务器的完整流程
290 周安装