sql-queries

Generate SQL queries from natural language for BigQuery, PostgreSQL, MySQL, and Snowflake.

1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/autostay-kr/autostay-skills --skill sql-queries-autostay-kr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sql-queries
Source: https://github.com/autostay-kr/autostay-skills/tree/main/pm/skills/sql-queries
Command: npx skills add https://github.com/autostay-kr/autostay-skills --skill sql-queries-autostay-kr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of SQL queries from natural language descriptions, making database interaction accessible to users without deep SQL expertise.

Core Features & Use Cases

  • Natural Language to SQL: Translate plain English requests into executable SQL queries.
  • Multi-Dialect Support: Generates queries for BigQuery, PostgreSQL, MySQL, Snowflake, and more.
  • Schema Awareness: Reads and utilizes database schemas from provided files or descriptions for accurate query generation.
  • Use Case: A product manager needs to understand user sign-up trends. They can ask the skill to "Generate a query to find the number of daily active users for the last month," and the skill will produce the appropriate SQL.

Quick Start

Upload your database schema and ask the skill to generate a query for daily active users in the last month.

Frequently Asked Questions about sql-queries

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate SQL queries from natural language requests?

To generate SQL queries from natural language, you provide a plain English description of your data needs, and the Skill translates it into an executable SQL query. You simply describe the data you want to retrieve or report on.

What database dialects are supported for SQL query generation?

SQL query generation supports multiple database dialects including BigQuery, PostgreSQL, MySQL, and Snowflake. It creates queries tailored to the specific syntax and features of your chosen database platform.

Do I need to upload my database schema to get accurate SQL queries?

Yes, you need to provide your database schema by uploading a file or describing it, which allows the Skill to parse table structures and generate schema-aware, accurate SQL queries for your specific database setup.

Can I use this to write BigQuery queries for daily active user reports?

Yes, you can use this to write BigQuery queries for daily active user reports by asking for a query to find the number of daily active users for the last month. It generates the appropriate SQL for your reporting needs.

What is the best way to explore a PostgreSQL database without deep SQL expertise?

The best way to explore a PostgreSQL database without deep SQL expertise is using natural language to SQL generation, which automates query creation based on your schema. This makes database interaction accessible for data exploration.