a5c-ai/babysitter / library/specializations/ai-agents-conversational/skills/langchain-memory
langchain-memory
VerifiedLangChain memory integration including ConversationBufferMemory, ConversationSummaryMemory, and vector-based memory
SKILL.md
View on GitHub---
name: langchain-memory
description: LangChain memory integration including ConversationBufferMemory, ConversationSummaryMemory, and vector-based memory
allowed-tools:
- Read
- Write
- Edit
- Bash
- Glob
- Grep
graph:
domains: [domain:software-engineering]
specializations: [specialization:ai-agents-conversational]
skillAreas: [skill-area:context-management, skill-area:retrieval-augmented-generation]
roles: [role:ml-engineer, role:backend-engineer]
workflows: [workflow:feature-development, workflow:ml-model-lifecycle]
---
# LangChain Memory Skill
## Capabilities
- Implement various LangChain memory types
- Configure ConversationBufferMemory for short-term recall
- Set up ConversationSummaryMemory for long conversations
- Integrate vector-based memory for semantic search
- Design memory retrieval strategies
- Handle memory persistence and serialization
## Target Processes
- conversational-memory-system
- chatbot-design-implementation
## Implementation Details
### Memory Types
1. **ConversationBufferMemory**: Stores full conversation history
2. **ConversationBufferWindowMemory**: Rolling window of recent messages
3. **ConversationSummaryMemory**: Summarizes older messages
4. **ConversationSummaryBufferMemory**: Hybrid approach
5. **VectorStoreRetrieverMemory**: Semantic similarity-based retrieval
### Configuration Options
- Memory key naming conventions
- Return message format (string vs messages)
- Summary LLM selection
- Vector store backend selection
- Token limits and window sizes
### Dependencies
- langchain
- langchain-community
- Vector store client (optional)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |