AnthropicMaker of Claude; Claude Code 153k+ GitHub stars3,100 installs on skills.sh

Write Query

Write optimized SQL for your dialect with best practices.

Use in my agent
Use Edge to load the skill write-query from anthropics/knowledge-work-plugins for my task. If Edge is not set up, read getedge.cc/SKILL.md and ask me first.
Works in any agentClaude CodeCodexCursorClaude appChatGPT+ any other agent
anthropics/knowledge-work-plugins
Security state: reviewed

2 static scans, 0 counted findings.

Edge checks it again each time your agent loads it.

SKILL.md1 file · 4.6 KB

From the anthropics public repository. Edge did not write or edit this skill.

What it does

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.

AN

Why Anthropic

Model developer behind Claude and Claude Code. Each fact links its public source.

  • Claude Code, 153k+ stars

    Claude Code has over 153k GitHub stars.

    GitHub repo
  • Official skills, 184k+ stars

    Anthropic's skills repository has over 184k GitHub stars.

    GitHub repo

Public sources, checked Oct 26, 2026.

How it works

  1. 1
    Copy

    Try for free gives you one prompt.

  2. 2
    Paste

    Paste it into Claude Code, Codex or Cursor.

  3. 3
    Ask

    Ask for the outcome. Your agent loads Write Query.

Related skills

AN
SQL Queries
anthropics

Write correct, performant SQL across all major data warehouse dialects (Snowflake, BigQuery, Databricks, PostgreSQL, etc.). Use when writing queries, optimizing slow SQL, translating between dialects, or building complex

CE
Writing SQL
celigo

Write SQL queries for Celigo RDBMS exports and imports -- SELECT, INSERT, UPDATE, UPSERT, MERGE, delta, once, and bulk operations across Snowflake, Postgres, MySQL, SQL Server, Oracle, BigQuery, and Redshift. Use when ed

+215 installs this week
MO
Mongodb Natural Language Querying
mongodb

Generate read-only MongoDB queries (find) or aggregation pipelines using natural language, with collection schema context and sample documents. Use this skill whenever the user asks to write, create, or generate MongoDB

SI
Signoz Writing Clickhouse Queries
signoz

Write raw ClickHouse SQL for a SigNoz dashboard panel: timeseries, value, or table widgets that the builder UI cannot express (custom joins, window functions, regex extraction over log bodies, aggregations beyond builder

PA
Paradedb Skill
paradedb

Expert guidance on ParadeDB text and vector search, hybrid search (BM25 + semantic), filters, facets, joins, and aggregations in Postgres. Use when writing ParadeDB queries, creating ParadeDB indexes, indexing vectors, c

WS
Cqrs Implementation
wshobson

Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.

+153 installs this week
Evidence

No evidence record yet

No measured run with and without this skill yet, so this page makes no performance claim. 2 static scans, 0 counted findings. Security state at 2026-11-17: reviewed. Static scans check the code, not how well the skill works.

State definitions
SKILL.md4,753 bytes · Open on GitHub

Skill details

Security scansReviewed

2 static scans, 0 counted findings. Security state at 2026-11-17: reviewed. Edge checks it again each time your agent loads it.

Edge static checks (Edge-run): edge-static/1.0.2. Scope: Static patterns for remote execution, credentials with network sends, obfuscation, prompt overrides, hidden Unicode, binaries and persistence. Raw findings: not supplied.

Edge committed-secret checks (Edge-run): edge-secrets/1.0.0. Scope: Credentials committed in the skill's files (values never shown). Raw findings: not supplied.

Socket (skills.sh mirror): Version unavailable. Scope: Not supplied by the mirrored record. Raw findings: not supplied.

Snyk (skills.sh mirror): Version unavailable. Scope: Not supplied by the mirrored record. Raw findings: not supplied.

Edge static checks
Pass · 0 counted findings · 2026-11-17
Edge committed-secret checks
Pass · 0 counted findings · 2026-11-17
Creator, source & licenceanthropics

From the anthropics public repository. Edge did not write or edit this skill.

Revision
da38ec1ee89d41e5380e652a97382695003396e7
Package hash
sha256:62d69e4b202f4f404f2724d17e414829d63bf6721ae1829bf1a1c04d13fe64f9
Licence
Apache-2.0
Description
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.
Quoted from the skill’s own description
Read skill files1 file

1 file, 4.6 KB at revision da38ec1ee89d.

Questions about Write Query

What does Write Query do?

Write optimized SQL for your dialect with best practices. Published by Anthropic (anthropics/knowledge-work-plugins).

Is Write Query safe to use?

Edge security state: Reviewed (2 Edge-run static scans, scanned Nov 17, 2026). The Evidence tab shows the scan.

How do I use Write Query in Claude Code, Codex or Cursor?

Click Try for free, pick your agent and follow its one step. Edge is free, with no Edge account.

Similar skills

writing-for-agents
mattpocock

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

+26K installs this weekWriting
PS
nano-banana-edit
prime-skills

Edit images with Google Nano Banana 2 (image-to-image edit endpoint) on RunComfy. Documents Nano Banana Edit's strengths (preserve subject i…

+3K installs this weekWriting
writing-plans
obra

Use when you have a spec or requirements for a multi-step task, before touching code

+7.6K installs this weekWriting
copywriting
coreyhaines31

When the user wants to write or rewrite page copy (homepage, landing, pricing, feature), or asks which headline, promise, or message to lead…

+7.1K installs this weekWriting
write-swift
emilkowalski

How to write modern Swift well — modeling with value types, Swift 6 data-race safety and approachable concurrency (@concurrent, main-actor-b…

+16K installs this weekWriting
cloudflare-email-service
cloudflare

Implement or troubleshoot Cloudflare Email Sending and Email Routing integrations and their delivery configuration.

+6K installs this weekWriting
gws-gmail
googleworkspace

Gmail: Send, read, and manage email.

+1.1K installs this weekWriting
golang-stay-updated
samber

Golang ecosystem watch list — official sources (go.dev/blog, pkg.go.dev, tour.golang.org, golang-nuts), newsletters (Golang Weekly, Awesome…

+364 installs this weekWriting