dba Claude Code subagentA

dba from cdeust/ai-architect-mcp-codebase is a Claude Code subagent: a helper Claude Code hands a task to, with its own instructions.

Install it, pinned
mdr add cdeust/ai-architect-mcp-codebase/.claude/agents/dba.md@git:20260412.b2af274

Pins git:20260412.b2af274 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 16 of 16 checks passed
Kind
Claude Code subagent
Repository
cdeust/ai-architect-mcp-codebase
Path
.claude/agents/dba.md
Versions recorded
1
Latest version
git:20260412.b2af274, committed Apr 12, 2026
Size
13,995 bytes
Repository stars
7
License
MIT

Database specialist adapting to any engine (PostgreSQL, SQLite, MongoDB, etc.) — schema design, query optimization, migrations, and index tuning.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

<identity>

You are a senior database engineer who adapts to the project's database engine — PostgreSQL, SQLite, MongoDB, MySQL, DynamoDB, or any other. You design schemas, optimize queries, tune indexes, write server-side logic, and manage migrations. The principles are universal; the syntax adapts.

## Stack Adaptation

Before writing any database code, **identify the project's storage stack** by reading config files, connection strings, schema definitions, and migration files:

- **Engine**: PostgreSQL, SQLite, MongoDB, MySQL/MariaDB, DynamoDB, Redis, etc.
- **Driver/ORM**: psycopg, sqlite3, pymongo, SQLAlchemy, Prisma, Mongoose, etc.
- **Extensions**: pgvector, pg_trgm, FTS5, MongoDB Atlas Search, etc.
- **Migration tool**: Alembic, Flyway, Knex, Django migrations, manual SQL files, etc.
- **Query style**: Raw SQL, stored procedures, query builder, aggregation pipeline, etc.

All principles below are **engine-agnostic**. Apply them using the idioms of whichever database the project uses.

</identity>

<memory>

## Cortex Memory Integration
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cdeust/ai-architect-mcp-codebase/.claude/agents/dba.md@sha256:5d9e146acfc27a0e

The line at the top of this page pins the label git:20260412.b2af274, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_m4cjlmr264nmffjd.svg)](https://markdownregistry.com/a/art_m4cjlmr264nmffjd)

3 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in cdeust/ai-architect-mcp-codebase/.claude/agents/dba.md since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of dba.md from somewhere else? Ask it: where did my dba.md come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 1 version of this file, committed on Apr 12, 2026.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20260412.b2af274 latest2026-04-12 b2af274 13,995 BA view
Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  16 of 16 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (13995 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No encoded command decoded and run in a shell
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No decoded text run in a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

cdeust/ai-architect-mcp-codebase · 7 stars · license MIT · pushed 2026-11-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_m4cjlmr264nmffjd
GET https://markdownregistry.com/api/v1/resolve?ref=cdeust/ai-architect-mcp-codebase/.claude/agents/dba.md
GET https://markdownregistry.com/api/v1/blob/5d9e146acfc27a0e23a21d49827239a78c9117bf897235a7bd8452af7da5b4f8
GET https://markdownregistry.com/api/v1/list?kind=subagent

Every file of this kind listed here, most starred first, in pages: send each page's next back as cursor. JSON, no key.

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: which agent file does what.

More from cdeust/ai-architect-mcp-codebase

ai-architect-mcp-codebase-marketplace Plugin marketplace
cdeust/ai-architect-mcp-codebase · .claude-plugin/marketplace.json · AI Architect Codebase — Rust MCP that indexes ANY codebase (every file type: source in 11 languages, plus…
v0.15.0 · audit A · 7 stars
architect Claude Code subagent
cdeust/ai-architect-mcp-codebase · .claude/agents/architect.md · Software architect for module decomposition, layer boundary design, dependency analysis, and refactoring strategy
git:20260412.b2af274 · audit A · 7 stars
code-quality-reviewer Claude Code subagent
cdeust/ai-architect-mcp-codebase · .claude/agents/code-quality-reviewer.md · Use this agent when you need to review code for quality, maintainability, and adherence to best practices…
git:20261028.dbe0fe8 · audit A · 7 stars
code-reviewer Claude Code subagent
cdeust/ai-architect-mcp-codebase · .claude/agents/code-reviewer.md · Code reviewer specializing in Clean Architecture enforcement, SOLID violations, and architectural integrity
git:20260412.b2af274 · audit A · 7 stars
data-scientist Claude Code subagent
cdeust/ai-architect-mcp-codebase · .claude/agents/data-scientist.md · Data analysis and pipeline specialist — EDA, feature engineering, data quality, bias auditing, and dataset documentation
git:20260412.b2af274 · audit A · 7 stars
devops-engineer Claude Code subagent
cdeust/ai-architect-mcp-codebase · .claude/agents/devops-engineer.md · DevOps engineer for CI/CD pipelines, Docker, PostgreSQL provisioning, monitoring, and deployment
git:20260412.b2af274 · audit A · 7 stars
documentation-accuracy-reviewer Claude Code subagent
cdeust/ai-architect-mcp-codebase · .claude/agents/documentation-accuracy-reviewer.md · Use this agent when you need to verify that code documentation is accurate, complete, and up-to-date. Specifically use…
git:20261028.dbe0fe8 · audit A · 7 stars
engineer Claude Code subagent
cdeust/ai-architect-mcp-codebase · .claude/agents/engineer.md · Software engineer specializing in Clean Architecture, SOLID, and root-cause problem solving — adapts to any language…
git:20260412.b2af274 · audit A · 7 stars
experiment-runner Claude Code subagent
cdeust/ai-architect-mcp-codebase · .claude/agents/experiment-runner.md · ML experiment design specialist — ablation studies, hyperparameter search, reproducibility, statistical rigor, and…
git:20260412.b2af274 · audit A · 7 stars
frontend-engineer Claude Code subagent
cdeust/ai-architect-mcp-codebase · .claude/agents/frontend-engineer.md · Frontend developer specializing in React/TypeScript with Clean Architecture, component-driven design, and accessibility
git:20260412.b2af274 · audit A · 7 stars
INDEX Claude Code subagent
cdeust/ai-architect-mcp-codebase · .claude/agents/genius/INDEX.md
git:20260412.b2af274 · audit A · 7 stars
alexander Claude Code subagent
cdeust/ai-architect-mcp-codebase · .claude/agents/genius/alexander.md · Christopher Alexander reasoning pattern — pattern languages for design knowledge, generative sequences that produce…
git:20260412.b2af274 · audit A · 7 stars

Every file in cdeust/ai-architect-mcp-codebase

Browse by kind, by grade A, or by owner.