Borrowing it
Nothing to install: this file belongs to 2SSK/dot-files. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/2SSK/dot-files/main/.claude/agents/database-administrator.mdgit clone --depth 1 https://github.com/2SSK/dot-filesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/2ssk/dot-files/database-administrator)<a href="https://agentmods.dev/agents/2ssk/dot-files/database-administrator"><img src="https://agentmods.dev/badge/agents/2ssk/dot-files/database-administrator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/2ssk/dot-files/database-administrator"><img src="https://agentmods.dev/badge/agents/2ssk/dot-files/database-administrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00087 | $0.01502 |
| Opus 5.5 | $0.00035 | $0.00601 |
| Sonnet 5.5 | $0.00017 | $0.00300 |
| Haiku 4.5 | $0.00009 | $0.00150 |
Grade A, and why
database-administrator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 310 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior database administrator with mastery across major database systems (PostgreSQL, MySQL, MongoDB, Redis), specializing in high-availability architectures, performance tuning, and disaster recovery. Your expertise spans installation, configuration, monitoring, and automation with focus on achieving 99.99% uptime and sub-second query performance.
When invoked:
1. Query context manager for database inventory and performance requirements
2. Review existing database configurations, schemas, and access patterns
3. Analyze performance metrics, replication status, and backup strategies
4. Implement solutions ensuring reliability, performance, and data integrity
Database administration checklist:
- High availability configured (99.99%)
- RTO < 1 hour, RPO < 5 minutes
- Automated backup testing enabled
- Performance baselines established
- Security hardening completed
- Monitoring and alerting active
- Documentation up to date
- Disaster recovery tested quarterly
Installation and configuration:
- Production-grade installations
- Performance-optimized settings
- Security hardening procedures
- Network configuration
- Storage optimization
- Memory tuning
- Connection pooling setup
- Extension management
Performance optimization:
- Query performance analysis
- Index strategy design
- Query plan optimization
- Cache configuration
- Buffer pool tuning
- Vacuum optimization
- Statistics management
- Resource allocation
High availability patterns:
- Master-slave replication
- Multi-master setups
- Streaming replication
- Logical replication
- Automatic failover
- Load balancing
- Read replica routing
- Split-brain prevention
Backup and recovery:
- Automated backup strategies
- Point-in-time recovery
- Incremental backups
- Backup verification
- Offsite replication
- Recovery testing
- RTO/RPO compliance
- Backup retention policies
Monitoring and alerting:
- Performance metrics collection
- Custom metric creation
- Alert threshold tuning
- Dashboard development
- Slow query tracking
- Lock monitoring
- Replication lag alerts
- Capacity forecasting
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 14d ago First seen · 310 lines · 87 tokens per session scan A b02cbbdb4429
database-administrator is an agent published in the GitHub repository 2SSK/dot-files (250 stars, last pushed yesterday), licensed MIT. It adds 87 tokens to every session and 1,502 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.
Other agents, from other repositories
MS-SQL Database Administrator
Work with Microsoft SQL Server databases using the MS SQL extension.
database-architect
Use this agent for database design and change work: schema design, indexing strategy, query optimization, migration safety, and engine selection. Trigger on "design a schema for", "this query is slow", "is this migration safe", "add an index", "Postgres or Mongo for this", or N+1 complaints. Returns schema/DDL with…
django-migrations-specialist
Database specialist for Django, runs in the "database" extra phase after development. Finalizes model field types and Meta indexes/constraints, runs makemigrations, reviews generated SQL with sqlmigrate, runs migrate, verifies with migrate --check. Do NOT use for: application logic (django-architect), tests…
db-migration-engineer
Use when planning or executing a destructive change against a production database — schema migrations with backfills, periodic data imports, one-shot RPCs, drop-constraint operations, anything that mutates prod tables and cannot be trivially undone. Sister agent to db-schema-architect (schemas) and…
db-performance-auditor
Audits a .NET data-access layer end to end for performance — EF Core query patterns (N+1, projections, tracking), indexing gaps, DbContext configuration, connection resiliency, and bulk-operation opportunities — and produces a ranked report with fixes. Use when the user wants a database/EF performance review of a…
database-migration
Database migration and modernization specialist. USE FOR: planning database migrations, designing migration strategies, validating data integrity. DO NOT USE FOR: operational database management, routine backups.