Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

data-analysis

Skill by bytedance

Analyzes uploaded Excel and CSV files with SQL using DuckDB. It inspects schemas, runs queries, builds statistical summaries and exports results to CSV, JSON or Markdown.

  • Score 93
  • 86k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install data-analysis

Built from the published package, never by AI.

git clone --depth 1 https://github.com/bytedance/deer-flow /tmp/deer-flow && mkdir -p ~/.claude/skills && cp -r /tmp/deer-flow/skills/public/data-analysis ~/.claude/skills/data-analysis

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install data-analysis in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The data-analysis skill lets an AI assistant analyze Excel (.xlsx and .xls) and CSV files that a user uploads. It uses DuckDB, an in-process analytical SQL engine, to run SQL queries. It can inspect file structure, generate statistical summaries, and export query results to CSV, JSON, or Markdown. Multi-sheet Excel workbooks are supported, and each sheet becomes a table.

A single Python script handles schema inspection, queries, summaries and exports. Parsed data is cached in a temporary directory so files are not re-parsed on every call. The skill is aimed at users who upload spreadsheets or CSV files and want aggregation, filtering, joins, pivot-style analysis, or other structured data exploration. Setup uses pip to install duckdb and openpyxl, and pandas and xlrd are needed for legacy .xls files.

Written from the project's SKILL.md and checked against it.

What it can do

  • Inspect file structureShows sheet names, column names, data types, non-null counts, row counts and sample rows.
  • Run SQL queriesExecutes SQL against uploaded Excel and CSV data, including joins across files.
  • Statistical summariesReports mean, median, stddev, percentiles and null counts for columns.
  • Multi-sheet workbooksTurns each sheet of an Excel workbook into a separate queryable table.
  • Export resultsWrites query results to CSV, JSON or Markdown files based on the file extension.
  • Pivot-style analysisBuilds pivot-style summaries using conditional aggregation in SQL.

What you need

  • Python
  • duckdb and openpyxl packages
  • pandas and xlrd for .xls files

Try asking

  • Analyze my uploaded sales.xlsx and show the top products by revenue.
  • Summarize the numeric columns in this CSV file with statistics.
  • Join orders.csv with customers.xlsx and export the results to CSV.

Good to know

  • The script does not install packages itself. Missing packages stop it with a setup instruction.
  • Output files are overwritten without warning if the target path already exists.
  • JSON exports reject NaN and Infinity values, and duplicate column names cause an error.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/public/data-analysis/SKILL.md, skills/public/data-analysis/scripts/analyze.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • AGENTS.md3 KB
  • SKILL.md13 KB
  • scripts/analyze.py29 KB

Alternatives to data-analysis

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

data-analysis: common questions

What file types can this skill analyze?

It supports Excel .xlsx and legacy .xls workbooks and CSV files. Each sheet of a workbook becomes a table.

Does it change my Python environment?

No. The script exits with a setup instruction if a package is missing and does not run an installer or modify the environment.

What output formats can results be exported to?

Results can be exported to CSV, JSON, or Markdown tables. The format is detected from the file extension.

How do I install data-analysis?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is data-analysis free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is data-analysis safe to use?

It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to data-analysis?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

data-analysis Install

Add to stack

Loading.