/agent-skills:dsqlfrom Agent Skills
Build with Aurora DSQL - manage schemas, execute queries, and handle migrations with DSQL-specific requirements. Use when developing a scalable or distributed database/application or user requests DSQL.
Ships in Agent Skills. 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; scripts run unread.
Aurora DSQL is a serverless, PostgreSQL-compatible distributed SQL database. This skill provides direct database interaction via MCP tools, schema management, migration support, and multi-tenant patterns.
Key capabilities:
Load these files as needed for detailed guidance:
When: ALWAYS load before implementing schema changes or database operations Contains: DDL rules, connection patterns, transaction limits, security best practices
When: Always load for guidance using or updating the DSQL MCP server Contains: Instructions for setting up the DSQL MCP server with 2 configuration options as sampled in .mcp.json
When: Load when you need detailed MCP tool syntax and examples Contains: Tool parameters, detailed examples, usage patterns
When: MUST load when making language-specific implementation choices Contains: Driver selection, framework patterns, connection code for Python/JS/Go/Java/Rust
When: Load when looking for specific implementation examples Contains: Code examples, repository patterns, multi-tenant implementations
When: Load when debugging errors or unexpected behavior Contains: Common pitfalls, error messages, solutions
When: User explicitly requests to "Get started with DSQL" or similar phrase Contains: Interactive step-by-step guide for new users
When: MUST load when creating database roles, granting permissions, setting up schemas for applications, or handling sensitive data Contains: Scoped role setup, IAM-to-database role mapping, schema separation for sensitive data, role design patterns
When: MUST load when trying to perform DROP COLUMN, RENAME COLUMN, ALTER COLUMN TYPE, or DROP CONSTRAINT functionality Contains: Table recreation patterns, batched migration for large tables, data validation
When: MUST load when migrating from MySQL to DSQL or translating MySQL DDL to DSQL-compatible equivalents Contains: MySQL data type mappings, DDL operation translations, AUTO_INCREMENT/ENUM/SET/FOREIGN KEY migration patterns, ALTER TABLE ALTER COLUMN and DROP COLUMN via table recreation
The aurora-dsql MCP server provides these tools:
Database Operations:
Documentation & Knowledge: 4. dsql_search_documentation - Search Aurora DSQL documentation 5. dsql_read_documentation - Read specific documentation pages 6. dsql_recommend - Get DSQL best practice recommendations
Note: There is no list_tables tool. Use readonly_query with information_schema.
See mcp-setup.md for detailed setup instructions. See mcp-tools.md for detailed usage and examples.
Bash scripts for cluster management and direct psql connections. All scripts are located in scripts/.
Cluster Management:
Database Connection:
Quick example:
./scripts/create-cluster.sh --region us-east-1
export CLUSTER=abc123def456
./scripts/psql-connect.sh
See scripts/README.md for detailed usage.
Use readonly_query with information_schema to list tables
Use get_schema to understand table structure
Use readonly_query for SELECT queries
Always include tenant_id in WHERE clause for multi-tenant apps
Validate inputs carefully (no parameterized queries available)
Use transact tool with list of SQL statements
Follow one-DDL-per-transaction rule
Always use CREATE INDEX ASYNC in separate transaction
Goal: Create a new table with proper tenant isolation
Steps:
Critical rules:
transact(["CREATE TABLE ..."])Goal: Add a new column with defaults safely
Steps:
transact(["ALTER TABLE ... ADD COLUMN ..."])Critical rules:
Goal: Safely insert/delete records with parent-child relationships
Steps for INSERT:
Steps for DELETE:
Goal: Retrieve data scoped to a specific tenant
Steps:
Critical rules:
Goal: Create application-specific database roles instead of using the admin role
MUST load access-control.md for detailed guidance.
Steps:
admin (the only time admin should be used)CREATE ROLE <name> WITH LOGINdsql:DbConnect for each database roleAWS IAM GRANTusers_schema)generate-db-connect-auth-token (not the admin variant)Critical rules:
publicdsql:DbConnect for application IAM rolesGoal: Perform DROP COLUMN, RENAME COLUMN, ALTER COLUMN TYPE, or DROP CONSTRAINT using the table recreation pattern.
MUST load ddl-migrations.md for detailed guidance.
Steps:
readonly_queryget_schematransactCREATE INDEX ASYNCRules:
Goal: Migrate MySQL table schemas and DDL operations to DSQL-compatible equivalents, including data type mapping, ALTER TABLE ALTER COLUMN, and DROP COLUMN operations.
MUST load mysql-to-dsql-migrations.md for detailed guidance.
Steps:
ALTER TABLE ... ALTER COLUMN col datatype or MODIFY COLUMN: MUST use table recreation patternALTER TABLE ... DROP COLUMN col: MUST use table recreation patternCREATE INDEX ASYNC in separate transactionsRules:
CREATE INDEX ASYNC is mandatorydsql:DbConnect; refer to Access Controlmcp/mcp-setup.md (opens in a new tab)mcp/mcp-tools.md (opens in a new tab)references/access-control.md (opens in a new tab)references/ddl-migrations.md (opens in a new tab)references/development-guide.md (opens in a new tab)references/dsql-examples.md (opens in a new tab)references/language.md (opens in a new tab)references/mysql-to-dsql-migrations.md (opens in a new tab)references/onboarding.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)scripts/README.md (opens in a new tab)scripts/cluster-info.sh (opens in a new tab)scripts/create-cluster.sh (opens in a new tab)scripts/delete-cluster.sh (opens in a new tab)scripts/list-clusters.sh (opens in a new tab)scripts/loader.sh (opens in a new tab)scripts/psql-connect.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (richardbowman/agent-skills) — no native marketplace selected
npx claudepluginhub p/richardbowman-agent-skills32 skills in this plugin
/backup-vercel-secretsBack up Vercel production and preview environment variables to 1Password as individual key/value fields. Use when the user wants to snapshot or archive their Vercel secrets for a project./brain-dumpInteractive knowledge extraction interviewer. Enters a structured interview mode to extract tacit knowledge from the user and saves a full transcript plus structured notes to the Obsidian vault./brainstormActive ideation partner. The assistant leads the session by proposing angles, surfacing frameworks, filling knowledge gaps, and challenging assumptions. Produces a structured Obsidian ideation doc and session transcript.Other plugins' skills for the same job