database-schema-review

database-schema-review is a skill for Codex from jeremylongworth-source/AgentSkills. It costs 45 tokens per session (314 once invoked), scanned A, original, MIT.

A review guide for database schemas, which define tables, fields, relationships, rules, and indexes used by an application.

In plain words
What is it for?
Use it to assess schemas, migrations, indexes, constraints, relationships, data retention, and how well the database fits an API's access patterns.
Why use it?
It finds data-integrity, query-performance, privacy, tenant-isolation, and migration risks before they become difficult production problems.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to assess schemas, migrations, indexes, constraints, relationships, data retention, and how well the database fits an API's access patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeremylongworth-source/agentskills/database-schema-review
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 jeremylongworth-source/AgentSkills --skill database-schema-review
Clone the repo
git clone --depth 1 https://github.com/jeremylongworth-source/AgentSkills

Made for: 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 database-schema-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeremylongworth-source/agentskills/database-schema-review/github.svg)](https://agentmods.dev/skills/jeremylongworth-source/agentskills/database-schema-review)
Your own site
<a href="https://agentmods.dev/skills/jeremylongworth-source/agentskills/database-schema-review"><img src="https://agentmods.dev/badge/skills/jeremylongworth-source/agentskills/database-schema-review/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.

agentmods 80×15 button for database-schema-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeremylongworth-source/agentskills/database-schema-review"><img src="https://agentmods.dev/badge/skills/jeremylongworth-source/agentskills/database-schema-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 314 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.
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.00045 $0.00314
Opus 5 $0.00023 $0.00157
Sonnet 5 $0.00009 $0.00063
Haiku 4.5 $0.00005 $0.00031

Measured 5d ago against content hash 916ef73558fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

database-schema-review 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 5d 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/database-schema-review/SKILL.md · 47 lines

What it actually says

Database Schema Review

Core Workflow

  1. Identify the domain model, queries, write patterns, data lifecycle, and database engine assumptions.
  2. Review tables, columns, types, relationships, constraints, indexes, uniqueness, nullability, and migration path.
  3. Check data integrity, tenant/user boundaries, privacy, auditability, and deletion or retention needs.
  4. Compare schema design against API and product access patterns.
  5. Flag migration, backfill, locking, rollback, and performance risks.
  6. Recommend concrete schema changes and validation checks.

Safety Rules

  • Do not recommend destructive migrations without backup, rollback, and reviewer approval.
  • Do not invent production data volume, query patterns, or compliance requirements.
  • Escalate schemas involving payments, auth, personal data, regulated data, or multi-tenant isolation.

Deliverable Shape

For schema reviews, provide:

  • Schema scope and assumptions
  • Entity and relationship review
  • Constraints and index review
  • Query and access-pattern fit
  • Migration and rollback risks
  • Data privacy and retention notes
  • Recommended changes
  • Validation checks

References

  • Read references/database-schema-review-checklist.md when reviewing schema design or migrations.
Files

What ships with it

2 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.

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. 5d ago First seen · 47 lines · 45 tokens per session scan A 916ef73558fc

Subscribe to this mod's changes

database-schema-review is a skill published in the GitHub repository jeremylongworth-source/AgentSkills (1 stars, last pushed 6d ago), licensed MIT. It adds 45 tokens to every session and 314 once invoked, about $0.0002 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

backend-specialist

A guide for designing and building backend services, the parts of an application that handle data, business rules, and requests. It covers APIs, databases, authentication, and service performance.

huangwb8/skills · 62 tokens

powersync

Best practices for building and maintaining applications with PowerSync: Cloud and self-hosted setup, sync configuration, client SDK usage, backend integration (Supabase, custom Postgres, MongoDB, MySQL, MSSQL), schema changes, watch and reactive queries (useQuery), attachments, the upload queue, and debugging. Use…

powersync-ja/agent-skills · 193 tokens

insforge

Use this skill when writing app code with InsForge or @insforge/sdk: database CRUD, auth, storage uploads/storage RLS, functions, OpenRouter AI, realtime, emails, Stripe or Razorpay payments, or pointing S3-compatible tooling (aws CLI, AWS SDKs, rclone, Terraform, boto3) at InsForge Storage. Trigger on requests like…

aiskillstore/marketplace · 121 tokens

python-database-patterns

SQLAlchemy and database patterns for Python. Triggers on: sqlalchemy, database, orm, migration, alembic, async database, connection pool, repository pattern, unit of work.

aiskillstore/marketplace · 43 tokens

convex-design

Design and build reactive, type-safe, production-grade backends on Convex. Covers schema, queries/mutations/actions, indexes, auth, file storage, scheduling, real-time multiplayer, mobile backends, and LLM/agent workflows on Convex's one-platform stack.

aiskillstore/marketplace · 59 tokens

convex-expert

Convex backend specialist. Use this agent for any code inside a convex/ directory — function definitions, schemas, indexes, queries, mutations, actions, HTTP endpoints, cron jobs, file storage, auth wiring, and component installation. Knows the object-form function syntax, validator patterns, resource limits, and…

aiskillstore/marketplace · 78 tokens