cb-analytics-admin
Use this skill when the user wants to inspect or manage the Analytics service's runtime — checking ingestion health, killing runaway queries, restarting nodes,…
Use this skill when the user wants to inspect, discover, or document the structure of Couchbase Analytics dataverses and datasets — listing what exists, inferring document shapes, or building a data dictionary. Trigger when they mention "schema", "dataverses", "datasets", "what
$ npx -y skills add celticht32/Couchbase-Skills-for-Claude.ai --skill cb-analytics-schema --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/cb-analytics-schemaContext preview
The summary Claude sees to decide when to auto-load this skill.
Use this skill when the user wants to inspect, discover, or document the structure of Couchbase Analytics dataverses and datasets — listing what exists, inferring document shapes, or building a data dictionary. Trigger when they mention "schema", "dataverses", "datasets", "what
name: cb-analytics-schema description: | Use this skill when the user wants to inspect, discover, or document the structure of Couchbase Analytics dataverses and datasets — listing what exists, inferring document shapes, or building a data dictionary. Trigger when they mention "schema", "dataverses", "datasets", "what fields are in", "what's the structure of", "infer_schema", or "Metadata.\`Dataverse\`". license: MIT
Three tools cover dataset discovery:
observed top-level fields
`infer_schema` reads up to `sample_size` documents (default 100) and returns:
{
"dataset": "Default.Users",
"rows_sampled": 100,
"fields": {
"id": {"present_count": 100, "presence_pct": 100.0, "types": ["str"]},
"name": {"present_count": 100, "presence_pct": 100.0, "types": ["str"]},
"age": {"present_count": 87, "presence_pct": 87.0, "types": ["int"]},
"addresses": {"present_count": 62, "presence_pct": 62.0, "types": ["list"]}
}
}Notes:
to the user.
The dataset name is interpolated into a SQL++ FROM clause because SQL++ doesn't support parameterised identifiers. The server validates the name with a strict regex first; you don't need to worry about escaping. Names like `Default.\`my dataset\`.sub` (backtick-quoted) are accepted.
A typical workflow:
1. `list_dataverses` → choose one 2. `list_datasets(dataverse="X")` → enumerate datasets 3. For each, `infer_schema(dataset="X.Y", sample_size=500)` → table of fields 4. Optionally `execute_query_readonly` with `SELECT VALUE COUNT(*) FROM X.Y` to add a row count to each entry
document scan and will be slow.
Treat `infer_schema` output as a starting point, not a contract.
Schema tools split across two rate-limit categories:
`infer_schema` is `query` category — not `read` — because under the hood it runs a `SELECT` that scans a sample of documents from the dataset. That makes it relatively expensive and it shares the **same 10/sec bucket as every other query tool** (`execute_query`, `execute_query_readonly`, `execute_query_paginated`, `fetch_next_page`, `explain_query`).
Practical implication: if you're enumerating schemas across many datasets, you'll hit the query bucket faster than the read bucket. Recommended pattern: one `list_dataverses` → one `list_datasets` per dataverse (read budget) → then `infer_schema` calls spaced ≥ 100ms apart (query budget).
If `RateLimitExceeded` comes back on an `infer_schema`, the bucket is probably being shared with concurrent `execute_query*` calls. Honour `retry_after_sec` and back off.
Claude skill files for working with Couchbase — covering every major service and deployment pattern from application integration through AI applications, Kubernetes operations, mobile sync, security hardening, and analytics.
Repo: celticht32/Couchbase-Skills-for-Claude.ai
Use this skill when the user wants to inspect or manage the Analytics service's runtime — checking ingestion health, killing runaway queries, restarting nodes,…
Use this skill when the user wants to manage Couchbase Capella resources through the Cloud Management API — listing organisations and clusters, provisioning or…
Use this skill when the user wants to inspect or configure the Couchbase cluster itself — node membership, memory quotas, rebalance, auto-failover, system…
Use this skill when the user is managing Analytics data-source links — S3, Azure Blob, GCS, or remote Couchbase links — including creating, updating, listing,…
Use this skill when the user is setting up cb-analytics-mcp from scratch or troubleshooting an existing install — generating secrets, configuring .env, running…
Use this skill when the user wants to write or improve SQL++ queries against Couchbase Analytics through cb-analytics-mcp. Trigger when they mention "SQL++",…