graphify

Convert code, docs, papers, images, and videos into a queryable knowledge graph.

2|Updated May 30, 2026
One-click install
npx skills add https://github.com/virahitvin8/crafty-gis --skill graphify-virahitvin8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graphify
Source: https://github.com/virahitvin8/crafty-gis/tree/main/GIT_STAR/.agent/skills/graphify
Command: npx skills add https://github.com/virahitvin8/crafty-gis --skill graphify-virahitvin8

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires graphifyy.

What problem does it solve? Understanding a large codebase or document corpus requires reading hundreds of files manually. This Skill turns any folder of code, docs, papers, images, or videos into a navigable knowledge graph with community detection, so you can query concepts, trace relationships, and discover cross-document connections without reading everything. ## Core Features & Use Cases - Multi-format extraction: Combines deterministic AST parsing for code with LLM-based semantic extraction for docs, papers, and images, plus Whisper transcription for video and audio files. - Honest audit trail: Every edge is labeled EXTRACTED, INFERRED, or AMBIGUOUS with a confidence score, so you know what is fact versus inference. - Multiple outputs: Generates an interactive HTML visualization, GraphRAG-ready JSON, a plain-language GRAPH_REPORT.md, plus optional exports to GraphML, SVG, Neo4j, Obsidian vaults, and an agent-crawlable wiki. - Query and analysis: Supports BFS/DFS graph queries, shortest-path lookups between concepts, plain-language node explanations, community detection, and incremental updates on changed files. - Use Case: Point it at a GitHub repository URL to clone it, build a cross-repo knowledge graph, and ask questions like how the authentication module connects to the database layer. ## Quick Start Run /graphify on the current directory to build a knowledge graph and open the generated interactive HTML report.

Frequently Asked Questions about graphify

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

FAQPage Schema
How do I build a knowledge graph from a codebase?

Run /graphify on the target directory or pass a GitHub URL to clone and process it automatically. The pipeline detects files, extracts entities via AST parsing and LLM subagents, clusters communities, and outputs an interactive HTML graph plus graph.json.

What file types can be turned into a knowledge graph?

Supported inputs include code files, Markdown and text docs, PDF papers, images, and video or audio files. Video and audio are first transcribed with Whisper, then treated as documents during semantic extraction.

Can I query the knowledge graph after building it?

Yes. Use /graphify query with a question for BFS or DFS traversal, /graphify path to find the shortest path between two concepts, and /graphify explain for a plain-language explanation of any node.

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 auto-rebuild the graph on code changes without needing an LLM.

How do I export a knowledge graph to Neo4j or Gephi?

Use --neo4j to generate a Cypher file or --neo4j-push with a bolt URL to write directly to Neo4j. For Gephi or yEd, pass --graphml to export graph.graphml, and --svg produces an embeddable vector image.

Why did graphify produce an empty graph?

An empty graph means extraction produced no nodes, typically because all files were skipped, the corpus contains only unsupported binary files, or extraction failed. Check the detection summary for skipped or unsupported files and re-run on a valid subfolder.