data-modeling

data-modeling is a skill for Claude Code, Codex from nimadorostkar/Claude-Skills-collection. It costs 42 tokens per session (1,151 once invoked), scanned A, original, MIT.

A database-schema design skill. A schema is the structure that defines data, relationships, keys, rules, history, and access boundaries.

In plain words
What is it for?
Use it for new schemas or tables, multi-tenant systems, audit history, soft deletes, constraints, and reviewing migrations.
Why use it?
It helps avoid data-structure mistakes that become expensive to change after an application and its data are established.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it for new schemas or tables, multi-tenant systems, audit history, soft deletes, constraints, and reviewing migrations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimadorostkar/claude-skills-collection/data-modeling
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 nimadorostkar/Claude-Skills-collection --skill data-modeling
Clone the repo
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection

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 data-modeling

README.md
[![agentmods](https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/data-modeling/github.svg)](https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/data-modeling)
Your own site
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/data-modeling"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/data-modeling/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 data-modeling

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/data-modeling"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/data-modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,151 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.00042 $0.01151
Opus 5 $0.00021 $0.00575
Sonnet 5 $0.00008 $0.00230
Haiku 4.5 $0.00004 $0.00115

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

Security

Grade A, and why

data-modeling 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.

skills/data/data-modeling/SKILL.md · 105 lines

How it starts

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

Data Modeling

Purpose

Design a schema that supports the queries you need and the changes you will want. Schema mistakes are the most expensive category of technical debt because the data outlives every application that touched it.

When to Use

  • Designing a new schema or a significant new table.
  • Adding multi-tenancy to an existing model.
  • Modeling history, versioning, or audit requirements.
  • Reviewing a schema before it becomes hard to change.

Capabilities

  • Normalization, and deliberate denormalization.
  • Key selection: natural, surrogate, UUID, ULID.
  • Temporal modeling: valid time, transaction time, event history.
  • Multi-tenancy strategies and their isolation guarantees.
  • Constraint design: the invariants the database should enforce.

Inputs

  • The domain entities and the relationships between them.
  • The queries the schema must serve, and their frequency.
  • Retention, audit, and compliance requirements.

Outputs

  • A schema with enforced constraints and appropriate keys.
  • A documented tenancy and soft-delete strategy.
  • A migration path from the current schema, if there is one.

Workflow

  1. Normalize first — Third normal form as the default. Denormalize only where a measured query cost justifies it, and record the decision.
  2. Choose keys deliberately — A surrogate key (UUID/ULID) is stable and safe to expose. A natural key is meaningful and changes when the business changes its mind. Prefer surrogates for identity, and enforce natural uniqueness with a constraint.
  3. Enforce invariants in the database — Foreign keys, unique constraints, check constraints, not-null. Application-level validation does not survive a concurrent request, a background job, or a psql session.
  4. Model time explicitly — If history matters, do not overwrite. Append versions or events. updated_at tells you when, not what it was before.
  5. Decide tenancy up front — Shared table with a tenant column, schema per tenant, or database per tenant. Migrating between these later is a project, not a task.
  6. Plan the migration — Every schema change on a large table needs a plan that does not lock it.

Read the full file on GitHub · 105 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. 11d ago First seen · 105 lines · 42 tokens per session scan A 3c2fa86e5edd

Subscribe to this mod's changes

data-modeling is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (26 stars, last pushed 23d ago), licensed MIT. It adds 42 tokens to every session and 1,151 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-30.

Related

Other skills, from other repositories

offensive-sqli

SQL injection testing skill for offensive security assessments and bug bounty hunting. Covers error-based, UNION-based, boolean/time-based blind, out-of-band, second-order, NoSQL, GraphQL, WebSocket, and JSON-operator SQLi. Includes WAF bypass techniques, database-specific exploitation (MySQL, MSSQL, PostgreSQL…

SnailSploit/Claude-Red · 117 tokens

database-security

Prevent SQL and NoSQL injection, unsafe ORM and raw-query use, over-privileged database identities, weak tenant isolation, and unauthenticated database transport. Use when generating SQL or raw query strings, NoSQL filters, ORM models or queries, database migration files, or connection strings.

ShieldNet-360/secure-vibe · 58 tokens

go-database

Use when writing, reviewing, or debugging Go code that talks to a SQL database (PostgreSQL, MySQL, MariaDB, SQLite). Covers library choice (database/sql, sqlx, sqlc, pgx, GORM trade-offs), parameterized queries, context propagation, NULL handling, scanning, transactions and isolation, connection pool tuning, and…

muratmirgun/gophers · 98 tokens

aql-authoring

This skill should be used when the user asks to "write an AQL query", "optimize an AQL query", "review AQL", or "query openEHR data" — the multi-step authoring/optimization workflow for AQL (Archetype Query Language) over openEHR clinical data. For a one-off explanation of an existing query or a single AQL…

Cadasto/openehr-assistant-plugin · 102 tokens

neo-dotnet-ef-core

Use this skill when the task involves Entity Framework Core models, DbContext, migrations, LINQ queries, change tracking, database providers, performance tuning, or data access review in .NET projects.

Benknightdark/neo-skills · 46 tokens

obsidian-bases

Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

arch3rPro/ark-space · 63 tokens