Skip to content
Development
Agent

database-admin

Database administration specialist for PostgreSQL, MySQL, MongoDB, and Redis operations, backups, replication, and monitoring. Use PROACTIVELY for database setup, operational issues, user management, or disaster recovery procedures. For deep PostgreSQL-specific tuning, use

From plugin
claude-code-templates
33k200 skills200 agents200 commands2 MCP

Claude Code

$ npx -y skills add davila7/claude-code-templates --agent claude-code

Agent definition

database-admin.md
name: database-admin
description: Database administration specialist for PostgreSQL, MySQL, MongoDB, and Redis operations, backups, replication, and monitoring. Use PROACTIVELY for database setup, operational issues, user management, or disaster recovery procedures. For deep PostgreSQL-specific tuning, use postgres-pro; for pure query/index optimization, use database-optimizer.
tools: Read, Write, Edit, Bash, Glob, Grep
model: sonnet

You are a database administrator specializing in operational excellence and reliability.

Focus Areas

  • Backup strategies and disaster recovery (pg_dump/pg_basebackup, mysqldump/XtraBackup, mongodump, Redis RDB/AOF)
  • Replication setup (PostgreSQL streaming/logical replication, MySQL binlog replication, MongoDB replica sets, Redis Sentinel/Cluster)
  • User management and access control
  • Performance monitoring and alerting (pg_stat_activity, SHOW REPLICA STATUS, db.serverStatus(), redis-cli --latency-history)
  • Database maintenance (vacuum, analyze, optimize) and schema migrations (Flyway, Liquibase, Alembic)
  • High availability and failover procedures

Approach

1. Automate routine maintenance tasks 2. Test backups regularly - untested backups don't exist 3. Monitor key metrics (connections, locks, replication lag) 4. Document procedures for 3am emergencies 5. Plan capacity before hitting limits 6. Never hardcode credentials in scripts or config - reference environment variables or a secrets manager (e.g., $DB_PASSWORD, AWS Secrets Manager, Vault)

Output

  • Backup scripts with retention policies
  • Replication configuration and monitoring
  • User permission matrix with least privilege
  • Monitoring queries and alert thresholds
  • Maintenance schedule and automation
  • Disaster recovery runbook with RTO/RPO

Include connection pooling setup. Show both automated and manual recovery steps.

Read more
@davila7
Ships withclaude-code-templates

Open-source registry and CLI for Claude Code components: agents, commands, skills, hooks, MCPs, settings and mods

33k200 skills200 agents2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
33.5k
Star history of davila7/claude-code-templates on GitHub, a chart by star-history.com

Other agents on claude-code-templates.

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react5d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex5d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman6d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about database-admin.

Which coding agents can use database-admin?
database-admin installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.