// Skill profile
Graphify-Labs/graphify is a 109K-star tool that transforms source code, documentation, SQL schemas, configs, and PDFs into a queryable knowledge graph. Invoked as a /graphify skill in Claude Code, Cursor, Codex, Gemini CLI, and 15+ other agent harnesses, Graphify runs a two-stage extraction pipeline: code extraction uses deterministic tree-sitter AST parsing locally (nothing leaves your machine, 37+ languages, zero API calls), while semantic extraction processes docs, PDFs, and media through configurable LLM backends (Claude, Gemini, OpenAI, Ollama). The resulting graph is clustered using Leiden community detection, generating human-readable subsystem labels and ranking 'god nodes' — the most-connected concepts in the codebase. Every relationship carries a confidence tag (EXTRACTED, INFERRED, or AMBIGUOUS). Outputs include an interactive browser-based graph visualization (graph.html), an architecture summary (GRAPH_REPORT.md), and a portable graph.json queryable by MCP servers or external tools. Built by Graphify Labs (Y Combinator S26 batch), dual-licensed Apache-2.0 and MIT.
Graphify turns entire codebases — source code, documentation, SQL schemas, configs, and PDFs — into queryable knowledge graphs that coding agents can reason over. Instead of forcing agents to read raw files sequentially (slow, context-hungry, and lossy), Graphify pre-computes a structural map of the codebase: every function, class, module, import, and cross-file relationship is captured as a graph with typed, confidence-tagged edges. Built by Graphify Labs (Y Combinator S26 batch) and reaching 109K+ stars, the tool has become the standard approach to codebase understanding for agent-assisted development.
Graphify runs a two-stage extraction pipeline:
Code extraction (deterministic, local) — Tree-sitter AST parsing runs entirely on your machine with zero API calls. Supports 37+ programming languages. Every function call, import, class hierarchy, and type reference becomes a node or edge in the graph.
Semantic extraction (optional, LLM-backed) — Documentation, PDFs, images, and media are processed through your chosen LLM backend (Claude, Gemini, OpenAI, Ollama, or others) to identify cross-file relationships and implicit connections that AST parsing alone cannot capture.
The combined graph is then clustered using Leiden community detection, which identifies natural subsystems in the codebase and generates human-readable labels for each cluster. The algorithm also ranks “god nodes” — the most highly-connected concepts that represent architectural bottlenecks or core abstractions.
Every relationship carries a confidence tag: EXTRACTED (explicitly present in source), INFERRED (resolved by Graphify’s analysis), or AMBIGUOUS (multiple possible interpretations). This lets agents and developers distinguish hard facts from educated guesses.
graphify query, graphify path, graphify explain) instead of reading entire files, drastically reducing context usage# Install graphify
npm install -g graphify
# Index your codebase
graphify .
# Query the graph
graphify query "What modules depend on the auth service?"
graphify path "UserController" "DatabasePool"
graphify explain "PaymentService"
In agent harnesses (Claude Code, Cursor, etc.), invoke the skill directly:
/graphify .
The skill installs platform-specific hooks that nudge agents toward querying the graph rather than reading raw files.
AI agents that work well with Graphify.
Single 70-line CLAUDE.md derived from Karpathy's LLM coding-pitfall observations — #1 GitHub trending for 28 consecutive days.
A complete software development methodology and composable skills framework for coding agents — brainstorm, plan, execute, review, ship.
Production-grade engineering skills for AI coding agents — addyosmani's curated bundle covering Claude Code, Cursor, and Antigravity workflows.