graphify

Convert files into a knowledge graph with community detection and HTML, JSON, and report outputs.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/ttnhan18062000/rpg-based-simulation --skill graphify-ttnhan18062000
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graphify
Source: https://github.com/ttnhan18062000/rpg-based-simulation/tree/main/docs/archive/legacy_agents_skills_20260722/graphify
Command: npx skills add https://github.com/ttnhan18062000/rpg-based-simulation --skill graphify-ttnhan18062000

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires graphifyy.

What problem does it solve? Understanding a large mixed corpus of code, documents, papers, and images requires reading everything manually, and connections across files stay hidden. graphify turns any folder into a persistent, queryable knowledge graph with 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. - Community Detection & Analysis: Clusters the graph into labeled communities, surfaces god nodes and surprising cross-document connections, and generates a plain-language GRAPH_REPORT.md. - Multiple Export Formats: Produces interactive HTML, GraphRAG-ready JSON, Obsidian vaults, SVG, GraphML, and Neo4j Cypher or direct push, plus an MCP server for agent access. - Use Case: Point it at an unfamiliar codebase or a research reading list to get a navigable graph showing architecture, concept clusters, and unexpected connections before touching anything. ## 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 path. It detects supported files, extracts entities and relationships via AST parsing for code and parallel subagents for docs and images, then clusters the graph and outputs HTML, JSON, and a GRAPH_REPORT.md.

What file types does graphify support for graph extraction?

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

Can I export a knowledge graph to Neo4j or Obsidian?

Yes. Use --neo4j to generate a Cypher import file or --neo4j-push to write directly to a running Neo4j instance. The --obsidian flag generates a vault with one note per node plus a canvas file for community layout.

How does graphify handle large corpora with many files?

Corpora over 200 files or 2 million words trigger a warning and prompt you to pick a subfolder. Extraction uses caching so unchanged files are skipped on re-runs, and semantic work is split into parallel chunks of 20-25 files.

Why does graphify mark some edges as INFERRED or AMBIGUOUS?

Every edge carries a confidence label so you can distinguish relationships explicitly found in sources from reasonable inferences. EXTRACTED edges score 1.0, INFERRED edges score 0.4-0.9 based on evidence strength, and AMBIGUOUS edges score 0.1-0.3 for review.

What are the limitations of graphify HTML visualization?

Graphs with more than 5000 nodes are too large for the interactive HTML output and should be viewed through the generated Obsidian vault instead. Extraction also fails on empty or binary-only corpora, producing an empty-graph error.