Who it is forA developer or reviewer who is about to change a shared function and needs to know what else might break.
The problemChanging a widely used function without knowing its callers can break code far from the edit, and manual tracing is slow.
The outcomeA list of the code that depends on the symbol, taken from the code graph, to guide testing and review.
What you need first
- A local Git repository with the code you want to index
- Homebrew, or the install script from the Graphicle README, to install the program
- A terminal on macOS or Linux, or the Windows preview build for x86-64
- A coding agent that supports MCP, such as Claude Code, Codex or Cursor (optional, for agent use)
Steps
- Install Graphicle and open a terminal in the repository with
cd your-repo. - Build the code graph with
graphicle graph extract . --code-only. - Run
graphicle graph affected "retry()", replacing retry() with your function. - Review each listed dependent and decide which ones to test or update.
- Run
graphicle doctorif the command reports a problem with the install.
Prompt for your agent
In the Graphicle-AI/graphicle repository's code graph, run `graphicle graph extract . --code-only` in <repo-path>, then `graphicle graph affected "<symbol>()"`. Expected output: a list of code that depends on the symbol. Verify by opening two listed dependents and confirming they call or import the symbol.
Caveat. The code graph covers calls and imports that the parser can see, so treat the list as a guide to check, not a complete proof of impact.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page