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

Skill by AI45Lab

Writes and optimizes SQL across major data warehouse dialects, including PostgreSQL, Snowflake, BigQuery, Redshift and Databricks SQL. Aimed at people who write, tune or convert analytical queries.

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

Install tool.sql_queries.a94f1e1bf530159c

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

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

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

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

About

This agent skill gives an AI assistant reference material for writing SQL across several data warehouse dialects. It includes dialect-specific notes for PostgreSQL (including Aurora, RDS, Supabase and Neon), Snowflake, BigQuery, Redshift and Databricks SQL, covering date handling, string functions, JSON or semi-structured data and performance tips such as indexes, clustering keys, partition filters and query plans.

It also lists common SQL patterns such as window functions, CTEs, cohort retention, funnel analysis and deduplication, with example queries for each. The skill includes debugging guidance for syntax errors, missing columns, type mismatches and division by zero. It is aimed at people who write, optimize or convert analytical queries between database engines.

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

What it can do

  • PostgreSQL referenceDate, string, array and JSON syntax, plus performance tips for PostgreSQL and similar hosts.
  • Snowflake referenceVARIANT access, LATERAL FLATTEN, clustering keys and warehouse sizing notes.
  • BigQuery referenceDate and string functions, UNNEST, partition filters and dry-run cost checks.
  • Redshift referenceDate and string functions, DISTKEY and SORTKEY design, and LISTAGG.
  • Databricks SQL referenceDate functions, Delta Lake time travel, MERGE, OPTIMIZE and ZORDER.
  • Window function patternsRanking, running totals, moving averages, LAG and LEAD examples.
  • CTE examplesMulti-step WITH queries for readable analytical SQL.
  • Cohort and funnel queriesTemplates for cohort retention and step-by-step funnel conversion analysis.
  • Deduplication patternKeeps the latest record per key using ROW_NUMBER.
  • Debugging guidanceSteps for syntax errors, unknown columns, type casts, division by zero and GROUP BY errors.

Try asking

  • Rewrite this PostgreSQL query to use a window function for a running total.
  • Convert this BigQuery query to Snowflake syntax.
  • Write a monthly cohort retention query from my user activity table.

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

Alternatives to tool.sql_queries.a94f1e1bf530159c

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

Which SQL dialects does this skill cover?

The source includes dialect references for PostgreSQL, Snowflake, BigQuery, Redshift and Databricks SQL. It also covers common patterns such as window functions and CTEs.

Does it help optimize slow queries?

It includes performance tips for each dialect, such as EXPLAIN ANALYZE in PostgreSQL, clustering keys in Snowflake and partition filters in BigQuery.

Does it help with SQL errors?

It has a debugging section covering syntax errors, unknown columns, type mismatches, division by zero and GROUP BY errors.

How do I install tool.sql_queries.a94f1e1bf530159c?

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

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

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

tool.sql_queries.a94f1e1bf530159c Install

Add to stack

Loading.