sql-analysis

star 1.3k

Guided workflow for SQL data analysis using db_tools

Datus-ai By Datus-ai schedule Updated 2/13/2026

name: sql-analysis description: Guided workflow for SQL data analysis using db_tools tags: - sql - analysis - workflow version: 1.0.0

SQL Analysis Workflow

This skill guides you through a structured data analysis workflow using database tools.

Workflow Steps

Step 1: Schema Discovery

First, understand the database schema:

Use db_tools.list_tables() to see available tables
Use db_tools.describe_table(table_name) for each relevant table

Step 2: Data Exploration

Explore the data with sample queries:

Use db_tools.execute_sql("SELECT * FROM {table} LIMIT 10")

Step 3: Analysis Query

Based on the user's question, construct and execute the analysis query.

Step 4: Result Interpretation

Analyze the results and provide insights.

Install via CLI
npx skills add https://github.com/Datus-ai/Datus-agent --skill sql-analysis
Repository Details
star Stars 1,285
call_split Forks 204
navigation Branch main
article Path SKILL.md
More from Creator