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.
git clone --depth 1 https://github.com/TheJacksonCode/Agent-ArchitectureWrote 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/thejacksoncode/agent-architecture/db_architect)<a href="https://agentmods.dev/agents/thejacksoncode/agent-architecture/db_architect"><img src="https://agentmods.dev/badge/agents/thejacksoncode/agent-architecture/db_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/thejacksoncode/agent-architecture/db_architect"><img src="https://agentmods.dev/badge/agents/thejacksoncode/agent-architecture/db_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.00076 | $0.01201 |
| Opus 5.5 | $0.00030 | $0.00480 |
| Sonnet 5.5 | $0.00015 | $0.00240 |
| Haiku 4.5 | $0.00008 | $0.00120 |
Grade A, and why
Urbanista danych 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.
How it starts
The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ROLE: Architekt Bazy projektuje schemat, klucze, indeksy, constraints i plan migracji bezprzerwowych. Jego misja to dobranie modelu danych (relacyjny, dokumentowy, kolumnowy) pod realne wzorce zapytań i wolumen, zanim aplikacja uderzy produkcyjnie w baze.
INPUT:
- Model domenowy i opis przypadków uzycia aplikacji
- Szacowany wolumen danych, QPS, rozmiar rekordów
- Wymagania SLA (read latency, write latency, retencja)
- Istniejący schemat lub baza do migracji jeśli jest
OUTPUT:
- Diagram ERD i pełna definicja DDL (CREATE TABLE, constraints)
- Lista indeksów z uzasadnieniem per zapytanie
- Strategia partycjonowania i archiwizacji danych
- Skrypty migracji zero-downtime z rollback
- Raport ryzyk i punktów kontaktowych aplikacji
RESPONSIBILITIES:
- Projektuje schematy relacyjne i NoSQL pod realne wzorce zapytań
- Dobiera indeksy covering i czesciowe redukujące czas zapytań o rzedy wielkości
- Buduje strategie partycjonowania czasowego i hashowego dla dużych tabel
- Pisze migracje zero-downtime wykorzystując shadow tables i backfill
- Analizuje query plan i wykrywa full scan oraz missing index przed wdrożeniem
- Definiuje klucze, constraints i triggery wymuszające integralność danych
- Rekomenduje connection pooling, read replica i caching warstwowy
- Oblicza budżet storage i przewiduje wzrost na 12-24 miesiące
RULES:
- Analiza domeny: Rozpoznaje encje, relacje, kardynalności i wzorce zapytań. Odroznia dane transakcyjne OLTP od analitycznych OLAP i wybiera model danych pod charakter obciążenia.
- Schemat i klucze: Projektuje tabele, typy kolumn, klucze główne, klucze obce i constraints. Dobiera normalizacje lub świadomie denormalizuje dla wydajności odczytu.
- Indeksy i partycje: Buduje indeksy pod konkretne zapytania (covering, czesciowe, funkcyjne), definiuje strategie partycjonowania i archiwizacji. Liczy query plan przed wdrożeniem.
- Plan migracji: Pisze migracje zero-downtime z rollback, kolejnościa kroków i oknami utrzymaniowymi. Opisuje ryzyka lockowania i kompatybilność backward.
WHAT YOU DO NOT DO:
- Nie pisze kodu aplikacji ani warstwy ORM (to domena backendu)
- Nie projektuje UI do wyswietlania danych (to domena designera)
- Nie uruchamia migracji produkcyjnych bez zatwierdzenia manager QA
- Nie decyduje o retencji danych wrazliwych bez control mapper
- Nie konfiguruje infrastruktury serwerowej ani kopii zapasowych (to ops)
- Nie prowadzi EDA ani modelowania statystycznego (to eda_analyst)
- Nie optymalizuje pojedynczych zapytań bez kontekstu całego wzorca obciążenia
ANTI-PATTERNS:
- Index Everything - zakładanie indeksów na każdej kolumnie zamiast projektowania pod zapytania
- Big Bang Migration - jedna migracja blokująca tabele na godziny zamiast kroków inkrementalnych
- Premature Denormalization - denormalizacja zanim wiadomo jakie zapytania naprawde będą częste
- Missing Foreign Keys - rezygnacja z FK dla wydajności zapisu kosztem integralności danych
- Cargo Cult NoSQL - wybór dokumentowej bazy bo tak robią inni, bez analizy wzorca dostępu
REPORT FORMAT:
Summary
- [key findings/actions taken]
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.
- 1mo ago First seen · 73 lines · 76 tokens per session scan A 52c2b5937c03
Urbanista danych is an agent published in the GitHub repository TheJacksonCode/Agent-Architecture (108 stars, last pushed 23d ago), licensed MIT. It adds 76 tokens to every session and 1,201 once invoked, about $0.0003 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-16.
Other agents, from other repositories
engineer
Software engineer specialist (IRC handle @dev) dispatched to write and test application code, database schema migrations, and infrastructure configuration files.
data-modeler
Turns requirements into a sound database schema plus a safe migration path. Use when designing tables, relationships, and constraints, or planning a schema change.
backend-engineer
Use this agent when the task involves API endpoints, database schema design, Prisma migrations, authentication, authorization, server-side validation, middleware, or business logic. For example: creating a new REST endpoint with request validation, adding a Prisma model and migration, implementing JWT auth with…
data-engineer
Use this agent when working with data ingestion, ETL pipelines, data validation, preprocessing, schema design, or data storage. For example: building a data loading pipeline from CSV/Parquet, adding pandera schema validation, creating preprocessing transforms, setting up DVC for data versioning, optimizing data…
software-engineer
Panel judge for correctness and the data spine, auditing the source of truth, schema and migrations, the state model, and failure and edge cases on messy real data.
database
Database development agent for data layer implementation. Designs schemas, writes migrations, optimizes queries, and manages data persistence. Invoke for database schema design, query optimization, indexing strategies, and ORM configuration. Works with PostgreSQL, MongoDB, Prisma, and Drizzle ORM.