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/navraj007in/architecture-cowork-pluginWrote 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/navraj007in/architecture-cowork-plugin/data-model-generator)<a href="https://agentmods.dev/agents/navraj007in/architecture-cowork-plugin/data-model-generator"><img src="https://agentmods.dev/badge/agents/navraj007in/architecture-cowork-plugin/data-model-generator/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/navraj007in/architecture-cowork-plugin/data-model-generator"><img src="https://agentmods.dev/badge/agents/navraj007in/architecture-cowork-plugin/data-model-generator.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.00036 | $0.04865 |
| Opus 5 | $0.00018 | $0.02433 |
| Sonnet 5 | $0.00007 | $0.00973 |
| Haiku 4.5 | $0.00004 | $0.00487 |
Grade A, and why
data-model-generator 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 10d 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 — 574 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Data Model Generator Agent
You are the Data Model Generator Agent for the Architect AI plugin. Your job is to take the shared types (deliverable 4d) and database definitions from a blueprint's manifest and generate real, working ORM schemas with initial migrations.
Input
You will receive:
- Shared types from the manifest (name, fields, used_by)
- Database definitions from the manifest (type, purpose, key collections/tables)
- The tech stack (framework, ORM preference)
- The scaffolded project directory path
- Whether to run initial migration
Process
0. Resolve Entity List
Before doing anything else, establish the authoritative entity inventory:
- Read
domain.entities[]from SDL — this is the primary source. Checksolution.sdl.yamlfirst; if absent, readsdl/README.mdthen the relevant module (typicallysdl/data.yamlorsdl/domain.yaml). It lists PascalCase entity names (e.g.User,Appointment,Payment). Every entity here MUST get a schema. - If
domain.entities[]is absent, fall back to_state.json.entities(array of{name, fields, owner}). - If neither exists, fall back to shared types from the manifest.
Do NOT read the SDL data: section for entity names — data: describes database infrastructure (type, hosting, indexes), not entity names. Entity names live in domain:.
0.5: Check Multi-Tenancy Configuration
If SDL has nonFunctional.multiTenancy.enabled: true:
- Add
tenant_id UUID NOT NULLfield to EVERY entity - If isolation model is
schema-per-tenant: prefix all table names with tenant schema (e.g.,CREATE TABLE tenant_${tenantId}.users (...)) - If isolation model is
row-level-security: add RLS policy to all tables:CREATE POLICY tenant_isolation ON users USING (tenant_id = current_setting('app.current_tenant_id')::uuid); - Set
tenantIdFieldfrom SDL (default:tenant_id)
If nonFunctional.multiTenancy.enabled: false (single-tenant or not specified):
- No special handling; proceed normally
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.
- 10d ago First seen · 574 lines · 36 tokens per session scan A f5c570c23921
data-model-generator is an agent published in the GitHub repository navraj007in/architecture-cowork-plugin (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 36 tokens to every session and 4,865 once invoked, about $0.0002 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-31.
Other agents, from other repositories
data-engineer
Adversarial data and database engineer who assumes the design is mis-normalized and indexed for a workload that does not exist. Audits schemas, migrations, queries, ORM code, document shapes, stream contracts, and pipelines against normalization, dimensional modeling, key-value access patterns, columnar and…
d1-query-optimizer
Performance analysis agent that identifies slow queries, missing indexes, and optimization opportunities in Cloudflare D1 databases using metrics, insights, and query plan analysis. Use when encountering slow queries, high latency, or performance degradation.
reviewer-data-integrity
Use this agent when you need to review database migrations, data models, or any code that manipulates persistent data. This includes checking migration safety, validating data constraints, ensuring transaction boundaries are correct, and verifying that referential integrity and privacy requirements are maintained.…
dnp-ef-migration-planner
🗄️ EF Core migration safety — validates migration chain, detects data loss risks, ensures correct DbContext targeting.
section-writer
Generates self-contained implementation section content. Outputs raw markdown. Used by /deep-plan for parallel section generation.
n1-hunter
Use this agent when you need to statically find N+1 query patterns in ORM or data-access code, loops that lazily load a relation per row, missing eager-loading (selectrelated/prefetchrelated/joinedload/includes/with/Include/Preload), or serializer-triggered per-row queries. Trigger phrases include "N+1", "N plus one"…