conversation-memory

Manage persistent short-term, long-term, and entity-based memory for LLM conversations.

1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/jieni777/opencode-config-backup --skill conversation-memory-jieni777
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: conversation-memory
Source: https://github.com/jieni777/opencode-config-backup/tree/main/skills/conversation-memory
Command: npx skills add https://github.com/jieni777/opencode-config-backup --skill conversation-memory-jieni777

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Persistent memory management for LLM conversations across sessions, enabling continuity and relevance by remembering user preferences, entities, and context over time.

Core Features & Use Cases

  • Short-term memory for immediate context during a chat.
  • Long-term memory to preserve user preferences and facts across sessions.
  • Entity memory to track facts about users and entities.
  • Memory persistence and retrieval to surface relevant memories in prompts.
  • Safe memory lifecycle management and privacy controls for data.

Quick Start

Enable persistent memory for your assistant with consent and configure memory scopes for the current user.

Frequently Asked Questions about conversation-memory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I maintain persistent memory for LLM conversations across sessions?

Persistent memory for LLM conversations is maintained by applying a tiered architecture that stores and retrieves short-term, long-term, and entity-based memory across sessions. This preserves user preferences, entities, and context over time.

What is the difference between short-term and long-term memory in chat assistants?

Short-term memory retains immediate context during an active chat, while long-term memory preserves user preferences and facts across distinct sessions. Entity memory specifically tracks facts about users and referenced entities.

How do I retrieve relevant memories to include in an LLM prompt?

Memory retrieval surfaces relevant stored memories by applying memory-aware prompting within the LLM conversation. This mechanism injects preserved context and user details directly into the active prompt.

Does this memory management approach include privacy controls for user data?

Yes, the memory lifecycle management includes built-in privacy and safety safeguards for user data. Safe memory controls are applied when configuring memory scopes for individual users with consent.

When do I need entity-based memory for a knowledge-driven agent?

Entity-based memory is needed when a knowledge-driven agent must track specific facts about users and referenced entities over time. It preserves continuity and relevance by applying memory-type definitions within a tiered architecture.