data-analysis

Analyzes Excel and CSV files with DuckDB SQL queries and exports results to CSV, JSON, or Markdown.

79.6k|10.9k|Updated May 7, 2025
One-click install
npx skills add https://github.com/bytedance/deer-flow --skill data-analysis-bytedance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-analysis
Source: https://github.com/bytedance/deer-flow/tree/main/skills/public/data-analysis
Command: npx skills add https://github.com/bytedance/deer-flow --skill data-analysis-bytedance

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 Excel and CSV files, allowing users to quickly gain insights without manual data manipulation or complex software.

Core Features & Use Cases

  • Data Inspection: Understand the structure, columns, and data types of your files.
  • SQL Querying: Execute custom SQL queries against your data for in-depth analysis.
  • Statistical Summaries: Generate key statistics for numeric and text columns.
  • Data Export: Save query results in CSV, JSON, or Markdown formats.
  • Use Case: You have a sales report in an Excel file and want to find the total revenue per region and export it as a CSV.

Quick Start

Use the data-analysis skill to inspect the structure of the 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?

You can run SQL queries on an Excel file by using DuckDB to directly query your uploaded .xlsx or .xls data. This allows you to perform custom data analysis and extract specific insights without manual spreadsheet manipulation.

Can I join data across multiple CSV files for analysis?

Yes, you can join data across multiple CSV files. The data analysis process supports cross-file joins using SQL, allowing you to combine datasets from different CSV files for comprehensive data exploration and reporting.

How do I generate statistical summaries for CSV data?

You generate statistical summaries for CSV data by executing analytical commands against the uploaded file. This automatically calculates and returns key statistics for both numeric and text columns, providing quick insights into your dataset.

What is the best way to export SQL query results to JSON or Markdown?

The best way to export SQL query results to JSON or Markdown is by using the data analysis tool's export feature. After executing your custom SQL queries, you can directly save the output results in CSV, JSON, or Markdown formats.

Does this data analysis approach support multi-sheet Excel workbooks?

Yes, this data analysis approach fully supports multi-sheet Excel workbooks. You can inspect the schema and execute arbitrary SQL queries across multiple sheets within a single .xlsx or .xls file to explore all your data comprehensively.

What do I need to inspect the schema of an uploaded Excel file?

To inspect the schema of an uploaded Excel file, you simply need your .xlsx or .xls dataset ready. The analysis tool automatically reads the file structure, allowing you to understand its columns and data types immediately without complex software.