software-database-design

software-database-design is a skill for Codex from vasilyu1983/AI-Agents-public. It costs 43 tokens per session (6,304 once invoked), scanned A, original, MIT.

A guide to designing database structures, including tables, relationships, indexes, data models, and safe schema changes.

In plain words
What is it for?
Use it when planning PostgreSQL, MySQL, MongoDB, or Redis structures, designing migrations, or working with an ORM.
Why use it?
It helps developers choose suitable database patterns and evolve schemas without breaking existing data or applications.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it when planning PostgreSQL, MySQL, MongoDB, or Redis structures, designing migrations, or working with an ORM.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vasilyu1983/ai-agents-public/software-database-design
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 vasilyu1983/AI-Agents-public --skill software-database-design
Clone the repo
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public

Made for: 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 software-database-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/software-database-design/github.svg)](https://agentmods.dev/skills/vasilyu1983/ai-agents-public/software-database-design)
Your own site
<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/software-database-design"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/software-database-design/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 software-database-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/software-database-design"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/software-database-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,304 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.00043 $0.06304
Opus 5 $0.00022 $0.03152
Sonnet 5 $0.00009 $0.01261
Haiku 4.5 $0.00004 $0.00630

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

Security

Grade A, and why

software-database-design 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 5d 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.

frameworks/shared-skills/skills/software-database-design/SKILL.md · 337 lines

How it starts

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

Database Design

Schema design, data modeling, migration safety, and ORM patterns. This skill covers structural decisions — what tables exist, how they relate, how schemas evolve. For tuning queries on an existing schema, use data-sql-optimization.

Quick Reference

Task Default Picks Notes
Relational database PostgreSQL 18 Transactions, complex queries, JSON support, native uuidv7(), async I/O
Relational (MySQL family) MySQL 8.4 LTS 8.0 reached EOL (Apr 2026); 8.4 is the LTS migration target, 9.x is the quarterly innovation train
Embedded / edge relational SQLite 3.5x Current release train moves fast (monthly point releases); pin a version, don't chase latest blindly
Flexible schema MongoDB 8.x Rapid iteration, embedded relationships
Caching / sessions Redis Ephemeral data, counters, pub/sub
Graph traversals Neo4j Relationship-heavy queries (social, fraud)
Time-series TimescaleDB, InfluxDB Metrics, IoT, event streams
Managed app backend ../software-baas-platforms/SKILL.md Use when auth, realtime, storage, and functions are part of the platform choice
Schema migrations expand-contract pattern Zero-downtime changes
ORM Prisma, Drizzle, SQLAlchemy, EF Core Match stack; review generated SQL
Vector similarity pgvector (co-located with PostgreSQL) HNSW is the default index for new work; see ai-vector-brain for implementation depth

When to Use This Skill

  • Design table/collection schemas and normalization strategies
  • Model relationships (1:N, M:N, polymorphic associations)
  • Plan zero-downtime migrations (expand-contract)
  • Define indexing strategies based on access patterns
  • Configure ORMs and avoid common anti-patterns
  • Choose between relational, document, key-value, and graph databases

When NOT to Use This Skill

Problem Go here
Query optimization on existing schemas data-sql-optimization
Backend service implementation software-backend
Managed app backend platform (Supabase, Convex, Firebase, Appwrite, PocketBase) software-baas-platforms
SwiftData/Core Data schemas mirrored to CloudKit software-ios-native
On-device iOS semantic/vector retrieval software-ios-ai-engine
Data lake or warehouse architecture data-lake-platform
Streaming or real-time pipelines data-streaming
System-level data architecture decisions software-architecture-design

Read the full file on GitHub · 337 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. 5d ago First seen · 337 lines · 43 tokens per session scan A b3947ffe112e

Subscribe to this mod's changes

software-database-design is a skill published in the GitHub repository vasilyu1983/AI-Agents-public (87 stars, last pushed 6d ago), licensed MIT. It adds 43 tokens to every session and 6,304 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-09-03.

Related

Other skills, from other repositories

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

database-expert

Advanced database design and administration for PostgreSQL, MongoDB, and Redis. Use when designing schemas, optimizing queries, managing database performance, or implementing data patterns.

travisjneuman/.claude · 36 tokens

database-migrator

Migrates databases between providers (Postgres, MySQL, Supabase, PlanetScale, MongoDB). Reads source schema, generates migration scripts, handles data type mapping, foreign keys, indexes, triggers, stored procedures. Validates migration with row counts and checksums. Generates migration-plan.md with step-by-step…

OneWave-AI/claude-skills · 76 tokens

database-schema-designer

Design optimized database schemas for SQL and NoSQL databases including tables, relationships, indexes, and constraints. Creates ERD diagrams, migration scripts, and data modeling best practices. Use when users need database design, schema optimization, or data architecture planning.

OneWave-AI/claude-skills · 54 tokens

dev-supabase

Backend development with Supabase. Trigger when the user wants to configure auth, the database, or Supabase storage.

christopherlouet/claude-base · 28 tokens

ops-database

Database schema design. Trigger when the user wants to create tables, migrations, or optimize queries.

christopherlouet/claude-base · 23 tokens