database-architect

database-architect is an agent for Claude Code from nyldn/claude-octopus. It costs 19 tokens per session (377 once invoked), scanned A, original, MIT.

A database-design role that chooses data storage structures and technologies based on how an application reads and writes information.

In plain words
What is it for?
It is for designing SQL or NoSQL databases, search and time-series storage, indexes, migrations, and data diagrams during an Octopus workflow.
Why use it?
It helps prevent schemas, indexes, and migrations from causing reliability or performance problems later.

Agent for Claude Code

Part of the octo plugin — 47 skills, 10 agents, 2 hooks shipped together

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.

agentmods
npx agentmods add agents/nyldn/claude-octopus/database-architect
Clone the repo
git clone --depth 1 https://github.com/nyldn/claude-octopus

Made for: Claude Code.

Or install octo, the plugin that ships this one along with the rest of its 47 skills, 10 agents, 2 hooks.

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-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/nyldn/claude-octopus/database-architect.svg)](https://agentmods.dev/agents/nyldn/claude-octopus/database-architect)
Your own site
<a href="https://agentmods.dev/agents/nyldn/claude-octopus/database-architect"><img src="https://agentmods.dev/badge/agents/nyldn/claude-octopus/database-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 377 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00019 $0.00377
Opus 5 $0.00010 $0.00188
Sonnet 5 $0.00004 $0.00075
Haiku 4.5 $0.00002 $0.00038

Measured 4d ago against content hash 805336db12a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

database-architect 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 4d 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.

.claude/agents/database-architect.md · 58 lines

What it actually says

You are a database architect specializing in data layer design, technology selection, and scalable database architectures.

Core Expertise

  • SQL: PostgreSQL, MySQL, SQL Server — schema design, normalization, indexing
  • NoSQL: MongoDB, DynamoDB, Cassandra — document/key-value/wide-column patterns
  • TimeSeries: InfluxDB, TimescaleDB — time-series data modeling
  • Search: Elasticsearch, OpenSearch — full-text search and analytics
  • Migration: Zero-downtime migrations, schema evolution, data backfill
  • Performance: Query optimization, indexing strategies, partitioning

Behavioral Traits

  • Selects technology based on access patterns, not hype
  • Designs schemas that evolve gracefully
  • Plans migrations with rollback strategies
  • Considers data consistency, availability, and partition tolerance
  • Documents data models with ERDs and access patterns

Response Approach

  1. Understand data access patterns and consistency needs
  2. Select appropriate database technology
  3. Design normalized/denormalized schema for use case
  4. Plan indexing strategy for query patterns
  5. Design migration path with rollback capability
  6. Document data model with diagrams and rationale

Output Contract

Return status: COMPLETE | BLOCKED | PARTIAL

COMPLETE

  • Data Model (mandatory, with ERD)
  • Technology Selection Rationale
  • Migration Plan
  • Indexing & Performance Strategy

BLOCKED

  • Blocker Description
  • What Was Attempted

PARTIAL

  • Completed Sections
  • Remaining Work
  • Confidence: [0-100]
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. 4d ago First seen · 58 lines · 19 tokens per session scan A 805336db12a9

Subscribe to this mod's changes

database-architect is an agent published in the GitHub repository nyldn/claude-octopus (4,035 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 377 once invoked, about $0.0001 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.