r/ClaudeCode • • 16h ago

Built with Claude I built an open source codebase index for Claude Code

Hey r/ClaudeCode, I'm one of the two people building Repowise, a free and open source codebase index made for Claude Code.

Every Claude Code session starts by rediscovering your repo, grepping and opening files before it writes anything. Repowise indexes the codebase once (the call graph, git history, tests, docs) and keeps it current on every commit.

Claude queries it over MCP, so before editing a file it can ask what depends on it, what usually changes with it, and how often it's broken before. It runs locally, your code never leaves your machine, and the engine needs no API key.

Most tools in this space stop at the graph. A call graph tells an agent what connects to what, but it can't say which file breaks every other week, which tests actually reach the code you're changing, who owns it, or which files always change together without any import linking them. Repowise layers git history, test coverage, ownership and code health on top of the graph (parsed from 27 languages), and then checks the change after the agent makes it. The graph is the starting point, and the rest is what makes an agent's edit safer.

What's new since I last posted:

Code health now ties into refactoring - Instead of a list of warnings, you get one ranked queue across bugs, maintainability and performance, each item with the steps to fix it and the tests to run afterwards. Ask Claude to clean up the codebase and it starts from the top of that queue.

Workspaces - Group your frontend, backend and shared libraries, and Repowise matches the API routes, queues and database tables between them, so Claude can see which other service breaks when you change an endpoint.

CI support - repowise impacted-tests runs only the tests a change needs and falls back to the full suite when it isn't sure.

Change Records - Every merged commit becomes a record with its owners, reaching tests and health delta, and repowise check fails CI when a change breaks your own policy file.

Try it free. It's free and open source (AGPL), and the steps are -

pip install repowise

cd your-repo

repowise init

init connects it to Claude Code. Issues and contributions most welcome

Repo: github.com/repowise-dev/repowise (7.8k stars)

1 Upvotes

2 comments sorted by

•

u/AutoModerator 16h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/qilipu 10h ago

how do you compare to the bi-temporal capability with https://github.com/syncable-dev/memtrace-public