SQL Queries
Write correct, fast SQL for Postgres, Snowflake, BigQuery, Databricks and more.
Official Anthropicby AnthropicChecked October 18, 2026
Anthropic's SQL reference skill from the Data plugin. It knows the quirks of each major dialect and common analytical patterns such as cohorts and funnels.
Who it is for
- Analysts
- Data engineers
- Product managers
Prompts to try
Once the skill is installed, ask for the result in plain words. Claude picks the skill up on its own.
Write a BigQuery query for 30-day retention by signup monthTranslate this Postgres query to SnowflakeThis query is slow, rewrite it with CTEs and explain whyHow to install it
In Claude Code
/plugin marketplace add anthropics/knowledge-work-plugins/plugin install data@knowledge-work-plugins
In Claude.ai
Listed in Claude's plugin directory for Cowork: add the Data plugin from Customize > Plugins on a paid plan, and its skills also load in chat.
Unlock the install steps
Free. Leave your email once to open the install steps for all 149 skills, and get the best new skills each month.
How we checked it
Confirmed SKILL.md at data/skills/sql-queries/SKILL.md in anthropics/knowledge-work-plugins via the GitHub API; skill folder last changed 2026-03-13, repo has 29,992 stars and was pushed 2026-10-17; published in Anthropic's knowledge-work-plugins marketplace.
Source: github.com/anthropics/knowledge-work-plugins/tree/main/data/skills/sql-queries