Graphify in the Workspace

By Engineering Team•November 29, 2026•3 min read

graphify turns the workspace into a graph of files, symbols and their relationships, grouped into communities, with the most connected “god nodes” highlighted. The assistant asks the graph a question and gets back a small subgraph, instead of reading many files. The reasoning is in ADR-AI-004. Installation, measured savings and the security review for the ecommerce monorepo are in the ecommerce case study.

What is where

Path Role
.devcontainer/shared/install-graphify.sh Installs the graphify CLI when a dev container is built, root-owned in /usr/local/bin, at the version in .claude/skills/graphify/.graphify_version
.claude/skills/graphify/ Project copy of the skill, so a fresh clone has /graphify without a global install
graphify-out/ The local graph (graph.json, GRAPH_REPORT.md, optional wiki/). Gitignored, so each clone builds its own
.graphifyignore Excludes docs/, build output, platform folders and secret files from the index
.claude/settings.json graphify hook-guard hooks on Bash/Grep and Read/Glob

Ask the graph first

The workspace CLAUDE.md tells the assistant to use these before a broad search when graphify-out/graph.json exists:

graphify query "where is the audit-trail publisher wired?"
graphify path "order-service" "document-service"
graphify explain "op run"
  • query for a question, path for how two things connect, explain for one concept.
  • If graphify-out/wiki/index.md exists, use it for broad navigation.
  • Read GRAPH_REPORT.md only for an architecture review, or when the three commands do not surface enough.

You can ask in plain words (“use graphify to find …”), or run /graphify to build or rebuild.

Build it once per container

The container installs the CLI but does not build a graph, because a full build is slow and its optional semantic step can send content to a language model. That choice should be made by a person. After the first start, run /graphify in Claude Code at the workspace root to create graphify-out/. To upgrade graphify, change .graphify_version through a pull request and rebuild the container.

Keep it current

After changing code, run:

graphify update .

It re-parses the AST only and makes no API calls. A stale graph points at moved or deleted code.

Keep secrets and docs out

  • .graphifyignore lists environment files, key material, cloud CLI folders and docs/. When you add a project, check whether it needs new entries.
  • graphify-out/ is never committed and never copied into published docs. It can contain paths and identifiers.
  • The env-guard hook still applies to the assistant’s own calls. Treat graphify output like any file: if it shows a value that looks like a secret, stop and remove it at the source.