databricks-query

Execute SQL queries against Databricks SQL warehouses and format results as ASCII tables.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/LaurentPRAT-DB/LPT_claude_config --skill databricks-query
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-query
Source: https://github.com/LaurentPRAT-DB/LPT_claude_config/tree/main/skills/fe-vibe-export/fe-databricks-tools/1.0.0/skills/databricks-query
Command: npx skills add https://github.com/LaurentPRAT-DB/LPT_claude_config --skill databricks-query

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill allows users to execute SQL queries against Databricks SQL warehouses and presents the results in a human-readable format, simplifying data analysis and exploration.

Core Features & Use Cases

  • Execute SQL Queries: Run arbitrary SQL statements against specified Databricks SQL warehouses.
  • Formatted Output: Renders query results as well-formatted ASCII tables for easy reading.
  • Use Case: A data analyst needs to quickly check the count of records in a specific table within a Databricks environment. They can use this skill to execute SELECT COUNT(*) FROM my_table; and see the result directly in their chat.

Quick Start

Execute the SQL query 'SELECT * FROM my_table LIMIT 10' against your Databricks warehouse.

Frequently Asked Questions about databricks-query

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

FAQPage Schema
How do I run SQL queries against a Databricks SQL warehouse from the CLI?

You can execute SQL queries against a Databricks SQL warehouse by using the Databricks CLI to run the statements and a Python script to format the output into readable ASCII tables.

What do I need to authenticate before querying a Databricks SQL warehouse?

Authentication for querying a Databricks SQL warehouse requires the databricks-authentication skill, which manages credentials and connection setup before you can execute SQL statements.

Can I select a specific Databricks warehouse for my SQL query execution?

Yes, you can select a specific Databricks warehouse for SQL query execution by using the databricks-warehouse-selector skill to target the correct compute resource.

How are Databricks SQL query results formatted for readability?

Databricks SQL query results are formatted into well-structured ASCII tables using a Python pretty-printing script, ensuring the data is easy to read directly in your chat interface.

Does this Skill work for quick data analysis and exploration in Databricks?

Yes, it works for quick data analysis and exploration by allowing you to run arbitrary SQL statements against Databricks SQL warehouses and instantly view the formatted ASCII table results.

What is the best way to check record counts in a Databricks table?

The best way to check record counts in a Databricks table is to execute a SELECT COUNT(*) SQL query through this Skill, which returns the result directly in a readable ASCII table format.