Reel Prompts

Stop Claude Code Reading Your Files One by One: Graphify Setup

Turn your project into a knowledge graph so Claude Code asks the graph instead of opening file after file. Real test numbers, copy-ready commands and the one honest catch.

  • Updated 28 November 2026
  • Prompts 8 ready to copy
  • Time About 2 minutes to install, seconds to map a code project
  • Tools Graphify (free, open source), Claude Code
On this page
  1. Quick answer: two commands, then /graphify
  2. Key takeaways
  3. What you need
  4. Step 1: Install Graphify
  5. Step 2: Connect it to Claude Code
  6. Step 3: Map your project
  7. Step 4: Ask the graph, not the files
  8. My real test
  9. Official links

DO THIS Follow these steps on the screen.

PROMPT Copy this text and paste it into the tool.

THEN What you should see next.

MAKE IT YOURS Swap the words in [BRACKETS].

Graphify is the tool from the Reel. It turns your project into a knowledge graph, so Claude Code can ask the graph instead of opening file after file and eating your limit. I installed it and tested it myself on 28 November 2026. Every command box below has a Copy button.

Graphify-Labs/graphify on GitHub with 154.4k stars
The Graphify repo on GitHub, 154.4k stars (28 Nov 2026)

Quick answer: two commands, then /graphify

  1. Install the CLI: uv tool install graphifyy (the package name has a double y).
  2. Register it with Claude Code: graphify install.
  3. In Claude Code, inside your project, type /graphify .

You get three files in graphify-out/: graph.html (click around the graph in your browser), GRAPH_REPORT.md (highlights) and graph.json (the full graph that Claude queries).

Key takeaways

  • Graphify has 154.4K stars on GitHub (checked 28 Nov 2026). Repo: Graphify-Labs/graphify.
  • Code is mapped locally with tree-sitter. No LLM, nothing leaves your machine, 0 tokens.
  • My test: FastAPI, 63 files, built in 2.7 seconds: 1,110 nodes, 2,769 edges, 71 communities.
  • The graph answer for "APIRouter" was 1,677 bytes. The routing.py file alone is 277,959 bytes. That is about 160x less text for this one question.
  • On Claude Code, a hook nudges the agent toward the graph before it reads source files one by one.
  • The honest catch: docs, PDFs, images and video use your AI model, so those do cost tokens.

What you need

NeedDetails
Python3.11.5 to 3.14
uv or pipxuv is recommended (it can manage Python for you)
An assistantClaude Code, Cursor, Codex, Gemini CLI and 20+ more
CostFree for code mapping. Docs and media use your model's tokens

Step 1: Install Graphify

DO THIS

Open a terminal and run the command below. The official PyPI package is graphifyy with a double y. Other graphify packages are not affiliated.

Command: install the CLI
uv tool install graphifyy
Command: alternative with pipx
pipx install graphifyy

THEN

If graphify is not found after installing, run uv tool update-shell and open a new terminal.

Step 2: Connect it to Claude Code

Command: register the skill
graphify install

Using another assistant? Name it: graphify cursor install for Cursor, or graphify install --platform codex for Codex (invoke with $graphify).

Step 3: Map your project

DO THIS

Open Claude Code in your project folder and type the command below.

Prompt: build the graph
/graphify .

THEN

Open graphify-out/graph.html in your browser to see your project as a graph. After code changes, run graphify update . to refresh it with no API cost.

Terminal output of a real Graphify build on the FastAPI code
My real build: 63 FastAPI files, 1,110 nodes, no LLM needed
Graphify graph.html view of the FastAPI codebase
graph.html for FastAPI: every dot is a class, function or file

Step 4: Ask the graph, not the files

Prompt: let Claude use the graph
Use the Graphify knowledge graph in graphify-out/ to answer questions about this codebase. Prefer graphify query, graphify path and graphify explain over reading whole files. First, explain how the main components connect.
Command: try it yourself
graphify explain "YourClassName"

MAKE IT YOURS

Swap YourClassName for a class or function from your own project. Use graphify path "A" "B" to see how two parts connect.

graphify explain APIRouter terminal output
graphify explain APIRouter: 1,677 bytes instead of the 277,959 byte routing.py

My real test

CheckResult
ProjectFastAPI (fastapi/fastapi, 63 code files)
Build time2.7 seconds (a fresh rerun took 1.7 seconds)
Graph1,110 nodes, 2,769 edges, 71 communities
Token cost (from GRAPH_REPORT.md)0 input, 0 output
"APIRouter" answer1,677 bytes
routing.py file277,959 bytes

Your numbers will differ. Savings depend on your project and what you ask.

GRAPH_REPORT.md showing token cost 0 input 0 output
From my GRAPH_REPORT.md: Token cost 0 input, 0 output
Link: Graphify on GitHub
https://github.com/Graphify-Labs/graphify
Link: Graphify docs
https://docs.graphify.com

Frequently asked questions

Is Graphify free?

The open source CLI is free (Apache-2.0 on GitHub). Mapping code is local and uses no LLM. Graphify also sells an optional hosted product, which you do not need for this setup.

Does it really use zero tokens?

For code, yes. Code is parsed locally with tree-sitter and my report showed Token cost: 0 input, 0 output. Docs, PDFs, images and video use your assistant's model, or an API key you configure, so those do spend tokens.

Will it save the same amount on my project?

Not exactly. The 160x figure is from one question on the FastAPI repo (1,677 bytes vs 277,959 bytes). Savings depend on your code and your question.

Which assistants does it work with?

Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot, Aider, OpenCode, Kilo Code, Trae, Kimi Code and more, 20+ in total. Codex uses $graphify instead of /graphify.

Liked this pack? Get the next one first.

Subscribe on YouTube Follow on Instagram My Udemy courses

More prompt packs for you

Most popular

See all AI prompts →

Get new prompts by email
Scroll to Top