
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.
- Installs
- 53
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/composio-community/opencode-skills --skill memory-management- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads memory-management automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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:
-
Create a project workspace.
-
Create folders for:
- notes
- tasks
- memory summaries
- project state
- references
Recommended structure:
memory/
active-context.md
project-summary.md
tasks.md
decisions.md
- 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:
- Track active project goals
- Preserve important architectural decisions
- Maintain task progress summaries
- Store reusable workflow knowledge
- Update memory files incrementally
- 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:
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:
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:
- Store only high-value context
- Keep memory lightweight and structured
- Update summaries incrementally
- Preserve important workflow continuity
- Remove outdated or noisy information
- 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
FAQ
What does the memory-management skill do?
Workflow for building lightweight memory systems for Claude that improve long-term context retention, workflow continuity, task tracking, and agent consistency across projects.
How do I install memory-management?
Run npx skills add https://github.com/composio-community/opencode-skills --skill memory-management in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/memory-management/ (personal) or .claude/skills/memory-management/ (project).
Which AI agents can use memory-management?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is memory-management safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains memory-management?
It is published by composio-community in composio-community/opencode-skills. It has 53 recorded installs.
More from composio-community/opencode-skills
frontend-design-systems
composio-community/opencode-skills
Open the skill to read its SKILL.md instructions.
playwright-mcp-workflows
composio-community/opencode-skills
Open the skill to read its SKILL.md instructions.
repo-context-packaging
composio-community/opencode-skills
Open the skill to read its SKILL.md instructions.
vercel-react-best-practices
composio-community/opencode-skills
Open the skill to read its SKILL.md instructions.
multi-agent-orchestration
composio-community/opencode-skills
Open the skill to read its SKILL.md instructions.
context-engineering
composio-community/opencode-skills
Workflow for managing, structuring, compressing, and orchestrating context effectively for Claude and AI agent systems to improve reasoning quality, execution consistency, and long-term workflow scalability.
Popular productivity & automation skills
agent-browser
vercel-labs/agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
lark-doc
open.feishu.cn
飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。
lark-base
open.feishu.cn
飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。
lark-drive
open.feishu.cn
飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。
lark-shared
open.feishu.cn
Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.
lark-im
open.feishu.cn
飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。