5 ms·
I’d like to make something like this but in the background. So I can better search my history of sessions. Basically start creating my own knowledge base of sor
by stacktraceyo 10mo ago
I’d like to make something like this but in the background. So I can better search my history of sessions. Basically start creating my own knowledge base of sorts
- simonw 10mo agoRunning "rg" in your ~/.claude/ directory is a good starting point, but it's pretty inconvenient without a nicer UI for viewing the results.
- the_mitsuhiko 10mo agoAmp represents threads in the UI and an agent can search and reference its own history. That's for instance also how the handoff feature leverages that functionality. It's an interesting system and I quite like it, but because it's not integrated into either github or git, it is sufficiently awkward that I don't leverage it enough.
- simonw 10mo ago... this inspired me to try using a "rg --pre" script to help reformat my JSONL sessions for a better experience. This prototype seems to work reasonably well: https://gist.github.com/simonw/b34ab140438d8ffd9a8b0fd1f8b5a4c2 https://gist.github.com/simonw/b34ab140438d8ffd9a8b0fd1f8b5a... Use it like this: cd ~/.claude/projects rg --pre cc_pre.py 'search term here'