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.832c6de48aee4067

Skill by AI45Lab

Writes correct, efficient SQL for major data warehouses, including Snowflake, BigQuery, Databricks, Redshift and PostgreSQL. Useful for analysts and engineers who write, optimize or convert queries, or build analysis with CTEs, window functions or aggregations.

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

Install tool.sql_queries.832c6de48aee4067

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

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

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

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

About

This skill guides an AI assistant in writing correct, efficient SQL across major data warehouse dialects. It names PostgreSQL (including Aurora, RDS, Supabase and Neon), Snowflake, BigQuery, Redshift and Databricks SQL. It also covers converting queries between these dialects.

The skill is a reference document with dialect-specific snippets for dates, strings, JSON, arrays and semi-structured data. It includes performance tips, such as filtering on partition columns in BigQuery and designing DISTKEY and SORTKEY in Redshift. It also gives common patterns: window functions, CTEs, cohort retention, funnel analysis and deduplication, plus a checklist for debugging failed queries. It is aimed at analysts and engineers who write, tune or port SQL.

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

What it can do

  • PostgreSQL referenceDate, string, JSON and array functions, with performance tips for PostgreSQL and compatible services.
  • Snowflake referenceDate and string functions, VARIANT access and LATERAL FLATTEN for semi-structured data.
  • BigQuery referenceDate functions, array and struct handling, and tips for reducing scanned bytes.
  • Redshift referenceDate and string functions, plus distribution and sort key guidance.
  • Databricks SQL referenceDate functions and Delta Lake features such as time travel and MERGE.
  • Window function patternsExamples of ranking, running totals, moving averages, LAG, LEAD and percent of total.
  • CTE pattern for readable queriesA multi-step WITH query that builds a base set, metrics and a summary.
  • Cohort retention queryA query template that groups users by cohort month and counts activity in later months.
  • Funnel analysis queryA query template that measures conversion between funnel steps with safe division.
  • Deduplication patternA ROW_NUMBER approach that keeps the latest record for each key.

Try asking

  • Write a BigQuery query that counts daily active users for the last 30 days.
  • Rewrite this PostgreSQL query to run on Snowflake and explain the changes.
  • Build a cohort retention query by signup month with CTEs and window functions.

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

Alternatives to tool.sql_queries.832c6de48aee4067

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

Which SQL dialects does this skill cover?

The source covers PostgreSQL (including Aurora, RDS, Supabase and Neon), Snowflake, BigQuery, Redshift and Databricks SQL. It also mentions other major data warehouses in general terms.

Does this skill include query optimization tips?

Yes. Each dialect section lists performance tips, such as using EXPLAIN ANALYZE in PostgreSQL, clustering keys in Snowflake and partition filters in BigQuery.

Does it help debug SQL errors?

Yes. It includes a checklist for common failures, such as syntax differences between dialects, missing or ambiguous column names, type mismatches and division by zero.

How do I install tool.sql_queries.832c6de48aee4067?

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

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

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

tool.sql_queries.832c6de48aee4067 Install

Add to stack

Loading.