amazon-keyspaces

Estimates pricing, checks compatibility, and manages infrastructure for Amazon Keyspaces workloads.

Updated Sep 8, 2026
One-click install
npx skills add https://github.com/dennisvink/yolomancer --skill amazon-keyspaces-dennisvink
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: amazon-keyspaces
Source: https://github.com/dennisvink/yolomancer/tree/main/skills/aws/specialized-skills/database-skills/amazon-keyspaces
Command: npx skills add https://github.com/dennisvink/yolomancer --skill amazon-keyspaces-dennisvink

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Migrating to or operating Amazon Keyspaces (for Apache Cassandra) requires accurate cost estimates, authoritative answers on which Cassandra features are unsupported, and safe execution of infrastructure changes — all areas where agents frequently produce incomplete or incorrect answers without grounded guidance. ## Core Features & Use Cases - Pricing Estimation: Calculate monthly costs from manual traffic inputs (Mode 1) or from real Cassandra nodetool diagnostics (Mode 2), comparing on-demand, provisioned, and Savings Plan totals. - Compatibility Checking: Scan CQL schemas and prepared statements to flag unsupported features — materialized views, secondary indexes, triggers, UDFs, UDAs, and LWT inside unlogged batches — with migration recommendations. - SQL-to-Keyspaces Migration: Translate relational schemas into three priced data-modeling strategies (denormalized, query-driven tables, wide rows with clustering keys). - Infrastructure Operations: Create keyspaces and tables, configure auto-scaling, CDC, TTL, PITR, encryption, and pre-warming via AWS CLI, with a strict confirm/warn/refuse safety policy. - Use Case: A team migrating a self-managed Cassandra cluster captures nodetool tablestats and info files, runs the diagnostics workflow, and receives a per-keyspace cost breakdown plus a compatibility report flagging their materialized views before cutover. ## Quick Start Ask the assistant to estimate Amazon Keyspaces costs for a workload with a given region, reads per second, writes per second, row size, and storage, or to check whether your Cassandra schema is compatible with Keyspaces.

Frequently Asked Questions about amazon-keyspaces

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I estimate Amazon Keyspaces pricing for my workload?

Provide your region, reads per second, writes per second, average row size in bytes, and storage in GB. The skill runs calculate.ts to produce monthly on-demand, provisioned, and Savings Plan totals with a recommendation for the cheaper capacity mode.

How do I check if my Cassandra schema works on Amazon Keyspaces?

Run the compatibility check with your schema CQL file or prepared-statements NDJSON export. It flags materialized views, secondary indexes, triggers, user-defined functions, aggregates, and LWT inside unlogged batches as unsupported, with migration guidance for each.

Does Amazon Keyspaces support materialized views and secondary indexes?

No, both are unsupported on Amazon Keyspaces. The recommended migration is a denormalized secondary table keyed by the alternate access pattern, with the application writing to both tables.

What Cassandra diagnostics are needed for a pricing estimate?

You need nodetool tablestats from one node and nodetool info from every node as mandatory inputs. nodetool status, schema DDL, row-size samples, and prepared-statement exports are optional but improve accuracy and enable compatibility analysis.

Why does my application get NoNodeAvailableException or HeartbeatException with Keyspaces?

These usually stem from driver misconfiguration: the default 500ms heartbeat timeout in driver 4.x is too low, hostname validation must be disabled, and the connection pool needs at least 3 connections. The connection-troubleshooting reference provides a full application.conf validator and fixes.

Can the skill delete Keyspaces tables or keyspaces?

No. Destructive operations like deleting keyspaces, tables, or UDTs, disabling CDC, and enabling client-side timestamps are refused because they are irreversible. The skill explains why and offers an assessment workflow instead.