graphify

Convert folders of code, docs, papers, and images into a clustered knowledge graph with HTML, JSON, and audit report outputs.

7|2|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/sap-tutorials/tutorials-ims --skill graphify-sap-tutorials
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: graphify
Source: https://github.com/sap-tutorials/tutorials-ims/tree/main/skills/graphify
Command: npx skills add https://github.com/sap-tutorials/tutorials-ims --skill graphify-sap-tutorials

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires graphifyy.

What problem does it solve? Understanding a large mixed corpus — a new codebase, a reading list of papers, or a personal notes folder — requires reading everything manually, and connections across documents stay hidden. graphify turns any folder into a persistent, queryable knowledge graph with community detection and an honest audit trail showing which relationships were extracted versus inferred. ## Core Features & Use Cases - Knowledge graph extraction: Combines deterministic AST parsing for code with parallel LLM subagents for docs, papers, and images, tagging every edge as EXTRACTED, INFERRED, or AMBIGUOUS with confidence scores. - Clustering and analysis: Detects communities, identifies god nodes and surprising cross-document connections, and generates a plain-language GRAPH_REPORT.md plus GraphRAG-ready graph.json. - Multiple export targets: Produces interactive HTML, Obsidian vaults with canvas, SVG, GraphML, Neo4j Cypher/push, and an MCP server for live agent queries. - Use Case: Point it at an unfamiliar repository to get a labeled community map of its architecture, then run /graphify query or /graphify path to explore how modules connect before touching any code. ## Quick Start Run /graphify on the current directory to build a knowledge graph and open the generated graph.html report.

Frequently Asked Questions about graphify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn a folder of files into a knowledge graph?▼

Run /graphify on the target folder. It detects supported files, extracts entities via AST parsing for code and parallel LLM subagents for docs and images, clusters the graph into communities, and outputs graph.html, graph.json, and GRAPH_REPORT.md.

How do I visualize a codebase architecture before modifying it?▼

Run /graphify on the repository root. The AST extractor maps imports and structure while semantic subagents find call relationships and shared data, producing a community-labeled HTML graph you can explore in any browser.

Can graphify export a knowledge graph to Neo4j?▼

Yes. Use --neo4j to generate a cypher.txt file for manual import via cypher-shell, or --neo4j-push with a bolt URI and credentials to push nodes and edges directly. It uses MERGE, so re-runs do not create duplicates.

Does graphify support incremental updates when files change?▼

Yes. The --update flag re-extracts only new or changed files using a semantic cache, and --watch monitors a folder to rebuild automatically on code changes without needing an LLM.

What are the limitations of graphify on very large corpora?▼

Corpora over 2 million words or 200 files trigger a warning asking you to pick a subfolder. Graphs over 5000 nodes skip HTML visualization in favor of the Obsidian vault export.

How does graphify handle video and audio files?▼

Video and audio files are transcribed with Whisper first, using a domain hint derived from the corpus as the initial prompt. The transcripts are then treated as documents during semantic extraction.