Curates insights from reflections and critiques into CLAUDE.md using Agentic Context Engineering

GPL-3.0Auto-check passedAgent Workflows

Install Memorize

skills CLI
$ npx skills add NeoLabHQ/context-engineering-kit --skill memorize -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NeoLabHQ/context-engineering-kit memorize --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NeoLabHQ/context-engineering-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/memorize .claude/skills/memorize && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
memorize
GitHub stars
1.8k
Token cost
~2.7k tokens
SKILL.md length
1,171 words
Files
1
Skills in repo
57
Repo updated
First seen
Licence
GPL-3.0

At a glance

Curates insights from reflections and critiques into CLAUDE.md using Agentic Context Engineering

  • Works in 4 steps: Context Harvesting → Memory Curation Process → CLAUDE.md Updates → …
  • Tasks that involve Context engineering
  • SKILL.md covers Memory Consolidation Workflow, Usage, Output and Notes
  • Reaches arxiv.org

What it does

Memorize is an agent skill from NeoLabHQ/context-engineering-kit. Curates insights from reflections and critiques into CLAUDE.md using Agentic Context Engineering

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Context engineering and Agent instruction files. The repository describes itself as: Hand-crafted Claude Code Skills focused on improving agent results quality. Compatible with OpenCode, Cursor, Antigravity, Gemini CLI, and others. Includes CodeRabbit open-source… The licence is GPL-3.0.

When your agent uses it

  • Tasks that involve Context engineering
  • Tasks that involve Agent instruction files

Example prompts

  • “Use the memorize skill to curate insights from reflections and critiques into CLAUDE.md using Agentic Context Engineering”
  • “/memorize”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Context Harvesting
  2. Memory Curation Process
  3. CLAUDE.md Updates
  4. Memory Validation

What it can do on your machine

Read from SKILL.md and the folder at commit 23e2428. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • arxiv.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Memorize loads about 2.7k tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 1,171 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from NeoLabHQ/context-engineering-kit at commit 23e2428, republished under its GPL-3.0 licence (© NeoLabHQ). 1,171 words, ~2,749 tokens.

Download SKILL.mdSave it as .claude/skills/memorize/SKILL.md (or your agent's skills folder).
name
memorize
description
Curates insights from reflections and critiques into CLAUDE.md using Agentic Context Engineering

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.)”

  1. 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.

  1. 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‑contained
  • Verifiability: Avoid speculative claims; link docs when stating external facts
  • Safety: No secrets, tokens, internal URLs, or private PII
  • Stability: Prefer strategies that remain valid over time; call out version‑specifics
Step 3: Apply Curation Transformation

