AdYour product here, seen by people installing AI tools every day

write-query

Skill by anthropics · updated · ★ 32k

Score 91

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. write-query is published by anthropics on GitHub.

Yours? Claim it
Works withClaude CodeClaude apps Antigravity CLI

Install write-query

Built from the published package, never by AI
git clone --depth 1 https://github.com/anthropics/knowledge-work-plugins /tmp/knowledge-work-plugins && mkdir -p ~/.claude/skills && cp -r /tmp/knowledge-work-plugins/data/skills/write-query ~/.claude/skills/write-query

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install write-query in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

Maintenance

Last commit in the past day

Licence

Apache-2.0: permissive, fine for commercial use

Quality

Clear description, installs from GitHub, 32,477 stars, original repository

Security

No risky patterns in the files we checked

Weekly newsletter

Like write-query? Get the best new skills every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: data/skills/write-query/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to write-query

All alternatives →
creating-oracle-to-postgres-migration-bug-reportgithub
92

Creates structured bug reports for defects found during Oracle-to-PostgreSQL migration. Use when documenting behavioral differences between Oracle and PostgreSQL as actionable bug reports with severity, root cause, and remediation steps.

AAA Skill 40k
cloud-syncthedotmack
91

Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.

AAA Skill 103k
hugging-face-datasetssickn33
91

Create and manage datasets on Hugging Face Hub. Supports initializing repos, defining configs/system prompts, streaming row updates, and SQL-based dataset querying/transformation. Designed to work alongside HF MCP server for comprehensive dataset workflows.

AAA Skill 48k
senior-fullstackdavila7
91

Comprehensive fullstack development skill for building complete web applications with React, Next.js, Node.js, GraphQL, and PostgreSQL. Includes project scaffolding, code quality analysis, architecture patterns, and complete tech stack guidance. Use when building new projects, analyzing code quality, implementing design patterns, or setting up development workflows.

AAA Skill 33k
alphafold-database-fetch-and-analyzegoogle-deepmind
91

Retrieve and analyze AlphaFold predicted structures for a protein. Use when the user provides a specific UniProt Accession ID and wants structural confidence metrics (pLDDT), domain boundary analysis, or disorder assessment. Do not use if the user only has a protein name, gene name, or amino acid sequence — ask for a UniProt ID first.

AAA Skill 3.3k
electric-ormelectric-sql
91

Use Electric with Drizzle ORM or Prisma for the write path. Covers getting pg_current_xact_id() from ORM transactions using Drizzle tx.execute(sql) and Prisma $queryRaw, running migrations that preserve REPLICA IDENTITY FULL, and schema management patterns compatible with Electric shapes. Load when using Drizzle or Prisma alongside Electric for writes.

AAA Skill 10k

write-query: common questions

How do I install write-query?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is write-query free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is write-query safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to write-query?

Similar skills: creating-oracle-to-postgres-migration-bug-report, cloud-sync, hugging-face-datasets, senior-fullstack.

Add to stack

Loading.