memorize
Skill4 starsChanged 7 months agoMITView on GitHub
Use when the user types "/memorize", "save this learning", "make this an ADR", "capture this for future sessions", "remember this", "write this down for next time", or "save that proposal". Also auto-fires after /reflect when the user expresses agreement with a proposal. Converts a recent insight or reflection into either a project ADR or a personal memory entry. Always confirms content with the user before writing.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- radimsem/remindbtheir own version, first seen May 1, 2026
- NeoLabHQ/context-engineering-kittheir own version, first seen Apr 16, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- radimsem/remindb★ 129same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository124 other files it gives its agents.
- apple-contactsSkill
- atlassian-cli-jiraSkill
- bellardSkill
- brainstormingSkill
- career-interviewSkill
- carmackSkill
- cavecrewSkill
- caveman-commitSkill
- caveman-compressSkill
- caveman-helpSkill
- caveman-reviewSkill
- cavemanSkill
- caveman-statsSkill
- ci-watchSkill
- clone-configSkill
- cloudflare-emailSkill
- course-correctSkill
- datastar-patternsSkill
- datastarSkill
- datastar-taoSkill
- defuddleSkill
- description-linterSkill
- deterministic-simulation-testingSkill
- dispatching-parallel-agentsSkill
- dopplerSkill
- dx-auditSkill
- evolution-changelogSkill
- evolution-engineSkill
- executing-plansSkill
- farleySkill
- finishing-a-bones-leafSkill
- frontend-component-decision-treesSkill
- gh-project-charterSkill
- gh-project-operationsSkill
- gh-project-setupSkill
- gh-project-sharedSkill
- goal-completeSkill
- golang-patternsSkill
- hellandSkill
- hickeySkill
- hippSkill
- investigating-agent-sessionsSkill
- landingSkill
- linear-cliSkill
- linear-methodSkill
- midscene-testingSkill
- monitoring-the-operatorSkill
- normanSkill
- obsidian-basesSkill
- obsidian-canvasSkill
- obsidian-markdownSkill
- orchestrator-modeSkill
- orchestrator-suitSkill
- ousterhoutSkill
- pikchr-generatorSkill
- pocock-cavemanSkill
- pocock-diagnoseSkill
- pocock-git-guardrailsSkill
- pocock-handoffSkill
- pocock-setup-pre-commitSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
ONLY write here if <repo-root>/docs/adr/ already exists.
- Very specific: line 38
If it doesn't exist, propose creating it: tell the user "this lesson is project-scoped but docs/adr/ doesn't exist.
- Distinctive: line 102
Write the file. Print the path.
- Distinctive: line 106
Don't write without showing first: Always preview, get confirmation, then write.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
memorize
Persists a learning. Pairs with reflect: reflection produces proposals, memorize converts agreed proposals into durable artifacts.
When to invoke
- User explicit:
/memorize, "save that", "make it an ADR", "remember this for next time". - Auto-firing: immediately after
/reflectif the user replies with agreement (e.g., "yes do that", "ship it", "good, save it"). The agent picks up the most-recently-agreed proposal.
Two output forms
The skill writes ONE of two file shapes, chosen by scope:
Form A: Project ADR (project-scoped lessons)
For learnings that belong with the codebase — "this repo's commit hooks expect signed commits", "this codebase's tests need DB seeded first", etc.
- Path:
<repo-root>/docs/adr/<YYYY-MM-DD>-<topic-slug>.md - ONLY write here if
<repo-root>/docs/adr/already exists. - If it doesn't exist, propose creating it: tell the user "this lesson is project-scoped but
docs/adr/doesn't exist; want me to create it?" Wait for explicit yes before mkdir.
ADR format:
# <YYYY-MM-DD>: <Topic>
## Context
One paragraph: what situation surfaced this lesson.
## Decision
What we decided / what the rule is going forward.
## Consequences
What this implies for future contributors.
## Provenance
- Source: `/reflect` on <date> | inline insight from session <id>
- Related files: <list>Form B: Personal memory (cross-project lessons)
For learnings about the user — preferences, recurring frustrations, principles — that should travel with the user across all projects.
- Path:
~/.claude/projects/<project>/memory/feedback_<topic>.md - This is compatible with the existing auto-memory system; the runtime indexes these and surfaces them in MEMORY.md.
Memory format:
# <Title — short, declarative>
<2-4 sentence body explaining the lesson, in the user's voice as much as possible.
Include the trigger phrase that caused the lesson if there is one.>
## When this applies
- <bullet: trigger condition 1>
- <bullet: trigger condition 2>
## Source
- Session: <id or date>
- Related: <reflection path if applicable>Workflow
- Identify what to memorize:
- From
/reflectproposals: the user agreed to a specific proposal. Pull its text verbatim. - From inline insight: read recent conversation and synthesize one paragraph.
- From
- Decide scope (Form A vs Form B):
- Mentions a specific file/path/command in the current repo → Form A.
- About preferences, principles, recurring user friction → Form B.
- Ambiguous → ask the user.
- Show the file content to the user before writing. Render the proposed content in the chat. Get explicit confirmation. Edit if requested.
- Write the file. Print the path.
Anti-patterns
- Don't write without showing first. Always preview, get confirmation, then write.
- Don't make it both forms. One memorize call = one file. If something is both project-scoped AND personal, propose two memorize calls explicitly.
- Don't memorize trivia. "We used grep today" is not a lesson. Lessons must include a generalizable rule.
- Don't expand beyond one topic per file. Multiple lessons get multiple files.
See also
skills/reflect/SKILL.md— the upstream that surfaces what to memorize.skills/evolution-engine/SKILL.md— finds recurring friction; memorize captures one lesson at a time.~/.claude/projects/<project>/memory/MEMORY.md— the auto-memory index where Form B entries appear.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

