Pre-indexed code knowledge graph for Claude Code, Codex, Cursor, Gemini, and other AI agents. Instead of repeatedly grepping and reading files, CodeGraph parses your codebase once into a structured map of functions, classes, imports, and call relationships β so agents navigate with fewer tool calls and far less token spend. Supports 19+ languages, works 100% locally, integrates via CLI, MCP, or Agent Skill.
What CodeGraph can do for your AI workflow
Pre-indexed code knowledge directly from your Cursor conversation
Works across Cursor, Claude Code, Gemini CLI, Codex CLI β install once, use everywhere
Supports knowledge-graph, code-navigation, token-reduction, local and more
One-command installation β no complex setup required
Combine with other skills to build powerful multi-step AI workflows
Try these prompts with your AI agent after installing CodeGraph
Help me get started with CodeGraph
Explains what CodeGraph does, walks through the setup, and runs a quick demo based on your current project
Use CodeGraph to pre-indexed code knowledge graph for Claude Code, Codex, Cursor, Ge...
Invokes CodeGraph with the right parameters and returns the result directly in the conversation
What can I do with CodeGraph in my ai agent workflow?
Lists the top use cases for CodeGraph, with example commands for each scenario
Guides & tutorials for AI skills
10 Fresh GitHub Agent Skills Added in June 2026
A hand-checked shortlist of recently updated GitHub agent skills that were not already in our catalog, excluding marketplaces, awesome lists, managers, and generic skill directories.
The 7 AI Skills Every Software Developer Should Have Installed in 2026
After testing dozens of developer-focused AI skills, these are the seven that have proven genuinely useful across different tech stacks and workflows β not just impressive demos, but tools that hold up under daily use.
CodeGraph extends your AI assistant with the ability to pre-indexed code knowledge graph for Claude Code, Codex, Cursor, Gemini, and other AI agents. Instead of repeatedly grepping and reading files, CodeGraph parses your codebase once into a structured map of functions, classes, imports, and call relationships β so agents navigate with fewer tool calls and far less token spend. Supports 19+ languages, works 100% locally, integrates via CLI, MCP, or Agent Skill. Rather than leaving your conversation to handle this manually, you can ask your Cursor agent directly β and it will take care of the task end-to-end, using CodeGraph as its underlying capability.
CodeGraph works across Cursor, Claude Code, Gemini CLI through the Model Context Protocol (MCP) β an open standard that lets AI clients share tools and skills without lock-in. This makes it especially practical for teams and individuals working with knowledge-graph and code-navigation. Because MCP is platform-agnostic by design, you install CodeGraph once and it becomes available across all your AI clients. Whether you're working in Cursor for focused sessions or Claude Code for integrated workflows, the skill behaves consistently.
To install CodeGraph, copy the skill folder to `~/.claude/skills/codegraph/` for use across all your projects, or `.claude/skills/codegraph/` for a single project. Restart Cursor and the skill is immediately active β invoke it with `/codegraph` or just describe your goal and the AI will pick it up automatically.
CodeGraph is a community-contributed AI productivity skill available through DiscoverAISkills. The source code is open on GitHub β you can inspect it, contribute fixes, or fork it to adapt the skill for your specific setup. Like all skills on DiscoverAISkills, it is free to install and use. The broader AI skills ecosystem continues to expand as developers contribute new capabilities across categories like developer tools, data analysis, writing, automation, and more.
Place the skill folder at ~/.claude/skills/codegraph/ for personal use (all projects), or .claude/skills/codegraph/ for project-specific use. Restart your AI client, then invoke with /codegraph or let the AI discover it automatically.
CodeGraph supports Cursor, Claude Code, Gemini CLI, Codex CLI. It integrates seamlessly with these AI platforms to extend their capabilities.
CodeGraph is free to install. Check the repository for licensing information.
Pre-indexed code knowledge graph for Claude Code, Codex, Cursor, Gemini, and other AI agents. Instead of repeatedly grepping and reading files, CodeGraph parses your codebase once into a structured map of functions, classes, imports, and call relationships β so agents navigate with fewer tool calls and far less token spend. Supports 19+ languages, works 100% locally, integrates via CLI, MCP, or Agent Skill.
Select your agent
Option 1: Install via CLI (recommended)
Recommended (no pre-install needed)
npx clawhub@latest --dir ~/.claude/skills install codegraphOr via clawhub CLI (if already installed)
clawhub --dir ~/.claude/skills install codegraphβ οΈ Requires Node.js 18+. No Node? Use Option 2 below to download the ZIP instead. Install Node.js β
Option 2: Manual install (no Node required)
Download the ZIP, extract it, and place the folder at the path below. Restart your agent to activate.
Install path
~/.claude/skills/codegraph/π‘Extract and place the folder at the path above, then restart your agent.
I need to work with knowledge-graph and code-navigation
Recognizes the task, selects CodeGraph as the right tool, and completes it without leaving the chat
Automate my ai agent tasks using CodeGraph
Identifies repetitive steps in your workflow and sets up CodeGraph to handle them automatically