bydbql

bydbql is a skill for Claude Code from apache/skywalking-banyandb. It costs 71 tokens per session (798 once invoked), scanned A, original, Apache-2.0.

A procedure for creating and optionally running read-only BydbQL queries against BanyanDB. BydbQL is BanyanDB's query language for streams, measurements, traces, and properties.

In plain words
What is it for?
Use it to inspect BanyanDB data, discover schemas, generate queries for metrics, logs, traces, or properties, validate query syntax, and fetch records.
Why use it?
It helps translate plain-language questions into valid queries while checking the database schema and avoiding write operations.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the banyandb-bydbql plugin — 5 skills, 1 MCP server shipped together

Good fit Use it to inspect BanyanDB data, discover schemas, generate queries for metrics, logs, traces, or properties, validate query syntax, and fetch records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/apache/skywalking-banyandb/bydbql
About the project

Apache SkyWalking BanyanDB is a database for collecting, analyzing, and storing metrics, traces, and logs produced by observability and application-performance systems. It is intended for platforms such as Apache SkyWalking that need to work with monitoring data.

apache/skywalking-banyandb · 354 stars · on GitHub · skywalking.apache.org

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add apache/skywalking-banyandb --skill bydbql
Clone the repo
git clone --depth 1 https://github.com/apache/skywalking-banyandb

Made for: Claude Code.

Or install banyandb-bydbql, the plugin that ships this one along with the rest of its 5 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bydbql

README.md
[![agentmods](https://agentmods.dev/badge/skills/apache/skywalking-banyandb/bydbql/github.svg)](https://agentmods.dev/skills/apache/skywalking-banyandb/bydbql)
Your own site
<a href="https://agentmods.dev/skills/apache/skywalking-banyandb/bydbql"><img src="https://agentmods.dev/badge/skills/apache/skywalking-banyandb/bydbql/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bydbql

Your own site · 80×15
<a href="https://agentmods.dev/skills/apache/skywalking-banyandb/bydbql"><img src="https://agentmods.dev/badge/skills/apache/skywalking-banyandb/bydbql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 798 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.00798
Opus 5.5 $0.00028 $0.00319
Sonnet 5.5 $0.00014 $0.00160
Haiku 4.5 $0.00007 $0.00080

Measured 1mo ago against content hash 8eeff12fc08b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bydbql scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/bydbql/SKILL.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

BanyanDB BydbQL

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.

Workflow

  1. Read references/safety.md before generating, validating, or executing BydbQL.
  2. Read references/syntax.md when query syntax is needed.
  3. Read references/examples.md when mapping natural language to BydbQL.
  4. Identify the BanyanDB resource type: STREAM, MEASURE, TRACE, or PROPERTY.
  5. If the group, resource name, or resource type is missing or ambiguous, use list_groups_schemas.
  6. If the request involves sorting or ranking (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.
  7. Generate exactly one read-only BydbQL statement. When it contains 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.
  8. Call validate_bydbql before execution.
  9. Execute with list_resources_bydbql only when the user asks to run, query, fetch, show, or inspect raw BanyanDB data.
  10. If validate_bydbql returns valid=false, fix the query and validate again before any execution.
  11. If execution fails due to a missing group, resource, or schema, use list_groups_schemas to discover the correct names and retry only when the correction is clear.

Tool Use

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.

Read the full file on GitHub · 40 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 40 lines · 71 tokens per session scan A 8eeff12fc08b

Subscribe to this mod's changes

bydbql is a skill published in the GitHub repository apache/skywalking-banyandb (354 stars, last pushed today), licensed Apache-2.0. It adds 71 tokens to every session and 798 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

migrate-state-management

Migrate Redux or React Context to the correct state option (React Query for server state, nuqs for URL/shareable state, Zustand for global client state). Use when refactoring away from Redux/Context, moving state to the right store, or when the user asks to migrate state management.

SigNoz/signoz · 64 tokens

scaffold-feature

Scaffold the co-located feature structure in frontend/src. Use when creating a new page, feature, view (tab), or component folder, when a feature needs a shell with tabs, or when moving existing code out of src/container into src/pages. Generates the full folder tree…

SigNoz/signoz · 82 tokens

datadog

Full-stack observability with Datadog APM, logs, metrics, synthetics, and RUM. Use when implementing monitoring, tracing, alerting, or cost optimization for production systems.

bobmatnyc/claude-mpm-skills · 43 tokens

review-logging-patterns

Review code for logging patterns and suggest evlog adoption. Optionally use @evlog/cli (evlog init to wire evlog, evlog agents to write the conventions into AGENTS.md, evlog map to score entry-point coverage, --baseline to gate regressions in CI) on Nuxt, Nitro, Next.js, TanStack Start, and Hono. Guides setup on those…

HugoRCD/evlog · 197 tokens

build-audit-logs

Build or review audit trails in TypeScript/JavaScript apps using evlog (pipelines, typed actions, denials, retention, compliance-style reviews). For application code, not for extending the evlog package.

HugoRCD/evlog · 49 tokens

content-pass

The daily pass over evlog's written surfaces. Picks the files the scanner ranks worst across the docs, the landing, the package READMEs, the skills, and the AGENTS.md files, reviews them against the content doctrine, applies what holds, and opens one draft PR whose body is the report. Also covers the enrichment half…

HugoRCD/evlog · 154 tokens