What problem does it solve? Translating natural-language questions into correct, executable Snowflake SQL is error-prone: identifier quoting, mixed-data fact tables, JSON columns, epoch timestamps, and join semantics cause silent wrong answers. This Skill guides an agent through a structured workflow that retrieves relevant SQL tips, explores the live database, and verifies the final query before output. ## Core Features & Use Cases - Snowflake SQL Execution Tool: Run exploratory and validation queries against Snowflake with automatic credential discovery, result truncation, and per-column summary statistics for large result sets. - Keyword-Based Tip Selection: Deterministically match questions and schemas against 22 curated tips covering division safety, MetricID entity isolation, LATERAL FLATTEN for JSON, geospatial functions, join key normalization, and UNION ALL vs JOIN decisions. - Six-Phase Workflow: Tip retrieval, logical planning, targeted exploration, SQL generation, execution testing, and structured JSON output with selected tables, columns, and SQL. - Use Case: Given a question like "What is the total population of California in 2020?" against a CENSUS fact table, the Skill fires the critical MetricID isolation tip, explores distinct MetricID values, and produces a verified Snowflake query. ## Quick Start Ask the agent to answer a natural-language question against a Spider 2.0-Snow database schema and return the verified Snowflake SQL as JSON.