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 joao-aires/agent-skills-public --skill guide-data-modelgit clone --depth 1 https://github.com/joao-aires/agent-skills-publicWrote 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/joao-aires/agent-skills-public/guide-data-model)<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/guide-data-model"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/guide-data-model/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/joao-aires/agent-skills-public/guide-data-model"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/guide-data-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00043 | $0.01455 |
| Opus 5.5 | $0.00017 | $0.00582 |
| Sonnet 5.5 | $0.00009 | $0.00291 |
| Haiku 4.5 | $0.00004 | $0.00145 |
Grade A, and why
guide-data-model 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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Data model guide
A data model explains the durable facts a system keeps, how they relate, who owns them and which rules must remain true. It is logical system knowledge: entities, relationships, identity, lifecycle, invariants, consistency, retention and evolution. It is not a table inventory, an entity-relationship picture on its own, or a copy of the physical schema.
The database-design method owns logical and physical data design: entities, keys, invariants, migration mechanics and engine behavior. This guide owns the artifact — reader questions, required sections, evidence and review. The data model states what must be true and why; the schema implements it; link the migration or schema at a named revision rather than duplicating it.
Reader questions
A reader who was not in the design conversation must be able to answer:
- Which system or domain does the model cover, and what is out of scope?
- What are the entities and what does each represent in the business or system?
- How do entities relate, and what cardinality and optionality apply?
- Who owns each record or aggregate, and what can another owner read or change?
- How is each entity identified, and what makes a duplicate?
- How does a record move through its lifecycle, including correction and deletion?
- Which invariants must remain true, and where are they enforced?
- Which changes must be consistent together, and what happens under concurrency or partial failure?
- How long is data kept, who may access it, and how is it exported or deleted?
- How does the model change without breaking existing readers and writers?
- What is current versus proposed, and which decisions remain open?
Minimum content
- scope, status, revision and the systems or stores covered;
- entities with their meaning, granularity and authoritative owner;
- relationships with cardinality, optionality and the rule each expresses;
- identity and keys: natural or surrogate identity, uniqueness, duplicate handling and references;
- ownership and tenancy: record owner, tenant boundary, sharing and cross-tenant rules;
- lifecycle: creation, state transitions, correction, archival, deletion and restoration;
- invariants: the facts that must remain true, their enforcement point and failure behavior;
- consistency: which changes must become visible together, conflict handling and derived data;
- retention, access and deletion: periods, legal or contractual constraints, export and backups;
- compatibility and evolution: readers, writers, supported versions, deprecation window and rollback limits; link the migration plan for expand/migrate/contract steps;
- evidence: schema, migrations, constraints, tests, observed data or decisions at a revision;
- current versus proposed state and any open decisions with owners.
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.
- 11d ago Changed · -3 lines 252c09367776
- 16d ago First seen · 105 lines · 43 tokens per session scan A 3e7f89265f41
guide-data-model is a skill published in the GitHub repository joao-aires/agent-skills-public (2 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 1,455 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-11-20.
guide-data-model compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| guide-data-modeljoao-aires/agent-skills-public | Skill | 2 | yesterday | MIT | A | 43 | Claude Code |
| create-prprisma/orm | Skill | 48k | yesterday | Apache-2.0 | A | 47 | Claude Code, Codex |
| schema-explorationlangchain-ai/deepagents | Skill | 32k | today | MIT | A | 57 | Claude Code, Codex |
| atlas-mssqlariga/atlas | Skill | 8.9k | 5d ago | Apache-2.0 | A | 163 | Claude Code |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | yesterday | MIT | A | 115 | Claude Code, Codex |
| bex-keyvaluebex-co/bex | Skill | 1.6k | today | Apache-2.0 | A | 117 | Claude Code, Codex |
| pentesting-mysqlxalgorix/xalgorix | Skill | 1.6k | 2d ago | Apache-2.0 | A | 65 | Claude Code, Codex |