DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to find the code behind a behavior before an agent edits it with Jevgrep

Ask a repository question and get files, leads, and source excerpts to start an unfamiliar change.

Short answer: Run npm install -g @dzhng/jevgrep to install the CLI; then run jg auth and choose your provider and key; run jg skill from the project where your agent works. All steps.

Credentials. Eligible source from the search root is sent to the provider you selected, and the credential filter is best-effort, so choose a root you intend to share.

Who it is forA developer new to a codebase who has been asked to change a behavior but does not know which files implement it.

The problemCoding agents spend part of every unfamiliar task finding the right files, and the developer lacks a starting point.

The outcomeA stdout summary with a compact file list, selected source with line references, and declaration and call locations to guide the change.

What you need first

  • Node.js 22+ on macOS, Linux, or Windows
  • An API key for Vercel AI Gateway, TypeSafe, OpenRouter, OpenCode Zen, or a custom TypeSafe-compatible endpoint
  • A local checkout of the repository you want to search
  • A coding agent such as Claude Code or Codex to run the installed skill

Steps

  1. Run npm install -g @dzhng/jevgrep to install the CLI.
  2. Run jg auth and choose your provider and key.
  3. Run jg skill from the project where your agent works.
  4. Run jg "How are telemetry events recorded and sent?" ./my-project with your own question and path.

Prompt for your agent

Use the jevgrep skill in this repository to run `jg` with the question "<question about the behavior>" against <target path>. Report the files, line references, and source excerpts it returns, and confirm each cited file exists before you propose any edit.

Caveat. Jevgrep returns evidence for the agent to judge, not a generated answer or a guarantee that every relevant file was found.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for dzhng/jevgrep and "Find the code behind a behavior before an agent edits it"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer