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,…
Diagnose and tune cluster-level performance problems in Couchbase. Use whenever the user asks about slow KV operations, high latency, low throughput, DCP backpressure, connection limits, thread pool tuning, compaction impact on performance, autocompaction settings, KV engine
$ npx -y skills add celticht32/Couchbase-Skills-for-Claude.ai --skill couchbase-performance-tuning --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/couchbase-performance-tuningContext preview
The summary Claude sees to decide when to auto-load this skill.
Diagnose and tune cluster-level performance problems in Couchbase. Use whenever the user asks about slow KV operations, high latency, low throughput, DCP backpressure, connection limits, thread pool tuning, compaction impact on performance, autocompaction settings, KV engine
name: couchbase-performance-tuning description: "Diagnose and tune cluster-level performance problems in Couchbase. Use whenever the user asks about slow KV operations, high latency, low throughput, DCP backpressure, connection limits, thread pool tuning, compaction impact on performance, autocompaction settings, KV engine tuning, vBucket distribution, rebalance performance, disk I/O bottlenecks, CPU saturation on Couchbase nodes, network throughput limits, or 'my cluster is healthy but slow.' Distinct from couchbase-sqlpp-tuning (SQL++ query tuning — index design and EXPLAIN plans), couchbase-observability (what metrics to watch), and couchbase-sizing (how much capacity to provision). This skill covers the operational tuning layer: what to change when the cluster is right-sized but still not performing." license: MIT
A skill for diagnosing and fixing performance problems at the cluster level — KV latency, throughput limits, disk I/O, compaction, connection saturation, and thread pool configuration.
Distinct from:
If the question is "my queries are slow," go to `couchbase-sqlpp-tuning`. If the question is "my cluster is right-sized but everything is slow," this is the right skill.
| Question | Read | |---|---| | "KV latency / throughput — diagnosis and tuning" | `references/kv-tuning.md` | | "Compaction — autocompaction settings, impact, tuning" | `references/compaction.md` | | "Connection limits, thread pools, OS-level tuning" | `references/system-tuning.md` |
Before tuning anything, locate the actual bottleneck:
1. **Is it memory?** Check `ep_mem_used / ep_mem_high_wat`. If > 85%, ejections are happening and reads go to disk. Fix: add RAM, add nodes, or reduce working set.
2. **Is it disk I/O?** Check `ep_bg_fetched` (reads going to disk) and `ep_diskqueue_drain` vs `ep_diskqueue_fill`. Fix: faster storage, Magma (if on 8.0), or reduce write rate.
3. **Is it CPU?** Check per-node CPU utilization. Which service is consuming it? Query and Index are CPU-heavy; KV should be low-CPU unless you're near capacity. Fix: dedicated nodes per service, or add nodes.
4. **Is it network?** Check `bytes_sent` and `bytes_received` per node against the node's NIC capacity. Fix: higher-bandwidth instances, or reduce replication/XDCR traffic.
5. **Is it compaction?** Check if high disk I/O correlates with compaction windows. Fix: adjust compaction schedule, thresholds, or parallelism.
6. **Is it connection count?** Check `curr_connections` per node. Fix: connection pooling in SDK, reduce max connections per pool.
Only tune after locating the bottleneck. Tuning the wrong thing wastes time and can make things worse.
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++",…