Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

tool.sql_queries.aff09c2fbf49d9f8

Skill by AI45Lab

Writes correct and efficient SQL across major data warehouse dialects, including Snowflake, BigQuery, Databricks and PostgreSQL. It is for writing queries, optimizing slow ones, converting between dialects, and building analytical queries with CTEs and window functions.

  • Score 68
  • 279 stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install tool.sql_queries.aff09c2fbf49d9f8

Built from the published package, never by AI.

git clone --depth 1 https://github.com/AI45Lab/OpenART /tmp/OpenART && mkdir -p ~/.claude/skills && cp -r /tmp/OpenART/openart-tools/tool.sql_queries.aff09c2fbf49d9f8 ~/.claude/skills/tool-sql-queries-aff09c2fbf49d9f8

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

Step-by-step: install tool.sql_queries.aff09c2fbf49d9f8 in Claude Code

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

About

This skill gives an AI assistant guidance for writing SQL in several data warehouse dialects. The source includes dialect references for PostgreSQL (including Aurora, RDS, Supabase and Neon), Snowflake, BigQuery, Redshift and Databricks SQL. Each covers date and time functions, string functions, semi-structured data and performance tips.

It also includes common query patterns such as window functions, CTE-based analysis, cohort retention, funnel analysis and deduplication. A troubleshooting section lists steps for syntax errors, unknown fields, type mismatches, division by zero and ambiguous joins. It is aimed at people who write or tune SQL for analytics and data work.

Written from the project's SKILL.md and checked against it.

What it can do

  • PostgreSQL referenceCovers date, string, JSON and array syntax, with performance tips for indexes and EXPLAIN ANALYZE.
  • Snowflake referenceCovers VARIANT access, FLATTEN for nested data, clustering keys and result reuse.
  • BigQuery referenceCovers date functions, UNNEST, partition filtering and dry run cost checks.
  • Redshift referenceCovers DISTKEY and SORTKEY design, EXPLAIN plans, and ANALYZE and VACUUM.
  • Databricks SQL referenceCovers Delta Lake time travel, MERGE, OPTIMIZE and ZORDER.
  • Window function patternsProvides examples for ranking, running totals, moving averages, lag and lead.
  • Analysis query patternsProvides cohort retention and funnel analysis query examples built with CTEs.
  • Deduplication patternShows how to keep the latest record per key using ROW_NUMBER.
  • Debugging guideLists steps for syntax, type, division by zero, ambiguous field and GROUP BY errors.

Try asking

  • Write a PostgreSQL query for monthly active users by plan type
  • Convert this BigQuery query to Snowflake syntax
  • Optimize this slow Redshift query using distribution and sort keys

Security check

A

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

Checked automatically: openart-tools/tool.sql_queries.aff09c2fbf49d9f8/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to tool.sql_queries.aff09c2fbf49d9f8

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

tool.sql_queries.aff09c2fbf49d9f8: common questions

Which SQL dialects does this skill cover?

The source includes references for PostgreSQL, Snowflake, BigQuery, Redshift and Databricks SQL. It names PostgreSQL-compatible services such as Aurora, RDS, Supabase and Neon.

Does it include query patterns for analytics?

Yes. The source includes window functions, CTE examples, cohort retention, funnel analysis and deduplication.

What trigger words activate this skill?

The source lists SQL query and write SQL as trigger words. It also says the skill fires for query optimization, dialect conversion and complex analytical queries.

How do I install tool.sql_queries.aff09c2fbf49d9f8?

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

Is tool.sql_queries.aff09c2fbf49d9f8 free?

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

Is tool.sql_queries.aff09c2fbf49d9f8 safe to use?

It scores 68 of 100. Grades: maintenance A, licence C, quality B. 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 tool.sql_queries.aff09c2fbf49d9f8?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

tool.sql_queries.aff09c2fbf49d9f8 Install

Add to stack

Loading.