From banyandb-bydbql
Generates, validates, and executes read-only BanyanDB BydbQL queries for STREAM, MEASURE, TRACE, and PROPERTY resources. Translates natural language to BydbQL and inspects schema.
How this skill is triggered — by the user, by Claude, or both
Slash command
/banyandb-bydbql:bydbqlThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when the user asks to query BanyanDB, generate BydbQL, translate natural language to BydbQL, inspect BanyanDB data, validate BydbQL, or run read-only BanyanDB queries.
Use this skill when the user asks to query BanyanDB, generate BydbQL, translate natural language to BydbQL, inspect BanyanDB data, validate BydbQL, or run read-only BanyanDB queries.
references/safety.md before generating, validating, or executing BydbQL.references/syntax.md when query syntax is needed.references/examples.md when mapping natural language to BydbQL.STREAM, MEASURE, TRACE, or PROPERTY.list_groups_schemas.ORDER BY, SHOW TOP, or wording such as "latest", "top", "highest", "lowest", "first", "last"), or you have already fetched schema, call get_generate_bydbql_prompt and follow its index-rule guidance. This is required: get_generate_bydbql_prompt is the only component that injects the indexed-field list and enforces ORDER BY field substitution/omission. validate_bydbql is parse-only, so ORDER BY <non-indexed-field> validates true but fails at execution.ORDER BY, only sort by a field from the indexed-field list returned by get_generate_bydbql_prompt; substitute the closest indexed field, or omit ORDER BY when no indexed field matches.validate_bydbql before execution.list_resources_bydbql only when the user asks to run, query, fetch, show, or inspect raw BanyanDB data.validate_bydbql returns valid=false, fix the query and validate again before any execution.list_groups_schemas to discover the correct names and retry only when the correction is clear.Use the existing BanyanDB MCP tools:
list_groups_schemas: discover groups and resource names for streams, measures, traces, and properties.get_generate_bydbql_prompt: return the generation prompt text, including the live indexed-field list and the ORDER BY index-rule substitution/omission rules. It is the only source of index-rule ORDER BY safety.validate_bydbql: run read-only safety checks and parse-only BydbQL syntax validation. This does not verify group, resource, tag, field, or index-rule existence.list_resources_bydbql: execute a validated BydbQL statement when data retrieval is requested.The host model performs natural language to BydbQL translation using these references and live schema discovery. Promote get_generate_bydbql_prompt to a required step whenever ranking or sorting is involved (or once schema has been fetched), because it carries the only index-rule ORDER BY check; validate_bydbql is parse-only and cannot catch a sort on a non-indexed field.
For generation-only BydbQL requests, return the single BydbQL statement and state that it was not executed.
For BydbQL execution requests, show the BydbQL statement, then summarize the returned data or error concisely.
npx claudepluginhub apache/skywalking-banyandb --plugin banyandb-bydbqlHelps write, build, fix, and optimize DQL queries with syntax guidance, patterns, and cost-reduction techniques like filter early, bucket filters, and field selection.
Run KQL queries against Fabric Eventhouse for real-time intelligence, time-series analytics, and ingestion monitoring via the Kusto REST API.
Generates optimized SQL queries from natural language for BigQuery, PostgreSQL, MySQL, Snowflake, SQL Server. Reads schemas from uploaded files, diagrams, docs for reporting, analysis, exploration.