Agent skill

SQL Schema Policy Validator

by rominirani in rominirani/antigravity-skills

“Validates SQL schema files for compliance with internal safety and naming policies.”

— description from SKILL.md by rominirani
No licenceAuto-check passedDatabases

Install SQL Schema Policy Validator

skills CLI
$ npx skills add rominirani/antigravity-skills --skill database-schema-validator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rominirani/antigravity-skills database-schema-validator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rominirani/antigravity-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills_tutorial/database-schema-validator .claude/skills/database-schema-validator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
database-schema-validator
GitHub stars
591
Token cost
~264 tokens
SKILL.md length
131 words
Files
2 (incl. scripts)
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

  • Works in 3 steps: Safety: No DROP TABLE statements. → Naming: All tables must use snake_case. → Structure: Every table must have an id…
  • SKILL.md covers Policies Enforced and Instructions
  • Runs Python scripts from its folder; calls python

About this skill

SQL Schema Policy Validator is a skill in rominirani/antigravity-skills (591 stars). Its SKILL.md is about 264 tokens, with 1 other file in the folder (scripts). No licence found.

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Safety: No DROP TABLE statements.
  2. Naming: All tables must use snake_case.
  3. Structure: Every table must have an id column as PRIMARY KEY.

What it can do on your machine

Read from SKILL.md and the folder at commit 731acca. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

SQL Schema Policy Validator loads about 264 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 131 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~264

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 131 words (~264 tokens).

“This skill ensures that all SQL files provided by the user comply with our strict database standards.”

— opening of SKILL.md by rominirani
name
database-schema-validator

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (scripts) in skills_tutorial/database-schema-validator of rominirani/antigravity-skills.

  • SKILL.md
  • scripts/validate_schema.py

Open the folder on GitHubat commit 731acca

Compare with similar skills

SQL Schema Policy Validator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

SQL Schema Policy Validator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
SQL Schema Policy Validator this skillrominirani/antigravity-skills591—~264Automated safety check: PassNone
Modelersidequery/sidemantic129—~4.2kAutomated safety check: PassApache-2.0
Chdb SQLvemetric/vemetric3941 repos~1.2kAutomated safety check: PassApache-2.0
Schema Explorationtimescale/pg-aiguide1.9k—~1.1kAutomated safety check: PassApache-2.0
Cursor BYOK Database Schemaleookun/cursor-byok3.2k—~1.3kAutomated safety check: PassMIT
Kolokoloai/kolo525—~1.2kAutomated safety check: PassNone

Similar skills

  • Modeler

    sidequery/sidemantic

    Build, validate, and manage semantic models using Sidemantic.

    129 GitHub stars~4.2k tokensUpdated today
    DatabasesAuto-check passed
  • Chdb SQL

    vemetric/vemetric

    A skill your agent uses when the user wants to run SQL — especially analytical SQL — on local files (parquet/csv/json), URLs, S3 paths, or remote databases (Postgres, MySQL, MongoDB, ClickHouse…

    394 GitHub starsUsed in 1 repo~1.2k tokens
    DatabasesAuto-check passed
  • Schema Exploration

    timescale/pg-aiguide

    Explore an existing PostgreSQL database before answering questions about its data or writing SQL.

    1.9k GitHub stars~1.1k tokensUpdated 6 days ago
    DatabasesAuto-check passed
  • Cursor BYOK Database Schema

    leookun/cursor-byok

    Guides SQLite schema changes in the Cursor BYOK server, keeping SQLx migrations, the Rust store, API contracts and fixtures aligned.

    3.2k GitHub stars~1.3k tokensUpdated 9 days ago
    DatabasesAuto-check passed
  • Kolo

    koloai/kolo

    Kolo is a text-based Python debugger that captures every executed function, return value, local variable, HTTP request, and SQL query into greppable trace files.

    525 GitHub stars~1.2k tokensUpdated 5 mo ago
    DatabasesAuto-check passed
  • SQL Optimization Patterns

    ynulihao/AgentSkillOS

    Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries.

    617 GitHub starsUsed in 10 repos~3.3k tokens
    DatabasesAuto-check passed

More from rominirani/antigravity-skills

  • Git Commit Formatter

    rominirani/antigravity-skills

    Makes the agent write every git commit message in the Conventional Commits format, with a type, optional scope, short description and breaking-change footer.

    591 GitHub stars~311 tokensUpdated 3 mo ago
    Auto-check passed
  • Always Verify GCP

    rominirani/antigravity-skills

    A workflow for Google Cloud changes: pick gcloud, bq or gsutil, check the command against official docs, preview with a dry run and ask for approval before executing.

    591 GitHub stars~804 tokensUpdated 3 mo ago
    Auto-check passed
  • License Header Adder

    rominirani/antigravity-skills

    Adds the standard open-source license header to new source files. Use involves creating new code files that require copyright attribution.

    591 GitHub stars~294 tokensUpdated 3 mo ago
    Auto-check passed
  • JSON To Pydantic

    rominirani/antigravity-skills

    Converts JSON data snippets into Python Pydantic data models.

    591 GitHub stars~249 tokensUpdated 3 mo ago
    Auto-check passed

Works with

Categories

Questions about SQL Schema Policy Validator

How do I install SQL Schema Policy Validator in Claude Code?

Run `npx skills add rominirani/antigravity-skills --skill database-schema-validator -a claude-code`. Or copy the skill folder (skills_tutorial/database-schema-validator in rominirani/antigravity-skills) into .claude/skills/database-schema-validator in your project. Claude Code loads it when a task matches its description.

How do I install SQL Schema Policy Validator in Codex?

Run `npx skills add rominirani/antigravity-skills --skill database-schema-validator -a codex`. Or copy the skill folder (skills_tutorial/database-schema-validator in rominirani/antigravity-skills) into .agents/skills/database-schema-validator in your project. Codex loads it when a task matches its description.

Can I use SQL Schema Policy Validator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rominirani/antigravity-skills --skill database-schema-validator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/database-schema-validator, .gemini/skills/database-schema-validator, .github/skills/database-schema-validator and .opencode/skills/database-schema-validator in your project.

What does SQL Schema Policy Validator need to run?

Going by SKILL.md and its folder, SQL Schema Policy Validator needs Python for the scripts in its folder and the command-line tools its instructions call (python).

Does SQL Schema Policy Validator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is SQL Schema Policy Validator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does SQL Schema Policy Validator use?

No licence was found for SQL Schema Policy Validator or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does SQL Schema Policy Validator use?

About 264 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to SQL Schema Policy Validator?

Skills that share tags, products or a category with SQL Schema Policy Validator: Modeler (sidequery/sidemantic, 129 stars), Chdb SQL (vemetric/vemetric, 394 stars), Schema Exploration (timescale/pg-aiguide, 1.9k stars) and Cursor BYOK Database Schema (leookun/cursor-byok, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains SQL Schema Policy Validator?

rominirani (a GitHub user) maintains it in rominirani/antigravity-skills, which has 591 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on June 27, 2026.

Source: rominirani/antigravity-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.