When does the need show up? (beyond searching)
The need shows up when your project stops being "a pile of things to search" and becomes "a network of connected things." Signs: you ask the AI for a change and it breaks something at the opposite end of the project; you ask it "what happens if I change this?" and it doesn't know; or you have so much information that neither memory nor RAG gives the AI the full picture of how everything fits together.
Memory vs RAG vs graph · the difference in one sentence
All three give your AI knowledge, but they solve different things. This is the difference almost nobody explains clearly:
- Memory → remembers your rules and your project between sessions. (Continuity.)
- RAG → searches by similarity and pulls the pieces of your documents that resemble your question. (Finding.)
- Graph → understands the connections: what depends on what, what breaks if you change something. (Reasoning about the structure.)
What is Graphify? (in plain terms)
Graphify is a free, open-source tool that takes an entire folder —your code, your database schemas, your documents, papers, even images and videos— and turns it into a knowledge graph: a map where every thing is a point and every connection is a line. Instead of reading 50 files blind, the AI asks the map "how does X connect to Y?" and gets the answer in a single query.
Today Graphify works as a "skill" (just like the ones in the 5 office skills resource): you install it once and your AI assistant —Claude Code, Cursor, Codex, Gemini CLI and more— uses it whenever it needs to. And it's multi-modal: it doesn't just understand code, it also handles SQL, scripts, documents, papers and more.
Graphify — turns any folder (code, SQL schemas, scripts, documents, papers, images, videos) into a queryable knowledge graph, for AI assistants (Claude Code, Codex, Cursor, Gemini CLI and more). Open-source, maintained by Safi Shamsi.
For every kind of user · 4 real scenarios
Graphify isn't just for people who code. Anyone with a pile of connected information benefits. Here are four different scenarios:
Installation · one command (you need Python)
Graphify installs with a single command. You need Python on your computer. (Heads up: the package is called graphifyy, with a double "y".)
pip install graphifyy && graphify install
pipx install graphifyy (it handles everything on its own). On Windows, if graphify isn't recognized after installing, pipx install graphifyy also fixes it. And the easiest route: if you use a coding agent, hand it the prompt below and let it deal with the installation.How to use it · you ask the map
Once installed, Graphify is a skill you invoke with /graphify. You build the graph of your folder once, and then you ask it questions in natural language. Here's what a real query looks like:
/graphify query "what connects the login to the users database?"
Prompt 1 · Have your AI install it and build the graph
If you'd rather not touch the terminal, let your coding agent do it all. Copy it and paste it in:
I want to use Graphify (https://github.com/safishamsi/graphify) to turn this project into a knowledge graph you can query. Guide me and do it yourself where you can, in plain language. 1. Check whether it's installed; if not, install it (pip install graphifyy && graphify install, or pipx install graphifyy if pip fails). 2. Build the graph over the root of this project for me. 3. Explain what it generated (the visual graph, the queryable file and the report) in simple words. 4. Run a test query to confirm it works, for example how two key parts of my project connect. 5. If there's anything only I can do, tell me with exact steps.
Prompt 2 · Use it before every big change (anti-breaking-things)
This is the one that really saves you headaches. Before asking the AI for an important change, have it query the graph first:
Before making this change: [describe the change you want], query the Graphify knowledge graph to understand the impact. 1. Ask the graph which parts of the project depend on what I'm about to touch. 2. Tell me what could break and what to check after the change. 3. Only then propose the change, taking those connections into account. 4. When we're done and it works, remind me to save the progress to GitHub. The idea is to not break anything that's connected underneath.