data-analysis
Skill by ljxpython
Analyzes uploaded Excel and CSV files with DuckDB SQL, including schema inspection, read-only queries and statistical summaries. Built for users who want to explore and summarize spreadsheet data.
Install data-analysis
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ljxpython/ai-agent-platform /tmp/ai-agent-platform && mkdir -p ~/.claude/skills && cp -r /tmp/ai-agent-platform/apps/runtime-service/src/runtime_service/services/dearflow_agent/skills/data-analysis ~/.claude/skills/data-analysisRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ljxpython/ai-agent-platform /tmp/ai-agent-platform && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai-agent-platform/apps/runtime-service/src/runtime_service/services/dearflow_agent/skills/data-analysis ~/.gemini/antigravity-cli/skills/data-analysisAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The data-analysis skill analyzes Excel (.xlsx, .xls) and CSV files that a user uploads. It uses DuckDB, an in-process analytical SQL engine, through a single Python script. The skill can inspect file structure, run read-only SELECT queries, and produce statistical summaries.
Each sheet in a workbook becomes a table, and CSV files become tables named after the file. Tables from several files can be joined in one query. Results can be exported to CSV, JSON or Markdown under /workspace/work/. Each invocation uses an in-memory database. The skill is for users who want to explore, aggregate, filter or summarize structured data from spreadsheets.
Written from the project's SKILL.md and checked against it.
What it can do
- Inspect filesShows sheet names, column names, data types, non-null counts, row counts and sample rows.
- Run SQL queriesExecutes read-only SELECT queries against uploaded Excel and CSV data.
- Statistical summariesReports count, mean, std, min, quartiles, max and nulls for numeric columns, and unique values and top values for text.
- Cross-file joinsMakes tables from multiple uploaded files available in the same query.
- Export resultsWrites query results to CSV, JSON or Markdown files.
What you need
- Python runtime
- Access to the approved execute tool
Try asking
- Inspect my sales_2024.xlsx and list its sheets and columns
- Show the top 10 products by revenue from my Orders sheet
- Export orders over 1000 from my CSV file to a CSV file
Good to know
- Only SELECT queries run, and input files stay read-only.
- Input is limited to 20 MiB per file and 100,000 cells per Excel sheet.
- Query results are capped at 10,000 rows; larger results fail.
- Formulas are not evaluated. XLSX formulas appear as text.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: apps/runtime-service/src/runtime_service/services/dearflow_agent/skills/data-analysis/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to data-analysis
All alternatives →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.
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.
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.
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.
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.
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.
Compare with kaggle-cli, bigquery-bigframes or data-loading
data-analysis: common questions
What file types does the data-analysis skill accept?
It accepts Excel .xlsx and .xls files and CSV files. Each sheet in a multi-sheet workbook becomes its own table.
Can the skill change or delete my data?
No. The source says only SELECT queries run and CSV and Excel inputs remain read-only.
Does it calculate Excel formulas?
No. Formulas are never evaluated; XLSX formulas are shown as text and XLS files use stored values.
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 public, but no licence file was found, so check the repository before commercial use.
Is data-analysis safe to use?
It scores 61 of 100. Grades: maintenance A, licence F, quality B. 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.
