Comment by ebcode
20 hours ago
A “code index” tool that finds symbols in a codebase and creates a single table sqlite database for querying. It’s my second month using Claude Code, and I see a common pattern where Claude tries to guess patterns with grep, and often comes back with empty results. I’m writing the tool to prevent these fruitless searches. Using tree-sitter to parse the AST and add the symbols and what they are (function, class, argument, etc) to the db. I have it working with TypeScript, and am working on adding C and PHP.
This is why codepathfinder.dev is born. It underhood use tree-sitter to search functions, class, member variables and pulls code accurately instead of regex.
I started using it like tool call in Security scanning (think of something like claude-code for security scanning)
Give it a read if you're interested:
https://codepathfinder.dev/blog/codeql-oss-alternative/
https://codepathfinder.dev/blog/introducing-secureflow-cli-t...
Happy to discuss!
Aider builds something it calls a "repo map" that I believe is for a similar purpose. Might be worth taking a look!
I haven't used Claude Code, but recently switched to OpenCode. My token usage and cost is a lot higher, I'm not sure why yet, but I suspect Aider's approach is much more lean.
Got a link?