CodeGraph Code Index

The ikanban-codegraph-setup skill in your repository's .iKanban/ folder sets up CodeGraph, a local code index. Your coding agents ask it through MCP, with one tool, codegraph_explore. One call returns the source of the relevant functions, who calls them, and what a change affects. Without it, an agent reads many files to learn the same thing. Sessions on your laptop runner use it while Agent settings → Runners → Use CodeGraph is on: the runner indexes each run's clone and gives the agent the server. Agent setup writes the skill with the full developer kit (Pro and Pro+), with .iKanban/prompts/codegraph-setup.md for agents without skills.

install 1.6.2 ─► telemetry off ─► index this repo ─► connect Claude, Copilot, Gemini ─► prove one lookup

The steps

StepWhat the agent doesYou
Installnpm i -g @colbymchenry/codegraph@1.6.2. Any Node.js version works: CodeGraph brings its own runtime.Say yes.
Telemetrycodegraph telemetry off, before any indexing.—
Indexcodegraph init -y . in the repository root. The index goes in .codegraph/.Choose whether .codegraph/ goes in your .gitignore.
Claude, Copilot, Codexcodegraph install -y --target claude,copilot-cli,codex.Say yes: it changes your global agent settings.
Geminiagy mcp add codegraph -- codegraph serve --mcp.Say yes.
Team rulesAdds a short "Code graph" block to AGENTS.md (and CLAUDE.md or GEMINI.md), and .codegraph/ to .gitignore.Say yes: the team shares these files.
Prove itcodegraph callers <function>, then one read-only session per agent.Start the sessions.

Gates

GateValueWhere you see itChange it
Use CodeGraph in runner sessionsonAgent settings → Runners → Use CodeGraph; the session page says whether the run got itturn the switch off; applies from the next run
Runner versionthe runner in an iKanban desktop app newer than 0.1.17; an older one ignores the switchthe desktop app's versionupdate the desktop app
CodeGraph on the laptopneeded for runner sessions; without it the run goes on without CodeGraphthe session page says isn't installed on this laptoprun the skill, or turn the switch off
The skill in your kitfull developer kit (Pro and Pro+)Agent settings → Set upupgrade the plan, or use the prompt
Version1.6.2, pinnedcodegraph --versiona new kit pins a new version
Installs and agent settingsonly after you say yesthe question in the session—
Telemetryoffcodegraph telemetry statuscodegraph telemetry on
The indexon this laptop only, never committedcodegraph status .codegraph uninit . removes it

Keep it current

An agent's MCP server watches the repository and syncs on each save. When it starts, it catches up on edits made while it was off, including a git pull. After a pull with no agent open, run codegraph sync .. After a CodeGraph upgrade, rebuild with codegraph index . and restart your agent sessions.

What it gets wrong