data-modeling

data-modeling is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 134 tokens per session (5,367 once invoked), scanned A, original, MIT.

A guide to designing the structure of relational or graph data stores. It covers tables, relationships, normalization, inheritance, temporal data, property graphs, RDF, and knowledge graphs.

In plain words
What is it for?
It is for defining schemas, tables, keys, constraints, graph nodes and edges, indexes, traversal patterns, and migration scripts.
Why use it?
It helps keep data consistent, maintainable, and suited to the way applications query it. It also reduces design problems that become expensive to fix after implementation.

Skill for Claude CodeCodex

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

Good fit It is for defining schemas, tables, keys, constraints, graph nodes and edges, indexes, traversal patterns, and migration scripts.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/j4flmao/agent-skills/data-modeling.svg)](https://agentmods.dev/skills/j4flmao/agent-skills/data-modeling)
Your own site
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/data-modeling"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/data-modeling.svg" alt="Measured on agentmods" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,367 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.00134 $0.05367
Opus 5 $0.00067 $0.02684
Sonnet 5 $0.00027 $0.01073
Haiku 4.5 $0.00013 $0.00537

Measured 4d ago against content hash d9d4099ae6c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, 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 4d 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 · 539 lines

How it starts

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

Data Modeling

Purpose

Design robust, maintainable data models for relational and graph data stores with clear schema design principles, normalization strategies, and traversal patterns.

Agent Protocol

Trigger

Exact user phrases: "data model", "schema design", "normalization", "denormalization", "3NF", "table inheritance", "soft delete", "surrogate key", "graph model", "property graph", "RDF", "knowledge graph", "node edge model", "graph traversal".

Input Context

  • Data store type (relational, graph, or hybrid)
  • Access patterns (OLTP, OLAP, graph queries)
  • Volume and growth expectations
  • Consistency and integrity requirements
  • Existing schema constraints and migration path
  • Team expertise with relational vs graph technologies

Output Artifact

DDL statements, graph schema definitions, migration scripts. No file unless requested.

Response Format

## Entity: {name}
| Field | Type | Constraints | Notes |
|-------|------|-------------|-------|
| {field} | {type} | {constraints} | {notes} |
## Graph: {name}
Nodes: {node types with properties}
Edges: {edge types with properties}
Indexes: {indexed properties}
Traversal: {common query patterns}

No preamble. No postamble. No explanations. No filler/hedging/transitions.

Completion Criteria

  • Entities normalized to appropriate normal form
  • Table inheritance pattern selected (if applicable)
  • Temporal tracking strategy defined (if needed)
  • Soft delete vs hard delete decided per entity
  • Surrogate vs composite key decision documented per table
  • Graph node/edge schema defined with property types
  • Graph traversal patterns identified and indexed
  • Migration strategy defined (expand-contract or in-place)

Max Response Length

200 lines of schema and code.

Workflow

Step 1: Conceptual Model

Identify entities, relationships, and business rules independent of technology. Each entity represents a real-world object or concept. Relationships describe how entities interact. Business rules become constraints and invariants.

Read the full file on GitHub · 539 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. 4d ago First seen · 539 lines · 134 tokens per session scan A d9d4099ae6c5

Subscribe to this mod's changes

data-modeling is a skill published in the GitHub repository j4flmao/agent-skills (21 stars, last pushed 2d ago), licensed MIT. It adds 134 tokens to every session and 5,367 once invoked, about $0.0007 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

data-model-selector

Choose between relational, document, and graph data models for an application by analyzing data shape, relationship complexity, and query patterns. Use when asked "should I use MongoDB or PostgreSQL?", "when does a graph database make sense?", "how do I choose between SQL and NoSQL?", or "what data model fits my…

bookforge-ai/bookforge-skills · 223 tokens

build-with-tinybase

Scaffold, extend, and verify reactive local-first JavaScript or TypeScript applications with TinyBase. Use when choosing TinyBase for in-memory tabular or key-value state, generating an app with create-tinybase, adding schemas or UI bindings, configuring browser or database persistence, configuring MergeableStore…

tinyplex/tinybase · 76 tokens

dkg-importer

Bulk-import a large RDF graph (code graph, corpus, GitHub history, etc.) into a DKG node's working memory. Use this skill when you need to push more than a few thousand triples in a single import — it codifies the chunking budgets, the assertion-loop shape, the resumability manifest, and the canonical URI rules so…

OriginTrail/dkg · 87 tokens

database

Query and manage SQLite, PostgreSQL, and MySQL databases from the command line. Use when the user asks to run SQL queries, inspect database schemas, create or alter tables, import or export data, manage indexes, analyze query performance with EXPLAIN, back up or restore databases, or perform CRUD operations via…

bug-ops/zeph · 76 tokens

qdrant

Manage Qdrant vector database via REST API. Use when the user asks to create or delete collections, upsert or search vectors, inspect points, filter by payload fields, manage snapshots, check cluster status, or debug semantic search issues. Covers collection CRUD, point upsert/search/scroll/count, payload indexes…

bug-ops/zeph · 88 tokens

huawei-cloud-ges-graph

Provides access guide for Huawei Cloud Graph Database GES service. Covers Cypher queries, GQL queries, schema/label management, summary info queries, graph data editing and more. Use this skill when users want to operate Huawei Cloud graph database GES service via terminal.

huaweicloud/huaweicloud-skills · 64 tokens