All skills
aurora-dsql
Provision and manage Aurora DSQL clusters, run queries, migrate schemas, and diagnose slow query plans.
- Part of aws/agent-toolkit-for-aws
- 5.8k installs
- Data · Databases
When to use it
You have a DSQL cluster or a MySQL schema to move and need to run DDL, write safe multi-tenant queries, or explain a slow query.
For example
You say
Use the aurora-dsql skill to migrate my MySQL orders table to my DSQL cluster and run a tenant-scoped query on it.
You get
- Migrated orders table DDL
- Tenant-scoped SELECT query
- Schema verification output
How it works
- Enforces one DDL statement per transaction and CREATE INDEX ASYNC in a separate statement.
- Builds SQL with safe_query.build() and requires tenant_id filtering for multi-tenant apps.
- Uses the bundled psql-connect.sh script to generate IAM auth tokens and connect.
Before installing
Needs psql (14+) and AWS CLI v2 with the dsql generate-db-connect-auth-token commands installed.
This skill includes 7 scripts your assistant may run on your computer.
More Databases skills
See all- postgresql-table-design29.7kDesigns and reviews PostgreSQL schemas with sound data types, indexes, constraints and performance patterns.
- sql-optimization-patterns21.2kRewrites slow SQL queries and adds indexes, using EXPLAIN analysis to improve database speed.
- cloud-sql-basics16.7kCreates and explains Cloud SQL instances and databases for MySQL, PostgreSQL and SQL Server.
- alloydb-basics14.8kCreates and administers AlloyDB for PostgreSQL clusters, instances and backups.
Also in this pack
- aws-iam11.9kCorrects common IAM mistakes and generates roles and baseline policies from your code or Terraform plan.
- aws-observability11.9kInvestigates root causes and sets up CloudWatch, X-Ray tracing, alarms and dashboards for your AWS services.
- aws-cdk11.2kWrites, deploys and troubleshoots AWS infrastructure as code using CDK with TypeScript or Python.
- aws-containers11.2kBuilds and deploys containerized workloads on EKS, ECS, Fargate, ECR and Elastic Beanstalk.