graphify

Builds a queryable knowledge graph from code, docs, papers, images, and video.

Updated Sep 1, 2026
One-click install
npx skills add https://github.com/bilo-io/midnite-studio --skill graphify-bilo-io
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: graphify
Source: https://github.com/bilo-io/midnite-studio/tree/main/.agents/skills/graphify
Command: npx skills add https://github.com/bilo-io/midnite-studio --skill graphify-bilo-io

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires graphifyy, networkx, and includes references (resource) components.

What problem does it solve? Understanding a large codebase or mixed corpus of documents requires reading hundreds of files manually. This Skill turns any folder into a persistent knowledge graph with community detection and an honest audit trail, so architecture questions can be answered by querying the graph instead of re-reading source files. ## Core Features & Use Cases - Knowledge graph construction: Extracts entities and relationships from code (AST-based, no LLM needed), docs, papers, images, and transcribed video, producing interactive HTML, GraphRAG-ready JSON, and a plain-language GRAPH_REPORT.md. - Graph querying: Answers natural-language questions via BFS/DFS traversal, finds shortest paths between concepts, and explains individual nodes with source citations. - Incremental updates and exports: Supports --update for changed files only, --watch for auto-rebuilds, and exports to Neo4j, FalkorDB, GraphML, SVG, Obsidian vaults, and an MCP server. - Use Case: Point it at a repository with /graphify ., then ask "How does the authentication flow reach the database?" and get an answer traced through the graph with file and line citations. ## Quick Start Run /graphify on the current directory to build the knowledge graph, then ask any question about the codebase to query it.

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 a local path or GitHub URL to extract entities and relationships into a knowledge graph. Code is parsed structurally via AST with no LLM required, and the output includes graph.json, an interactive HTML visualization, and a GRAPH_REPORT.md summary.

How to query a code knowledge graph with natural language?▼

Use graphify query followed by your question once graphify-out/graph.json exists. It expands your query against the graph's actual vocabulary, then runs BFS traversal for broad context or DFS with --dfs to trace a specific dependency path.

Does graphify require an API key to run?▼

No API key is required. Code extraction is fully structural via AST, and semantic extraction for docs and images falls back to the host agent itself. Setting GEMINI_API_KEY or GOOGLE_API_KEY optionally enables Gemini for semantic extraction.

Can I export a knowledge graph to Neo4j or FalkorDB?▼

Yes, the --neo4j and --falkordb flags generate a Cypher file, while --neo4j-push and --falkordb-push load the graph directly into a running instance. Both use MERGE statements, so re-running is safe without creating duplicates.

How do I update the graph after changing only a few files?▼

Run /graphify with --update to re-extract only new or changed files and prune deleted ones. Code-only changes skip LLM extraction entirely, making incremental updates fast and free of token costs.

What file types can be turned into a knowledge graph?▼

Supported inputs include source code in many languages, Markdown and text docs, PDF papers, images analyzed with vision, and video or audio transcribed via Whisper. Multiple GitHub repos can also be cloned and merged into one cross-repo graph.