Data

SQL Whisperer /sql-whisperer

Natural language to safe, optimized SQL for any dialect.

Version1.8.4
AuthorTablestakes
CategoryData
Installs12,100
Updated2026-07-22
LicenseApache-2.0
$ askill install sql-whisperer@1.8.4

About this skill

SQL Whisperer lets anyone on the team ask data questions in plain English and get back correct, readable SQL. Point it at your schema and it learns your table names, join paths, and naming quirks — no more guessing whether it's user_id or users.id.

Safety is the point: every generated query is checked against a read-only allowlist, destructive statements are refused outright, and each query ships with a plain-English explanation of what it does before it ever runs.

It speaks Postgres, MySQL, BigQuery, Snowflake, SQLite, and DuckDB, and it optimizes for the dialect — window functions where they shine, CTEs where they're clearer. Analysts get answers; engineers stop being the SQL helpdesk.

Inputs

  • question · string
    The data question in plain English.
  • dialect · string
    postgres | mysql | bigquery | snowflake | sqlite | duckdb.
  • schema · string
    Schema DDL or connection reference for context.

Outputs

  • sql · string
    Generated, dialect-optimized SQL.
  • explanation · string
    Plain-English explanation of the query.
  • safety_report · string
    Read-only verification result.

Permissions

Deny-by-default: the skill can only use what it declares.

fs:readenv:read

Manifest

{
  "spec": "agentskills.io/v1",
  "name": "sql-whisperer",
  "version": "1.8.4",
  "description": "Converts plain-English questions into safe, optimized SQL for your dialect, using your actual schema — with a plain-English explanation of what the query does.",
  "inputs": {
    "question": {"type": "string", "description": "The data question in plain English.", "required": true},
    "dialect": {"type": "string", "description": "postgres | mysql | bigquery | snowflake | sqlite | duckdb.", "required": true},
    "schema": {"type": "string", "description": "Schema DDL or connection reference for context.", "required": false}
  },
  "outputs": {
    "sql": {"type": "string", "description": "Generated, dialect-optimized SQL."},
    "explanation": {"type": "string", "description": "Plain-English explanation of the query."},
    "safety_report": {"type": "string", "description": "Read-only verification result."}
  },
  "permissions": ["fs:read", "env:read"],
  "author": "Tablestakes",
  "category": "Data"
}

Changelog

v1.8.4 · 2026-07-22

Added DuckDB dialect and improved join-path inference on wide schemas.

v1.8.0 · 2026-05-30

Safety report now includes estimated row-scan warnings.

v1.7.0 · 2026-03-18

BigQuery and Snowflake cost-estimation hints added.