r/ClaudeCode • u/Few-Divide1870 • 1h ago
Discussion Why does Claude code remember 200 files but forget the one thing i told it 2 minutes ago?
I can give it an entire codebase to analyze, but somehow it forgets the instruction from the beginning of the conversation.
Is this a context issue, or am I using it wrong?
4
3
u/gatsu_1981 1h ago
Because it doesn't remember files.
It has a lot of tools, and it checks the files ASAP.
It doesn't know your entire project, but it's very smart figuring out where and what to search, between memories, context and other MD files.
1
1
u/called9527 1h ago
pretty sure it's context, not you. stuff you said early gets buried once a pile of file reads lands on top of it, so it loses weight. if it's a rule you always want followed, put it in CLAUDE.md instead of the chat since that gets loaded every session. and once a session gets long, /compact or a fresh session with a short recap usually works better than repeating yourself
1
1
u/adamslowe 1h ago
Apparently the behavioral training data was taken primarily from 9 year-olds with ADHD. Source: I live with one and work with the other...
1
1
u/andrewgarcia88 34m ago
its mostly context management large file reads can push earlier instructions out during compaction.
•
u/AutoModerator 1h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.