mind.extractor

Graphify for Claude Code: what it really saves

What it solvesWhat Graphify actually saves in Claude Code and how to install it.

RepoAgents and Claude CodeUpdated November 13, 2026

Creators say: install Graphify, cut your tokens by 10x and move to a cheaper plan.

It doesn't work that way.

Here's the honest version. Graphify saves a little, especially on large projects. Claude Code gets a map of the project and finds what it needs fast, instead of reading files one after another. A 10x saving never happened and isn't coming. The main saving comes from a clean context. The second half of this guide covers that.

What Graphify is

A skill and command-line tool that builds a knowledge graph of a folder: code, documents, images. The official repository is github.com/safishamsi/graphify, and the PyPI package is called graphifyy (with 2 y's). Other graphify* packages have nothing to do with the project.

After a build, your project gets a graphify-out/ folder:

  • graph.html: an interactive map that opens in the browser;
  • GRAPH_REPORT.md: key concepts, unexpected connections, questions to start with;
  • graph.json: the graph itself. You can query it without rereading the files.

About the savings figures: the "80% of tokens" in the README refers to the paid cloud product Graphify Cloud, not the free tool. The README gives no savings figures for the open-source version.

What you need

  • Claude Code and a Claude subscription (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account. See installing Claude Code.
  • Python 3.10 or newer.
  • uv or pipx (recommended; plain pip works too).

Step 1. Install

Command
uv tool install graphifyygraphify install

Or with pipx:

Command
pipx install graphifyygraphify install

graphify install finds your assistant and registers the skill by itself. To install for the current project only:

Command
graphify install --project

Step 2. Build the graph

Open Claude Code in your project folder and type:

Command
/graphify .

Code is parsed locally, with no AI model and no API cost. Documents, PDFs and images go through the model for meaning, and that does use tokens. A big folder of documents means a noticeable cost on the first build.

Step 3. Use it

Questions for the graph:

Command
/graphify query "where is payment handled?"/graphify path "ComponentA" "ComponentB"/graphify explain "concept name"

After code changes, update the graph (no model needed):

Command
graphify update .

Where the real savings are: a clean context

Claude Code sends the whole conversation with every request. A session opened in the morning drags its entire history along, even for a one-line question. Here's what actually helps (all from the official guide to costs):

  1. /clear between tasks. Moved on to a different task? Clear. Old context costs tokens on every following message. Before clearing, use /rename so you can find the session later with /resume.
  2. /compact with an instruction. When you need continuity rather than a blank slate:
Command
/compact Keep the architecture decisions and the list of changed files

Note that compacting a large context is itself a large request. If you need a clean start, /clear is free.

  1. /context shows what takes up space: memory files, MCP servers, history.
  2. /usage shows what you've spent and what eats your limit. On a subscription it includes a breakdown and recommendations.
  3. Keep CLAUDE.md under 200 lines. It loads into every session. Move long procedures into skills, which load only when needed.
  4. Turn off MCP servers you don't use via /mcp.
  5. Specific requests. "Improve the project" means scanning everything. "Add a check to the login function in auth.ts" means a couple of files.

Common mistakes

  • Expecting a miracle. Graphify is a map. It won't lower your plan.
  • Feeding it a huge folder of documents and being surprised by the cost. Code is free, documents go through the model.
  • Not updating the graph. An outdated map sends Claude the wrong way. Run graphify update . after changes.
  • One session all day. The most expensive habit. Just /clear.
  • Installing the wrong package. The right one is graphifyy, repository safishamsi/graphify.

Cost

Graphify is free and open source (Apache-2.0 and MIT). You only pay for the Claude tokens spent on parsing documents and images. Claude plans are at claude.com/pricing.

more in agents and claude codeall solutions →
in the blog
free express audit
Find the leak

I build these setups for my own marketing work. If you want them wired into your sales and ads, start with a free express audit.