Who it is forA developer or agent starting a task in an unfamiliar codebase who needs the relevant files and functions fast.
The problemGrep and whole-file reads cost many tokens and calls before the right code is found, and the answer is often incomplete.
The outcomeA ranked, deterministic answer that names the signatures and call relationships to start from, so the agent reads far fewer files.
What you need first
- A terminal with bash and curl to run the one-line installer
- A local clone or checkout of the repository you want to explore
- A coding agent that can run shell commands, such as Claude Code, Codex, Cursor, Windsurf, Gemini, opencode or aider
Steps
- Install Ripwire with the one-line command:
RIPWIRE_REPO=redhat-et/ripwire bash -c "$(curl -fsSL https://raw.githubusercontent.com/redhat-et/ripwire/main/scripts/install.sh)" - Add the install directory to your path:
export PATH="$HOME/.local/bin:$PATH" - Change into the repository you want to explore:
cd your-repo - Ask a specific technical question with the query flag:
ripwire . --for="<your question>"(inferred, check the README) - Read the ranked results and open only the files and symbols they point to.
Prompt for your agent
Use ripwire on the repo at <path>. Run ripwire . --for="<task description>" and list the top ranked symbols and files it returns. Verify that each named file exists in the repo before you open it.
Caveat. The README says Ripwire shines on specific technical questions, and broad common-word queries can still be answered better by plain grep and read.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for redhat-et/ripwire and "Find where to change code without reading the repo"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer