Agent skill

SQL Lint

by mizchi in mizchi/skills

Static lint for sqlc-style SQL catalogs. An agent skill from mizchi/skills.

No licenceAuto-check passedDatabases

Install SQL Lint

skills CLI
$ npx skills add mizchi/skills --skill sql-lint -a claude-code

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

GitHub CLI
$ gh skill install mizchi/skills sql-lint --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/mizchi/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/sql-lint .claude/skills/sql-lint && 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
sql-lint
GitHub stars
356
Token cost
~1k tokens
SKILL.md length
417 words
Files
4 (incl. scripts)
Skills in repo
69
Repo updated
First seen
Licence
None found

At a glance

Static lint for sqlc-style SQL catalogs. An agent skill from mizchi/skills.

  • Tasks that involve Linting and formatting
  • SKILL.md covers Two layers, When to invoke, Inline SQL in host code and CI integration, plus 3 more sections
  • Runs JavaScript scripts from its folder; calls node, uvx and pip
  • Tasks that involve SQL

What it does

SQL Lint is an agent skill from mizchi/skills. Static lint for sqlc-style SQL catalogs. Catches duplicate query names, missing semicolons, SELECT , double-wildcard LIKE, and other cheap-but-easy-to-miss mistakes. Optional sqlfluff integration for full style coverage.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `README.md`).

It sits in Databases, covering Linting and formatting and SQL. It works with SQL. The repository describes itself as: Agent skills by mizchi, distributed via APM.

When your agent uses it

  • Tasks that involve Linting and formatting
  • Tasks that involve SQL

Example prompts

  • “/sql-lint”

Requirements

  • Python 3
  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit 62f5808. 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/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • uvx
    • pip
    • pipx

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

  • Network

    No URLs in SKILL.md. Its commands use uvx, pip and pipx, which can reach the network depending on how they are called.

    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 Lint loads about 1k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 417 words of instructions outside code blocks.

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

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 417 words (~1,008 tokens).

“Use this when a project has a SQL catalog (-- name: X :type comments or any named-query convention) and wants to enforce basic hygiene without adopting a heavy SQL linter.”

— opening of SKILL.md by mizchi
name
sql-lint
version
0.1.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (scripts) in sql-lint of mizchi/skills.

  • SKILL.md
  • .sqlfluff
  • README.md
  • scripts/catalog-lint.mjs

Open the folder on GitHubat commit 62f5808

Compare with similar skills

SQL Lint 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 Lint compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
SQL Lint this skillmizchi/skills356—~1kAutomated safety check: PassNone
Diesel Guardayarotsky/diesel-guard121—~3.1kAutomated safety check: PassMIT
StarRocks SQL Doc Auto-FixStarRocks/starrocks12k—~7.6kAutomated safety check: NotesApache-2.0
Optimizing Databricks SQLAltimateAI/data-engineering-skills128—~6.7kAutomated safety check: PassMIT
Relational Query ProcessorFoundationDB/fdb-record-layer675—~1kAutomated safety check: PassApache-2.0
Logfire Querypydantic/skills140—~2.2kAutomated safety check: PassMIT

Similar skills

  • Diesel Guard

    ayarotsky/diesel-guard

    Lints Diesel and SQLx Postgres migrations for unsafe schema changes that lock tables or cause downtime, and authors custom Rhai checks.

    121 GitHub stars~3.1k tokensUpdated 10 days ago
    DatabasesAuto-check passed
  • StarRocks SQL Doc Auto-Fix

    StarRocks/starrocks

    Proposes verified fixes for failing SQL examples in StarRocks docs across three languages and several versions, then opens draft pull requests and never merges.

    12k GitHub stars~7.6k tokensUpdated today
    DatabasesAuto-check: notes
  • Optimizing Databricks SQL

    AltimateAI/data-engineering-skills

    Analyze DBSQL queries, including SQL embedded in notebooks (spark.sql(...), %sql cells), for anti-patterns, lint issues, and performance problems, using Databricks-specific dialect and platform…

    128 GitHub stars~6.7k tokensUpdated 6 days ago
    DatabasesAuto-check passed
  • Relational Query Processor

    FoundationDB/fdb-record-layer

    Specialized skill for working in the fdb-relational-core SQL processing layer — parser, plan generator, and Cascades planner.

    675 GitHub stars~1k tokensUpdated today
    DatabasesAuto-check passed
  • Logfire Query

    pydantic/skills

    Official

    Query and analyze Logfire telemetry data — traces, logs, spans, metrics, summaries, and SQL results.

    140 GitHub stars~2.2k tokensUpdated 7 days ago
    DatabasesAuto-check passed
  • Sap Abap

    secondsky/sap-skills

    Comprehensive ABAP development skill for SAP systems. An agent skill from secondsky/sap-skills.

    462 GitHub stars~3.9k tokensUpdated 3 days ago
    DatabasesAuto-check passed

More from mizchi/skills

All 69 skills in this repo
  • Publish Agent Skill

    mizchi/skills

    Package, publish, verify and update an agent skill through a Claude Code plugin marketplace, APM or the npx skills CLI.

    356 GitHub stars~1.7k tokensUpdated 6 days ago
    Auto-check passed
  • AI Index

    mizchi/skills

    Method and tooling for measuring how AI-generated a piece of prose reads, in Japanese or English.

    356 GitHub stars~3.6k tokensUpdated 6 days ago
    Auto-check passed
  • Cloudflare Deploy

    mizchi/skills

    Deploy applications and infrastructure to Cloudflare with the cf CLI and typed cloudflare.config.ts.

    356 GitHub stars~2.9k tokensUpdated 6 days ago
    Auto-check: notes
  • Review Image

    mizchi/skills

    Review screenshots or other images with OpenRouter vision models via bundled Deno scripts.

    356 GitHub stars~1.3k tokensUpdated 6 days ago
    Auto-check passed
  • Post-generation safety checks for sqlc-gen-moonbit + Cloudflare D1.

    356 GitHub stars~995 tokensUpdated 6 days ago
    Auto-check passed
  • Apm Usage

    mizchi/skills

    Reference for APM (Agent Package Manager) — apm.yml syntax, install / uninstall / update commands, target detection, lockfile workflow.

    356 GitHub stars~1.9k tokensUpdated 6 days ago
    Auto-check passed

Works with

Questions about SQL Lint

What does SQL Lint do?

Static lint for sqlc-style SQL catalogs. An agent skill from mizchi/skills. SQL Lint is an agent skill from mizchi/skills. Static lint for sqlc-style SQL catalogs.

When should I use SQL Lint?

SQL Lint fits situations like: tasks that involve Linting and formatting; tasks that involve SQL.

How do I install SQL Lint in Claude Code?

Run `npx skills add mizchi/skills --skill sql-lint -a claude-code`. Or copy the skill folder (sql-lint in mizchi/skills) into .claude/skills/sql-lint in your project. Claude Code loads it when a task matches its description.

How do I install SQL Lint in Codex?

Run `npx skills add mizchi/skills --skill sql-lint -a codex`. Or copy the skill folder (sql-lint in mizchi/skills) into .agents/skills/sql-lint in your project. Codex loads it when a task matches its description.

Can I use SQL Lint 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 mizchi/skills --skill sql-lint -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sql-lint, .gemini/skills/sql-lint, .github/skills/sql-lint and .opencode/skills/sql-lint in your project.

What does SQL Lint need to run?

Going by SKILL.md and its folder, SQL Lint needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node, uvx, pip and pipx). Our summary lists: Python 3; Node.js.

Does SQL Lint access the network?

SKILL.md contains no URLs. Its commands use uvx and pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is SQL Lint 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 Lint use?

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

How many tokens does SQL Lint use?

About 1k tokens (SKILL.md is roughly 4k 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 Lint?

Skills that share tags, products or a category with SQL Lint: Diesel Guard (ayarotsky/diesel-guard, 121 stars), StarRocks SQL Doc Auto-Fix (StarRocks/starrocks, 12k stars), Optimizing Databricks SQL (AltimateAI/data-engineering-skills, 128 stars) and Relational Query Processor (FoundationDB/fdb-record-layer, 675 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains SQL Lint?

mizchi (a GitHub user) maintains it in mizchi/skills, which has 356 GitHub stars. The repository holds 69 skills in this directory. The repository was last updated on October 2, 2026.

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