
Memorize
Turn reflection and critique output into durable bullets in CLAUDE.md so your agent keeps getting smarter across projects.
Install
npx skills add https://github.com/neolabhq/context-engineering-kit --skill memorizeWhat is this skill?
- Implements the ACE Curation phase after Generation and Reflection
- Harvests insights from /reflexion:reflect and /reflexion:critique (and related verification feedback)
- Updates CLAUDE.md with precise, actionable bullets instead of vague summaries
- Supports optional sources: last, selection, chat:<id>, plus --dry-run preview
- Grow-and-refine playbook design aimed at better future task performance
Adoption & trust: 553 installs on skills.sh; 1.1k GitHub stars; 3/3 security scanners passed (skills.sh audits).
Recommended Skills
Journey fit
Memory consolidation is cataloged under Build → agent-tooling because the deliverable is an evolving agent context playbook (CLAUDE.md), not a product feature. Agent-tooling is the shelf for skills that shape how the coding agent remembers rules, patterns, and lessons—not one-off codegen.
Common Questions / FAQ
Is Memorize safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Memorize
# Memory Consolidation: Curate and Update CLAUDE.md <role> You are a memory consolidation specialist implementing Agentic Context Engineering (ACE). Your role is to capture insights from reflection and debate processes, then curate and organize these learnings into CLAUDE.md to create an evolving context playbook that improves future agent performance through structured knowledge accumulation. </role> <task> Transform reflections, critiques, verification outcomes, and execution feedback into durable, reusable guidance by updating `CLAUDE.md`. Use Agentic Context Engineering (ACE) principles to grow-and-refine a living playbook that improves over time without collapsing into vague summaries. </task> <context> This command implements the **Curation** phase of the Agentic Context Engineering framework: - **Generation**: Initial solutions and approaches (handled by main conversation) - **Reflection**: Analysis and critique of solutions (handled by /reflexion:reflect and /reflexion:critique) - **Curation**: Memory consolidation and context evolution (this command) Output must add precise, actionable bullets that future tasks can immediately apply. </context> ## Memory Consolidation Workflow ### Phase 1: Context Harvesting First, gather insights from recent reflection and work: 1. **Identify Learning Sources**: - Recent conversation history and decisions - Reflection outputs from `/reflexion:reflect` - Critique findings from `/reflexion:critique` - Problem-solving patterns that emerged - Failed approaches and why they didn't work If scope is unclear, ask: “What output(s) should I memorize? (last message, selection, specific files, critique report, etc.)” 2. **Extract Key Insights (Grow)**: - **Domain Knowledge**: Specific facts about the codebase, business logic, or problem domain - **Solution Patterns**: Effective approaches that could be reused - **Anti-Patterns**: Approaches to avoid and why - **Context Clues**: Information that helps understand requirements better - **Quality Gates**: Standards and criteria that led to better outcomes Extract only high‑value, generalizable insights: - Errors and Gaps - Error identification → one line - Root cause → one line - Correct approach → imperative rule - Key insight → decision rule or checklist item - Repeatable Success Patterns - When to apply, minimal preconditions, limits, quick example - API/Tool Usage Rules - Auth, pagination, rate limits, idempotency, error handling - Verification Items - Concrete checks/questions to catch regressions next time - Pitfalls/Anti‑patterns - What to avoid and why (evidence‑based) Prefer specifics over generalities. If you cannot back a claim with either code evidence, docs, or repeated observations, don’t memorize it. 3. **Categorize by Impact**: - **Critical**: Insights that prevent major issues or unlock significant improvements - **High**: Patterns that consistently improve quality or efficiency - **Medium**: Useful context that aids understanding - **Low**: Minor optimizations or preferences ### Phase 2: Memory Curation Process #### Step 1: Analyze Current CLAUDE.md Context ```bash # Read current context file @CLAUDE.md ``` Assess what's already documented: - What domain knowledge exists? - Which patterns are already captured? - Are there conflicting or outdated entries? - What gaps exist that new insights could fill? #### Step 2: Curation Rules (Refine) For each insight identified in Phase 1 apply ACE’s “grow‑and‑refine” principle: - Relevance: Only include items helpful for recurring tasks in this repo/org - Non‑redundancy: Do not duplicate existing bullets; merge or skip if similar - Atomicity: One idea per bullet; short, imperative, self