Codescope

From onur-gokyildiz-bhi/codescope · View interactive version

Codescope is an AI agent skill from the GitHub repository onur-gokyildiz-bhi/codescope. Code intelligence engine — query knowledge graphs, find functions, trace callers, analyze impact. Use when user asks about code structure, dependencies, function relationships, or wants to understand a codebase.

How to use this skill

Skill file

Codescope — Code Intelligence Engine

You have access to a Codescope MCP server that indexes codebases into a SurrealDB knowledge graph. Always prefer Codescope tools over reading raw files when answering code structure questions — it saves 99%+ tokens.

Available MCP Tools

| Tool | When to Use |

|------|-------------|

| search_functions | Find functions by name pattern |

| find_function | Get exact function details (signature, body, location) |

| find_callers | Who calls this function? |

| find_callees | What does this function call? |

| file_entities | List all symbols in a file |

| graph_stats | Codebase overview (counts by type) |

| raw_query | Custom SurrealQL queries |

| impact_analysis | What breaks if I change X? |

| supported_languages | List supported languages |

| ask | Natural language → graph query |

| index_codebase | Re-index the codebase |

When to Auto-Use Codescope

Automatically use these tools when the user asks (in any language):

SurrealQL Tips (for raw_query)

Slash Commands

Arguments

If called as /codescope, route based on first argument:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.