← sources

A few dozen Claude Code sessions, one shared markdown memory. What I learned

source: reddit (reddit:ClaudeAI)published 2026-11-17 11:21ingested 2026-11-18 02:37

retained text

My main instruction file has a hard cap of 200 lines. Whatever goes over gets cut.

That file runs a few dozen Claude Code sessions, each with its own topic, all sharing one memory in markdown files. So the 200 lines are where I decide what none of them can ever forget. Everything else has to be found later. A fact lives in one file and the rest links to it, otherwise a rule spreads across five places and the copies start arguing.

(Maybe that's the control freak in me. The limit stays.)

In July I cut the list of character traits, the part that said what the assistant should be like. It put a character together on its own anyway. Nobody planned that one.

How many lines is your main instruction file, and what did you throw out to keep it there?

document fetched 2026-11-18 00:22 · canonical https://reddit.com/r/ClaudeAI/comments/1xyhy3b/a_few_dozen_claude_code_sessions_one_shared