Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> There's also the cross conversation memory search, which uses a different conversation dataset (the Claude Web / Claude.AI conversations) than Claude Code does. I'm not even sure Claude Code does cross conversation search?

This is one of the first things I “fixed” with skills and hooks. I index every conversation in SQLite and have a skill which knows what to do when I ask it to search the index. I had to avoid the word memory because it’s too tied up in other parts of the context. It even indexes across my different machines. I set this up because I have terrible context discipline. I’ll go off on a tangent in one context and start planning and sometimes implementing something based on that thread which really deserves its own context. Afterward I can create the new context and move relevant bits to it, but I’d lose that initial starting conversation which inherently has more data than the summary in the new context.

I also use a few different related contexts. One where I’m building a game engine in zig and another talking about game ideas. There’s a lot of back and forth going on there which needs some shared context. I solve this with a combination of Claude.md references and that searchable session index.

Everything I do with scheduled tasks are just wired up with systemd and simple scripts. No LLM in the critical execution path. Again a skill tells CC how I manage those scheduled things so I just have to say something like “run this every day at midnight” and CC has reliably taken care of the rest.



Why not just allow it to grep ~/.claude


Grep is more expensive from a token use standpoint and jsonl files seem to get recycled after 30 days. Grep is what I was using first.


You can increase the life of the JSONL files, if you add this to the settings.json for Claude Code, where you would configure your hooks:

  "cleanupPeriodDays": 99999
That's maybe excessive, but I figure we'll have another solution to this in 273 years. But then, they thought that about the Y2K bug as well.

Love your idea to actually index the conversations though!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: