SQL Master: Integrating Natural Language and End-to-End SQL Capabilities into an Agent Skill

SQL Master (sql-master) is a SkillHub data analysis skill that encompasses natural language SQL generation, slow query and EXPLAIN analysis, indexing and data warehouse modeling, principle explanations, and result visualization. It supports dialects including MySQL, PostgreSQL, Hive, Spark SQL, ClickHouse, and BigQuery. This article details its SKILL.md workflow and references module structure, installation methods via secure-skills-cli and @indiv-yaoyao/sql-master, and examples of database_connector, file_connector, and Pipeline following the installation of Python dependencies via skillhub_install. It also distinguishes between the restricted no-dependency mode and full-capability mode.

Read More