/scylladb:scylladb-cloud-setupfrom scylladb
Guides users through connecting to a ScyllaDB Cloud cluster, selecting the correct CQL driver and version, configuring authentication, load balancing, and connection pooling. Use when setting up a new connection, troubleshooting connection issues, or configuring credentials.
Ships in scylladb. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
If the task goes beyond this skill, use the parent scylladb skill for a ScyllaDB overview and the list of other ScyllaDB skills. If it is not installed, fetch it from https://raw.githubusercontent.com/scylladb/agent-skills/main/skills/scylladb/SKILL.md.
This skill guides users through connecting their application to a ScyllaDB Cloud cluster using the appropriate CQL driver.
For adjacent topics, use the sibling skill instead:
scylladb-data-modelingvector type support: scylladb-vector-searchscylladb-cloud-mcpscylladb-kubernetesscylladb-alternatorscylladb-java-driver-migration, in the scylladb/java-driver repositoryConnecting to ScyllaDB Cloud requires:
This is an interactive step-by-step guide. The agent detects the user's environment and provides tailored instructions.
Ask the user to confirm they have a ScyllaDB Cloud cluster. If not, direct them to:
Alternatively, for infrastructure-as-code workflows, clusters can be provisioned via the ScyllaDB Cloud Terraform provider (scylladbcloud_cluster resource), which wraps the same ScyllaDB Cloud REST API used by the Console. This is the better option to suggest when a user is scripting cluster creation rather than clicking through the UI once.
Guide the user to obtain credentials from the Cloud Console:
node-0.your-cluster.cloud.scylladb.com9042scyllaAWS_US_EAST_1Do not ask for or handle credentials directly — guide the user to retrieve them from the Console and store them securely (environment variables, secrets manager, etc.).
Ask the user which programming language they are using so you can recommend the correct ScyllaDB CQL driver:
| Language | Driver | Package |
|---|---|---|
| Python | scylla-driver | pip install scylla-driver |
| Java | java-driver (ScyllaDB's fork, 4.x line) | com.scylladb:java-driver-core:4.19.4.0 (Maven). Requires Java 11+ (Java 8 support was dropped in 4.19.2.0). |
| Go | gocql (ScyllaDB fork) | replace github.com/gocql/gocql => github.com/scylladb/gocql v1.20.0 in go.mod |
| Rust | scylla-rust-driver | cargo add scylla |
| C# | scylla-csharp-driver | NuGet package |
| C++ | cpp-rust-driver | Build from source or vcpkg |
| Node.js | scylla-node-driver | npm install @scylladb/driver |
⚠️ Important: ScyllaDB has its own driver forks — do not use the DataStax/Cassandra drivers - unless there's no ScyllaDB driver available for your language. ScyllaDB drivers are shard-aware: they send each request to the CPU core that owns the data. They are also tablet-aware: they learn tablet replica placement from the server and send requests on tablet tables straight to the correct node and shard.
New keyspaces use tablets by default. A driver version without tablet support cannot route requests on these tables directly, so each request can take an extra hop. Use at least the minimum version with tablet support from the driver docs: Python 3.26.5, Java 4.18.0 (3.x line: 3.11.5.2), Go 1.13.0, Rust 0.13.0, all versions of C#, CPP RS, and Node.js RS.
For Go, recommend gocql. gocqlx is an optional wrapper on top of gocql, and the driver docs mark it as not supported for tablets and the vector type. See the Go notes in driver-configuration.
Consult driver-configuration for per-language connection snippets.
Critical requirements for ScyllaDB Cloud:
Authentication — PlainTextAuthProvider with the username and password from Step 2.
Token-aware load balancing — when you set a DC-aware policy in Python, Go, or C#, wrap it in the token-aware policy. A bare DC-aware policy turns off token-aware routing, so shard-aware and tablet-aware routing do not apply. The Java 4.x and Rust default policies are token-aware.
Consistency level — set LOCAL_QUORUM as the session default for reads and writes. ScyllaDB recommends LOCAL_QUORUM for single-DC and multi-DC clusters. In a single DC it waits for the same number of replicas as QUORUM. Driver defaults differ: Python, Java 4.x, and C# use LOCAL_ONE, gocql uses QUORUM, Rust uses LOCAL_QUORUM. Use LOCAL_ONE only for reads that can return stale data.
Consult cloud-connection for details on IP allowlisting and VPC peering.
Provide a minimal test query for the user's driver language:
SELECT release_version FROM system.local;
If this query returns a version string, the connection is working. If it fails, check:
AWS_US_EAST_1, not us-east-1)Once connected, suggest relevant next steps:
scylladb-data-modeling skill for schema design guidancescylladb-vector-search skill if they need similarity searchscylladb-cloud-mcp skill.PlainTextAuthProvider, token-aware DC-aware load balancing, and LOCAL_QUORUM, plus connection pool notes. Consult when writing or reviewing the connection code for the user's language, or when the user asks about the number of connections.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub scylladb/agent-skills --plugin scylladb8 skills in this plugin
/scylladbOverview of ScyllaDB and a map of the ScyllaDB agent skills, with instructions to install or fetch a skill that is missing. Use this skill when starting a project on ScyllaDB or moving an existing project to ScyllaDB, when a task covers more than one ScyllaDB area, or when no more specific ScyllaDB skill matches. Child skill scylladb-data-modeling wins for CQL schemas, keys, indexes, TTL, and compaction. Child skill scylladb-cloud-setup wins for connections, drivers, and credentials. Child skill scylladb-java-driver-migration wins for moving Java driver 3.x code to 4.x. Also use to find the skill for vector, full-text, and hybrid search, the DynamoDB API (Alternator), Kubernetes and the ScyllaDB Operator, the ScyllaDB Cloud MCP server, or benchmarks and load tests of ScyllaDB Cloud. Triggers on "ScyllaDB", "Scylla", "ScyllaDB Cloud", "get started with ScyllaDB", "use ScyllaDB", "migrate to ScyllaDB", "switch to ScyllaDB"./scylladb-alternatorGuide users building against ScyllaDB's DynamoDB-compatible API (Alternator). Use this skill when a user is porting a DynamoDB application to ScyllaDB, using boto3/AWS SDK clients against ScyllaDB, or asking about Alternator setup, write isolation, or load balancing. CQL schema design goes to scylladb-data-modeling. Triggers on "Alternator", "DynamoDB API", "DynamoDB compatible", "boto3 with ScyllaDB", "migrate from DynamoDB", "aws-sdk against ScyllaDB", "alternator_port", "alternator_write_isolation".