New advertisers: 50% off your first month with code FIRSTMONTHSee slots
bytedance avatar

Data Analysis

Query Excel and CSV files with DuckDB SQL for inspection, summaries, joins, and exports.

skills.sh installs
3.7K
GitHub stars
85.6K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers schema inspection, SQL queries, statistical summaries, and result export across uploaded spreadsheet and CSV files
  • Includes one analyze.py script with inspect, query, and summary actions, plus JSON, CSV, and Markdown output
  • Handles multi-sheet workbooks by turning each sheet into a table, and rejects duplicate JSON column names and non-finite JSON values
  • Designed for users who upload .xlsx, .xls, or CSV files under /mnt/user-data/uploads/ and want structured data exploration

Install

$ npx -y skills add bytedance/deer-flow --skill data-analysis -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Data Analysis Skill

Overview

This skill analyzes user-uploaded Excel/CSV files using DuckDB — an in-process analytical SQL engine. It supports schema inspection, SQL-based querying, statistical summaries, and result export, all through a single Python script.

Environment setup

Prepare the Python environment before running analyses. Install the required packages explicitly using the same interpreter that will run the script:

python -m pip install duckdb openpyxl

If either package is missing, the script exits with a setup instruction; it does not invoke an installer or modify the environment. DuckDB's spatial extension is initialized only for .xlsx input. CSV and legacy .xls analysis do not install or load it, so they can run offline with an empty extension cache.

Legacy Excel 97–2003 (.xls) workbooks additionally require:

python -m pip install pandas xlrd

Details

Repository
github.com/bytedance/deer-flow
Categories
Data Science & Analytics, Databases
First seen
May 16, 2026

More from bytedance/deer-flow

All 18

Similar to Data Analysis

More Data Science & Analytics