/codescope:cs-query <surql-query>from codescope
Executes raw SurrealQL queries on the knowledge graph for advanced queries, custom reports, and graph traversal.
Ships in codescope. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Execute a custom SurrealQL query using the raw_query MCP tool.
Query: $ARGUMENTS
function is a reserved word — always use backticks: `function`string::contains(string::lowercase(name), "pattern")-- All functions
SELECT name, file_path FROM `function` ORDER BY name
-- Largest functions by line count
SELECT name, file_path, (end_line - start_line) AS lines FROM `function` ORDER BY lines DESC LIMIT 10
-- All structs
SELECT name, file_path FROM class WHERE kind = "Struct"
-- Functions in a specific file
SELECT name, start_line FROM `function` WHERE file_path CONTAINS "main"
-- Call graph for a function
SELECT ->calls->`function`.name AS calls FROM `function` WHERE name = "main"
-- Most imported modules
SELECT name, count() AS usage FROM import_decl GROUP BY name ORDER BY usage DESC LIMIT 10
-- Files with most functions
SELECT file_path, count() AS fn_count FROM `function` GROUP BY file_path ORDER BY fn_count DESC LIMIT 10
Display results as a formatted table. Explain the results briefly.
See references/SURREALQL.md for the complete syntax guide including graph traversal, anti-patterns, and parameterized queries.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub onur-gokyildiz-bhi/codescope --plugin codescope14 skills in this plugin
/autoresearchAutonomous research loop. Takes a topic, runs web searches, fetches sources, synthesizes findings, and files everything into the knowledge graph. Based on Karpathy's autoresearch pattern. Triggers on: "/autoresearch", "research [topic]", "deep dive into [topic]", "investigate [topic]", "find everything about [topic]", "go research".
/codescopeCode 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./cs-askAsk a natural language question about the codebase. Translates to graph queries automatically. Use when user asks questions in Turkish or English about code structure./cs-callersFind all callers of a function. Use when user asks who calls a function, wants to trace call chains, or asks about function usage./cs-fileList all entities (functions, classes, imports, configs) in a specific file. Use when user asks what's in a file, wants a file overview, or asks about file contents./cs-impactAnalyze the impact of changing a function. Shows callers, dependencies, and affected files. Use when user asks what happens if they change or refactor something.Other plugins' skills for the same job