Skip to content

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

fix: HTML always generated by default in Step 6, not flag-gated

Safie98c1b629792
diff --git a/graphify/skill.md b/graphify/skill.md
index 61ca3a5ba..7e7c62fdc 100644
--- a/graphify/skill.md
+++ b/graphify/skill.md
@@ -17,7 +17,7 @@ Turn any folder of files into a navigable knowledge graph with community detecti
/graphify <path> --update # incremental - re-extract only new/changed files
/graphify <path> --cluster-only # rerun clustering on existing graph
/graphify <path> --no-viz # skip visualization, just report + JSON
-/graphify <path> --html # also export graph.html (interactive vis.js, browser-based)
+/graphify <path> --html # (HTML is generated by default - this flag is a no-op)
/graphify <path> --svg # also export graph.svg (embeds in Notion, GitHub)
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
@@ -416,13 +416,13 @@ print(' _COMMUNITY_* - overview notes with cohesion scores and dataview queries
"
```
-**Only if `--html` flag was passed**, also generate :
+Also generate the HTML graph (always, unless `--no-viz`):
```bash
python3 -c "
import sys, json
from graphify.build import build_from_json
-from graphify.export import generate_html
+from graphify.export import to_html
from pathlib import Path
extraction = json.loads(Path('.graphify_extract.json').read_text())
@@ -436,8 +436,8 @@ labels = {int(k): v for k, v in labels_raw.items()}
if G.number_of_nodes() > 5000:
print(f'Graph has {G.number_of_nodes()} nodes - too large for HTML viz. Use Obsidian vault instead.')
else:
- generate_html(G, communities, 'graphify-out/graph.html', community_labels=labels or None)
- print('graph.html written')
+ to_html(G, communities, 'graphify-out/graph.html', community_labels=labels or None)
+ print('graph.html written - open in any browser, no server needed')
"
```
diff --git a/skills/graphify/skill.md b/skills/graphify/skill.md
index 61ca3a5ba..7e7c62fdc 100644
--- a/skills/graphify/skill.md
+++ b/skills/graphify/skill.md
@@ -17,7 +17,7 @@ Turn any folder of files into a navigable knowledge graph with community detecti
/graphify <path> --update # incremental - re-extract only new/changed files
/graphify <path> --cluster-only # rerun clustering on existing graph
/graphify <path> --no-viz # skip visualization, just report + JSON
-/graphify <path> --html # also export graph.html (interactive vis.js, browser-based)
+/graphify <path> --html # (HTML is generated by default - this flag is a no-op)
/graphify <path> --svg # also export graph.svg (embeds in Notion, GitHub)
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
@@ -416,13 +416,13 @@ print(' _COMMUNITY_* - overview notes with cohesion scores and dataview queries
"
```
-**Only if `--html` flag was passed**, also generate :
+Also generate the HTML graph (always, unless `--no-viz`):
```bash
python3 -c "
import sys, json
from graphify.build import build_from_json
-from graphify.export import generate_html
+from graphify.export import to_html
from pathlib import Path
extraction = json.loads(Path('.graphify_extract.json').read_text())
@@ -436,8 +436,8 @@ labels = {int(k): v for k, v in labels_raw.items()}
if G.number_of_nodes() > 5000:
print(f'Graph has {G.number_of_nodes()} nodes - too large for HTML viz. Use Obsidian vault instead.')
else:
- generate_html(G, communities, 'graphify-out/graph.html', community_labels=labels or None)
- print('graph.html written')
+ to_html(G, communities, 'graphify-out/graph.html', community_labels=labels or None)
+ print('graph.html written - open in any browser, no server needed')
"
```