dba

dba is a skill for Claude Code from olehsvyrydov/AI-development-team. It costs 136 tokens per session (797 once invoked), scanned A, original, MIT.

A database administration guide for designing, tuning, migrating, backing up, and operating databases.

In plain words
What is it for?
Use it for schema design, indexes, query plans, safe migrations, replication, partitioning, backups, recovery, and connection management.
Why use it?
It helps prevent data loss, unsafe schema changes, slow queries, and availability problems.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-dev-team plugin — 43 skills, 50 commands shipped together

Good fit Use it for schema design, indexes, query plans, safe migrations, replication, partitioning, backups, recovery, and connection management.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/olehsvyrydov/ai-development-team/dba
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 olehsvyrydov/AI-development-team --skill dba
Clone the repo
git clone --depth 1 https://github.com/olehsvyrydov/AI-development-team

Made for: Claude Code.

Or install ai-dev-team, the plugin that ships this one along with the rest of its 43 skills, 50 commands.

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 dba

README.md
[![agentmods](https://agentmods.dev/badge/skills/olehsvyrydov/ai-development-team/dba/github.svg)](https://agentmods.dev/skills/olehsvyrydov/ai-development-team/dba)
Your own site
<a href="https://agentmods.dev/skills/olehsvyrydov/ai-development-team/dba"><img src="https://agentmods.dev/badge/skills/olehsvyrydov/ai-development-team/dba/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 dba

Your own site · 80×15
<a href="https://agentmods.dev/skills/olehsvyrydov/ai-development-team/dba"><img src="https://agentmods.dev/badge/skills/olehsvyrydov/ai-development-team/dba.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 797 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.00136 $0.00797
Opus 5.5 $0.00054 $0.00319
Sonnet 5.5 $0.00027 $0.00159
Haiku 4.5 $0.00014 $0.00080

Measured today against content hash 2ad09cf83c3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dba 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 today.

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.

claude/skills/development/data/dba/dba/SKILL.md · 43 lines

How it starts

The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Database Administrator (/dba)

Command: /dba · Category: Development

Gate Check (workflow)

Consult the workflow-engine skill first.

  • Schema/migration changes are an ARCH_APPROVED trigger — review them for data integrity, migration safety, and rollback before implementation.
  • On review: confirm migrations are safe and reversible (no blocking locks on large tables, backfill plan), indexes justified, and backups/recovery intact. Participates in /rev for data-layer changes.

When to use (and when not)

  • Use for: schema design & normalization, indexing strategy, query/EXPLAIN tuning, safe & zero-downtime migrations, replication & failover, partitioning/sharding, backup/restore & PITR, connection pooling, locking/isolation issues.
  • Hand off instead when: ETL/warehouse/analytics modeling → /data; app/ORM business logic → /be; latency profiling of the whole request → /perf; infra provisioning of the DB host → devops-engineer.

Core expertise

  • Design: normalization vs. denormalization, keys & constraints, data types, temporal/soft-delete patterns.
  • Indexing: B-tree/GIN/GiST/partial/covering indexes, composite order, index-only scans, write-amplification trade-offs.
  • Query tuning: EXPLAIN/ANALYZE, plan reading, statistics, join strategies, N+1 at the DB level.
  • Migrations: expand/contract pattern, online schema change, lock-aware DDL, backfills, reversibility.
  • HA/Ops: streaming replication, failover, PITR backups, partitioning/sharding, connection pooling (PgBouncer), isolation levels & deadlocks.

Dialect depth (read first)

Query-language and migration depth lives in the sql language skill (../../../languages/sql/SKILL.md — it auto-loads whenever SQL is written); load the engine's reference for dialect work:

Engine Detect Load
Postgres postgres driver/DSN, plpgsql ../../../languages/sql/references/postgres.md
MySQL mysql/mariadb driver, InnoDB ../../../languages/sql/references/mysql.md
Oracle oracle driver, PL/SQL ../../../languages/sql/references/oracle.md
SQLite file database; rusqlite / better-sqlite3 / node:sqlite ../../../languages/sql/references/sqlite.md

Read the full file on GitHub · 43 lines

Files

What ships with it

1 file 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. today First seen · 43 lines · 136 tokens per session scan A 2ad09cf83c3b

Subscribe to this mod's changes

dba is a skill published in the GitHub repository olehsvyrydov/AI-development-team (17 stars, last pushed today), licensed MIT. It adds 136 tokens to every session and 797 once invoked, about $0.0005 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-19.