database-rds-devops
Database-level data-plane diagnostics for Aurora MySQL and Aurora PostgreSQL.
Skill by kiranmamOfficial
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aws-database-rds-devops
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, devops, data, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/database-rds-devops
What's inside
- Skill name
database-rds-devops- Description
- Database-level data-plane diagnostics for Aurora MySQL and Aurora PostgreSQL. Executes predefined read-only health check queries via RDS Data API to analyze buffer pool, connections, locks, replication, storage, performance, and index efficiency. Requires the rds-aidba MCP server for database-internal access beyond what CloudWatch and RDS APIs provide.
- License
- Apache-2.0
- Metadata
- author: kiranmam · version: 1.0.2 · aws-devops-agent-skills.agent-types: CHAT, INCIDENT_RCA
- Instructions
- 416 lines in SKILL.md · view on GitHub
Files (13)
- CHANGELOG.md
- DEPLOYMENT.md
- README.md
- SKILL.md
- eval_queries.json · evals/
- evals.json · evals/
- report.json · evals/
- aurora-validation-checklist.md · references/
- best-practices.md · references/
- mcp-setup.md · references/
- mysql-health-checks.md · references/
- postgresql-health-checks.md · references/
- troubleshooting-runbooks.md · references/
SKILL.md (first lines)
## MCP Server Integration This skill uses the **rds-aidba** MCP server (`mcp/rds-aidba/`) for database-level diagnostics. **Transport:** Streamable HTTP (Lambda Function URL + mcp-proxy) **Auth:** AWS SigV4 (service: lambda) ### MCP Tools (10) | Tool | Parameters | Description | |------|-----------|-------------| | `execute_health_query` | engine, category, query_id | Run a predefined query | | `list_health_queries` | engine | List available queries | | `run_category_check` | engine, category | Run all queries in a category | | `run_full_health_check` | engine | Key queries from all categories | | `list_clusters` | (none) | List clusters in the account | | `get_cluster_health` | cluster_identifier | Cluster config and health | | `get_cluster_metrics` | cluster_identifier, hours_back | CloudWatch metrics | | `get_performance_insights` | instance_identifier | PI wait events | | `get_proxy_health` | proxy_name | RDS Proxy status | | `get_serverless_capacity` | cluster_identifier | Serverless v2 capacity | ### Three-Layer Architecture Layer 1: AWS CLI (Control Plane) - Always available Layer 2: CloudWatch (Observability) - Always available Layer 3: rds-aidba MCP (Data Plane) - Requires MCP server deployed --- ## Instructions You are a database DevOps expert for Aurora MySQL and Aurora PostgreSQL. You perform automated health assessments, performance diagnostics, log-based troubleshooting, and operational recommendations. Every recommendation must be grounded in collected metrics, query results, or documented best practices. ### Core Principles 1. **Observe before diagnosing** — Always collect data (metrics, configuration, logs) before making recommendations 2. **Platform-aware** — Auto-detect engine type (Aurora MySQL, RDS MySQL, Aurora PostgreSQL) and adjust diagnostics accordingly 3. **Safety-first** — Read-only operations only; never modify data, schema, or configuration directly 4. **Severity-driven** — Prioritize findings by impact: 🔴 CRITICAL → 🟡 WARNING → 🟢 OK 5. **Actionable output** — Every finding includes a specific remediation with expected outcome ### References - `references/mysql-health-checks.md` — 23 MySQL diagnostic queries with thresholds - `references/postgresql-health-checks.md` — 4 PostgreSQL diagnostic queries - `references/aurora-validation-checklist.md` — 33-check operational validation framework - `references/best-practices.md` — Platform-specific best practices (Aurora vs RDS vs EC2) - `references/troubleshooting-runbooks.md` — Decision-tree troubleshooting for 8 common scenarios - `references/mcp-setup.md` — MCP server deployment and configuration guide ### Operating Modes | Mode | Trigger | Behavior | |------|---------|----------| | Full Health Check | "health check", "full assessment", "comprehensive review" | Run all 10 diagnostic categories, produce scored report | | Category Check | "check connections", "storage analysis", "replication status" | Run specific category (1 of 10), focused report | | CloudWatch Analysis | "analyze logs", "slow queries", "error patterns" | Query CloudWatch Logs Insights, correlate with metrics | | Interactive REPL | Follow-up questions, "dig deeper", "explain more" | Iterative investigation with context retention | --- ## Phase 1: Platform Detection Detect engine type before any diagnostics: ``` aws rds describe-db-clusters --db-cluster-identifier <cluster-id> ``` OR: ``` aws rds describe-db-instances --db-instance-identifier <instance-id> ``` Extract the `Engine` field: - `"aurora-mysql"` → Aurora MySQL path - `"aurora-postgresql"` → Aurora PostgreSQL path - `"mysql"` (standard RDS, not Aurora) → **unsupported.** Standard RDS instances have no RDS Data API. Report: "This skill supports Aurora MySQL and Aurora PostgreSQL clusters with the RDS Data API enabled." Store: engine_type, version, cluster_members, endpoint, region. --- ## Phase 2: Data Collection (Parallel where possible) ``` PARALLEL COLLECT: ├── AWS CLI → Cluster/Instance configuration ├── CloudWatch Metrics → CPU, Connections, Memory, IOPS, Lag (last 3 hours) ├── CloudWatch Logs → Error log patterns, Slow query patterns └── Database queries (if available) → Database-level queries per category ``` **Metric Collection Window:** 3 hours default, expandable to 24h on request **Metric Period:** 300 seconds (5-minute granularity) --- ## Phase 3: Health Scoring Score dimensions on a binary scale (0 or 5 points each): **Aurora MySQL (12 dimensions, 60 points max — AWS Level):** | Dimension | Pass Criteria | Points | |-----------|--------------|--------| | Major Version Currency | Current major = latest available major | 5 | | Minor Version Currency | Current minor = latest available minor | 5 | | Storage Encryption | StorageEncrypted = true | 5 | | Enhanced Monitoring | MonitoringInterval ≤ 60 on all instances | 5 | | Performance Insights | Enabled + RetentionPeriod ≥ 465 days | 5 | | Multi-AZ Readers | ≥1 reader in different AZ from writer | 5 | | Backup Retention | BackupRetentionPeriod ≥ 7 days | 5 | | IAM Authentication | IAMDatabaseAuthenticationEnabled = true | 5 | | Deletion Protection | DeletionProtection = true | 5 | | Public Accessibility | PubliclyAccessible = false on all instances | 5 | | Auto Scaling | Scalable targets exist for cluster | 5 | | Backtrack Enabled | BacktrackWindow > 0 | 5 | **Aurora PostgreSQL (11 dimensions, 55 points max):**
From aws/tools-for-devops-agent, Apache-2.0.
More from aws/tools-for-devops-agent
- 0.784score
aiml-access-diagnostics
tamrishOfficial
Use this skill when diagnosing IAM and access failures for Bedrock and SageMaker.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
cloudtrail-cost-optimization
holmallaOfficial
Identify and quantify AWS CloudTrail cost optimization opportunities.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
agentcore-observability-setup
vggargavOfficial
Validates and bootstraps Amazon Bedrock AgentCore observability so customers can trace agent reasoning, detect silent failures, and measure performance before…
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
agentcore-ops-review
pamvasOfficial
Comprehensive operational review procedures for Amazon Bedrock AgentCore resources aligned with the AWS Well-Architected Framework.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
bedrock-operation-review
smnixonOfficial
Comprehensive Amazon Bedrock review aligned with the AWS Well-Architected Framework and Bedrock best practices.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
analytics-opensearch-expertise
genealpeOfficial
Amazon OpenSearch Service domain health assessment.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
aws-backup-coverage-review
vediyappan-kkOfficial
AWS Backup coverage and data protection posture review.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
aws-eks-operations-review
shyamkulkarniOfficial
Use this skill when someone wants an Amazon EKS cluster graded against best practices.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
aws-health-events
udid-awsOfficial
ALWAYS use this skill in the beginning of any incident investigation, root cause analysis, or operational troubleshooting.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
aws-routing
midakinOfficial
Analyze and troubleshoot AWS routing and BGP path selection - how AWS chooses a network path, why traffic takes an unexpected route, and how to steer it.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
aiml-gpu-training-cluster-investigation
nzureshOfficial
Use this skill for GPU training or inference clusters on SageMaker HyperPod (Slurm or EKS), ParallelCluster, or self-managed EC2/EKS GPU instances.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
config-cost-optimization
holmallaOfficial
Identify and quantify AWS Config cost optimization opportunities.
SkillAFreshness: A★ 116Claude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 116
- Forks
- 85
- Open issues
- 8
- Last commit (this folder)
- Oct 22, 2026 (5 days ago)
- Last release
- Sep 25, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.2
- License
- Apache-2.0
- Repository
- github.com/aws/tools-for-devops-agent
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Cite this page
database-rds-devops skill. Agent Mart. https://agentmart.dev/skills/aws-database-rds-devops (last updated 2026-10-24)