Original Reddit post

I work alone on a handful of projects (a website, a book, an e-commerce agent stack), and for a while every Claude Code session started the same way. I explained how the server restarts, which port the CMS is on, that blog posts have to stay drafts. Next day, same thing again. What fixed most of it was Claude Code’s own memory directory. When something goes wrong, the lesson becomes a short rule file plus one line in MEMORY.md, and MEMORY.md is loaded when a session starts (the first 200 lines or 25 KB). A few lines from mine, translated because half of it is German:

  • App server: restart with pm2 delete + start. pm2 reload does not pick up new code. - CMS runs on port 1338. Has to match in every config that mentions it. - Blog posts go into the CMS as drafts. Never publish automatically. - docker build does not restart the running container. I’m at 182 of these now. Anything longer, like project history, architecture notes or notes on clients, lives in a Logseq wiki with about 200 pages. Claude reads the 3 to 5 pages that match the question, not the whole thing. Two things I learned the hard way: Rules go stale. A rule that says where a config lives is wrong the day you move the config. So every rule that describes how something behaves has a date, and after 90 days Claude checks it against the project (read only) and I decide if it stays. Subagents don’t get MEMORY.md. The docs say the main conversation’s auto memory isn’t loaded into a subagent. If a subagent needs one of your rules, it has to be in the task you hand it, or you give the agent its own memory with the memory: field. Also, a rule in memory is a suggestion, and Claude can still miss it. Where a mistake would be expensive, I moved it into the deploy script instead. It refuses to run if there are uncommitted changes. How are you handling this? Just CLAUDE.md, auto memory, something else? I’m the author of llm-wiki, the open-source (MIT) skill that runs the wiki part and the 90-day check. I wrote up an ordinary working day with it here: https://mehmetgoekce.substack.com/p/i-work-alone-with-claude-code-this submitted by /u/m3m3o

Originally posted by u/m3m3o on r/ClaudeCode