| Command | What it does |
|---|---|
graphify . | Full build: extract + cluster + report. First time on a project. |
graphify update . | Re-extract changed files, update graph. Fast refresh. |
graphify update . --force | Force overwrite even if new graph has fewer nodes (post-refactor). |
graphify watch . | Watch for changes, auto-rebuild. |
graphify hook install | Git post-commit hook for automatic updates. |
| Command | What it does |
|---|---|
graphify path "A" "B" | Shortest path between two nodes. |
graphify explain "X" | Plain-language explanation of a node + neighbors. |
graphify benchmark | Measure token reduction vs. naive full-file approach. |
graphify export callflow-html | Mermaid-based architecture page with call-flow diagrams. |
| Command | What it does |
|---|---|
graphify kiro install | Project-scoped: writes .kiro/skills/graphify/ |
graphify install | Claude Code: writes to CLAUDE.md + PreToolUse hook |
graphify install --platform codex | Codex: writes to AGENTS.md |
| Command | What it does |
|---|---|
graphify . --global | Also merge into global graph (~/.graphify/global-graph.json) |
graphify global list | List repos in the global graph. |
graphify merge-graphs g1.json g2.json | Merge two graph files into one cross-repo graph. |
graphify clone <github-url> | Clone a repo locally for graphing. |
| File | Purpose | Consumer |
|---|---|---|
graphify-out/graph.json | Full graph: nodes + edges | AI assistant |
graphify-out/GRAPH_REPORT.md | Summary: communities, key nodes, questions | Human + AI |
graphify-out/graph.html | Interactive visualization | Human (browser) |
| Flag | Effect |
|---|---|
--no-cluster | Skip LLM clustering, write raw extraction only (fast, no API key needed). |
--no-viz | Skip graph.html generation (large graphs, CI). |
--no-label | Keep "Community N" placeholders instead of LLM-named clusters. |
--backend=<name> | LLM backend for clustering (auto-detect by default). |
--max-concurrency N | Parallel extraction chunks (default 4, set 1 for local LLMs). |