Claude Code
Today
Explore
Practice
Library
Exam
Certificate
Search
⌘K
ខ្មែរ
◐
Sign in
Today
Explore
Practice
Library
Profile
Auto Memory and Scoped Rules
Today
2. Context and Project Instructions · 4 of 4
Mark read
Prev
Next
Orient
Two memory systems, different owners
Trace the mystery build command
Predict
Audit memory, then scope your rules
Close
Practice
Related
Auto Memory and Scoped Rules
Intermediate
☆
📑
Notes Claude writes for itself, and instructions that only load when they matter
Orient
Two memory systems, different owners
Trace the mystery build command
Predict
Audit memory, then scope your rules
Close
Practice
Related
Practice activities and scenarios are optional. Mark the lesson complete after reading, and return to practice whenever it helps.
Restoring your saved work…
07
Optional practice
🧠 Optional scenario practice
Q1
Where is auto memory stored, and who can see it?
A
In the repository under .claude/memory/, shared with everyone who clones it
B
At ~/.claude/projects//memory/ on your machine only — it does not travel with the repo
C
On Anthropic's servers, synced across all your devices
D
Inside CLAUDE.md, appended automatically
Q2
What does adding
paths: ["src/api/**/*.ts"]
to a file in
.claude/rules/
do?
A
Restricts Claude from editing files outside that pattern
B
Loads the rule only when Claude works with files matching the pattern, instead of every session
C
Makes the rule enforced rather than advisory
D
Copies the rule into every matching file
08
Up Next
Intermediate
The Permission Model
Advanced
Writing Rules That Hold
Advanced
Modes and Sandboxing
📝 Notes
Mark lesson complete
Next: The Permission Model →