software-database-design

software-database-design is a skill for Claude Code, Codex from vasilyu1983/AI-Agents-public. It costs 43 tokens per session (3,777 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 Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex.

Part of the ai-agents plugin — 144 skills shipped together

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: Claude Code, Codex.

Or install ai-agents, the plugin that ships this one along with the rest of its 144 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 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 3,777 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.03777
Opus 5.5 $0.00017 $0.01511
Sonnet 5.5 $0.00009 $0.00755
Haiku 4.5 $0.00004 $0.00378

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

skills/universal/software-database-design/SKILL.md · 223 lines

How it starts

The opening of the file, as written. The whole thing — 223 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 (a supported stable major) Transactions, complex queries, JSON support; verify the supported major at https://www.postgresql.org/support/versioning/
Relational (MySQL family) A supported MySQL LTS series Use an LTS series for production, not an Innovation release; Innovation releases use calendar versioning, so the version number alone does not tell you the track. Check which series are LTS and their support end dates at https://dev.mysql.com/doc/mysql-lts-innovation-release-model/en/ before naming a version
Embedded / edge relational SQLite Release train moves fast (monthly point releases); pin a version, don't chase latest blindly
Flexible schema MongoDB (a supported major) Rapid iteration, embedded relationships; verify the major at https://www.mongodb.com/docs/manual/release-notes/
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) Start with exact search; add HNSW when measured latency requires ANN, then test recall under filters. See storage selection.
Full-text search as the product Elasticsearch / OpenSearch For relevance and facets beyond the database's text search; see software-search.

Read the full file on GitHub · 223 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. 19d ago Changed · -117 lines f233b41f1e7f
  2. 1mo ago Changed · +3 lines 3dbb315a19d1
  3. 1mo 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 (101 stars, last pushed 9d ago), licensed MIT. It adds 43 tokens to every session and 3,777 once invoked, about $0.0002 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-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-schema-designer

Designs relational and document database schemas from requirements or an existing app - tables and collections, keys, relationships, constraints, indexes driven by real query patterns, ERDs, and reversible migration scripts - with PostgreSQL (including Supabase) as the default and MySQL, SQLite, and MongoDB supported.…

OneWave-AI/claude-skills · 141 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-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

agent-database-expert

Specialist subagent: Expert database architect and engineer for PostgreSQL, MongoDB, Redis, and all major databases. Use when designing schemas, optimizing queries, planning migrations, implementing caching, or troubleshooting database performance.

travisjneuman/.claude · 49 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