🧠 Graphify:47.6k Stars 的项目知识图谱工具,/graphify . 一键映射整个代码库
一句话
给你的 AI Coding Agent 装上地图—— /graphify . 把你的整个项目变成可查询的知识图谱,从此不用在文件海洋里 grep。
是什么
Graphify 是一个开源的 AI 编码助手技能,输入 /graphify . 就能把你的整个项目——代码、文档、PDF、图片、视频——映射成一个知识图谱。输出三个文件:
graphify-out/
├── graph.html 在浏览器打开,点击节点、筛选、搜索
├── GRAPH_REPORT.md 关键概念、意外连接、建议问题
└── graph.json 完整图谱,随时查询无需重新读文件
支持 Claude Code、Codex、OpenCode、Cursor、Gemini CLI、GitHub Copilot CLI、VS Code Copilot Chat、Aider、OpenClaw、Hermes、Pi 等 20+ 平台。47.6k GitHub stars,2026 年 4 月发布,一个月冲到 47k+。
快速安装
# Step 1: 安装
uv tool install graphifyy
# 或者 pip install graphifyy
# Step 2: 注册技能到你的 AI 助手
graphify install
# Step 3: 开用
/graphify .
支持按需安装扩展:
pip install "graphifyy[pdf]" # PDF 提取
pip install "graphifyy[video]" # 视频/音频转录
pip install "graphifyy[neo4j]" # Neo4j 图谱推送
pip install "graphifyy[mcp]" # MCP stdio 服务器
为什么值得用
AI 编程助手处理大型代码库时最大的痛点是上下文不够。Graphify 的做法不是塞更多 token,而是先建图——让 AI 知道自己要查什么文件,再精准读取。
你还可以生成架构图:
graphify export callflow-html
输出包含 Mermaid 调用流程图的可读架构页面。
What is Graphify?
A graph-based project understanding tool for AI coding assistants. One command maps your entire codebase into a queryable knowledge graph — works across 20+ platforms including Claude Code, Codex, Cursor, Gemini CLI, and OpenClaw.
Install:
uv tool install graphifyy
graphify install
/graphify .
Output: graph.html (interactive), GRAPH_REPORT.md (summary), graph.json (raw data). Supports PDF, video, Office docs, Neo4j, and MCP extensions.
47.6k stars, MIT license. Created April 2026 — one of the fastest-growing AI tools this year.