pluginagentmarketplace/custom-plugin-ai-agents · Archived

agent-memory

Implement agent memory - short-term, long-term, semantic storage, and retrieval

First seen Jan 27, 2026

Installation

$ npx skills add pluginagentmarketplace/custom-plugin-ai-agents --skill agent-memory

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from pluginagentmarketplace/custom-plugin-ai-agents.

npx skills add pluginagentmarketplace/custom-plugin-ai-agents

Browse all from pluginagentmarketplace/custom-plugin-ai-agents

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Version2.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,522 B
  • docs SUMMARY.md 99 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 66 installs

SKILL.md

Agent Memory

Give agents the ability to remember and learn across conversations.

When to Use This Skill

Invoke this skill when:

  • Adding conversation history
  • Implementing long-term memory
  • Building personalized agents
  • Managing context windows

Parameter Schema

Parameter Type Required Description Default
task string Yes Memory goal -
memory_type enum No buffer, summary, vector, hybrid hybrid
persistence enum No session, user, global session

Quick Start

from langchain.memory import ConversationBufferWindowMemory

# Simple buffer (last k messages)
memory = ConversationBufferWindowMemory(k=10)

# With summarization
from langchain.memory import ConversationSummaryBufferMemory
memory = ConversationSummaryBufferMemory(llm=llm, max_token_limit=2000)

# Vector store memory
from langchain.memory import VectorStoreRetrieverMemory
memory = VectorStoreRetrieverMemory(retriever=vectorstore.as_retriever())

Memory Types

Type Use Case Pros Cons
Buffer Short chats Simple No compression
Summary Long chats Compact Loses detail
Vector Semantic recall Relevant Slower
Hybrid Production Best of all Complex

Multi-Layer Architecture

class ProductionMemory:
    def __init__(self):
        self.short_term = BufferMemory(k=10)    # Recent
        self.summary = SummaryMemory()           # Compressed
        self.long_term = VectorMemory()          # Semantic

Troubleshooting

Issue Solution
Context overflow Add summarization
Slow retrieval Cache, reduce k
Irrelevant recall Improve embeddings
Memory not persisting Check storage backend

Best Practices

  • Use multi-layer memory for production
  • Set token limits to prevent overflow
  • Add metadata (timestamps, importance)
  • Implement TTL for old memories

Related Skills

  • rag-systems - Vector retrieval
  • llm-integration - Context management
  • ai-agent-basics - Agent architecture

References