Skill / SKILL.md

Write Query

anthropics/knowledge-work-plugins

Write optimized SQL for your dialect with best practices. Use when translating a natural-language data need into SQL, building a multi-CTE query with joins and aggregations, optimizing a query against a large partitioned table, or getting dialect-specific syntax for Snowflake, BigQuery, Postgres, etc.
2 views 37,354 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Write optimized SQL for your dialect with best practices. Use when translating a natural-language data need into SQL, building a multi-CTE query with joins and aggregations, optimizing a query against a large partitioned table, or getting dialect-specific syntax for Snowflake, BigQuery, Postgres, etc.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/anthropics/knowledge-work-plugins' skill-source

Use the complete skill-source/data/skills/write-query directory with your client’s skill installer.

  • data/skills/write-query

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory data/skills/write-query

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
8dff964a84622c0d49f0cb9e859ae7cdef19167de6062b6afa5c570d80aaa794
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills