schema-designer

schema-designer is a skill for Claude Code, Codex from Aizaz-Noor/Agent-Startup-Skills. It costs 47 tokens per session (495 once invoked), scanned A, original, MIT.

A database design agent that plans tables, links between records, indexes, and starter data before application code is written. A database stores and organizes the information an application uses.

In plain words
What is it for?
Use it to design a new database, add tables to an existing one, map entities such as users and orders, define relationships, and plan indexes.
Why use it?
It helps prevent missing relationships, inconsistent data, and slow queries caused by an incomplete data model.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design a new database, add tables to an existing one, map entities such as users and orders, define relationships, and plan indexes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aizaz-noor/agent-startup-skills/schema-designer
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.

Any agent
npx skills add Aizaz-Noor/Agent-Startup-Skills --skill schema-designer
Clone the repo
git clone --depth 1 https://github.com/Aizaz-Noor/Agent-Startup-Skills

Made for: Claude Code, Codex.

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 schema-designer

README.md
[![agentmods](https://agentmods.dev/badge/skills/aizaz-noor/agent-startup-skills/schema-designer/github.svg)](https://agentmods.dev/skills/aizaz-noor/agent-startup-skills/schema-designer)
Your own site
<a href="https://agentmods.dev/skills/aizaz-noor/agent-startup-skills/schema-designer"><img src="https://agentmods.dev/badge/skills/aizaz-noor/agent-startup-skills/schema-designer/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.

agentmods 80×15 button for schema-designer

Your own site · 80×15
<a href="https://agentmods.dev/skills/aizaz-noor/agent-startup-skills/schema-designer"><img src="https://agentmods.dev/badge/skills/aizaz-noor/agent-startup-skills/schema-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 495 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.00047 $0.00495
Opus 5 $0.00023 $0.00247
Sonnet 5 $0.00009 $0.00099
Haiku 4.5 $0.00005 $0.00049

Measured 11d ago against content hash 9733800322e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

schema-designer 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 11d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/schema-designer/SKILL.md · 72 lines

What it actually says

Schema Designer — Data Modeling Agent

Purpose

Design a complete, normalized database schema before coding begins. Prevent data integrity issues, missing relationships, and poor query performance.

When to Use

  • After system architecture is approved
  • When designing a new database from scratch
  • When adding new tables to an existing schema

Process

Step 1: Entity Identification

From the MVP feature list, identify every "thing" the system stores:

  • Users, Products, Orders, Subscriptions, etc.

Step 2: Table Definitions

For each entity, define the complete table:

TABLE: users
├── id            UUID    PRIMARY KEY, DEFAULT gen_random_uuid()
├── email         TEXT    UNIQUE, NOT NULL
├── password_hash TEXT    NOT NULL
├── name          TEXT    NOT NULL
├── role          TEXT    DEFAULT 'user', CHECK (role IN ('user','admin'))
├── created_at    TIMESTAMP DEFAULT NOW()
└── updated_at    TIMESTAMP DEFAULT NOW()

Step 3: Relationships

Define all foreign keys and relationships:

  • One-to-Many: "A user HAS MANY orders"
  • Many-to-Many: "A product BELONGS TO MANY categories" (junction table)

Step 4: Indexes

Add indexes for:

  • All foreign key columns
  • Columns used in WHERE clauses frequently
  • Columns used for sorting (ORDER BY)

Step 5: Seed Data

Provide 2-3 sample rows per table for testing.

Rules

  • Every table MUST have id, created_at, updated_at
  • Never store plain-text passwords (use password_hash)
  • Use UUIDs over auto-incrementing integers for primary keys
  • Add CHECK constraints for enum-like columns

Output

Produce a schema.md file with all table definitions, relationships, indexes, and sample seed data.

Exit Criteria

  • Every MVP feature's data needs are covered
  • All relationships are explicitly defined
  • Indexes exist for expected query patterns
  • No plain-text password fields
  • Seed data is provided for testing
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. 11d ago First seen · 72 lines · 47 tokens per session scan A 9733800322e8

Subscribe to this mod's changes

schema-designer is a skill published in the GitHub repository Aizaz-Noor/Agent-Startup-Skills (2 stars, last pushed 4mo ago), licensed MIT. It adds 47 tokens to every session and 495 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.

Related

Other skills, from other repositories

firebase-security-expert

Firebase security expert to audit Security Rules (Firestore/Realtime Database/Storage), authentication, API keys, data leakage prevention, and App Check configuration / Ahli keamanan Firebase untuk audit Security Rules (Firestore/Realtime Database/Storage), autentikasi, API keys, pencegahan kebocoran data, dan…

roedyrustam/vibes-plug · 72 tokens

database-orm-expert

Updated to be the unified database skill covering ORM, migrations, edge DBs, and Supabase CLI / Keahlian database terpadu untuk ORM, migrasi, edge DB, dan Supabase CLI.

roedyrustam/vibes-plug · 47 tokens

saas-multi-tenant

Design and implement multi-tenant SaaS architectures with RLS, tenant isolation, and PostgreSQL / Desain dan implementasikan arsitektur SaaS multi-tenant dengan RLS, isolasi tenant, dan PostgreSQL.

roedyrustam/vibes-plug · 52 tokens

supabase-security-expert

Supabase security expert to audit RLS (Row Level Security), RBAC, relational databases, prevent data leakage, and utilize Supabase Linter / Ahli keamanan Supabase untuk audit RLS (Row Level Security), RBAC, database relasional, pencegahan kebocoran data, dan pemanfaatan Supabase Linter.

roedyrustam/vibes-plug · 75 tokens

search-engine-expert

Expert guide for full-text search engines (Typesense, Meilisearch, Elasticsearch), faceted search, and autocomplete / Panduan ahli mesin pencarian full-text (Typesense, Meilisearch, Elasticsearch), pencarian berfaset, dan autocomplete.

roedyrustam/vibes-plug · 56 tokens

vector-db-rag-expert

Expert guide for high-performance Vector Databases, Deep RAG architectures, pgvector 0.8+ HNSW, Reciprocal Rank Fusion (RRF), Cross-Encoder Re-ranking, and Late Chunking / Panduan ahli Vector DB, arsitektur Deep RAG, pgvector HNSW, RRF, dan Re-ranking.

roedyrustam/vibes-plug · 77 tokens