data-write-query

Translate natural-language data requests into optimized PostgreSQL SQL queries.

520|175|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/EvolutionAPI/evo-nexus --skill data-write-query-evolutionapi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-write-query
Source: https://github.com/EvolutionAPI/evo-nexus/tree/main/.claude/skills/data-write-query
Command: npx skills add https://github.com/EvolutionAPI/evo-nexus --skill data-write-query-evolutionapi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill translates natural-language data requests into optimized SQL queries for PostgreSQL, enabling you to turn vague requirements into precise, efficient database queries and enabling faster analytics iterations.

Core Features & Use Cases

  • Natural-language to SQL: Convert descriptions into production-ready PostgreSQL queries using best practices.
  • Dialect flexibility: Primary support for PostgreSQL with options for secondary dialects like Snowflake, BigQuery, MySQL, and DuckDB.
  • Use Case: Generate a multi-CTE query to compute customer lifetime value across large tables with efficient joins and aggregations.

Quick Start

Describe the data you need and I will generate an optimized PostgreSQL query.

Frequently Asked Questions about data-write-query

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

FAQPage Schema
How do I generate optimized PostgreSQL queries from natural language for analytics?

To generate optimized PostgreSQL queries from natural language, describe your data request and the tool translates it into production-ready SQL. It applies explicit column selection and proper join types for analytics and reporting tasks.

What is the best way to build complex SQL queries with multiple CTEs and aggregations?

Building complex SQL queries with multiple CTEs and aggregations is handled by translating your natural-language data requirements into a single optimized query. This approach ensures proper join types and window functions are applied where appropriate for large tables.

Can I use this natural-language to SQL tool with Snowflake, BigQuery, MySQL, or DuckDB?

Yes, you can use this tool with Snowflake, BigQuery, MySQL, and DuckDB as secondary dialects. While it primarily generates optimized SQL for PostgreSQL, it offers dialect flexibility to support queries across these other database platforms.

How does this tool handle SQL dialect awareness and performance optimization?

SQL dialect awareness and performance optimization are handled by generating queries that follow best practices for the target database. It ensures explicit column selection, uses window functions where appropriate, and applies performance-oriented SQL practices tailored to the specific dialect.

Does this natural-language SQL generator support window functions and explicit column selection?

Yes, this natural-language SQL generator supports window functions and explicit column selection. It satisfies these requirements automatically when translating your data requests into optimized PostgreSQL queries for analytics and data transformation tasks.

What are the limitations when generating SQL queries for non-PostgreSQL dialects?

When generating SQL queries for non-PostgreSQL dialects, the primary limitation is that optimization is centered around PostgreSQL standards. Secondary dialect support exists for Snowflake, BigQuery, MySQL, and DuckDB, but complex multi-CTE queries are optimized specifically for the Evo PostgreSQL stack.