Re:A year of vibes
by simonw on Monday December 22, 2025 @09:48AM
(#46354524)
Running "rg" in your ~/.claude/ directory is a good starting point, but it's pretty inconvenient without a nicer UI for viewing the results.
[ Parent
| on HN ]
Re:A year of vibes
by the_mitsuhiko on Monday December 22, 2025 @09:53AM
(#46354563)
Amp 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.
... 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/b34ab140438d8ffd9a8b0fd1f8b5a...
Use it like this:
cd ~/.claude/projects
rg --pre cc_pre.py 'search term here'