web-database-validator

web-database-validator is a skill for Claude Code, Codex from 0x-Professor/Agent-Skills-Hub. It costs 23 tokens per session (307 once invoked), scanned A, original, Apache-2.0.

A database-checking skill that tests the structure of a web app's stored data, its migrations, and its queries. Migrations are the changes that create or update database tables.

In plain words
What is it for?
Use it to run local tests with sample data and produce a pass/fail validation report for a web project's database.
Why use it?
It helps find broken relationships, missing indexes, inefficient repeated queries, and other database problems before they reach production.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to run local tests with sample data and produce a pass/fail validation report for a web project's database.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0x-professor/agent-skills-hub/web-database-validator
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 0x-Professor/Agent-Skills-Hub --skill web-database-validator
Clone the repo
git clone --depth 1 https://github.com/0x-Professor/Agent-Skills-Hub

Made for: Claude Code, 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 web-database-validator

README.md
[![agentmods](https://agentmods.dev/badge/skills/0x-professor/agent-skills-hub/web-database-validator/github.svg)](https://agentmods.dev/skills/0x-professor/agent-skills-hub/web-database-validator)
Your own site
<a href="https://agentmods.dev/skills/0x-professor/agent-skills-hub/web-database-validator"><img src="https://agentmods.dev/badge/skills/0x-professor/agent-skills-hub/web-database-validator/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 web-database-validator

Your own site · 80×15
<a href="https://agentmods.dev/skills/0x-professor/agent-skills-hub/web-database-validator"><img src="https://agentmods.dev/badge/skills/0x-professor/agent-skills-hub/web-database-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 307 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.00023 $0.00307
Opus 5 $0.00012 $0.00153
Sonnet 5 $0.00005 $0.00061
Haiku 4.5 $0.00002 $0.00031

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

Security

Grade A, and why

web-database-validator 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/database_validator.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/web-database-validator/SKILL.md · 47 lines

What it actually says

Web Database Validator

Objective

Validate schema and query quality after backend scaffolding, including migration sanity checks and performance guardrails.

Required Workflow

  1. Read project-config.json and ORM schema files.
  2. Run migrations in a local test database (Docker or in-memory SQLite for dry runs).
  3. Validate:
    • foreign key constraints
    • indexes on foreign keys and hot query columns
    • N+1 query risk with query logs or explain plans
    • soft-delete fields where required
    • auto timestamps (created_at, updated_at)
  4. Seed realistic test data using Faker.js or Python Faker.
  5. Run query checks for row counts, relationships, and cascades.
  6. Output db-validation-report.json with pass/fail per check.

Execution

python skills/web-database-validator/scripts/database_validator.py --input <workspace> --output <out.json> --format json

References

  • references/tools.md
Files

What ships with it

3 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. 8d ago First seen · 47 lines · 23 tokens per session scan A aa17cb83ea93

Subscribe to this mod's changes

web-database-validator is a skill published in the GitHub repository 0x-Professor/Agent-Skills-Hub (10 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 23 tokens to every session and 307 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

testing-a-datavault4dbt-project

Adds Data Vault 2 technical tests to a datavault4dbt project — hashkey uniqueness and not-null, link-to-hub referential integrity, and satellite key+load-date uniqueness — as dbt soft-constraint tests in YAML. Use when adding or reviewing tests for hubs, links, or satellites, or validating raw vault integrity.

ScalefreeCOM/datavault4dbt-agent-skills · 81 tokens

setup-playwright

Use when adding, extending, or repairing a repo-owned Playwright test harness across Node Playwright Test, Playwright Pytest, or .NET/Java test frameworks. Also use when explicitly persisting @playwright/cli developer tooling, or adding or regenerating Playwright Test Agent definitions for a compatible Node Playwright…

n-n-code/n-n-code-skills · 93 tokens

tester-mindset

Testing mindset skill for context-driven test strategy, exploratory testing, validation design, acceptance criteria, oracles, weak-test detection, edge cases, heuristics, checklists, and evidence review for code, products, plans, or claims. Use when the user asks what to test, how to test, whether evidence is enough…

n-n-code/n-n-code-skills · 88 tokens

go-testing-with-testify

Write, review, or harden Go tests using stretchr/testify assert, require, mock, or suite. Use for assertion choice, test doubles, subtests, concurrency, and flake triage in an existing Go test setup. Use coding-guidance-go for production code or non-testify tests and tester-mindset for test strategy without concrete…

n-n-code/n-n-code-skills · 79 tokens

playwright-testing

Use for explicitly requested live browser investigation with playwright-cli, or for writing, debugging, reviewing, or hardening Playwright tests in an existing working harness across Node, Python, .NET, or Java. Covers flake triage, locator refinement, visual and responsive checks, test structure, fixtures, auth-state…

n-n-code/n-n-code-skills · 114 tokens

project-config-and-tests

Project overlay for config precedence, defaults, parsing, normalization, path helpers, and deterministic tests at those seams. Not for general test strategy or unrelated test implementation.

n-n-code/n-n-code-skills · 37 tokens