database-administrator

database-administrator is a skill for Claude Code from agentic-swe/agentic-swe. It costs 31 tokens per session (1,508 once invoked), scanned A, a copy of database-administrator, MIT.

A database administrator for setting up, operating, securing, and recovering production databases.

In plain words
What is it for?
Use it for database installation, high availability, performance tuning, backup testing, security hardening, monitoring, and recovery planning.
Why use it?
It helps keep databases available and protect against data loss by addressing configuration, monitoring, backups, replication, and disaster recovery.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the agentic-swe plugin — 164 skills, 24 commands, 4 agents, 3 hooks, 1 plugin shipped together

Good fit Use it for database installation, high availability, performance tuning, backup testing, security hardening, monitoring, and recovery planning.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentic-swe/agentic-swe/database-administrator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agentic-swe/agentic-swe --skill database-administrator
Clone the repo
git clone --depth 1 https://github.com/agentic-swe/agentic-swe

Made for: Claude Code.

Or install agentic-swe, the plugin that ships this one along with the rest of its 164 skills, 24 commands, 4 agents, 3 hooks, 1 plugin.

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/agentic-swe/agentic-swe/database-administrator/github.svg)](https://agentmods.dev/skills/agentic-swe/agentic-swe/database-administrator)
Your own site
<a href="https://agentmods.dev/skills/agentic-swe/agentic-swe/database-administrator"><img src="https://agentmods.dev/badge/skills/agentic-swe/agentic-swe/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/agentic-swe/agentic-swe/database-administrator"><img src="https://agentmods.dev/badge/skills/agentic-swe/agentic-swe/database-administrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,508 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 86% copy Near-identical to another mod 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.00031 $0.01508
Opus 5.5 $0.00012 $0.00603
Sonnet 5.5 $0.00006 $0.00302
Haiku 4.5 $0.00003 $0.00151

Measured 1mo ago against content hash 2cf765b0f9fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

Origin

This is a copy

86% identical to database-administrator — 43 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/database-administrator/SKILL.md · 296 lines

How it starts

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

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. 1mo ago First seen · 296 lines · 31 tokens per session scan A 2cf765b0f9fa

Subscribe to this mod's changes

database-administrator is a skill published in the GitHub repository agentic-swe/agentic-swe (6 stars, last pushed 8d ago), licensed MIT. It adds 31 tokens to every session and 1,508 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to database-administrator, differing in 43 lines, and is treated as a copy.

Related

Other skills, from other repositories

create-pr

Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for Prisma 8. Use when the user wants to create a pull request, open a PR, or submit changes for review.

prisma/orm · 48 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens

atlas-mssql

SQL Server specifics for Atlas (also Azure SQL and MSSQL): login, dev database and URL scope (mode=schema vs mode=database, the database query parameter), compatibility level and collation, system-generated constraint names, clustered index defaults and datetime2 precision in HCL, GO batches and the delimiter…

ariga/atlas · 147 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

nornicdb-cypher-queries

Pick fast, predictable Cypher query shapes in NornicDB — point lookups, batch retrieval, pagination, search, traversal, batched UNWIND/MERGE writes, cleanup, multi-tenant isolation. Use when writing or reviewing Cypher whose latency or throughput matters; maps user intent to the executor's hot-path query templates.

orneryd/NornicDB · 79 tokens

volcengine-rds-postgresql

A tool for operating PostgreSQL databases hosted by Volcano Engine's managed database service. PostgreSQL is a relational database used to store structured application data.

bytedance/agentkit-samples · 63 tokens