code-intelligence-tools

Index codebases into knowledge graphs with CodeGraph for AI agents.

Updated May 25, 2026
One-click install
npx skills add https://github.com/zaiyemeiyou404/Hermes --skill code-intelligence-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-intelligence-tools
Source: https://github.com/zaiyemeiyou404/Hermes/tree/main/backup/skills/software-development/code-intelligence-tools
Command: npx skills add https://github.com/zaiyemeiyou404/Hermes --skill code-intelligence-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @colbymchenry/codegraph, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the problem of slow and inefficient code understanding for AI coding agents by enabling them to quickly and effectively process codebases.

Core Features & Use Cases

  • Codebase Indexing: Rapidly builds structured indexes (knowledge graphs, AST maps, call graphs) of codebases.
  • Reduced Token Consumption: Decreases token consumption by ~59% and speeds up responses by ~49%.
  • Agent Support: Supported by Claude Code, Codex CLI, OpenCode, Hermes Agent, Cursor, Gemini CLI, Qwen Code, GitHub Copilot CLI, and others.

Quick Start

Initialize CodeGraph for a project by running: codegraph init -i in the project directory.

Frequently Asked Questions about code-intelligence-tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce token consumption when AI coding agents process my codebase?

Indexing your codebase into a knowledge graph reduces token consumption by ~59% and speeds up AI agent response times by ~49%. This structured approach lets agents query codebase data directly instead of scanning raw files.

Does CodeGraph work with Claude Code and Codex CLI for codebase indexing?

CodeGraph works with Claude Code, Codex CLI, OpenCode, Hermes Agent, Cursor, Gemini CLI, Qwen Code, and GitHub Copilot CLI. It indexes codebase data so these AI agents can rapidly understand code structure and call graphs.

How do I initialize codebase indexing for an AI coding project?

Run `codegraph init -i` in your project directory to initialize codebase indexing. This builds structured indexes including knowledge graphs, AST maps, and call graphs that AI agents can query for fast code understanding.

What is a code knowledge graph and how does it speed up AI coding?

A code knowledge graph is a structured index of codebase relationships, AST maps, and call graphs. It speeds up AI coding by allowing agents to query specific code paths directly, reducing the need to process entire files and cutting response times significantly.

Do I need to install CodeGraph before using this code intelligence Skill?

Yes, you need the CodeGraph dependency installed to enable indexing and querying of codebase data. This Skill relies on CodeGraph to build the structured knowledge graphs that AI agents use to understand your code efficiently.

What are the limitations of using knowledge graphs for codebase indexing?

Codebase indexing with knowledge graphs requires an initialization step and depends on the CodeGraph tool. While it reduces token usage and speeds up responses, you must run the indexing process first and ensure compatibility with your specific AI agent.