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,…
Plan and execute Couchbase Server version upgrades, including rolling upgrades and the specific considerations for upgrading to 8.0. Use whenever the user asks about upgrading Couchbase, rolling upgrade, upgrade path, upgrade from 7.x to 8.0, upgrade checklist, cluster
$ npx -y skills add celticht32/Couchbase-Skills-for-Claude.ai --skill couchbase-upgrade --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/couchbase-upgradeContext preview
The summary Claude sees to decide when to auto-load this skill.
Plan and execute Couchbase Server version upgrades, including rolling upgrades and the specific considerations for upgrading to 8.0. Use whenever the user asks about upgrading Couchbase, rolling upgrade, upgrade path, upgrade from 7.x to 8.0, upgrade checklist, cluster
name: couchbase-upgrade description: "Plan and execute Couchbase Server version upgrades, including rolling upgrades and the specific considerations for upgrading to 8.0. Use whenever the user asks about upgrading Couchbase, rolling upgrade, upgrade path, upgrade from 7.x to 8.0, upgrade checklist, cluster compatibility version, Magma storage engine default change in 8.0, 128 vBucket change in 8.0, EE features required for 8.0 defaults, pre-upgrade backup, post-upgrade verification, or 'how do I upgrade Couchbase without downtime.' Distinct from couchbase-mcp (which has an operational-runbooks reference covering rolling upgrade mechanics via MCP tools). This skill covers the planning, compatibility, and 8.0-specific breaking changes that require attention before and after the MCP-level upgrade steps." license: MIT
Planning and executing Couchbase Server version upgrades — upgrade paths, breaking changes, pre/post-upgrade steps, and 8.0-specific considerations.
Distinct from the rolling upgrade section in `couchbase-mcp` (which covers the MCP tool sequence for executing the upgrade). This skill covers the *planning* layer: what to check before you run those tools.
Couchbase supports upgrading one major version at a time:
| From | To | Supported | |---|---|---| | 7.0 / 7.1 / 7.2 / 7.6 | 8.0 | Yes — rolling upgrade | | 6.x | 8.0 | No — must go through 7.x first | | Community Edition | Enterprise Edition | Requires reinstall, not in-place upgrade |
**Always upgrade to the latest patch of your current version before upgrading to the next major version.** Bugs fixed in patch releases can affect the upgrade process itself.
**1. Magma storage engine is the new default (EE only)**
New buckets created on 8.0 EE use Magma with 128 vBuckets by default, instead of the previous Couchbase storage engine with 1024 vBuckets.
Impact:
Check your bucket creation scripts and IaC templates before upgrading.
**2. Cluster compatibility version gates 8.0 features**
During a rolling upgrade, the cluster runs in "mixed mode" — some nodes at 7.x, some at 8.0. During this window, 8.0-specific features (vector HVI/CVI indexes, new security features, 8.x Eventing APIs) are not available. They activate automatically once ALL nodes are on 8.0 and the cluster compatibility version advances.
Do not try to use 8.0-specific features until the upgrade is fully complete.
**3. EE-only features as defaults**
Some 8.0 defaults require Enterprise Edition:
If you're on Community Edition, 8.0 upgrades still work but EE defaults don't apply. Verify your license tier before upgrading.
**4. Index Service memory model changes**
8.0 adds new index types (HVI, CVI) that use the Index Service RAM quota. If you're already near the Index Service memory limit, plan for the additional RAM that vector indexes may consume post-upgrade.
The MCP tool sequence is in `couchbase-mcp` (operational-runbooks reference). Summary:
1. Confirm backup exists 2. Pick a node to upgrade first (prefer non-orchestrator) 3. Graceful failover the node 4. Upgrade the Couchbase binary on that node 5. Start the Couchbase service 6. Add the node back and rebalance 7. Verify the node is healthy 8. Repeat for each remaining node 9. Verify `cluster_compat_version` has advanced to 8.0 after all nodes are upgraded
**Capella:** upgrades are managed by Couchbase. You don't execute the rolling upgrade yourself. You can request an upgrade window or Couchbase may apply it automatically based on your support tier.
# Verify all nodes healthy and on 8.0
admin_cluster_details(cluster="prod")
# Check: all nodes show version 8.0.x, clusterMembership=active, status=healthy
# Verify cluster compat version
admin_cluster_status(cluster="prod")
# Check: cluster_compat_version should show 8.0
# Run a smoke test query
cb_query("SELECT COUNT(*) FROM `your-bucket` WHERE type IS NOT MISSING", cluster="prod")
# Verify XDCR is healthy if applicable
admin_stats_xdcr(cluster="prod")
# Check: changes_left ≈ 0, no errors| Couchbase 8.0 | Python SDK | Java SDK | Node.js SDK | Go SDK | .NET SDK | |---|---|---|---|---|---| | Minimum version | 4.2+ | 3.4+ | 4.2+ | 2.6+ | 3.4+ |
Older SDK versions can connect to 8.0 clusters for basic operations but won't support 8.0-specific features (vector indexes, new security APIs). Update SDKs after the cluster upgrade.
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++",…