memory-and-rules

Installation
SKILL.md

If the user's intent does not match this skill, route through /plugin-creator:plugin-lifecycle.

Claude Code Memory and Rules Reference

Claude Code has two kinds of persistent memory:

  • Auto memory — Claude's self-written notes at ~/.claude/projects/<project>/memory/
  • CLAUDE.md files — User-written instructions at multiple hierarchy levels

Both load into context at session start. More specific instructions take precedence over broader ones.


Memory Hierarchy

Memory locations load in priority order (highest priority first):

Installs
31
GitHub Stars
67
First Seen
Mar 29, 2026