Skip to main content

memory-management

Workflow for building lightweight memory systems for Claude that improve long-term context retention, workflow continuity, task tracking, and agent consistency across projects.

Source facts

Repository
composio-community/opencode-skills
Last source activity
May 19, 2026 at 08:36
Detected SKILL.md language
English
Stars
16
Forks
1

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
memory-management
description
Workflow for building lightweight memory systems for Claude that improve long-term context retention, workflow continuity, task tracking, and agent consistency across projects.
# Memory Management ## Overview This skill enables Claude to manage lightweight memory systems that improve continuity across conversations, projects, and long-running workflows. The workflow focuses on: - persistent context organization - project memory - task continuity - structured note systems - workflow recall - lightweight agent memory architecture - long-term execution consistency The goal is to help Claude retain and organize important information in a structured way without overwhelming the workflow with unnecessary complexity. This skill is intentionally lightweight and beginner-friendly so users can understand the fundamentals of memory systems before building more advanced agent architectures. --- # Setup Before starting: 1. Create a project workspace. 2. Create folders for: - notes - tasks - memory summaries - project state - references Recommended structure: ```plaintext memory/ active-context.md project-summary.md tasks.md decisions.md ``` 3. Choose a storage system. Recommended options: - Markdown files - GitHub repositories - Notion - Obsidian - Local JSON files Recommended tools: - VS Code - Markdown editors - Git - Claude Optional: - Vector databases - Local embeddings - Memory indexing systems --- # Inputs Required - Project information - Ongoing tasks - Important decisions - Workflow state - Persistent user preferences Optional: - Existing documentation - Session logs - Git history - Previous summaries --- # When to Use This Skill Use this skill when: - managing long-term projects - maintaining workflow continuity - tracking ongoing tasks - preserving important decisions - building AI agent systems - improving multi-session consistency - organizing persistent project knowledge --- # When NOT to Use Do NOT use this skill for: - temporary one-off tasks - storing unnecessary details - excessive logging without structure - highly sensitive private data - short-lived experiments with no continuity needs --- # Example Use Case > Maintain project continuity for a long-term AI tooling repository. Claude should: 1. Track active project goals 2. Preserve important architectural decisions 3. Maintain task progress summaries 4. Store reusable workflow knowledge 5. Update memory files incrementally 6. Keep context lightweight and structured Final result should: - improve continuity - reduce repeated explanations - maintain project consistency - support long-running workflows - remain easy to review and update --- # Core Memory Principles ## 1. Keep Memory Lightweight Good memory systems should remain: - simple - structured - easy to review - easy to update Avoid: - storing everything - excessive logs - unstructured dumping - noisy context accumulation Lightweight memory improves: - usability - clarity - maintainability --- ## 2. Store High-Value Context Only Memory should prioritize: - important decisions - active tasks - project goals - reusable workflows - recurring preferences Avoid storing: - temporary conversation filler - irrelevant details - duplicate information Good memory systems focus on: - relevance - usefulness - continuity --- ## 3. Organize Memory Structurally Memory becomes more useful when categorized clearly. Recommended categories: - active context - project summaries - task tracking - technical decisions - workflow patterns Example structure: ```plaintext memory/ active-context.md tasks.md architecture-decisions.md workflows.md ``` Structured memory improves: - retrieval - readability - scalability --- ## 4. Update Memory Incrementally Memory should evolve gradually. Claude should: - summarize changes - update task states - refine project understanding - remove outdated context Avoid: - rewriting everything constantly - storing conflicting information - allowing stale context to accumulate --- ## 5. Memory Should Improve Execution The purpose of memory is not storage alone. Good memory systems improve: - execution quality - workflow continuity - planning consistency - long-term project understanding Claude should use memory to: - reduce repeated explanations - maintain project alignment - improve future execution --- # Workflow ## 1. Define What Should Be Remembered Start by identifying: - ongoing tasks - project goals - recurring workflows - important technical decisions - persistent user preferences Focus on: - long-term relevance - execution value - continuity support --- ## 2. Create Lightweight Memory Files Create structured files such as: ```plaintext active-context.md tasks.md decisions.md project-summary.md ``` Each file should remain: - concise - readable - easy to update Avoid: - giant unstructured logs - duplicated context - unnecessary verbosity --- ## 3. Track Active Workflows Maintain: - current objectives - blockers - recent progress - pending tasks Claude should summarize: - what changed - what matters next - what context remains important This improves: - workflow continuity - execution speed - planning clarity --- ## 4. Preserve Important Decisions Track: - architectural choices - workflow patterns - implementation strategies - recurring preferences Good decision tracking prevents: - repeated debates - inconsistent execution - lost project context --- ## 5. Review & Refine Memory Regularly: - remove outdated information - simplify summaries - merge duplicate context - improve organization Good memory systems remain: - clean - relevant - low-noise --- ## 6. Use Memory During Execution Claude should actively reference memory to: - maintain continuity - avoid repeated explanations - align with project goals - preserve workflow consistency Memory should improve: - planning - execution quality - long-term collaboration --- ## 7. Validate Memory Quality Before finalizing: - ensure memory remains relevant - remove stale context - verify task accuracy - simplify overly complex structures Good memory systems should feel: - lightweight - useful - scalable - easy to navigate --- # Output Expectations The final output should include: - structured memory files - lightweight context summaries - task continuity systems - project state tracking - reusable workflow knowledge The workflow itself should remain: - simple - maintainable - scalable - low-noise - execution-focused --- # Execution Strategy (for AI agents) The agent should: 1. Store only high-value context 2. Keep memory lightweight and structured 3. Update summaries incrementally 4. Preserve important workflow continuity 5. Remove outdated or noisy information 6. Use memory to improve future execution quality The workflow should optimize for: - continuity - clarity - scalability - long-term usefulness - execution consistency --- # Best Practices - Keep memory concise - Store only useful long-term context - Organize memory structurally - Update incrementally - Remove stale information regularly - Preserve important decisions clearly - Use memory to improve execution, not just storage --- # Notes - Lightweight memory systems are easier to maintain - Good memory improves long-term workflow consistency - Excessive context storage reduces clarity - Structured summaries scale better than raw logs - Simple memory systems are the best starting point for agent workflows
View on GitHub