Skip to content
cccskills
Official · ClaudeFreePublished on GitHubEnglish overview

sql-queries

Write and improve SQL for major data warehouses, accounting for differences in their syntax. Use it to build analytical queries, translate existing SQL, investigate errors, and review slow queries for performance improvements.

OriginalShow the original description

Write correct, performant SQL across all major data warehouse dialects (Snowflake, BigQuery, Databricks, PostgreSQL, etc.). Use when writing queries, optimizing slow SQL, translating between dialects, or building complex analytical queries with CTEs, window functions, or aggregations.

anthropics/knowledge-work-plugins37,477 stars(GitHub 37,477 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Translate SQL from PostgreSQL to BigQuery
  • Review slow queries for performance improvements
  • Calculate retention rates and funnel conversion
  • Keep the latest record while removing duplicates

Overview

What it does

sql-queries helps write and improve readable SQL for the syntax of the database in use. Its references cover PostgreSQL, Snowflake, BigQuery, Redshift, and Databricks SQL, including date handling, strings, arrays, and performance considerations. It also supports analytical queries that use common table expressions (CTEs) to divide work into stages and window functions to compare rows, calculate rankings, or produce running totals.

When it helps

Use it when adapting SQL for a different database or reviewing why an aggregation is slow. It can also help build queries for analysis, such as retention, step-by-step conversion, moving averages, or removing duplicates while keeping the latest record.

Example requests

  • “Rewrite this PostgreSQL SQL for BigQuery.”
  • “Write SQL to calculate the next-month retention rate for users who started in each month.”
  • “Check how this query handles type mismatches and division by zero.”

Notes

The skill is configured with user-invocable: false, so it is not defined as a command users can invoke directly. SQL syntax and performance approaches vary by database; adapt the guidance to the target database and table structure. The materials provide SQL-writing guidance and do not describe connection setup or provide an execution environment.

This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.

Document check

AI checked the SKILL.md for operations that need care and for setup requirements. The score comes only from actually running the skill (hands-on test).

SafetyAre sending data, deleting files, and running commands disclosed?
BPartly lackingExamples include `EXPLAIN ANALYZE` and `OPTIMIZE`, without confirmation steps for changes.
Easy setupDoes it need few tools or API keys, and are they documented?
AGoodNo specific connection or API key is named; the material focuses on SQL guidance and examples.

Not counted in the score. Rated by AI (OpenAI Codex) as of Oct 26, 2026. Treat it as a guide and read the original before installing.

Disagree? Request a re-evaluation

Tell us which point is wrong and why. No login needed. We will check it against the SKILL.md, redo the evaluation, and show the result here.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Files included (1)

  • SKILL.md10.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

accessibility-review

Official · ClaudeFreeSummary

Review a design or web page against WCAG 2.1 AA, an accessibility standard. Organize findings on contrast, keyboard access, forms, and screen reader behavior, with severity levels and practical recommendations for fixes.

  • Review accessibility before design handoff
  • Check text and interface color contrast
  • Review keyboard navigation and focus behavior
anthropics/knowledge-work-plugins37.5KUpdated Oct 30, 2026

account-context

Official · ClaudeFreeSummary

Build a single brief on an existing customer using available sales records, emails, documents, call notes, and internal chat. Understand the current situation, key contacts, recent discussions, and gaps that may need attention.

  • Preparing for a meeting with an existing customer
  • Catching up on an account during a handover
  • Reviewing recent discussions and stalled opportunities
anthropics/knowledge-work-plugins37.5KUpdated Oct 30, 2026

account-plan

Official · ClaudeFreeSummary

Build or refresh a strategic customer account plan from sales records, emails, and meeting transcripts. Organize goals, stakeholders, growth opportunities, risks, and dated actions into a document, then sync approved highlights to the customer relationship management system.

  • Creating a quarterly plan for a key customer
  • Refreshing an existing account plan
  • Reviewing stakeholder coverage and growth opportunities
anthropics/knowledge-work-plugins37.5KUpdated Oct 30, 2026

account-research

Official · ClaudeFreeSummary

Research prospective companies and contacts, check existing customer records, and assess fit against your ideal customer profile. Receive a sourced brief covering recent developments, likely priorities, outreach talking points, and a suggested next step.

  • Researching a company before a sales approach
  • Checking existing account records and ownership
  • Assessing fit against your ideal customer profile
anthropics/knowledge-work-plugins37.5KUpdated Oct 30, 2026

account-research

Official · ClaudeFreeSummary

Research sales accounts using Common Room data to summarize company details, buying signals, ownership, and key contacts. Answer specific questions directly or prepare a broader briefing with evidence-based next steps, clearly identifying missing information.

  • Prepare a company briefing before a sales conversation
  • Check buying signals and recent account activity
  • Find account owners and key contacts
anthropics/knowledge-work-plugins37.5KUpdated Oct 30, 2026

account-tiering

Official · ClaudeFreeSummary

Score and group accounts by customer fit and engagement, such as recent contact and open sales opportunities. Identify where to focus sales effort, choose next actions, and spot promising accounts with neglected outreach or missing information.

  • Prioritize a portfolio of assigned accounts
  • Find strong-fit accounts that need outreach
  • Identify promising accounts with no recent activity
anthropics/knowledge-work-plugins37.5KUpdated Oct 30, 2026

See all skills by anthropics

Report a problem with this skill