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.
от onur-gokyildiz-bhi★ 21 звезда на GitHub
Установить cs-query в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Raw SurrealQL Query
Execute a custom SurrealQL query using the raw_query MCP tool.
Query: $ARGUMENTS
Important
functionis a reserved word — always use backticks:`function`- String search:
string::contains(string::lowercase(name), "pattern")
Common Queries
-- 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.
Full SurrealQL Reference
See references/SURREALQL.md for the complete syntax guide including graph traversal, anti-patterns, and parameterized queries.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/SURREALQL.md
FAQ
Что делает скилл 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.
Как установить скилл cs-query?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cs-query запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…