# 前言 - 视频 - [🚀AI编程工作流终极形态:GitNexus!零Token消耗实现代码知识图谱化!让Claude Code和Codex拥有上帝视角彻底告别盲目改代码,效率倍增](https://www.bilibili.com/video/BV1vy9XBrExq/?share_source=copy_web&vd_source=fe8142e8e12816535feaeabd6f6cdc8e) # Setup - 安装: - npm install -g gitnexus - gitnexus setup - 操作命令 - 分析代码 - **npx gitnexus analyze** - **gitnexus analyze --embeddings --skills --v erbose** - 启动MCP服务器:**gitnexus serve** - ClaudeCode - CLI - /gitnexus-cli - /gitnexus-debugging - /gitnexus-exploring:理解代码架构。 - Hook - PreToolUse - PostToolUse - `claude mcp add gitnexus -- cmd /c npx -y gitnexus@latest mcp`