data-analysis

Analyze Excel and CSV files with DuckDB SQL queries and export results.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/gman-robotics/gmr-deerflow --skill data-analysis-gman-robotics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-analysis
Source: https://github.com/gman-robotics/gmr-deerflow/tree/main/skills/public/data-analysis
Command: npx skills add https://github.com/gman-robotics/gmr-deerflow --skill data-analysis-gman-robotics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires duckdb, openpyxl, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of analyzing data from uploaded Excel or CSV files, eliminating the need for manual data manipulation or complex BI tools for common tasks.

Core Features & Use Cases

  • Data Inspection: Understand the structure, columns, and data types of your files.
  • SQL Querying: Execute powerful SQL queries against your data, including joins across multiple files.
  • Statistical Summaries: Generate key statistics for columns (mean, median, min, max, null counts, etc.).
  • Data Export: Save query results in CSV, JSON, or Markdown formats.
  • Use Case: Upload a sales Excel file and ask for a summary of total revenue per product category, then export the results to a CSV for further analysis.

Quick Start

Use the data-analysis skill to inspect the structure of the uploaded file 'sales_data.xlsx'.

Frequently Asked Questions about data-analysis

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

FAQPage Schema
How do I run SQL queries on an Excel file without a database?

To run SQL queries on an Excel file, you can use DuckDB to directly inspect and execute arbitrary SQL statements against uploaded .xlsx or .csv files, including cross-file joins. This allows you to filter, aggregate, and summarize spreadsheet data without setting up a traditional database server.

What is the best way to get statistical summaries from CSV data?

Getting statistical summaries from CSV data involves processing the file to calculate key metrics like mean, median, min, max, and null counts for each column. This approach automates data profiling, providing a quick overview of data distribution and quality without manual spreadsheet functions.

Can I join data across multiple Excel sheets and CSV files?

Yes, you can join data across multiple Excel sheets and CSV files by loading them into DuckDB. This enables cross-file joins through standard SQL syntax, allowing you to combine and query related records from different workbook sheets or separate flat files simultaneously.

Does DuckDB support exporting query results to JSON and Markdown?

Yes, DuckDB supports exporting query results to JSON and Markdown. After executing your SQL queries against Excel or CSV files, you can save the output in CSV, JSON, or Markdown formats for reporting, further downstream processing, or direct integration into documentation.

How do I inspect the schema and data types of an uploaded Excel workbook?

To inspect the schema and data types of an uploaded Excel workbook, you can use data analysis tools that automatically parse the file structure. This reveals column names, inferred data types, and overall table shape, ensuring your subsequent SQL queries match the actual dataset layout.

Do I need a BI tool for multi-sheet Excel data analysis?

You do not need a BI tool for common multi-sheet Excel data analysis if you use a SQL engine like DuckDB. It handles multi-sheet workbooks directly, enabling schema inspection and arbitrary SQL execution for standard reporting tasks, eliminating the need for complex visualization software.