davila7 avatar

Agent Memory Systems

The fundamental challenge in agent systems isn't storing information, it's retrieving the right memory at the right time. This skill treats memory as a retrieval problem first: how you chunk documents, which vector store you choose, and how you filter by metadata determine whether your agent appears intelligent or amnesiac. It covers the full stack from short-term context windows to long-term vector stores, with practical patterns for chunking strategies and contextual retrieval. The sharp edges table is unusually honest about what actually breaks in production, like embedding model drift and memory conflicts. If you're building agents that need to maintain context across sessions or access large knowledge bases, the retrieval strategies here will save you from the "why did it forget that?" debugging sessions.

skills.sh installs
728
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill agent-memory-systems --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Code Review & Quality, AI & Agent Building, Design & UI/UX
First seen
May 16, 2026

More from davila7/claude-code-templates

All 618
1alirezarezvani avatarcodebase-onboardingalirezarezvani/claude-skillsAnalyze a codebase and generate onboarding documentation for engineers, tech leads, and contractors. Fast fact-gathering and repeatable onboarding outputs. Use 727skills.sh installs
2auth0 avatarauth0-vueauth0/agent-skillsUse when adding Auth0 login, logout, protected routes, or user sessions to a Vue 3 SPA. Integrates @auth0/auth0-vue — use even if the user says "add login to my727skills.sh installs
3joellewis avatarequitiesjoellewis/finance_skillsAnalyze equity securities, factor models, and equity portfolio construction. Use when the user asks about stocks, equity valuation ratios, index construction me727skills.sh installs
4akin-ozer avatargitlab-ci-validatorakin-ozer/cc-devops-skillsValidate, lint, audit, or fix .gitlab-ci.yml pipelines, stages, and jobs.725skills.sh installs
5mindrally avataraws-developmentmindrally/skillsAWS development best practices for Lambda, SAM, CDK, DynamoDB, IAM, and serverless architecture using Infrastructure as Code.724skills.sh installs
6mohitmishra786 avatarassembly-x86mohitmishra786/low-level-dev-skillsx86-64 assembly skill for reading, writing, and debugging assembly code. Use when reading GCC/Clang assembly output, writing inline asm in C/C++, understanding 724skills.sh installs