neilotoole.io

Web presence of Neil O'Toole.

AI agent skills for sq

As of v0.50.2, sq now has AI agent skills. That is to say, a bundle of instructions and reference material that an AI coding assistant can load on demand when it needs to use sq.

Install the skill:

$ npx skills add neilotoole/sq

Then ask your assistant something like:

Diff the schemas of @sakila/staging and @sakila/prod.

…and it’ll know to reach for:

$ sq diff @sakila/staging @sakila/prod --schema

The skill covers SLQ and native SQL, source handles, output formats, the inspect and diff commands, per-driver references for the databases and file formats sq supports, and so on. See the docs for the full setup (Claude Code, Cursor, etc.).