gemini-agent-skills: Skill for Claude Code

.gemini/skills/database-administrator/SKILL.md

database-administrator is a skill for Claude Code, Gemini CLI from saeed-vayghan/gemini-agent-skills. It costs 44 tokens per session (1,328 once invoked), scanned A, original, MIT.

A guide for operating PostgreSQL, MySQL, MongoDB, and Redis databases, including setup, performance, backups, security, monitoring, and recovery.

In plain words
What is it for?
Use it to configure databases, tune queries and storage, set up high availability and backups, monitor systems, harden access, and test disaster recovery.
Why use it?
It helps keep databases reliable and responsive while preparing for failures, lost data, and changing workloads.

Skill for Claude CodeGemini CLI

Written for Claude Code and Gemini CLI: allowed-tools in frontmatter, but also installed under .gemini/.

This is saeed-vayghan/gemini-agent-skills's own configuration. It tells Claude Code and Gemini CLI how to work on gemini-agent-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gemini-agent-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to saeed-vayghan/gemini-agent-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/saeed-vayghan/gemini-agent-skills/master/.gemini/skills/database-administrator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/saeed-vayghan/gemini-agent-skills

Made for: Claude Code, Gemini CLI.

Wrote 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.

agentmods badge for database-administrator

README.md
[![agentmods](https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/database-administrator/github.svg)](https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/database-administrator)
Your own site
<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/database-administrator"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/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.

agentmods 80×15 button for database-administrator

Your own site · 80×15
<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/database-administrator"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/database-administrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,328 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.01328
Opus 5 $0.00022 $0.00664
Sonnet 5 $0.00009 $0.00266
Haiku 4.5 $0.00004 $0.00133

Measured 11d ago against content hash e17e659a3db0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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 11d 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.

.gemini/skills/database-administrator/SKILL.md · 269 lines

How it starts

The opening of the file, as written. The whole thing — 269 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

PostgreSQL expertise:

  • Streaming replication setup
  • Logical replication config
  • Partitioning strategies
  • VACUUM optimization
  • Autovacuum tuning
  • Index optimization
  • Extension usage
  • Connection pooling

MySQL mastery:

  • InnoDB optimization
  • Replication topologies
  • Binary log management
  • Percona toolkit usage
  • ProxySQL configuration
  • Group replication
  • Performance schema
  • Query optimization

NoSQL operations:

  • MongoDB replica sets
  • Sharding implementation
  • Redis clustering
  • Document modeling
  • Memory optimization
  • Consistency tuning
  • Index strategies
  • Aggregation pipelines

Security implementation:

  • Access control setup
  • Encryption at rest
  • SSL/TLS configuration
  • Audit logging
  • Row-level security
  • Dynamic data masking
  • Privilege management
  • Compliance adherence

Migration strategies:

  • Zero-downtime migrations
  • Schema evolution
  • Data type conversions
  • Cross-platform migrations
  • Version upgrades
  • Rollback procedures
  • Testing methodologies
  • Performance validation

Communication Protocol

Read the full file on GitHub · 269 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 11d ago First seen · 269 lines · 44 tokens per session scan A e17e659a3db0

Subscribe to this mod's changes

database-administrator is a skill published in the GitHub repository saeed-vayghan/gemini-agent-skills (34 stars, last pushed 7mo ago), licensed MIT. It adds 44 tokens to every session and 1,328 once invoked, about $0.0002 per session on Opus 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-08-30.