Generation → Curation Mapping:

  • Raw insight: [What was learned]
  • Context category: [Where it fits in CLAUDE.md structure]
  • Actionable format: [How to phrase it for future use]
  • Validation criteria: [How to know if it's being applied correctly]

Example Transformation:

Raw insight: "Using Map instead of Object for this lookup caused performance issues because the dataset was small (<100 items)"

Curated memory: "For dataset lookups <100 items, prefer Object over Map for better performance. Map is optimal for 10K+ items. Use performance testing to validate choice."
Step 4: Prevent Context Collapse

Ensure new memories don't dilute existing quality context:

  1. Consolidation Check:

    • Can this insight be merged with existing knowledge?
    • Does it contradict something already documented?
    • Is it specific enough to be actionable?
  2. Specificity Preservation:

    • Keep concrete examples and code snippets
    • Maintain specific metrics and thresholds where available
    • Include failure conditions alongside success patterns
  3. Organization Integrity:

    • Place insights in appropriate sections
    • Maintain consistent formatting
    • Update related cross-references

If a potential bullet conflicts with an existing one, prefer the more specific, evidence‑backed rule and mark the older one for future consolidation (but do not auto‑delete).

Phase 3: CLAUDE.md Updates

Update the context file with curated insights:

Where to Write in CLAUDE.md

Create the file if missing with these sections (top‑level headings):

  1. Project Context

    • Domain Knowledge: Business domain insights
    • Technical constraints discovered
    • User behavior patterns
  2. Code Quality Standards

    • Performance criteria that matter
    • Security considerations
    • Maintainability patterns
  3. Architecture Decisions

    • Patterns that worked well
    • Integration approaches
    • Scalability considerations
  4. Testing Strategies

    • Effective test patterns
    • Edge cases to always consider
    • Quality gates that catch issues
  5. Development Guidelines

    • APIs to Use for Specific Information
    • Formulas and Calculations
    • Checklists for Common Tasks
    • Review criteria that help
    • Documentation standards
    • Debugging techniques
  6. Strategies and Hard Rules

    • Verification Checklist
    • Patterns and Playbooks
    • Anti‑patterns and Pitfalls

Place each new bullet under the best‑fit section. Keep bullets concise and actionable.

Show full SKILL.md (414 more words)Show less
Memory Update Template

For each significant insight, add structured entries:

markdown
## [Domain/Pattern Category]

### [Specific Context or Pattern Name]

**Context**: [When this applies]

**Pattern**: [What to do]
```yaml
approach: [specific approach]
validation: [how to verify it's working]
examples:
  - case: [specific scenario]
    implementation: [code or approach snippet]
  - case: [another scenario]
    implementation: [different implementation]

Avoid: [Anti-patterns or common mistakes]

  • [mistake 1]: [why it's problematic]
  • [mistake 2]: [specific issues caused]

Confidence: [High/Medium/Low based on evidence quality]

Source: [reflection/critique/experience date]

Phase 4: Memory Validation
Quality Gates (Must Pass)

After updating CLAUDE.md:

  1. Coherence Check:

    • Do new entries fit with existing context?
    • Are there any contradictions introduced?
    • Is the structure still logical and navigable?
  2. Actionability Test: A developer should be able to use the bullet immediately

    • Could a future agent use this guidance effectively?
    • Are examples concrete enough?
    • Are success/failure criteria clear?
  3. Consolidation Review: No near‑duplicates; consolidate wording if similar exists

    • Can similar insights be grouped together?
    • Are there duplicate concepts that should be merged?
    • Is anything too verbose or too vague?
  4. Scoped: Names technologies, files, or flows when relevant

  5. Evidence‑backed: Derived from reflection/critique/tests or official docs

Memory Quality Indicators

Track the effectiveness of memory updates:

Successful Memory Patterns
  • Specific Thresholds: "Use pagination for lists >50 items"
  • Contextual Patterns: "When user mentions performance, always measure first"
  • Failure Prevention: "Always validate input before database operations"
  • Domain Language: "In this system, 'customer' means active subscribers only"
Memory Anti-Patterns to Avoid
  • Vague Guidelines: "Write good code" (not actionable)
  • Personal Preferences: "I like functional style" (not universal)
  • Outdated Context: "Use jQuery for DOM manipulation" (may be obsolete)
  • Over-Generalization: "Always use microservices" (ignores context)
Implementation Notes
  1. Incremental Updates: Add insights gradually rather than massive rewrites
  2. Evidence-Based: Only memorize patterns with clear supporting evidence
  3. Context-Aware: Consider project phase, team size, constraints when curating
  4. Version Awareness: Note when insights become obsolete due to tech changes
  5. Cross-Reference: Link related concepts within CLAUDE.md for better navigation
Expected Outcomes

After effective memory consolidation:

  • Faster Problem Recognition: Agent quickly identifies similar patterns
  • Better Solution Quality: Leverages proven approaches from past success
  • Fewer Repeated Mistakes: Avoids anti-patterns that caused issues before
  • Domain Fluency: Uses correct terminology and understands business context
  • Quality Consistency: Applies learned quality standards automatically

Usage

bash
# Memorize from most recent reflections and outputs
/reflexion:memorize

# Dry‑run: show proposed bullets without writing to CLAUDE.md
/reflexion:memorize --dry-run

# Limit number of bullets
/reflexion:memorize --max=5

# Target a specific section
/reflexion:memorize --section="Verification Checklist"

# Choose source
/reflexion:memorize --source=last|selection|chat:<id>

Output

  1. Short summary of additions (counts by section)
  2. Confirmation that CLAUDE.md was created/updated

Notes

  • This command is the counterpart to /reflexion:reflect: reflect → curate → memorize.
  • The design follows ACE to avoid brevity bias and context collapse by accumulating granular, organized knowledge over time (https://arxiv.org/pdf/2510.04618).
  • Do not overwrite or compress existing context; only add high‑signal bullets.

Remember: The goal is not to memorize everything, but to curate high-impact insights that consistently improve future agent performance. Quality over quantity - each memory should make future work measurably better.

© NeoLabHQ, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/memorize of NeoLabHQ/context-engineering-kit.

Open the folder on GitHubat commit 23e2428

Compare with similar skills

Memorize next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Memorize compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memorize this skillNeoLabHQ/context-engineering-kit1.8k—~2.7kAutomated safety check: PassGPL-3.0
Context Engineeringabashev/vfs-s31069 repos~2.6kAutomated safety check: NotesApache-2.0
Harness Engineering10xChengTu/harness-engineering1021 repos~1kAutomated safety check: PassNone
Cc Dev Agentsangrokjung/claude-forge852—~771Automated safety check: PassMIT
Caveman Learn Token FixesJuliusBrussee/caveman111k—~2.8kAutomated safety check: PassApache-2.0
Context Routing Auditwithkynam/vibecode-pro-max-kit1.1k—~1.2kAutomated safety check: PassMIT

Similar skills

  • Context Engineering

    abashev/vfs-s3

    Optimizes agent context setup. An agent skill from abashev/vfs-s3.

    106 GitHub starsUsed in 9 repos~2.6k tokens
    Agent WorkflowsAuto-check: notes
  • Harness Engineering

    10xChengTu/harness-engineering

    Set up and improve harness engineering (AGENTS.md, docs/, lint rules, eval systems, project-level prompt engineering) for AI-agent-friendly codebases.

    102 GitHub starsUsed in 1 repo~1k tokens
    Agent WorkflowsAuto-check passed
  • Cc Dev Agent

    sangrokjung/claude-forge

    A skill your agent uses when starting Claude Code projects, writing CLAUDE.md/spec.md, dispatching subagents, or requesting Agent Teams parallel development.

    852 GitHub stars~771 tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Caveman Learn Token Fixes

    JuliusBrussee/caveman

    Acts on a Caveman learn report: reviews ranked token sinks, applies cost-lowering edits one at a time with your consent, and reports what each fix returned.

    111k GitHub stars~2.8k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Context Routing Audit

    withkynam/vibecode-pro-max-kit

    Audits a project's context routing, skill discoverability and skill wiring by running a chain of validator scripts and fixing whatever they report.

    1.1k GitHub stars~1.2k tokensUpdated 3 mo ago
    Agent WorkflowsAuto-check passed
  • Context Budget Check

    poshan0126/dotclaude

    Estimates the per-turn token cost of a project's .claude folder and CLAUDE.md, split into always-loaded, path-scoped and invoked-only files, and flags what runs over budget.

    870 GitHub stars~1.4k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed

More from NeoLabHQ/context-engineering-kit

All 57 skills in this repo
  • Git Notes

    NeoLabHQ/context-engineering-kit

    A skill your agent uses when adding metadata to commits without changing history, tracking review status, test results, code quality annotations, or supplementing commit messages post-hoc - provides…

    1.8k GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Load PR Comments

    NeoLabHQ/context-engineering-kit

    A skill your agent uses to load open/unresolved PR review comments then aggregate them as tasks in .specs/comments/.md for parallel agents to fix.

    1.8k GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Prompt Engineering

    NeoLabHQ/context-engineering-kit

    A skill your agent uses when you writing commands, hooks, skills for Agent, or prompts for sub agents or any other LLM interaction, including optimizing prompts, improving LLM outputs, or designing…

    1.8k GitHub stars~4.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Multi Agent Patterns

    NeoLabHQ/context-engineering-kit

    Design multi-agent architectures for complex tasks. An agent skill from NeoLabHQ/context-engineering-kit.

    1.8k GitHub starsUsed in 6 repos~6k tokens
    Auto-check passed
  • Review PR

    NeoLabHQ/context-engineering-kit

    Review an existing GitHub pull request and post inline review comments on its diff.

    1.8k GitHub stars~3.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Subagent Driven Development

    NeoLabHQ/context-engineering-kit

    A skill your agent uses when executing implementation plans with independent tasks in the current session or facing 3+ independent issues that can be investigated without shared state or…

    1.8k GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Memorize

What does Memorize do?

Curates insights from reflections and critiques into CLAUDE.md using Agentic Context Engineering. Memorize is an agent skill from NeoLabHQ/context-engineering-kit.

When should I use Memorize?

Memorize fits situations like: tasks that involve Context engineering; tasks that involve Agent instruction files.

How do I install Memorize in Claude Code?

Run `npx skills add NeoLabHQ/context-engineering-kit --skill memorize -a claude-code`. Or copy the skill folder (skills/memorize in NeoLabHQ/context-engineering-kit) into .claude/skills/memorize in your project. Claude Code loads it when a task matches its description.

How do I install Memorize in Codex?

Run `npx skills add NeoLabHQ/context-engineering-kit --skill memorize -a codex`. Or copy the skill folder (skills/memorize in NeoLabHQ/context-engineering-kit) into .agents/skills/memorize in your project. Codex loads it when a task matches its description.

Can I use Memorize in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NeoLabHQ/context-engineering-kit --skill memorize -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memorize, .gemini/skills/memorize, .github/skills/memorize and .opencode/skills/memorize in your project.

What does Memorize need to run?

SKILL.md names no scripts, command-line tools or credentials: Memorize is instructions for the agent only.

Does Memorize access the network?

SKILL.md names 1 domain. In commands or code: arxiv.org; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Memorize safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Memorize use?

Memorize is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Memorize use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Memorize?

Skills that share tags, products or a category with Memorize: Context Engineering (abashev/vfs-s3, 106 stars), Harness Engineering (10xChengTu/harness-engineering, 102 stars), Cc Dev Agent (sangrokjung/claude-forge, 852 stars) and Caveman Learn Token Fixes (JuliusBrussee/caveman, 111k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memorize?

NeoLabHQ (a GitHub organization) maintains it in NeoLabHQ/context-engineering-kit, which has 1,750 GitHub stars. The repository holds 57 skills in this directory. The repository was last updated on August 26, 2026.

Source: NeoLabHQ/context-engineering-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.