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.
npx skills add pproenca/dot-skills --skill relational-data-modelinggit clone --depth 1 https://github.com/pproenca/dot-skillsWrote 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.
[](https://agentmods.dev/skills/pproenca/dot-skills/relational-data-modeling)<a href="https://agentmods.dev/skills/pproenca/dot-skills/relational-data-modeling"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/relational-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.
<a href="https://agentmods.dev/skills/pproenca/dot-skills/relational-data-modeling"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/relational-data-modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high YARA Match · line 2 YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00199 | $0.02278 |
| Opus 5 | $0.00100 | $0.01139 |
| Sonnet 5 | $0.00040 | $0.00456 |
| Haiku 4.5 | $0.00020 | $0.00228 |
Grade A, and why
relational-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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Relational Data Modeling
The decisions a relational schema forces, and how to settle them so the database enforces what it can and the application is left with only what it must. Every rule names the wrong default it corrects; there is no rule for what a capable model already gets right.
Examples are PostgreSQL 18, and every DDL statement in this skill was
executed against 18.4 — including the failure cases, to confirm the constraints
reject what they claim to reject. Roughly a third of the rules depend on
mechanisms MySQL and SQLite do not have (EXCLUDE, partial unique indexes,
range types, WITHOUT OVERLAPS, deferrable constraints, NOT VALID); those
rules say so. The judgment rules transfer to any relational engine.
When to Apply
Use this skill when:
- Writing or reviewing
CREATE TABLE/ALTER TABLE, a migration, or an ORM schema definition (Prisma, Drizzle, Django models, ActiveRecord, Ecto, SQLAlchemy) - Designing an entity-relationship model, or naming what a row is — the point where key choices become expensive to reverse
- The user says "should this be one table or two", "how do I model many-to-many", "the schema allows bad data", "we need history", "we're adding multi-tenancy", or "can the database enforce this"
- A bug turns out to be a schema that permitted the bad state — duplicates that a unique constraint should have caught, orphans a foreign key should have blocked, overlapping bookings, two rows flagged as default
- Adding constraints to a table that already has rows and traffic
- Reviewing a schema generated by an ORM or a scaffolding tool, which is where polymorphic associations, reflexive surrogate keys, and blanket soft-delete flags arrive from
This skill is NOT for:
- Query tuning, execution plans, or choosing indexes for a read path — this covers only the indexes that constraints and foreign keys require
- Connection pooling, replication, or operational tuning
- Non-relational stores, where the trade-offs it argues from do not hold
What ships with it
33 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AGENTS.md 7.5 KB
- assets/templates/_template.md 1.9 KB
- metadata.json 2.8 KB
- references/_sections.md 3.8 KB
- references/cons-check-is-single-row.md 2.7 KB
- references/cons-deferrable-for-cycles.md 2.7 KB
- references/cons-exclude-for-non-overlap.md 2.8 KB
- references/cons-not-null-by-default.md 2.5 KB
- references/cons-not-valid-then-validate.md 3.1 KB
- references/cons-partial-unique-index.md 2.4 KB
- references/key-identity-not-serial.md 1.9 KB
- references/key-partition-axis-binds-the-key.md 2.7 KB
- references/key-primary-key-is-real-identity.md 2.1 KB
- references/key-propagate-scoping-key.md 2.5 KB
- references/key-uuidv7-for-client-generated.md 2.0 KB
- references/norm-derived-needs-a-mechanism.md 4.4 KB
- references/norm-encoded-composite-values.md 2.6 KB
- references/norm-jsonb-for-open-shapes.md 3.0 KB
- references/rel-choose-referential-action.md 2.6 KB
- references/rel-index-referencing-side.md 2.1 KB
- references/rel-no-polymorphic-fk.md 2.5 KB
- references/rel-one-to-one-is-one-table.md 2.6 KB
- references/rel-relationship-as-entity.md 2.7 KB
- references/rel-subtypes-through-the-key.md 3.1 KB
- references/time-events-not-in-place-updates.md 3.4 KB
- references/time-soft-delete-breaks-constraints.md 2.9 KB
- references/time-valid-vs-transaction-time.md 3.8 KB
- references/time-validity-as-a-range.md 3.4 KB
- references/type-enum-lookup-or-check.md 2.7 KB
- references/type-numeric-with-currency.md 2.6 KB
- references/type-range-not-two-columns.md 2.7 KB
- references/type-text-over-varchar.md 2.3 KB
- references/type-timestamptz-for-instants.md 2.7 KB
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.
- 6d ago First seen · 133 lines · 199 tokens per session scan A 9de04c85a013
relational-data-modeling is a skill published in the GitHub repository pproenca/dot-skills (205 stars, last pushed 24d ago), licensed MIT. It adds 199 tokens to every session and 2,278 once invoked, about $0.0010 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.
Other skills, from other repositories
alloydb-basics
Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB Model Context Protocol (MCP) tools for automated database operations. Use when creating, configuring, or administering AlloyDB databases. Do NOT use for general PostgreSQL instances (e.g. Cloud SQL) or other GCP databases.
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.
db-repair
Auto-fix gbrain's Postgres access so the brain stays available. When any gbrain command or MCP tool result carries a GBRAINDBACCESS marker (or an operator reports the brain database is down), run the hardcoded gbrain db-repair ladder: diagnose, apply the safe tier, verify. The action is ALWAYS the hardcoded command …
dsql
Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, diagnose cluster performance, load data, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL and PostgreSQL-to-DSQL schema conversion, foreign key…
volcengine-rds-postgresql
A tool for operating PostgreSQL databases hosted by Volcano Engine's managed database service. PostgreSQL is a relational database used to store structured application data.
polar-local-environment
This skill should be used when setting up or managing Polar local development environment with Docker.