graphify

Generate a knowledge graph from a directory of files and explore relationships.

Updated Jul 9, 2026
One-click install
npx skills add https://github.com/lyingparachute/skills --skill graphify-lyingparachute
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graphify
Source: https://github.com/lyingparachute/skills/tree/main/graphify
Command: npx skills add https://github.com/lyingparachute/skills --skill graphify-lyingparachute

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires graphify, networkx, json, pandas, numpy, matplotlib, scikit-learn, python-docx, pdfplumber, opencv-python, tensorflow, torch, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables users to quickly and easily create a knowledge graph from any collection of files, including code, documents, papers, images, and videos. It helps users understand the relationships between different elements and answer questions about the codebase or project.

Core Features & Use Cases

  • Knowledge Graph Creation: Automatically generate a graph from a directory of files, including code, documents, papers, images, and videos.
  • Community Detection: Identify and label communities of related concepts within the graph.
  • Query and Traversal: Interactively explore the graph and answer questions about the codebase or project.
  • Export: Export the graph in various formats, including JSON, SVG, and GraphML.

Quick Start

To create a knowledge graph from a directory of files, use the graphify skill with the path to the directory: /graphify path/to/files.

Frequently Asked Questions about graphify

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

FAQPage Schema
How do I generate a knowledge graph from a directory of files?

To generate a knowledge graph from a directory, use the graphify skill with the target path. It automatically parses code, documents, papers, images, and videos to build a persistent graph of relationships.

What is community detection in codebase analysis and how does it help?

Community detection in codebase analysis identifies and labels clusters of related concepts within a knowledge graph. This helps you understand structural relationships and navigate complex project dependencies more effectively.

Can I analyze images and videos or is this limited to code and documents?

You can analyze images and videos alongside code and documents. The knowledge graph creation supports various file types by parsing multimedia content using libraries like OpenCV and TensorFlow.

What Python libraries are required for graph traversal and analysis?

Graph traversal and analysis require the graphify library along with networkx, pandas, numpy, and scikit-learn. These dependencies enable interactive exploration and querying of the generated graph.

What is the best way to export a knowledge graph for external visualization?

The best way to export a knowledge graph for external visualization is using the built-in export feature. It supports outputting the graph structure in JSON, SVG, and GraphML formats.

Does graph analysis work with unstructured PDF and Word documents?

Graph analysis works with unstructured PDF and Word documents by extracting text and metadata. It uses pdfplumber and python-docx to parse these files into nodes within the knowledge graph.