schema-designer

schema-designer is a skill for Claude Code from armanzeroeight/fastagent-plugins. It costs 33 tokens per session (2,358 once invoked), scanned A, original, MIT.

A guide for designing relational database schemas, which define tables, columns, links between records, and rules for stored data. It covers entities, normalization, foreign keys, constraints, and indexes.

In plain words
What is it for?
Use it when creating tables, choosing columns and data types, connecting records, enforcing required or unique values, and planning indexes. The examples use PostgreSQL and an online-store data model.
Why use it?
It helps prevent duplicated or inconsistent data and makes relationships and database rules explicit. It also supports query performance by identifying useful indexes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the database-toolkit plugin — 2 skills shipped together

Good fit Use it when creating tables, choosing columns and data types, connecting records, enforcing required or unique values, and planning indexes. The examples use PostgreSQL and an online-store data model.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/armanzeroeight/fastagent-plugins/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 armanzeroeight/fastagent-plugins --skill schema-designer
Clone the repo
git clone --depth 1 https://github.com/armanzeroeight/fastagent-plugins

Made for: Claude Code.

Or install database-toolkit, the plugin that ships this one along with the rest of its 2 skills.

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/armanzeroeight/fastagent-plugins/schema-designer/github.svg)](https://agentmods.dev/skills/armanzeroeight/fastagent-plugins/schema-designer)
Your own site
<a href="https://agentmods.dev/skills/armanzeroeight/fastagent-plugins/schema-designer"><img src="https://agentmods.dev/badge/skills/armanzeroeight/fastagent-plugins/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/armanzeroeight/fastagent-plugins/schema-designer"><img src="https://agentmods.dev/badge/skills/armanzeroeight/fastagent-plugins/schema-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,358 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00033 $0.02358
Opus 5.5 $0.00013 $0.00943
Sonnet 5.5 $0.00007 $0.00472
Haiku 4.5 $0.00003 $0.00236

Measured 3mo ago against content hash 2cc2ed02f97b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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.

plugins/database-toolkit/skills/schema-designer/SKILL.md · 451 lines

How it starts

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

Schema Designer

Design relational database schemas with proper structure, relationships, and constraints.

Quick Start

Identify entities, define relationships, normalize to 3NF, add constraints and indexes.

Instructions

Schema Design Process

  1. Identify entities (tables)
  2. Define attributes (columns)
  3. Establish relationships (foreign keys)
  4. Apply normalization
  5. Add constraints
  6. Create indexes

Entity Identification

Main entities:

  • Core business objects
  • Things that need to be stored
  • Independent concepts

Example - E-commerce:

  • Users
  • Products
  • Orders
  • Categories
  • Reviews

Table Definition

Basic table structure:

CREATE TABLE users (
    id SERIAL PRIMARY KEY,
    email VARCHAR(255) UNIQUE NOT NULL,
    name VARCHAR(100) NOT NULL,
    password_hash VARCHAR(255) NOT NULL,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

Data types (PostgreSQL):

  • SERIAL: Auto-incrementing integer
  • INTEGER: Whole numbers
  • BIGINT: Large integers
  • VARCHAR(n): Variable-length string
  • TEXT: Unlimited text
  • BOOLEAN: True/false
  • TIMESTAMP: Date and time
  • DATE: Date only
  • JSON/JSONB: JSON data
  • DECIMAL(p,s): Precise decimals

Relationships

One-to-Many:

CREATE TABLE posts (
    id SERIAL PRIMARY KEY,
    user_id INTEGER NOT NULL REFERENCES users(id),
    title VARCHAR(200) NOT NULL,
    content TEXT,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

Many-to-Many (junction table):

CREATE TABLE products (
    id SERIAL PRIMARY KEY,
    name VARCHAR(200) NOT NULL
);

CREATE TABLE tags (
    id SERIAL PRIMARY KEY,
    name VARCHAR(50) UNIQUE NOT NULL
);

CREATE TABLE product_tags (
    product_id INTEGER REFERENCES products(id) ON DELETE CASCADE,
    tag_id INTEGER REFERENCES tags(id) ON DELETE CASCADE,
    PRIMARY KEY (product_id, tag_id)
);

One-to-One:

CREATE TABLE user_profiles (
    user_id INTEGER PRIMARY KEY REFERENCES users(id) ON DELETE CASCADE,
    bio TEXT,
    avatar_url VARCHAR(500),
    phone VARCHAR(20)
);

Read the full file on GitHub · 451 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. 3mo ago First seen · 451 lines · 33 tokens per session scan A 2cc2ed02f97b

Subscribe to this mod's changes

schema-designer is a skill published in the GitHub repository armanzeroeight/fastagent-plugins (30 stars, last pushed 4mo ago), licensed MIT. It adds 33 tokens to every session and 2,358 once invoked, about $0.0001 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-08-30.

Related

schema-designer compared with skills from other repositories

schema-designer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
schema-designerarmanzeroeight/fastagent-pluginsSkill304mo agoMITA33Claude Code
bigquery-graphgoogle/adk-pythonSkill22k2d agoApache-2.0A52Claude Code, Codex
bigquery-ai-mlgoogle/adk-pythonSkill22k2d agoApache-2.0A131Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex
dingtalk-ai-tablewecode-ai/WegentSkill895todayApache-2.0A36Claude Code, Codex
sql-styleeverruns/everrunsSkill72todayMITA17Claude Code, Codex
database-operationsmetaspartan/cybaraSkill416d agoMITA22Claude Code, Codex