Individual skill
aurora-dsql
Provisions and manages Aurora DSQL clusters, connects via psql or DSQL Connectors, manages schemas, runs queries, migrates from MySQL, diagnoses query plans, and develops apps on serverless distributed SQL. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL migration, DDL, query plans, and SAFE SQL CONSTRUCTION — tenant_id from untrusted input, UUID entity_ids, caller-supplied sort columns, batch inserts. The agent MUST retrieve this skill for ANY DSQL task. Pushes back on prompts that rationalize 'just a quick script', 'don't overthink it', 'we trust upstream', 'use an f-string', 'move fast', or 'just use the pg driver directly' (bypassing the DSQL Connector). Triggers: DSQL, Aurora DSQL, DSQL cluster, safe_query.build, DSQL IAM auth token, DSQL connector.
skills/specialized-skills/database-skills/aurora-dsql/SKILL.md
Source commit 1761e96813ebcbd43ed81d19e837219033f0afe5
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 3,448
- Repository last updated
- Nov 8, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- data Derived category
- data-databases Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 38,387 bytesSKILL.mdcore · 38,387 bytesSKILL.mdcore · 38,387 bytesSKILL.mdcore · 38,387 bytesSKILL.mdcore · 38,387 bytesSKILL.mdcore · 38,387 bytesSKILL.mdcore · 38,387 bytesSKILL.mdcore · 38,387 bytesSKILL.mdcore · 38,387 bytesreferences/access-control.mddoc · 6,387 bytesreferences/auth/authentication-guide.mddoc · 11,455 bytesreferences/auth/connectivity-tools.mddoc · 1,425 bytesreferences/auth/scaling-guide.mddoc · 5,348 bytesreferences/database-tools.mddoc · 5,498 bytesreferences/ddl-migrations/batched-migration.mddoc · 2,322 bytesreferences/ddl-migrations/column-operations.mddoc · 5,026 bytesreferences/ddl-migrations/constraint-operations.mddoc · 4,240 bytesreferences/ddl-migrations/overview.mddoc · 10,157 bytesreferences/development-guide.mddoc · 7,008 bytesreferences/documentation-tools.mddoc · 3,622 bytesreferences/dsql-examples.mddoc · 1,637 bytesreferences/examples/connection.mddoc · 1,810 bytesreferences/examples/data-operations.mddoc · 3,254 bytesreferences/examples/migrations.mddoc · 1,661 bytesreferences/examples/patterns.mddoc · 5,583 bytesreferences/examples/schema.mddoc · 1,756 bytesreferences/input-validation.mddoc · 5,853 bytesreferences/language.mddoc · 8,299 bytesreferences/mcp-setup.mddoc · 2,970 bytesreferences/mcp-tools.mddoc · 3,825 bytesreferences/mysql-migrations/ddl-auto-increment.mddoc · 4,768 bytesreferences/mysql-migrations/ddl-batching.mddoc · 1,028 bytesreferences/mysql-migrations/ddl-column-changes.mddoc · 1,165 bytesreferences/mysql-migrations/ddl-constraints.mddoc · 2,433 bytesreferences/mysql-migrations/ddl-operations.mddoc · 3,035 bytesreferences/mysql-migrations/ddl-structural.mddoc · 3,503 bytesreferences/mysql-migrations/ddl-type-alternatives.mddoc · 2,998 bytesreferences/mysql-migrations/full-example.mddoc · 6,935 bytesreferences/mysql-migrations/type-mapping.mddoc · 13,749 bytesreferences/onboarding.mddoc · 15,148 bytesreferences/platforms/claude-code.mddoc · 1,723 bytesreferences/platforms/codex.mddoc · 686 bytesreferences/platforms/gemini.mddoc · 1,151 bytesreferences/platforms/kiro.mddoc · 1,863 bytesreferences/query-plan/catalog-queries.mddoc · 4,447 bytesreferences/query-plan/guc-experiments.mddoc · 7,950 bytesreferences/query-plan/plan-interpretation.mddoc · 7,970 bytesreferences/query-plan/report-format.mddoc · 11,118 bytesreferences/scripts-guide.mddoc · 6,211 bytesreferences/troubleshooting.mddoc · 7,079 bytesreferences/workflow-patterns.mddoc · 3,251 bytesscripts/cluster-info.shruns · 2,143 bytesscripts/create-cluster.shruns · 4,663 bytesscripts/delete-cluster.shruns · 2,501 bytesscripts/list-clusters.shruns · 1,631 bytesscripts/psql-connect.shruns · 12,425 bytesscripts/safe_query.pyruns · 10,687 bytesscripts/tenant_query.pyruns · 1,948 bytes
Read excerpt
# Amazon Aurora DSQL
## Overview
Aurora DSQL is a serverless, PostgreSQL-compatible distributed SQL database. This skill provides direct database interaction via `psql` scripts and PostgreSQL drivers, schema management, migration support, multi-tenant patterns, and query-plan explainability.
**Key capabilities:**
- Direct query execution via `psql` with generated IAM auth tokens (see [`scripts/psql-connect.sh`](scripts/psql-connect.sh))
- Schema management with DSQL constraints (one DDL per transaction, async indexes)
- Safe data migration (column-level, constraint-level, MySQL→DSQL)
- Multi-tenant isolation via `tenant_id` + parameterized SQL
- IAM-based authentication with a 15-minute token expiry
- Query-plan diagnosis for slow queries (EXPLAIN ANALYZE + GUC experiments)