Install
openclaw skills install skill-graphifyTurn any folder of code, docs, papers, or images into a queryable knowledge graph. Cross-platform wrapper for graphify CLI.
openclaw skills install skill-graphifyTurn any folder of files into a navigable knowledge graph with community detection, honest audit trail, and three outputs: interactive HTML, queryable JSON, and a plain-language report.
python graphify_wrapper.py ensure-installed
Or manually: pip install graphifyy
python graphify_wrapper.py build /path/to/project
This runs the full pipeline: detect files → AST extraction → build graph → cluster → export.
Output goes to <project>/graphify-out/:
graph.html — interactive visualization (open in browser)GRAPH_REPORT.md — plain-language audit reportgraph.json — queryable knowledge graphcache/ — SHA256 cache for incremental updatespython graphify_wrapper.py report
Or read graphify-out/GRAPH_REPORT.md directly. Present the key findings to the user: god nodes (highly connected), surprising connections, community structure.
python graphify_wrapper.py query "how does authentication work"
Or use the CLI directly for more options:
graphify query "show the auth flow" --graph graphify-out/graph.json
graphify query "what connects X to Y?" --graph graphify-out/graph.json --dfs
graphify query "explain dependency injection" --budget 1500 --graph graphify-out/graph.json
After building, send graphify-out/graph.html to the user so they can explore the interactive graph. Summarize GRAPH_REPORT.md in your response.
If graphify CLI is available, you can use these directly:
| Command | Description |
|---|---|
graphify query "..." --graph <path> | BFS traversal of the graph |
graphify query "..." --dfs --graph <path> | DFS — trace a specific path |
graphify query "..." --budget N --graph <path> | Cap output at N tokens |
graphify path "Node1" "Node2" --graph <path> | Shortest path between concepts |
graphify explain "NodeName" --graph <path> | Plain-language explanation of a node |
graphify_wrapper.py) handles cross-platform compatibility (Windows CMD, Linux, macOS).graphifyignore file (same syntax as .gitignore) to exclude directoriesgraphifyy (pip) — automatically installed by wrapper