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.5 | $0.00080 | $0.00911 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (231 stars, last pushed 3mo ago), licensed MIT. It adds 199 tokens to every session and 2,278 once invoked, about $0.0008 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.
relational-data-modeling compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| relational-data-modelingpproenca/dot-skills | Skill | 231 | 3mo ago | MIT | A | 199 | Claude Code, Codex |
| alloydb-basicsgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 72 | Claude Code, Codex |
| postgresql-table-designwshobson/agents | Skill | 43k | yesterday | MIT | A | 37 | Claude Code |
| db-repairgarrytan/gbrain | Skill | 34k | today | MIT | A | 96 | Claude Code |
| dsqlawslabs/agent-plugins | Skill | 955 | today | Apache-2.0 | A | 247 | Claude Code |
| volcengine-rds-postgresqlbytedance/agentkit-samples | Skill | 496 | today | Apache-2.0 | A | 63 | Claude Code, Codex |
| analyzing-insights-across-teamsPostHog/posthog-foss | Skill | 734 | today | MIT | A | 115 | Claude Code, Codex |