Skip to content
Back to skills

Consolidate Memory

ASecurity

Use when a plan finishes or agent memories have piled up. Merges agent project memories and notepad learnings into the project's auto-memory index.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 16, 2026
ai-agents

Works with

  • mcp

Security analysis

A100/100

Scanned October 16, 2026

npx -y skills add UtsavBalar1231/oh-my-claudeagent --skill consolidate-memory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Consolidate Memory?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Consolidate Memory
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/utsavbalar1231-consolidate-memory/badge)](https://www.skillsdirectory.com/skills/utsavbalar1231-consolidate-memory)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: consolidate-memory
description: Use when a plan finishes or agent memories have piled up. Merges agent project memories and notepad learnings into the project's auto-memory index.
---

# Consolidate memory

Consolidate session knowledge into persistent memory.

## Steps

1. `notepad_read(plan_name)`: all sections for active plan; load it if needed: `ToolSearch({query: "select:mcp__plugin_oh-my-claudeagent_omca__notepad_read", max_results: 1})`
2. Read agent memory files at both scopes if accessible:
   - user scope: `~/.claude/agent-memory/*/MEMORY.md`
   - project scope: `.claude/agent-memory/*/MEMORY.md` (platform writes project memories here, resolving from the project root)
3. Identify learnings, patterns, decisions worth preserving
4. Update the project's auto-memory index, `~/.claude/projects/<project>/memory/MEMORY.md` (or `MEMORY.md` under the `autoMemoryDirectory` setting when set): concise, deduplicated
5. Note what was kept vs too session-specific

## Guidelines

- Only persist patterns confirmed across multiple interactions
- Remove session-specific context (in-progress tasks, temporary state)
- Organize by topic, not chronologically
- MEMORY.md loads first 200 lines or 25KB per session. Consolidate when approaching limits.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.