---
title: "SQL Query Writer - Air Market"
description: "You know what data you want but writing the SQL is the slow part, or the query you have runs badly. This writes it for the database you actually use and follows sensible practice. Reach for it when y…"
canonical: "https://airmarket.ai/app/write-query"
---

[Air Market](/) / [Data & Analytics](/category/data) / SQL Query Writer

Skill by [Anthropic](/@anthropics)

# SQL Query Writer

Say what data you need, get SQL in your dialect

## What this does

You know what data you want but writing the SQL is the slow part, or the query you have runs badly. This writes it for the database you actually use and follows sensible practice. Reach for it when you have a question in plain words and need a query out of it.

### Top 3 things it does for you

- Turn a data question into SQL
- Build a query with joins and aggregations
- Speed up a slow query on a big table

## Information

**SQL Query Writer at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [Anthropic](/@anthropics) |
| Category | [Data & Analytics](/category/data) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 5 KB |
| Licence | _Not recorded_ |
| Repository | [anthropics/knowledge-work-plugins](https://github.com/anthropics/knowledge-work-plugins/tree/9789ea78ad66e395a9c709146cacecdc14ce2abf/data/skills/write-query) |
| GitHub stars | 23,642 (as of Nov 2026) |
| Installs | 3,092, counted by skills.sh (Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of SQL Query Writer and flagged nothing. AIR's verdict: **safe**.

**What SQL Query Writer's check was run against**

|  |  |
| --- | --- |
| Commit | 9789ea78ad66e395a9c709146cacecdc14ce2abf |
| Content hash | 568ec845c9b0cdba7c48b2527d1012b9a8d7e8d0a49a9907178fea88ca965351 |
| Files read | [Browse the files at this exact commit](https://github.com/anthropics/knowledge-work-plugins/blob/9789ea78ad66e395a9c709146cacecdc14ce2abf/data/skills/write-query/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for SQL Query Writer](/security/write-query)

## About SQL Query Writer

Writes SQL for the dialect you are on, following established practice rather than whatever came out first.

Use it when you have a data need in ordinary words and want the query, when you are assembling something larger with several common table expressions, joins, and aggregations, or when you are trying to make a query behave against a large partitioned table.

It also covers the syntax that differs between warehouses - Snowflake, BigQuery, Postgres, and others.

## What's inside

- SKILL.md - instructions

## Questions

### Is SQL Query Writer safe to install?

AIR scanned this exact version of SQL Query Writer and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 9789ea78ad66, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/write-query.

### How do I install SQL Query Writer?

Open https://airmarket.ai/app/write-query on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/anthropics/knowledge-work-plugins/tree/9789ea78ad66e395a9c709146cacecdc14ce2abf/data/skills/write-query. Install from that link, not the branch.

## Related on Air Market

- [More Data & Analytics listings](/category/data)
- [Everything by Anthropic](/@anthropics)

---

Canonical URL: <https://airmarket.ai/app/write-query>
