/init vs /memory

/init creates a CLAUDE.md guide for a project; /memory edits CLAUDE.md files and manages auto memory.

/init

This command initializes a project by creating a CLAUDE.md guide. Setting `CLAUDE_CODE_NEW_INIT=1` enables an interactive flow that guides you through skills, hooks, and personal memory files. It also offers to import existing configurations from other AI tools.

Use it when

The first time you open Claude Code in a repo, to generate a starting CLAUDE.md.

/memory

Allows you to edit CLAUDE.md files, enable or disable the auto memory feature, and view existing auto memory entries. This provides control over Claude's contextual memory.

Use it when

Later, to edit CLAUDE.md files, turn auto memory on or off, or view what auto memory saved.

More comparisons

Never mix them up again

/cards has a scenario quiz that asks which command fits the situation.