graphify

Extract entities and relationships from source files into a repository knowledge graph.

Updated May 7, 2026
One-click install
npx skills add https://github.com/TumeloRamaphosa/StudEx-Valley-OS --skill graphify-tumeloramaphosa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graphify
Source: https://github.com/TumeloRamaphosa/StudEx-Valley-OS/tree/main/.claude/skills/graphify/graphify
Command: npx skills add https://github.com/TumeloRamaphosa/StudEx-Valley-OS --skill graphify-tumeloramaphosa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires networkx, graspologic, datasketch, rapidfuzz.

What problem does it solve?

graphify helps you understand a large repository by extracting relationships between its files, symbols, and architecture, so you can answer “how does it work?” questions without hand-grepping or reading everything.

Core Features & Use Cases

  • Build a knowledge graph from a repo: extracts entities and relationships, clusters them into communities, and produces a graph output you can query.
  • Find architectural “god nodes” and surprising couplings: surfaces the most connected abstractions and highlights non-obvious links across modules or file types.
  • Generate architecture-focused questions: proposes what to investigate next based on ambiguous edges, bridges between communities, and low-cohesion areas.
  • Export multiple outputs for review: export interactive HTML, JSON, and other documentation-friendly formats for stakeholder-friendly analysis.

Quick Start

Build the knowledge graph from the current project folder by running: graphify .

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 to understand its architecture?

Building a knowledge graph from a codebase involves extracting entities and relationships from source files, then clustering nodes into communities to map repository architecture. This produces a queryable graph.json output for downstream analysis.

Can I discover code dependencies and find god nodes across different file types?

You can discover code dependencies and identify architectural god nodes by analyzing the extracted knowledge graph. The analysis surfaces highly connected abstractions and non-obvious couplings across different modules and file types.

How do I export a repository knowledge graph for stakeholder review?

You can export the repository knowledge graph into interactive HTML, JSON, and other documentation-friendly formats. These outputs translate dependency discovery and clustering analysis into stakeholder-friendly architecture reports.

Does generating a code knowledge graph require semantic LLM extraction?

Generating a code knowledge graph requires deterministic AST extraction to parse source files, while semantic LLM extraction is optional. This combination supports architecture discovery and answers how specific modules connect across the codebase.

How does clustering help with code navigation in large repositories?

Clustering helps code navigation by grouping related entities into communities within the knowledge graph, revealing low-cohesion areas and bridges. This allows you to answer how and where specific components connect across large repositories.