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

Skill by AI45Lab

Writes accurate, performance-minded SQL for PostgreSQL, Snowflake, BigQuery, Redshift and Databricks SQL. Written for analysts and engineers who need query writing, query tuning, dialect conversion and complex analytical queries.

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

Install tool.sql_queries.adb2e9fbdbb19595

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

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

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

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

About

This SQL queries skill guides an AI assistant to write accurate, performance-minded SQL across several data warehouses. It includes dialect reference notes for PostgreSQL (including Aurora, RDS, Supabase and Neon), Snowflake, BigQuery, Redshift and Databricks SQL. Each section covers date and time functions, string functions, JSON or array handling and performance tips.

The skill also includes common patterns such as window functions, readable CTE queries, cohort retention, funnel analysis and deduplication. A troubleshooting section lists fixes for syntax errors, missing columns, type mismatches, division by zero and ambiguous columns. The source describes it for query writing, SQL optimization, converting between dialects and complex analytical queries.

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

What it can do

  • Dialect referenceDate, time, string and JSON functions for each listed warehouse.
  • Window functionsRanking, running totals, moving averages, LAG and LEAD examples.
  • CTE query patternsStructured WITH queries that split logic into readable steps.
  • Cohort retentionA pattern for monthly cohort retention queries.
  • Funnel analysisA pattern that calculates conversion rates between funnel steps.
  • DeduplicationKeeps the latest record per key using ROW_NUMBER.
  • Performance tipsDialect-specific advice such as EXPLAIN, clustering keys and partitioning.
  • Debugging guidanceA checklist for common SQL errors and how to fix them.

Try asking

  • Write a BigQuery query for monthly active users by plan type
  • Build a cohort retention query for user activity in Snowflake
  • Convert this PostgreSQL query to Databricks SQL using MERGE

Good to know

  • Covers only the warehouses it lists: PostgreSQL, Snowflake, BigQuery, Redshift and Databricks SQL.
  • Provides reference notes and query patterns, not a connection to a live database.

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

Alternatives to tool.sql_queries.adb2e9fbdbb19595

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

Which databases does it support?

The source lists PostgreSQL (including Aurora, RDS, Supabase and Neon), Snowflake, BigQuery, Redshift and Databricks SQL.

Does it cover window functions and CTEs?

Yes. It includes window function examples such as ROW_NUMBER, LAG and running totals, plus CTE patterns for readable queries.

Does it help debug failing queries?

Yes. It has a section on common errors such as syntax issues, missing columns, type mismatches and division by zero.

How do I install tool.sql_queries.adb2e9fbdbb19595?

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

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

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

tool.sql_queries.adb2e9fbdbb19595 Install

Add to stack

Loading.