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.e85be025c0e6cfe4

Skill by AI45Lab

Writes and optimizes SQL across Snowflake, BigQuery, Databricks, PostgreSQL and other data warehouse dialects. Aimed at analysts and engineers who write queries, tune slow SQL or convert queries between platforms.

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

Install tool.sql_queries.e85be025c0e6cfe4

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.e85be025c0e6cfe4 ~/.claude/skills/tool-sql-queries-e85be025c0e6cfe4

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

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

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

About

This skill helps an AI assistant write correct, readable and performance-minded SQL across major data warehouse dialects. It includes reference notes for PostgreSQL (including Aurora, RDS, Supabase and Neon), Snowflake, BigQuery, Redshift and Databricks SQL. The notes cover date and time functions, string handling, JSON and semi-structured data, and platform-specific performance tips.

It also includes common analysis patterns such as window functions, CTEs, cohort retention, funnel analysis and deduplication. A troubleshooting section covers errors like type mismatches, division by zero, ambiguous column names and GROUP BY mistakes. It is aimed at people who write or tune SQL for analysis, reporting or data transformation on these platforms.

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

What it can do

  • PostgreSQL dialect referenceDate, string, JSON and array syntax for PostgreSQL, Aurora, RDS, Supabase and Neon.
  • Snowflake dialect referenceDate functions, VARIANT access and LATERAL FLATTEN for semi-structured data in Snowflake.
  • BigQuery dialect referenceDate, timestamp, array and struct syntax for BigQuery, with cost-related query tips.
  • Redshift dialect referenceDate, string and LISTAGG syntax for Amazon Redshift, with distribution and sort key tips.
  • Databricks SQL referenceDate functions, Delta Lake time travel, MERGE and OPTIMIZE for Databricks SQL.
  • Window function patternsRanking, running totals, moving averages, LAG and LEAD examples.
  • CTE and analysis patternsMulti-step CTE queries, cohort retention and funnel analysis examples.
  • Deduplication patternKeeps the latest record per key using ROW_NUMBER.
  • Query debugging checklistSteps for syntax errors, missing columns, type casts, division by zero and ambiguous joins.

Try asking

  • Write a Snowflake query that flattens nested items from a VARIANT column.
  • Rewrite this BigQuery query to filter on the partition column and avoid SELECT *.
  • Build a 7-day moving average of revenue per category using a window function.

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.e85be025c0e6cfe4/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to tool.sql_queries.e85be025c0e6cfe4

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.e85be025c0e6cfe4: common questions

Which SQL dialects does this skill cover?

The skill includes reference notes for PostgreSQL (including Aurora, RDS, Supabase and Neon), Snowflake, BigQuery, Redshift and Databricks SQL.

Does it include examples for analysis queries?

Yes. It includes window function patterns, CTE examples, cohort retention, funnel analysis and a deduplication pattern.

Can it help when a query fails?

Yes. It includes a debugging section for syntax errors, missing or ambiguous columns, type mismatches, division by zero and GROUP BY errors.

How do I install tool.sql_queries.e85be025c0e6cfe4?

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

Is tool.sql_queries.e85be025c0e6cfe4 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.e85be025c0e6cfe4 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.e85be025c0e6cfe4?

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

tool.sql_queries.e85be025c0e6cfe4 Install

Add to stack

Loading.