←back to thread

177 points Runonthespot | 1 comments | | HN request time: 0s | source
Show context
dang ◴[] No.45161889[source]
[stub for offtopicness]
replies(4): >>45157793 #>>45158731 #>>45158788 #>>45159252 #
dmd ◴[] No.45158788[source]
What does this have to do with Claude Code?
replies(2): >>45158845 #>>45158867 #
Runonthespot ◴[] No.45158845[source]
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!

replies(2): >>45159585 #>>45160547 #
mikebiglan ◴[] No.45160547[source]
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.

replies(1): >>45161302 #
1. jtbaker ◴[] No.45161302[source]
> 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.

A write up on this would be great!