Original Reddit post

Sorry if this is a dumb question: I am currently using Claude Code in Windows Terminal as part of a relatively complex project (~110k LOC). I use Serena and have the Serena memory files configured. These seem to be relatively basic, like codebase structure and conventions. Serena has made significant improvements to Claude’s efficiency overall. When I prompt Claude, I am very detailed and always reference specific files and use proper names for methods or elements that I want it to look at. I have also been maintaining very detailed documentation for the code base, and often tell Claude to review a specific document when planning. My claude.md also has an index of my documentation files, and a reminder for which file it should read for different aspects of the program. However, I see that every time I ask Claude to write a plan, it says something like, “Let me analyze the codebase to understand how XYZ is currently implemented.” It then reads dozens of files and forms a picture of how something works, which it may have just fully understood 5 minutes ago, before a context clear. I watch the agents respond to Claude with explanations like “Ah, now I understand! ABC is a well-implemented controller that translates input from…” Each time it plans, it acts like it’s the first time it has ever heard of components that we are referencing in every conversation. I know that Claude will never be able to have a deep understanding of the inner workings of the codebase without first conducting an investigation, but for some things, it would be really nice if it had a better memory and/or could effectively use the provided reference materials to be more context aware without having to spend time/tokens reading a ton of files and searching for code containing key terms to try to understand an aspect of the program that it is working on frequently. Maybe I am just not effectively using the tools that are already built into Claude. Otherwise, are there any plugins or other tools that I could be leveraging to help Claude automatically build understanding and awareness as it works, and be able to call back upon that knowledge in future sessions? Thanks for your input! submitted by /u/amerikiwi-traveller

Originally posted by u/amerikiwi-traveller on r/ClaudeCode