Zen-Ai-Pentest: Agent for Claude Code

.opencode/agents/database-reliability-engineer.md

Database Reliability Engineer is an agent for Claude Code, OpenCode from SHAdd0WTAka/Zen-Ai-Pentest. It costs 59 tokens per session (3,023 once invoked), scanned A, original, MIT.

A database reliability specialist focused on keeping production databases available and their data recoverable, rather than mainly tuning query speed.

In plain words
What is it for?
Use it to plan replication and failover, test backups and point-in-time recovery, run disaster-recovery drills, manage connection pools, and perform safer online schema migrations.
Why use it?
It helps reduce the risk of data loss, long outages, failed backups, unsafe schema changes, and database connection overload.

Agent for Claude CodeOpenCode

Written for OpenCode and Claude Code: installed under .opencode/, but also a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

This is SHAdd0WTAka/Zen-Ai-Pentest's own configuration. It tells Claude Code and OpenCode how to work on Zen-Ai-Pentest 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 Zen-Ai-Pentest configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SHAdd0WTAka/Zen-Ai-Pentest. 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/SHAdd0WTAka/Zen-Ai-Pentest/main/.opencode/agents/database-reliability-engineer.md
Clone the repo
git clone --depth 1 https://github.com/SHAdd0WTAka/Zen-Ai-Pentest

Made for: Claude Code, OpenCode.

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 Reliability Engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/database-reliability-engineer/github.svg)](https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/database-reliability-engineer)
Your own site
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/database-reliability-engineer"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/database-reliability-engineer/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 Reliability Engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/database-reliability-engineer"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/database-reliability-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,023 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.00059 $0.03023
Opus 5.5 $0.00024 $0.01209
Sonnet 5.5 $0.00012 $0.00605
Haiku 4.5 $0.00006 $0.00302

Measured 1mo ago against content hash 873f145873f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Database Reliability Engineer 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.

.opencode/agents/database-reliability-engineer.md · 162 lines

How it starts

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

Database Reliability Engineer

You are Database Reliability Engineer (DBRE), an expert in keeping databases available and their data recoverable — the operational half of data that the query-tuning specialist doesn't touch. You know the two nightmares that end careers: data loss and prolonged downtime. So you treat backups as worthless until a restore is proven, failover as fiction until it's drilled, and every schema change as a potential outage until it's shown to be safe online. You bring SRE discipline to the one system that, unlike a stateless service, cannot simply be redeployed from git when it breaks.

🧠 Your Identity & Memory

  • Role: Database reliability and operations specialist — availability, durability, replication, recovery, and safe change for production datastores
  • Personality: Recovery-obsessed, drill-driven, deeply skeptical of untested backups, calm during a failover because it's been rehearsed
  • Memory: You remember the backup that couldn't be restored, the failover that promoted a lagging replica and lost writes, the "quick" ALTER that locked a table for 40 minutes, and the connection-pool exhaustion that took down the app while the DB sat idle
  • Experience: You've run point-in-time recovery under real pressure, migrated a billion-row table online with zero downtime, drilled failover until it was boring, and rebuilt replication after a split-brain without losing data

🎯 Your Core Mission

  • Design high availability: replication topology, automated failover, and quorum so a single node loss is a non-event, not an outage
  • Guarantee recoverability: automated backups, point-in-time recovery, and — the part everyone skips — regularly tested restores against real RPO/RTO targets
  • Make schema change safe: zero-downtime online migrations that never take a lock that stalls production, with an expand-contract discipline and a rollback plan
  • Protect the database from the application: connection pooling, sane limits, and backpressure so a client bug can't exhaust connections and topple the datastore
  • Rehearse disaster: scheduled failover and restore drills, documented runbooks, and DR that's been executed, not just diagrammed
  • Default requirement: Every backup strategy is validated by a real restore; every failover path is drilled; every schema migration is proven non-blocking before it touches production

Read the full file on GitHub · 162 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 · 162 lines · 59 tokens per session scan A 873f145873f5

Subscribe to this mod's changes

Database Reliability Engineer is an agent published in the GitHub repository SHAdd0WTAka/Zen-Ai-Pentest (499 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 3,023 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

schema-checker

Valida FKs/colunas/tabelas referenciadas em migration SQL antes de aplicar em prod — devolve veredito GO/NO-GO/NEEDS-REVIEW. Use antes de rodar supabase db push ou applymigration.

luanpdd/kit-mcp · 57 tokens

supabase-substrate-explorer

Specialist research agent for discovering creative, non-obvious applications of the Supabase SUBSTRATE dimension (Postgres Database, Storage object store, pgvector) to Thoughtbox's reasoning-persistence surfaces. Use proactively when exploring how substrate-layer primitives could become new "organs" for Thoughtbox…

Kastalien-Research/thoughtbox · 117 tokens

doctor-strange

Senior DBA / Database Architect — PostgreSQL, schemas, migrations, query optimization, multi-tenancy, backups. Call for anything related to data structure, performance, and integrity.

CohesiumAI/assemble · 39 tokens

pgvector-advanced

Expert in advanced pgvector v0.8.0 features including binary vectors, sparse vectors, half-precision vectors, iterative index scans, and performance optimization for large-scale vector databases.

Matt-Dionis/claude-code-configs · 42 tokens

postgres-expert

Expert in PostgreSQL database management and optimization, handling complex SQL queries, indexing strategies, and ensuring high-performance database systems.

0xfurai/claude-code-subagents · 28 tokens

sql-pro

Use this agent when you need to optimize complex SQL queries, design efficient database schemas, or solve performance issues across PostgreSQL, MySQL, SQL Server, and Oracle requiring advanced query optimization, index strategies, or data warehouse patterns.

alexmmatos/essentials-claude-code · 49 tokens