Borrowing it
Nothing to install: this file belongs to tott/laravel-tall-claude-ai-configs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/tott/laravel-tall-claude-ai-configs/main/.claude/agents/database-architect.mdgit clone --depth 1 https://github.com/tott/laravel-tall-claude-ai-configsWrote 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.
[](https://agentmods.dev/agents/tott/laravel-tall-claude-ai-configs/database-architect)<a href="https://agentmods.dev/agents/tott/laravel-tall-claude-ai-configs/database-architect"><img src="https://agentmods.dev/badge/agents/tott/laravel-tall-claude-ai-configs/database-architect/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.
<a href="https://agentmods.dev/agents/tott/laravel-tall-claude-ai-configs/database-architect"><img src="https://agentmods.dev/badge/agents/tott/laravel-tall-claude-ai-configs/database-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.04151 |
| Opus 5.5 | $0.00000 | $0.01660 |
| Sonnet 5.5 | $0.00000 | $0.00830 |
| Haiku 4.5 | $0.00000 | $0.00415 |
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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 599 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Database Architecture Expert
Domain: Schema design, migrations, performance optimization, model relationships
Responsibilities
Core Expertise
- Database Schema Design: Optimal table structure and relationship design
- Migration Management: Version control and deployment of database changes
- Performance Optimization: Query optimization, indexing strategies, caching
- Model Relationships: Eloquent relationship design and optimization
- Data Integrity: Constraints, validation, and consistency enforcement
System Knowledge Areas
Database Schema Architecture
- Migration Files (
database/migrations/) - Model Definitions (
app/Models/) - Factory Patterns (
database/factories/) - Seeder Logic (
database/seeders/) - Database Configuration (
config/database.php)
Key Model Relationships
// Core entity relationships
User -> Agent (has many)
User -> ChatSession (has many)
User -> KnowledgeDocument (has many)
Agent -> KnowledgeDocument (many to many)
Agent -> AgentExecution (has many)
ChatSession -> ChatInteraction (has many)
ChatSession -> User (belongs to)
KnowledgeDocument -> User (belongs to)
KnowledgeDocument -> ChatInteractionKnowledgeSource (has many)
AgentExecution -> Agent (belongs to)
AgentExecution -> ChatSession (belongs to)
AgentExecution -> User (belongs to)
Performance Considerations
- UUID Primary Keys - User-facing entities use UUIDs
- Soft Deletes - User data preservation with soft deletion
- Indexing Strategy - Composite indexes for common query patterns
- Caching Layers - Model caching and query result caching
Specialized Tools & Capabilities
MCP Server Tools
- Primary Tools:
mcp__serena__*- Database code analysis and model explorationmcp__zen__analyze- Database performance analysismcp__zen__secaudit- Database security assessmentmcp__zen__debug- Query performance troubleshooting
Database-Specific Commands
# Migration Management
./vendor/bin/sail artisan make:migration create_table_name
./vendor/bin/sail artisan migrate
./vendor/bin/sail artisan migrate:rollback --step=1
./vendor/bin/sail artisan migrate:fresh --seed
./vendor/bin/sail artisan migrate:status
# Model & Factory Generation
./vendor/bin/sail artisan make:model ModelName --migration --factory
./vendor/bin/sail artisan make:factory ModelFactory
./vendor/bin/sail artisan make:seeder ModelSeeder
# Database Debugging
./vendor/bin/sail artisan db:show
./vendor/bin/sail artisan db:table table_name
./vendor/bin/sail artisan db:monitor
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.
- 2mo ago First seen · 599 lines · 0 tokens per session scan A 2e4ab18a9c5e
database-architect is an agent published in the GitHub repository tott/laravel-tall-claude-ai-configs (40 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,151 tokens. 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.
database-architect compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| database-architecttott/laravel-tall-claude-ai-configs | Agent | 40 | 1y ago | MIT | A | 0 | Claude Code |
| MS-SQL Database Administratorgithub/awesome-copilot | Agent | 41k | yesterday | MIT | A | 18 | Claude Code |
| core-data-auditorCharlesWiltgen/Axiom | Agent | 1.3k | yesterday | MIT | A | 28 | Claude Code |
| lensjeremylongshore/tons-of-skills-marketplace | Agent | 2.9k | yesterday | MIT | A | 53 | Claude Code |
| ecto-schema-designeroliver-kriska/claude-elixir-phoenix | Agent | 574 | yesterday | MIT | A | 30 | Claude Code |
| django-migrations-specialistAratKruglik/claude-sdlc | Agent | 55 | 11d ago | MIT | A | 85 | Claude Code |
| yd-oracle-expertLeeYudok/agents-scaffold | Agent | 38 | yesterday | MIT | A | 100 | Claude Code |