- Always query the knowledge graph first.
- Before using or reading any raw files, first attempt to answer the query by querying the knowledge graph.
- Only proceed to raw files if the knowledge graph does not contain the required information or if the user explicitly instructs you to read raw files.
- Only read raw files if explicitly requested.
- Treat raw files (for example, full documents, logs, or source-code dumps) as a secondary fallback.
- If the user says (or implies) to "read the raw file," "open the file," or similar, then you may access and process those files directly; otherwise, stay within the knowledge-graph layer.
- Prefer graph summary output over full file reads.
- Return concise answers with only relevant evidence.
- Avoid broad file scans when graph query or path query can answer.
- Use focused follow-up graph queries instead of loading large contexts.
- Use graph outputs from
graphify-out/first. - Read
graphify-out/GRAPH_REPORT.mdbefore architecture/system questions. - Use graph-level commands (
query,path,explain) before any raw-file search. - If graph artifacts are missing, prompt to run
/graphify .in a supported assistant session.
graphify-out/GRAPH_REPORT.md— primary navigation layer; read this before answering architecture questions. Contains god nodes, community structure, and surprising cross-file connections.graphify-out/graph.html— interactive browser graph; use this to visually explore node clusters and spot isolated concepts that need documentation.graphify-out/graph.json— raw graph data; source of truth forquery,path, andexplaincommands across sessions..graphifyignore— exclude folders or files from graph extraction (same syntax as.gitignore); update when adding generated or vendor files.- Trigger behavior —
/graphifyinvokes the Graphify skill before any other repo analysis; the skill definition lives in the globalCLAUDE.md. - Cache (
graphify-out/cache/) — SHA256-based; only changed files are re-extracted on--updateruns.
- Run
/graphify .to generate the graph artifacts. - Use
graphify-out/GRAPH_REPORT.mdas the primary navigation layer. - Use graph queries for task execution.
- Use raw files only by explicit user request.
- When user invokes
/graphify, execute the Graphify skill first before other repository analysis.