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 m-binimran/dev-pack --skill schema-designergit clone --depth 1 https://github.com/m-binimran/dev-packWrote 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/m-binimran/dev-pack/schema-designer)<a href="https://agentmods.dev/skills/m-binimran/dev-pack/schema-designer"><img src="https://agentmods.dev/badge/skills/m-binimran/dev-pack/schema-designer/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/m-binimran/dev-pack/schema-designer"><img src="https://agentmods.dev/badge/skills/m-binimran/dev-pack/schema-designer.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.00046 | $0.00421 |
| Opus 5.5 | $0.00018 | $0.00168 |
| Sonnet 5.5 | $0.00009 | $0.00084 |
| Haiku 4.5 | $0.00005 | $0.00042 |
Grade A, and why
schema-designer 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 3mo 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.
What it actually says
schema-designer
Design a Postgres schema that's correct first, fast second.
Process
- List the entities and relationships before writing SQL. State cardinality (1:1, 1:N, N:M).
- Normalize to 3NF unless there's a measured reason to denormalize. Note any denormalization explicitly.
- Write the DDL following the conventions below.
- Add indexes for every foreign key and every column used in frequent
WHERE/ORDER BY. Justify each. - Add constraints —
NOT NULL,CHECK,UNIQUE, FKON DELETEbehavior. Don't leave integrity to app code.
Conventions
- Tables: plural snake_case (
order_items). Columns: snake_case. - Primary key:
id uuid primary key default gen_random_uuid()(Supabase-friendly). - Timestamps:
created_at timestamptz not null default now(),updated_at timestamptz(with a trigger). - Foreign keys:
<entity>_id, always with an explicitreferences+on deleterule. - Money:
numeric(12,2), neverfloat. Booleans:is_/has_prefix.
Output
- The
create tablestatements. - The index list with a one-line reason each.
- A note on which tables need RLS (hand off to
rls-policy) and which columns hold PII.
Guardrails
- Don't ship a table holding user data with RLS unconsidered.
- Don't use
textfor everything — pick real types and constraints. - For N:M, create the explicit join table; don't fake it with arrays unless justified.
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.
- 3mo ago First seen · 33 lines · 46 tokens per session scan A 23d6067d06e4
schema-designer is a skill published in the GitHub repository m-binimran/dev-pack (2 stars, last pushed 5mo ago), licensed MIT. It adds 46 tokens to every session and 421 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-08-31.
schema-designer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| schema-designerm-binimran/dev-pack | Skill | 2 | 5mo ago | MIT | A | 46 | Claude Code, Codex |
| alloydb-basicsgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 72 | Claude Code, Codex |
| postgresql-table-designwshobson/agents | Skill | 43k | 6d ago | MIT | A | 37 | Claude Code |
| db-repairgarrytan/gbrain | Skill | 34k | today | MIT | A | 96 | Claude Code |
| volcengine-rds-postgresqlbytedance/agentkit-samples | Skill | 496 | 5d ago | Apache-2.0 | A | 63 | Claude Code, Codex |
| postgresdbericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 91 | Claude Code, Codex |
| analyzing-insights-across-teamsPostHog/posthog-foss | Skill | 733 | today | MIT | A | 115 | Claude Code, Codex |