GitHub - safishamsi/graphify: AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, OpenClaw, Factory Droid, Trae). Turn any folder of code, docs, papers, or images into a query
Graphify is an open-source Python tool that turns any folder of code, docs, PDFs, or images into a queryable knowledge graph. It integrates as a skill (via `/graphify`) into AI coding assistants like Claude Code, Cursor, Codex, Gemini CLI, and others. It runs a two-pass extraction: a deterministic AST pass via tree-sitter for code (20 languages supported), and parallel Claude subagents for docs, papers, and images. Results are merged into a NetworkX graph, clustered with Leiden community detection, and exported as interactive HTML, JSON, and a plain-language report. Key features include 71.5x token reduction vs. raw file reading, SHA256 caching for incremental updates, confidence-tagged relationships (EXTRACTED/INFERRED/AMBIGUOUS), MCP server support, git hooks for auto-rebuild, and optional Neo4j/Obsidian/wiki export. Privacy-conscious: code is processed locally via AST; only docs/images are sent to the model API.