aws-database
aws/agent-toolkit-for-aws
Routes database tasks to the correct AWS service skill, with post-training updates and decision procedures.
What is aws-database?
Entry point for any AWS database question or task. Matches your workload or problem to the right service (Aurora, DynamoDB, DocumentDB, Neptune, Timestream, ElastiCache, RDS, Keyspaces, or MemoryDB) and hands off to service-specific skills for operational guidance. Use this before answering from general knowledge.
- Routes database selection, comparison, and recommendation requests to the correct AWS service
- Hands off operational tasks (setup, optimization, troubleshooting, cost estimation) to service-specific skills with current documentation
- Covers 15+ AWS database engines: relational (Aurora, DSQL, RDS), key-value (DynamoDB), wide-column (Keyspaces), document (DocumentDB), graph (Neptune), time-series (Timestream), and in-memory (ElastiCache, MemoryDB)
- Supersedes general training data with post-training service updates, corrected limitations, and decision procedures
- Activates on implicit database tasks (storing, retrieving, managing data) even without the word 'database'
- Verifies facts against knowledge cards and AWS documentation rather than relying on training data
How to install aws-database
npx skills add https://github.com/aws/agent-toolkit-for-aws --skill aws-databaseHow to use aws-database
- 1.Describe your data problem, workload, or the AWS database service you're working with
- 2.The skill will match your request to the right sub-skill (selection, handoff, or issue reporting)
- 3.If selecting a database, follow the selection procedure to narrow down options
- 4.If you've named a service and need operational help, the skill will load the service-specific skill and hand off
- 5.For quick facts (pricing, limits, GA status), the skill will verify against knowledge cards or AWS documentation
Use cases
- Choosing between Aurora, RDS, and DynamoDB for a new application
- Comparing document databases (DocumentDB vs. other options) for a specific schema
- Getting operational help for scaling, migrating to, or optimizing a named AWS database service
- Estimating costs for a workload on a specific database engine
- Troubleshooting connection, performance, or configuration issues with an AWS database
- Developers building applications on AWS that need persistent data storage
- Architects evaluating database options for new workloads
- DevOps engineers setting up, migrating, or operating AWS databases
- Data engineers designing storage for analytics or time-series workloads
aws-database FAQ
Use this skill first for any database question. It routes you to the right service skill automatically. If you already know your service and need operational help, this skill will load the correct service skill for you.
Yes, it works with or without the AWS MCP server. The MCP server is recommended for sandboxed execution and audit logging, but the skill can fetch documentation via service llms.txt URLs or direct you to AWS docs.
Tell the skill directly (e.g., 'that's wrong' or 'you should have recommended X'). It will route to the issue-reporting sub-skill and investigate rather than defending the recommendation.
Yes, for quick facts covered by knowledge cards (published unit prices, limits, GA status). For workload-specific cost estimates (based on throughput, storage, topology), it will hand off to the service-specific skill.
Aurora (MySQL, PostgreSQL, DSQL), RDS (MySQL, PostgreSQL, MariaDB, Oracle, SQL Server, Db2), DynamoDB, DocumentDB, Neptune, Keyspaces, Timestream for InfluxDB, ElastiCache, and MemoryDB.
Full instructions (SKILL.md)
Source of truth, from aws/agent-toolkit-for-aws.
name: aws-database description: "Routes any task involving AWS databases — choosing, comparing, recommending, getting started with, or operating a database — to the correct service-specific skill. Supersedes general training-data knowledge with post-training service updates, corrected limitations, and decision procedures for relational (Aurora, DSQL, RDS), key-value (DynamoDB), wide-column (Keyspaces), document (DocumentDB), graph (Neptune), time-series (Timestream), and in-memory/caching (ElastiCache, MemoryDB) workloads. Activates when a user describes building an application on AWS that will store, retrieve, or manage data, even if they do not mention 'database' explicitly." metadata: version: "3"
AWS Database
STOP — Do not answer from general knowledge. Before responding to any database question, match the user's request against the sub-skill registry below and follow its procedure. If the procedure says to hand off to a service skill, you MUST load that skill before providing operational guidance. Never skip the routing step.
AWS Databases comprise 15+ fully-managed database engines and offer a high-performance, secure, and reliable foundation to power agentic AI and data-driven applications. Each AWS database is optimized for a specific workload shape or data model — relational (Aurora, DSQL, RDS), key-value (DynamoDB), wide-column (Keyspaces), document (DocumentDB), graph (Neptune), time-series (Timestream for InfluxDB), and in-memory (ElastiCache, MemoryDB). For relational workloads, AWS supports PostgreSQL (Aurora, DSQL, RDS), MySQL (Aurora, RDS), MariaDB (RDS), Oracle (RDS, ODB@AWS), SQL Server (RDS), and Db2 (RDS).
Use this skill as the entry point for any actions or questions related to databases on AWS. It helps match a workload to the right AWS database service, or hand off to a service-specific skill for operational questions or actions.
This skill works with or without the AWS MCP server. When available, the AWS MCP server is recommended for sandboxed execution and audit logging.
Global rules
-
Match the user's language. Respond in the same language the user writes in. Default to non-technical explanations. Only escalate technical depth when they've shown fluency — by using the terms themselves, stating a technical role, or answering a plain question with a technical answer.
-
Revise when new information arrives. If the user pushes back or adds new details, re-check the sub-skill registry triggers before responding. Pushback that matches
report-issuetriggers (e.g., "that's wrong", "it's wrong", "you picked the wrong service") must route toreport-issue— do not defend your prior recommendation or ask the user to justify their objection. The goal is the right answer, not consistency with your first response. -
Do not rely on training data for facts. AWS databases change frequently. Before stating pricing, quotas, or GA status, verify against the knowledge cards loaded by this skill. If the fact is not in a knowledge card, look it up — in priority order: (a) use the AWS MCP server (
aws___read_documentation,aws___search_documentation) if available; (b) fetch the service'sllms.txtURL from its knowledge card for a structured documentation index; (c) direct users to AWS documentation. If a user mentions a feature not covered by a knowledge card, look it up rather than guessing. -
Verify, don't guess. If you cannot confirm a fact from a knowledge card or documentation, say so. "I'm not sure — check the docs" is better than a confident wrong answer.
How this skill works
-
Find the sub-skill — Match the user's request against the sub-skill registry below. Match on meaning, not exact wording. If ambiguous, ask: "Are you choosing a database, or do you need help with one you already have?" This matching applies to every user message, not just the first. If a subsequent message matches a different sub-skill's triggers (e.g., the user pushes back on a recommendation and their phrasing matches
report-issue), re-route immediately — do not continue the previous sub-skill's flow. -
If a sub-skill matches — read
references/{sub-skill-id}.mdand follow its procedure. -
If no sub-skill matches — answer from the knowledge cards in
assets/. If the card doesn't cover it, use documentation tools (aws___search_documentation,aws___read_documentation) if available, or fetch the service'sllms.txtURL from its knowledge card, or direct the user to the AWS documentation URL listed in the card. This is the path for quick facts: published unit prices, limits, GA status, feature confirmation, or any question answerable from the card alone. Do not load a service skill merely to answer a quick fact covered by the card. A workload-specific cost estimate is not a quick fact: when the user names a service and asks for an estimate based on throughput, storage, topology, or other workload inputs, route tohandoffand load the available service skill. Offer deeper service-skill guidance only when it would be useful or the user asks for operational help.
Sub-skill registry
| ID | Name | Trigger Phrases | When to Route Here | Next Steps |
|---|---|---|---|---|
select | Database Selection | "which database", "help me choose", "recommend", "what should I use", "starting a new project", "picking a database", "I need a database", "I'm building", "build a", "how should I store", "best way to handle", "need to support", "design for" | User hasn't chosen a service yet, is comparing options, or describes a workload/data problem without naming a specific service | handoff |
handoff | Service Handoff | "how do I", "configure", "optimize", "troubleshoot", "set up", "migrate to", "connect to", "scale", "upgrade", "monitor", "backup", "restore", "estimate cost", "pricing estimate", "cost for my workload", "build", "create", "deploy", "provision", + named service | User names a specific AWS database service and has an operational, advisory, or action question, including a workload-specific cost estimate | — |
report-issue | Report Issue | "that's wrong", "incorrect", "bad recommendation", "you should have said", "missing", "skill is wrong", "report this", "file a bug", "report an issue" | User reports that the skill gave incorrect or incomplete guidance | — |
Service reference
Load knowledge cards on demand — only when the current turn requires verifying or stating facts about a service. Read assets/{filename} for the relevant service(s). Load only the cards for services being actively considered (typically 2–3 per request).
| Service | Knowledge file | Service skill for handoff |
|---|---|---|
| Aurora DSQL | assets/aurora-dsql.md | aurora-dsql |
| Aurora MySQL | assets/aurora-mysql.md | amazon-aurora-mysql |
| Aurora PostgreSQL | assets/aurora-postgresql.md | amazon-aurora-postgresql |
| DocumentDB | assets/documentdb.md | amazon-documentdb |
| DynamoDB | assets/dynamodb.md | amazon-dynamodb |
| ElastiCache | assets/elasticache.md | amazon-elasticache |
| Keyspaces | assets/keyspaces.md | amazon-keyspaces |
| MemoryDB | assets/memorydb.md | — |
| Neptune | assets/neptune.md | amazon-neptune |
| ODB @ AWS | assets/odb-aws.md | — |
| RDS for Db2 | assets/rds-db2.md | rds-db2 |
| RDS for MariaDB | assets/rds-mariadb.md | rds-oss |
| RDS for MySQL | assets/rds-mysql.md | rds-oss |
| RDS for Oracle | assets/rds-oracle.md | rds-oracle |
| RDS for PostgreSQL | assets/rds-postgresql.md | rds-oss |
| RDS for SQL Server | assets/rds-sqlserver.md | rds-sqlserver |
| Timestream for InfluxDB | assets/timestream.md | timestream-influxdb |
Related skills
More from aws/agent-toolkit-for-aws and the wider catalog.

aws-deployment
Configure AWS CI/CD pipelines with CodePipeline, CodeBuild, CodeDeploy, and CodeArtifact.

aws-iam
Verified IAM corrections and workflows for role management, policy generation, and edge-case handling.

aws-lambda-durable-functions
Build resilient multi-step AWS Lambda workflows that run for up to 1 year with automatic state persistence and replay-safe orchestration.

aws-lambda-managed-instances
Evaluate, configure, and migrate workloads to AWS Lambda Managed Instances for long-running, steady-traffic jobs with EC2 pricing and AWS-managed infrastructure.

aws-lambda-microvms
Build, run, and debug long-lived serverless applications on AWS Lambda MicroVMs with Firecracker isolation and snapshot-based resumption.

aws-messaging-and-streaming
Route AWS messaging and streaming questions to the right service—SQS, SNS, EventBridge, Kinesis, Kafka, and customer communication channels.