From codescope
Queries codebase knowledge graphs to search functions, trace callers/callees, list file entities, analyze impact, and run SurrealQL. Use for code structure, dependencies, and relationships.
npx claudepluginhub onur-gokyildiz-bhi/codescope --plugin codescopeThis skill uses the workspace's default tool permissions.
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.
Ask natural language questions about codebase structure in Turkish or English; auto-translates to graph queries via MCP tools for code exploration.
Uses tree-sitter index for code navigation in Rust, Python, TypeScript, JavaScript, Go, Java, Scala, SQL: finds symbols, reads function implementations, traces callers, discovers tests.
Provides semantic code search, call graphs, find callers, and impact analysis via Codanna MCP tools. Use before grep/find for refactoring, dependency tracing, and codebase exploration.
Share bugs, ideas, or general feedback.
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.
| 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 |
Automatically use these tools when the user asks (in any language):
find_callersfind_functionsearch_functionsfile_entitiesimpact_analysisgraph_statsraw_queryraw_queryfunction is a reserved word — always use backticks: `function`string::contains(string::lowercase(name), string::lowercase("pattern"))SELECT * FROM class WHERE kind = "Struct"SELECT name, file_path, array::len(string::split(body, "\n")) AS lines FROM \function` ORDER BY lines DESC LIMIT 10`SELECT count() FROM \function` GROUP ALL`/cs-search <pattern> — Search functions by name/cs-index — Re-index current project/cs-stats — Show codebase stats/cs-ask <question> — Natural language query (TR/EN)/cs-impact <function> — Impact analysis/cs-callers <function> — Who calls this function?/cs-file <path> — All entities in a file/cs-query <surql> — Raw SurrealQL queryIf called as /codescope, route based on first argument:
/codescope search auth → use search_functions with pattern "auth"/codescope stats → use graph_stats/codescope ask "en buyuk fonksiyon" → use ask tool/codescope impact handleRequest → use impact_analysis