AI-Agents-Orchestrator: Agent for Claude Code

.claude/agents/database-architect.md

database-architect is an agent for Claude Code from hoangsonww/AI-Agents-Orchestrator. It costs 18 tokens per session (1,508 once invoked), scanned A, original, MIT.

A software-engineering specialist for designing databases, organising stored data, improving database queries, and moving data safely between schema versions.

In plain words
What is it for?
Use it to design SQL, NoSQL, graph, or time-series databases; model tables and relationships; analyse query plans; choose indexes; and plan migrations, backups, replication, or sharding.
Why use it?
It helps avoid poorly structured data, slow queries, broken migrations, and database reliability problems.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is hoangsonww/AI-Agents-Orchestrator's own configuration. It tells Claude Code how to work on AI-Agents-Orchestrator 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 AI-Agents-Orchestrator configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hoangsonww/AI-Agents-Orchestrator. 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/hoangsonww/AI-Agents-Orchestrator/main/.claude/agents/database-architect.md
Clone the repo
git clone --depth 1 https://github.com/hoangsonww/AI-Agents-Orchestrator

Made for: Claude Code.

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/hoangsonww/ai-agents-orchestrator/database-architect.svg)](https://agentmods.dev/agents/hoangsonww/ai-agents-orchestrator/database-architect)
Your own site
<a href="https://agentmods.dev/agents/hoangsonww/ai-agents-orchestrator/database-architect"><img src="https://agentmods.dev/badge/agents/hoangsonww/ai-agents-orchestrator/database-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
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 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.00018 $0.01508
Opus 5 $0.00009 $0.00754
Sonnet 5 $0.00004 $0.00302
Haiku 4.5 $0.00002 $0.00151

Measured 8d ago against content hash a5e595d950c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, 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 8d 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 · 232 lines

How it starts

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

You are a senior database architect specializing in data modeling and optimization for the AI Coding Tools Orchestrator project.

Core Expertise

Database Systems

  • SQL: PostgreSQL, MySQL, SQLite, SQL Server
  • NoSQL: MongoDB, Redis, DynamoDB, Cassandra
  • Graph: Neo4j, ArangoDB, Amazon Neptune
  • Time-series: TimescaleDB, InfluxDB

Data Modeling

  • Normalization (1NF, 2NF, 3NF, BCNF)
  • Denormalization strategies
  • Schema design patterns
  • Index design and optimization

Query Optimization

  • Query plan analysis (EXPLAIN)
  • Index selection and tuning
  • Query rewriting
  • Partitioning strategies

Data Management

  • Migration strategies
  • Backup and recovery
  • Replication and sharding
  • Data integrity constraints

Project-Specific Guidelines

Current Database Usage

  1. SQLite (orchestrator/context/graph_store.py)

    • Graph context storage
    • FTS5 for full-text search
    • JSON columns for flexible properties
  2. Schema Structure

-- Current schema in graph_store.py
CREATE TABLE nodes (
    id TEXT PRIMARY KEY,
    node_type TEXT NOT NULL,
    title TEXT,
    content TEXT,
    metadata TEXT DEFAULT '{}',  -- JSON
    tags TEXT DEFAULT '[]',       -- JSON array
    created_at TEXT NOT NULL,
    updated_at TEXT NOT NULL,
    importance_score REAL DEFAULT 1.0,
    extra_data TEXT DEFAULT '{}'  -- JSON for type-specific fields
);

CREATE TABLE edges (
    id TEXT PRIMARY KEY,
    source_id TEXT NOT NULL,
    target_id TEXT NOT NULL,
    edge_type TEXT NOT NULL,
    weight REAL DEFAULT 1.0,
    metadata TEXT DEFAULT '{}',
    created_at TEXT NOT NULL,
    FOREIGN KEY (source_id) REFERENCES nodes(id) ON DELETE CASCADE,
    FOREIGN KEY (target_id) REFERENCES nodes(id) ON DELETE CASCADE
);

CREATE TABLE embeddings (
    node_id TEXT PRIMARY KEY,
    embedding BLOB NOT NULL,
    model_name TEXT,
    created_at TEXT NOT NULL,
    FOREIGN KEY (node_id) REFERENCES nodes(id) ON DELETE CASCADE
);

-- FTS5 for full-text search
CREATE VIRTUAL TABLE nodes_fts USING fts5(
    id, title, content, tags,
    content='nodes',
    content_rowid='rowid'
);

Read the full file on GitHub · 232 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. 8d ago First seen · 232 lines · 18 tokens per session scan A a5e595d950c6

Subscribe to this mod's changes

database-architect is an agent published in the GitHub repository hoangsonww/AI-Agents-Orchestrator (84 stars, last pushed 22d ago), licensed MIT. It adds 18 tokens to every session and 1,508 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.

Related

Other agents, from other repositories

database-engineer

Use when creating or modifying database schemas, migrations, or SQL scripts. Follows PostgreSQL conventions: NOT NULL for required fields, plural table naming, and TEXT with CHECK constraints over VARCHAR/CHAR.

CodelyTV/agentic_programming-course · 44 tokens

sql-pro

Master modern SQL with cloud-native databases, OLTP/OLAP optimization, and advanced query techniques. Expert in performance tuning, data modeling, and hybrid analytical systems. Use PROACTIVELY for database optimization or complex analysis.

wshobson/agents · 48 tokens

migrator

Use for data migrations, database schema changes, version upgrades, and data transformation tasks.

AgentWorkforce/relay · 21 tokens

nw-data-engineer

Use for database technology selection, data architecture design, query optimization, schema design, security implementation, and governance guidance. Provides evidence-based recommendations across RDBMS and NoSQL systems.

nWave-ai/nWave · 41 tokens

01-Orchestrator

Master orchestrator for the multi-step Azure platform engineering workflow. Coordinates Requirements, Architect, Design, IaC Plan, IaC Code, Deploy agents with mandatory human approval gates. Routes Bicep or Terraform tracks via decisions.iactool.

jonathan-vella/apex-accelerator · 53 tokens

03-Architect

Expert Architect providing guidance using Azure Well-Architected Framework principles and Microsoft best practices. Evaluates decisions against WAF pillars and generates ARM MCP-verified cost estimates.

jonathan-vella/apex-accelerator · 37 tokens