Skip to content
memory-user-edits logo

Memory User Edits: Expert Guidance

memory-user-edits

Expert guidance for Claude's memory_user_edits tool. Helps users understand how to effectively use memory edits for persistent facts across conversations. Key insight - memory edits work for FACTS, not BEHAVIORS. Triggers on memory-related questions, "remember", "forget", or memory_user_edits too...

SKILL.md

Full skill instructions

Memory User Edits: Expert Guidance

THE CORE INSIGHT

Memory edits work for FACTS, not BEHAVIORS.

✅ Works (Facts)❌ Doesn't Work (Behaviors)
"Backend stores 7KB per user""Always check docs first"
"Architecture: two-layer model""Prioritize architecture over details"
"User prefers TypeScript""Never suggest JavaScript"

THE FOUR COMMANDS

CommandPurposeParameters
viewSee current editsNone
addCreate new editcontrol (max 200 chars)
removeDelete by line numberline_number
replaceUpdate existingline_number, replacement

Constraints:

  • Maximum 30 edits total
  • 200 characters per edit
  • Project-scoped only (not regular chats)
  • Plain text only (no markdown/​HTML)

WHEN TO USE memory_user_edits

Use for:

  • User says "remember that...", "don't forget...", "please note..."
  • User asks "what do you know about me?"
  • User wants to correct a fact Claude keeps getting wrong
  • User shares persistent preferences or constraints

Don't use for:

  • Behavioral instructions (use Project Instructions instead)
  • Temporary information
  • Complex conditional logic
  • Information that changes frequently

BEST PRACTICES

Writing Good Edits

✅ Good (atomic, factual):

"Backend: PostgreSQL 15 with Knex.js" (36 chars)
"User timezone: CET (UTC+1)" (26 chars)
"Project deadline: January 2026" (30 chars)

❌ Bad (vague, behavioral):

"Uses good database practices" (vague)
"Always check architecture first" (behavioral)
"Remember to prioritize user needs" (instruction)

Priority Framework

When approaching 30 edits, prioritize:

PriorityTypeAction
P0Facts Claude gets wrong repeatedlyKeep always
P1Important preferences, key definitionsKeep if space
P2Nice-to-haves, well-documented infoRemove first

RESPONSE PROTOCOL

When user asks about memory:

  1. View first: Always check current edits before adding
  2. Check for duplicates: Don't add redundant information
  3. Verify facts: Ensure it's a FACT, not a BEHAVIOR
  4. Confirm action: Tell user what was added/​removed/​changed

When user says "remember X":

  1. Rewrite X as a concise fact (under 200 chars)
  2. Check for conflicts with existing edits
  3. Add the edit
  4. Confirm: "Added memory #N: [content]"

TROUBLESHOOTING

"Claude ignores my memory edits"

  • Verify you're in a Claude Project (not regular chat)
  • Check if edit is a FACT (works) vs BEHAVIOR (doesn't work)
  • Ensure query is relevant to the stored fact

"Memory edits work inconsistently"

  • Edit may be too vague → make more specific
  • Documentation may contradict → align them
  • Edit may be behavioral → rewrite as fact

"Hit 30-edit limit"

  • View all edits
  • Remove P2 (nice-to-haves) first
  • Consolidate related edits

QUICK REFERENCE

Add a fact:

add control="[concise fact under 200 chars]"

View all edits:

view

Remove an edit:

remove line_number=[N]

Update an edit:

replace line_number=[N] replacement="[new text]"

THE FOUR-LAYER SYSTEM

Memory edits work best as part of a complete system:

LayerPurpose
Project InstructionsHOW Claude should work (behaviors)
DocumentationDetailed project knowledge
Memory EditsCritical facts always in focus
Active SteeringReal-time corrections

Key: Memory edits amplify Project Instructions—they don't replace them.


Memory User Edits Guide by Francesco Marinoni Moretto — CC BY 4.0

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View