一键导入
cs-query
Execute a raw SurrealQL query on the knowledge graph. Use for advanced queries, custom reports, or when other tools are not specific enough.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute a raw SurrealQL query on the knowledge graph. Use for advanced queries, custom reports, or when other tools are not specific enough.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
End-to-end MCP server verification — spawn stdio server, list tools, invoke each one, verify response shape.
Set up a demo session — pick a sample repo, index it, open web UI, prep the narrative.
Run full lint + format + test + frontend build. Pre-commit / pre-release check.
Cut a release — bump version, update CHANGELOG, tag, push, create GitHub release, install local binaries.
Sprint / project status from knowledge graph. Show what's planned, in-progress, done.
Audit MCP tool set — count, descriptions, consolidation candidates, budget compliance.
| name | cs-query |
| description | Execute a raw SurrealQL query on the knowledge graph. Use for advanced queries, custom reports, or when other tools are not specific enough. |
| user-invocable | true |
| disable-model-invocation | true |
| argument-hint | <surql-query> |
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.