SkillAgentSearch skills...

Code-Knowledge-Graph

GKG is Pre-indexed code knowledge graph for Claude Code, Codex, Cursor, OpenCode, and Hermes Agent — to save 💰💲, 🌟 Star if you like it! 🌟

Install / Use

claude mcp add ishandutta2007 -- npx -y github:ishandutta2007/Code-Knowledge-Graph

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

80/100

Supported Platforms

Claude Code
Claude Desktop
Cursor
OpenAI Codex

Tags

Our assessment of Code-Knowledge-Graph

Code-Knowledge-Graph scores 80/100 on our quality scale, 3630th of 4,546 Development & Engineering skills we index.

Its MCP Server is 4.8 KB long, well organised into 16 sections with 5 code examples: a solid amount of guidance for an agent.

It has 10 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
26/30
Structure
20/20
Description
15/15
Adoption
4/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 44 days ago, so Code-Knowledge-Graph is actively maintained.
  • Our last check on 2026-09-29 found the source still online.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-09-25. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

Code-Knowledge-Graph compared with similar skills

All 4 of these similar skills score higher than Code-Knowledge-Graph; compare them before choosing.

SkillScoreStarsUpdatedFormat
Code-Knowledge-Graph (this skill)by ishandutta2007801044d agoMCP Server
Agent-Reachby Panniantong10097.6ktodayCLAUDE.md
taste-skillby Leonxlnx10097.0ktodayCLAUDE.md
headroomby headroomlabs-ai10075.4ktodayCLAUDE.md
CowAgentby zhayujie10047.4ktodayCLAUDE.md

Frequently asked questions

How do I install Code-Knowledge-Graph?
Run claude mcp add ishandutta2007 -- npx -y github:ishandutta2007/Code-Knowledge-Graph. The install tabs above show the steps for each supported agent.
Which AI agents does Code-Knowledge-Graph work with?
It is written for Claude Code, Claude Desktop, Cursor and OpenAI Codex, as a MCP Server file. Other agents that read the same format can often use it too.
Is Code-Knowledge-Graph safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is Code-Knowledge-Graph still maintained?
The repository was last updated 44 days ago, so Code-Knowledge-Graph is actively maintained.

🧠 Code Knowledge Graph (GKG)

<div align="center">

Code Knowledge Graph Banner

The Pre-indexed Intelligence Layer for your AI Agents

<a href="https://github.com/ishandutta2007/Awesome-Awesome-Awesome"><img src="https://img.shields.io/badge/Awesome-%E2%9C%94-blueviolet?style=flat-square&logo=github" alt="Awesome"/></a><a href="https://discord.gg/jc4xtF58Ve"><img src="https://img.shields.io/badge/Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Discord" /></a> License: MIT Local Only Efficiency PRs Welcome <a href="https://github.com/ishandutta2007"><img alt="GitHub followers" src="https://img.shields.io/github/followers/ishandutta2007?label=Follow" /></a>


🚀 Stop Wasting Tokens. Start Coding Faster.

Code-Knowledge-Graph is a high-performance, local indexing engine that maps your codebase into a structured graph. It allows AI agents to understand your project instantly without exhaustive file crawling.

Features • Getting Started • Supported Agents • Why Graph?


</div>

✨ Key Features

  • 🏗️ Graph-Based Indexing: Transforms flat files into a rich semantic network of classes, functions, and dependencies.
  • 📉 Token Optimization: Drastically reduces the "context window tax" by providing surgical code snippets instead of full-file dumps.
  • ⚡ Zero Latency: 100% local processing. No API calls required for indexing.
  • 🤖 Agent Ready: Native support for Claude Code, Codex, Cursor, OpenCode, and Hermes Agent.
  • 🛡️ Privacy First: Your code never leaves your machine.

📽️ Demo

<div align="center"> <img src="https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExNHJmZzRyeGZqZnd4ZzRyeGZqZnd4ZzRyeGZqZnd4ZzRyeGZqJmVwPXYxX2ludGVybmFsX2dpZl9ieV9pZCZjdD1n/3o7TKVUn7iM8FMEU24/giphy.gif" width="600" alt="Code Indexing Demo"> <p><em>Example: Rapidly mapping a 100k LOC repository in seconds.</em></p> </div>

🧩 Agent Compatibility

| Agent | Support Level | Integration Method | | :--- | :---: | :--- | | Claude Code | 💎 Full | Custom Tool / Hook | | Cursor | ✅ Native | .cursorrules / Indexing | | Codex | ✅ High | Plugin | | OpenCode | 🛠️ Beta | API Bridge | | Hermes Agent | 🚀 Optimized | Native Protocol |


🛠️ Quick Start

1. Installation

# Clone the repository
git clone https://github.com/ishandutta2007/Code-Knowledge-Graph.git

# Navigate to the directory
cd Code-Knowledge-Graph

# Install dependencies
npm install

2. Index your codebase

npm run ckg -- index ./path/to/your/project

3. Query the graph

npm run ckg -- query SymbolName

4. Run the MCP Server

To use this with Claude Code or other MCP-compatible agents:

npm run mcp

Then add it to your agent's config (e.g., in claude_desktop_config.json):

{
  "mcpServers": {
    "code-knowledge-graph": {
      "command": "node",
      "args": ["--loader", "ts-node/esm", "C:/path/to/Code-Knowledge-Graph/src/index.ts", "mcp"],
      "cwd": "C:/path/to/Code-Knowledge-Graph"
    }
  }
}

📈 Why Code Knowledge Graph?

Traditional AI agents spend ~40% of their tokens just trying to find where a function is defined. By providing a pre-indexed graph, we flip the script:

| Metric | Without CKG | With CKG | Improvement | | :--- | :--- | :--- | :--- | | Initial Context Load | 15,000 Tokens | 1,200 Tokens | 92% Reduction | | Tool Call Latency | 5-10s | < 1s | Fast 🚀 | | Success Rate (RAG) | 65% | 98% | Reliable ✅ |


🤝 Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. 🍴 Fork the Project
  2. 🌿 Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. 💾 Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. 🚀 Push to the Branch (git push origin feature/AmazingFeature)
  5. 📬 Open a Pull Request

Star History

Star History Chart


<div align="center">

Built with ❤️ for the AI Engineering Community.

Follow on Twitter

</div>

Related Skills

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated1mo ago
Forks0

Languages

TypeScript

Trust signals

97/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 info