▲ | Runonthespot 3 days ago | |||||||||||||||||||||||||
Mainly I wrote it because I noticed Claude's "by design" use of grep meant it couldn't search the code base for things it didn't already know the name of, or find "the auth section". But equally, it's well documented that e.g. Cursor's old RAG technique wasn't that great. My idea was to make a tool that just does a quick and simple embedding on each file, and uses that to provide a semantic alternative that is much closer to grep in nature, but allows an AI tool like Claude Code to run it from the command line - with some parameters. Arguably could be MCP, but in my experience setting up a server for a basic tool like this is a whole lot of hassle. I'm fairly confident that this is a useful tool for CC as it started using it while I was coding it, and even when buggy, was more than willing to work around the issues for the benefit of having semantic search! | ||||||||||||||||||||||||||
▲ | furyofantares 3 days ago | parent | next [-] | |||||||||||||||||||||||||
CC is so good with grep that I'm half expecting to clutter its context with bad results from semantic search. But also half optimistic at this just improving its search. If you're getting useful results from hybrid mode that's very interesting to me since well-constructed grep that claude executes don't really look like they'd work great for semantic search to me! But intuition is often wrong on this stuff. I am very curious your thoughts on speed. I'd rather any tools claude invokes be as fast as possible so it can get feedback immediately and execute again. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | mikebiglan 3 days ago | parent | prev [-] | |||||||||||||||||||||||||
Starred the repo. Went to the github repo and was expecting a section about Claude Code and best practices on how to set this up with Claude Code. Very curious to hear how that might work, especially with what you've found compared to Claude Code's love of grep. | ||||||||||||||||||||||||||
|