scylladb-cloud-setup
Skill7 starsChanged 8 months agoApache-2.0View on GitHub
Guide users through connecting to a ScyllaDB Cloud cluster, choosing the correct driver and version, and configuring authentication. Use this skill when a user needs to connect to ScyllaDB Cloud, pick a CQL driver, check a driver version, configure credentials, or troubleshoot connection issues. Triggers on "connect to ScyllaDB Cloud", "ScyllaDB connection", "ScyllaDB driver setup", "which driver", "driver version", "Java driver", "Python driver", "CQL connection", "DC-aware load balancing", "ScyllaDB credentials", "connection bundle".
- Installs packages
In this repository5 other files it gives its agents.
- scylladb-alternatorSkill
- scylladb-cloud-mcpSkill
- scylladb-data-modelingSkill
- scylladb-kubernetesSkill
- scylladb-vector-searchSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Ask the user to confirm they have a ScyllaDB Cloud cluster.
- Distinctive: line 49
Ask the user which programming language they are using so you can recommend the correct ScyllaDB CQL driver:
- Distinctive: line 81
If this query returns a version string, the connection is working.
- Very specific: line 93
Data modeling: Use the scylladb-data-modeling skill for schema design guidance
- Very specific: line 94
Vector search: Use the scylladb-vector-search skill if they need similarity search
- Distinctive: line 97
Infrastructure as code: If the user wants to manage cluster provisioning declaratively (not just connect an app to an existing cluster), …
- Distinctive: line 98
ScyllaDB Cloud MCP server: If the user wants to manage their ScyllaDB Cloud cluster programmatically via an AI agent (create clusters, …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ScyllaDB Cloud Connection Setup
This skill guides users through connecting their application to a ScyllaDB Cloud cluster using the appropriate CQL driver.
Overview
Connecting to ScyllaDB Cloud requires:
- Cluster credentials — username, password, and node addresses from the ScyllaDB Cloud Console
- A ScyllaDB CQL driver — installed for the user's programming language
This is an interactive step-by-step guide. The agent detects the user's environment and provides tailored instructions.
Step 1: Verify the Cluster is Running
Ask the user to confirm they have a ScyllaDB Cloud cluster. If not, direct them to:
- Go to cloud.scylladb.com and log in (or sign up)
- Click New Cluster or Free Trial
- Choose AWS or GCP, configure region, instance type, and cluster name
- Whitelist their IP address
- (Recommended) Enable VPC Peering during cluster creation — it cannot be enabled later
- Click Launch Cluster and wait for provisioning
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.
Step 2: Retrieve Connection Credentials
Guide the user to obtain credentials from the Cloud Console:
- Go to My Clusters → open the cluster
- Open the Connect tab
- Note the following:
- Node addresses (contact points) — e.g.,
node-0.your-cluster.cloud.scylladb.com - Port — typically
9042 - Username — default is
scylla - Password — shown on the Connect tab
- Datacenter name — e.g.,
AWS_US_EAST_1
Do 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.).
Step 3: Determine the Driver
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.2.0 (Maven). Requires Java 11+ (Java 8 support was dropped as of this release). |
| Go | gocql + gocqlx | go get github.com/scylladb/gocql |
| 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 include shard-aware optimizations that route requests directly to the correct CPU core, improving throughput and latency.
Step 4: Configure the Connection
Consult references/driver-configuration.md for per-language connection snippets.
Critical requirements for ScyllaDB Cloud:
Authentication — PlainTextAuthProvider with the username and password from Step 2.
Consult references/cloud-connection.md for details on IP allowlisting and VPC peering.
Step 5: Test the Connection
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:
- IP not allowlisted — verify the client IP is in the cluster's Allowed IPs list
- Wrong datacenter name — must match exactly (e.g.,
AWS_US_EAST_1, notus-east-1) - Wrong port — ensure port 9042 is used
- Firewall/VPN blocking — ensure outbound TCP on port 9042 is allowed
- Using Cassandra driver instead of ScyllaDB driver — the DataStax drivers lack shard-aware routing and may have compatibility issues
Step 6: Next Steps
Once connected, suggest relevant next steps:
- Data modeling: Use the
scylladb-data-modelingskill for schema design guidance - Vector search: Use the
scylladb-vector-searchskill if they need similarity search - Prepared statements: Recommend using prepared statements for all frequently-run queries (reduces parsing overhead, enables token-aware routing). See
references/prepared-statements.mdfor the full pattern with examples. - Connection pooling: ScyllaDB drivers handle pooling internally with shard-aware connections — typically no manual tuning needed
- Infrastructure as code: If the user wants to manage cluster provisioning declaratively (not just connect an app to an existing cluster), point them to the ScyllaDB Cloud Terraform provider rather than only the manual Console flow in Step 1.
- ScyllaDB Cloud MCP server: If the user wants to manage their ScyllaDB Cloud cluster programmatically via an AI agent (create clusters, monitor health, configure networking, etc.), the ScyllaDB Cloud MCP server is available. See the full documentation at https://cloud.docs.scylladb.com/master/api-docs/mcp
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

