r/ClaudeCode • u/speelabeep • 4d ago
Tips & Workflows Claude Code in terminal Power Users: Does anyone have a magical setup for Claude to never lose any information you give it?
I’m essentially mapping every aspect of my life in Claude code.
But I find myself needing to hold so much of the information in my mind because no matter how organized I try to tune Claude to be, it will still lose files and constantly forget certain subtasks for each project.
I’ve tried using Obsidian, but it really doesn’t seem to help.
Goal: Create a beautifully optimized mirror copy of certain parts of my mind in Claude when dealing with certain projects.
18
Upvotes
•
u/AutoModerator 4d 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.
9
u/eagle2809 4d ago
I ran into the same thing. What helped me was accepting that Claude's context is disposable, so the memory has to live in files, not in the conversation. A few things that made the biggest difference:
STATE.md(orTODO.md**) per project.** It holds current status, open subtasks as checkboxes, decisions made, and next steps. Tell Claude in CLAUDE.md to read it at session start and update it before finishing. This is what stops subtasks from being forgotten.Happy to share my STATE.md template if it's useful.
3
u/covati Developer 3d ago
Your whole conversation history is I. The jsonl files one per session. Ask Claude to build a parser for the jsonl files and extract all facts to a graph db. Have it interconnect them by weighted connections. Work with it on the choices to make sure it is tailored to your goals.
I don’t store all facts, but I had mine build some tools for searching and traversing. Then you can have it generate a context packet for related facts from your history for anything.
2
u/carstenkoch 3d ago
u/pwkye's "track everything in issues" is the part I'd underline, because it's the only answer here that takes tasks out of files. In the factory where agents build my open-source database, nothing in a session survives it: state lives in the issue tracker, the repository and the decision log. An open subtask is a ticket with a status, not a checkbox in a handoff file. A session that forgets it can't lose it; it stays open until someone closes it. A fresh session only needs to know where to look.
For life projects the same split might work: open tasks in a task app that keeps their status, facts in notes. Which does Claude lose more often for you, open tasks or facts?
1
u/Scared-Amphibian4733 4d ago
Yup
1
u/msitarzewski 4d ago
Look up agent zero on GitHub.
1
u/iownreiddtdotcom 4d ago
If tokens of season reaches above 200k I do this:
Hey Claude store everything in your memory I wanna clear the session 🤭.
No but really every agent type has to have a certain type of memory, there is no free lunch theorem here. For example Agent for administrative IT stuff, I tell don’t use any md files always use ansible yaml files for your memory.
1
u/hieuphung97 4d ago
For the missing subtasks, try separating task state from the handoff narrative: give each task an owner, status, and a concrete completion check. Then have the coordinator compare that list with actual worker results before marking anything done. A saved note can still be missed, so a periodic reconciliation is worth testing.
1
u/ContextWizard 4d ago
check out claude-mem it's a popular memory tool
1
u/GolfEmbarrassed2904 🔆 Max 20 4d ago
Is this real?
1
u/ELXR-AUDIO 4d ago
Build an operating system for your work on github. all your ideas get channeled into the operating system. all ai agents no matter which one works through the operating system. the operating system evolves with you so every time you run into issues you strengthen it.
1
u/Flimsy_Month_6660 4d ago
Just make any project you do create a durable . Md report file and put it in a proper folder
1
u/Starks1293 4d ago edited 3d ago
this exact problem is why AI Bridge has the dreaming thing, so disclosure first, im the dev and its a paid mac app (claude code, codex, grok and opencode side by side next to ur clusters and dbs)
the fix wasnt a smarter CLAUDE.md. memory lives in small topic files the agents get pointed at when they start, one topic per subject, and claude.md stays a short index like eagle said. the bit that stops it rotting is a separate agent that reads what happened in ur sessions afterwards and proposes the notes to add or fix, u accept or reject each one, so the files update from what actually went wrong instead of u remembering to write it down. it also points at the exact line in CLAUDE.md where a fix belongs
u can do a rough version by hand with a nightly "read todays sessions and propose changes to notes/" prompt. the key is a human clicks accept on each change, otherwise the notes drift and claude happily follows last months version like atakanelik said. aibridge.sh if u want the built in one
1
u/pwkye 4d ago
GitLab issues. Track everything in issues.
1
u/lefnire 3d ago
I just made a video about this! https://youtu.be/7ZsOBzOca-8
1
u/DoOmXx_ 3d ago
files over conversation is the whole trick, small index loaded every session and one note per fact. reusable stuff i keep in sniptide so claude can search it over mcp https://sniptide.com/?utm_source=reddit&utm_medium=social&utm_campaign=community
1
u/Embark_1 3d ago
The "doesn't report back to a managing session" part is what pushed me to build something, so disclosure first: I'm the dev of Naetive.
I went through the same DIY phase: handoff files, start-here files, wrap-up hooks, state templates. It works, until you're spending as much time maintaining the memory system as doing the work.
So I built it as a system instead. My agents talk to each other the way you'd ask a colleague: "check this with the lead agent", "get its opinion first". They sort it out between themselves and come back to me with the result.
They all share one memory of the project. Decisions and corrections get saved into it as they happen, not in an end-of-session summary, and every new Claude Code session starts from it. So you're not the one holding it all in your head.
It's in closed beta, waitlist here if you want to try it: https://naetive.ai/early-access
1
u/allisonmaybe 3d ago
https://github.com/myrakrusemark/fathom-lake
This is what I use, made it myself, benchmarked against the best memory systems and comes out on top. Fathom saves EVERYTHING. It takes time to consolidate and make connections (provenance) at a frequency of your choosing, making those new memories searchable too.
Fathom also creates an evolved identity. Basically what you do with it gets saved, and that new information informs a special system prompt that tells the agents "who" it is, who it knows, it's place in this world, etc.
You can't preserve your context forever but you can make sure it never forgets who it is--with SOTA+ memory system to boot!
Here's my full writeup: https://myrakrusemark.com/write-ups/fathom-lake/
1
u/mjtik 3d ago
Along with the other suggestions, a session sweep hook that checks the transcript for things mentioned and not logged in todo/memory, whatever you decide to use. I have this as part of my unattended building sessions to make sure issues that popped up overnight to not get lost forever. It will also catch things that were logged as a bug or conflict, but actually did not even matter.
1
u/AryanThakor 3d ago
obsidian not helping is usually bc claude never knows when to open it. one line in CLAUDE.md like "before any task read notes/<project>/index.md, and update it when you finish" does more than most memory plugins, since it's loaded every session and survives compaction
1
u/muhuhaha 3d ago
For files going missing, I'd put the whole notes folder under git and have Claude commit at the end of every session. Then a lost or overwritten file is one restore away, and `git log` shows you what changed and when.
On u/atakanelik34's cleanup point, I'd mark old notes as superseded rather than delete them. Claude stops following last month's version, but it can still see why things changed.
Are the forgotten subtasks ones Claude wrote down and then ignored, or ones that never got written down at all?
1
u/CandidSystem6155 3d ago
What helped us most was a handoff file per working folder instead of one big memory. A SessionStart hook injects it into the next session, and another hook writes it automatically when a session sits idle for about 55 minutes, before the prompt cache expires, so nothing depends on me remembering to save. Long lived facts still go into small dated memory files, but the handoff is what stopped the dropped subtasks.
1
u/atakanelik34 4d ago
What fixed it for me was one fact per file, each with a date and the reason behind it, plus a short index that loads every session. The part people skip is cleanup: when something changes I replace the old note, otherwise Claude happily follows last month's version.