| name | graphify |
| description | any input (code, docs, papers, images) - knowledge graph - clustered communities - HTML + JSON + audit report |
| trigger | /graphify |
/graphify
Turn any folder of files into a navigable knowledge graph with community detection, an honest audit trail, and three outputs: interactive HTML, GraphRAG-ready JSON, and a plain-language GRAPH_REPORT.md.
Use this skill when the user asks to turn code, docs, papers, images, videos, notes, or a mixed corpus into a persistent knowledge graph; query an existing graph; find paths between concepts; add a URL to a graph corpus; export graph artifacts; or run graphify watch/hooks/Claude integration.
Usage
/graphify
/graphify <path>
/graphify <path> --mode deep
/graphify <path> --update
/graphify <path> --directed
/graphify <path> --cluster-only
/graphify <path> --no-viz
/graphify <path> --svg
/graphify <path> --graphml
/graphify <path> --neo4j
/graphify <path> --mcp
/graphify <path> --watch
/graphify <path> --wiki
/graphify add <url>
/graphify query "<question>"
/graphify path "AuthModule" "Database"
/graphify explain "SwinTransformer"
Why It Exists
graphify follows the /raw folder workflow: drop anything into a folder — papers, tweets, screenshots, code, notes — and get a structured graph that shows what is connected.
Three things it does that a model alone cannot reliably provide:
- Persistent graph — relationships are stored in
graphify-out/graph.json and survive across sessions.
- Honest audit trail — every edge is tagged
EXTRACTED, INFERRED, or AMBIGUOUS.
- Cross-document surprise — community detection finds relationships across files that the user may not know to ask about.
Use it for new codebases, reading lists, research corpora, and personal raw folders.
Progressive Loading
Read only the file needed for the requested path:
| Request shape | Read next |
|---|
Full /graphify pipeline, including install, file detection, and transcription | SetupAndDetection.md, then Extraction.md, then GraphOutputs.md |
| Entity/relationship extraction details, AST extraction, semantic subagents, caching, or merge logic | Extraction.md |
| Clustering, community labels, HTML, Obsidian, wiki, Neo4j, SVG, GraphML, MCP, benchmark, manifest, and final report | GraphOutputs.md |
--update or --cluster-only | IncrementalOps.md |
query, path, or explain | QueryOps.md |
add, --watch, commit hook, or Claude integration | AutomationOps.md |
| Edge provenance, cost visibility, warning, and reporting constraints | HonestyRules.md |
For normal full-pipeline invocation, follow the referenced files in order and do not skip steps.
Core Rules
- If no path was given, use
. and do not ask for a path.
- Never invent an edge. If unsure, use
AMBIGUOUS.
- Never skip the corpus-size warning.
- Always show token cost in the report.
- Never hide cohesion scores behind symbols; show the raw number.
- Never run HTML visualization on a graph with more than 5,000 nodes without warning the user.
- Preserve the interpreter guard: subsequent commands must use
$(cat graphify-out/.graphify_python) after setup.
- For semantic extraction, use parallel extraction agents as described in
Extraction.md; do not read all files manually one by one.