graphify

Build and query a codebase knowledge graph from code, docs, and media.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/lurodrisilva/personal-skills --skill graphify-lurodrisilva
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: graphify
Source: https://github.com/lurodrisilva/personal-skills/tree/main/ai/graphify
Command: npx skills add https://github.com/lurodrisilva/personal-skills --skill graphify-lurodrisilva

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Understanding a large or unfamiliar codebase requires re-reading raw files repeatedly, which wastes tokens and time. This Skill guides building a queryable knowledge graph of an entire repository — code, docs, PDFs, images, and media — so an AI assistant answers questions from the graph instead of re-scanning source files. ## Core Features & Use Cases - Graph building and querying: Run /graphify . to map a repo into a NetworkX graph.json via a three-pass pipeline (local tree-sitter code parsing, faster-whisper media transcription, LLM semantic extraction), then query with /graphify query, path, and explain. - PR impact and CI integration: Triage pull requests by graph blast-radius (graphify prs --triage), install AST-only git hooks, and run headless extraction in CI with graphify extract --backend claude|gemini|ollama. - MCP serving: Expose the built graph as MCP tools (query_graph, shortest_path, get_pr_impact, and more) via python -m graphify.serve. - Use Case: Onboarding to a 200k-line monorepo — build the graph once, commit graphify-out/ to git, and ask "what connects auth to database?" using roughly 71x fewer tokens than re-reading files. ## Quick Start Ask the assistant to graphify this repository and then query what connects two modules in the code graph.

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 of my codebase?▼

Install the graphifyy package with uv tool install graphifyy, register your assistant with graphify install, then run /graphify . in the repo root. The graph, HTML visualization, and report are written to graphify-out/.

Why does pip install graphify fail with command not found?▼

The PyPI package is named graphifyy with a double y, while the console command it installs is graphify. Running pip install graphify gets the wrong or nonexistent package, so install graphifyy instead.

Does Graphify send my source code to an LLM API?▼

No. Code structure is parsed locally with tree-sitter at zero API cost. Only documentation, PDFs, images, and media transcripts go to a configured LLM during the semantic extraction pass.

Can I use Graphify in CI without an interactive session?▼

Yes. Run graphify extract ./docs --backend claude, gemini, or ollama with the matching API key environment variable such as ANTHROPIC_API_KEY. Code extraction stays local regardless of backend.

Does Graphify store the graph in a SQL database?▼

No. Graphify's only store is the NetworkX node-link graph.json under graphify-out/. The Docker MCP SQLite server is a separate companion for persisting query insights, not Graphify storage.

When should I not use a codebase knowledge graph?▼

Avoid it for generic graph database needs like Neo4j administration or for RAG vector-embedding pipelines. Graphify uses graph structure as the similarity signal rather than a vector index.