Skip to main content
This page installs the open-source skill. Codex builds the graph from the project on your machine. To query a repository already indexed in Graphify, use Graphify for Codex.

How do I set up Graphify CLI in Codex?

Run uv tool install --python 3.12 graphifyy and graphify install --platform codex, then ask the Graphify skill in Codex to map the current repository. Codex builds the graph on your machine and can query it from then on.

1. Install and register

The installer writes the Graphify skill and AGENTS.md instructions. It also supports Codex hook integration, and it reports the files it writes. For a repository-local setup, run this from the project root:

2. Build the graph

Open the project in Codex. Select the Graphify skill and enter:
In the Codex desktop app, local skills live in the @ menu, not the / menu. Type @graphify, select the skill, then add your request. The assistant runs the workflow and writes graphify-out/. Code extraction runs locally. Semantic extraction can use your assistant’s model for documents and media.

3. Ask with context

Once the graph is built, ask Codex to answer from it and cite the source files:
Use Graphify to explain the authentication flow. Cite the source files and distinguish explicit relationships from inferred ones.
You can also query from a terminal:

Keep it current

If the skill is missing, refresh Codex and confirm the install is in the scope you intended. See troubleshooting. To call the same graph as tools, connect the local MCP server.