Guide
Best agent Skills for data analysis
The best agent Skill for data analysis depends on where the data lives. For spreadsheet analysis — formulas, pivots, formatted reports — the pick is xlsx, Anthropic-official. For SQL over data files too big for a spreadsheet use duckdb-skills; for primary-source financial or scientific data use valyu; for custom interactive charts use d3js-skill.
A data Skill changes how the agent handles data, not whether it can reason about it. Match the Skill to the source — a spreadsheet, a folder of data files, an authoritative feed, or a chart you need to draw — and the analysis stops being improvised.
Updated November 10, 2026 · first published July 16, 2026
Top pick
xlsxAnthropic-built. Reads and writes real .xlsx with formulas, pivot tables, and charts, so the agent analyzes tabular data in the format analysts already work in rather than a flattened CSV. Bundled scripts keep the numbers deterministic.
Best when: The dataset is a spreadsheet and you want models, pivots, or a formatted report back — the most common data-analysis case.
Ranked
The shortlist
Ranked by fit for the common case, not by raw popularity. Each is a catalogued, verified Skill — open the skill page for the composite score, license, and full install commands.
| Skill | Source | Best when | Verified agents |
|---|---|---|---|
| xlsx | Official | The dataset is a spreadsheet and you want models, pivots, or a formatted report back — the most common data-analysis case. | Claude Code, Claude.ai, Claude API |
| duckdb-skills | Verified | Analytical SQL over local data files (CSV, Parquet, Excel) — the 1GB-to-100GB range a spreadsheet chokes on. | Claude Code |
| valyu | Verified | Financial, scientific, or regulatory analysis that must cite primary sources. | Claude Code, Claude API, Cursor, Codex |
| d3js-skill | Community | You need a custom, interactive visualization, not a default bar chart. | Claude Code, Cursor |
| scientific-skills | Community | Computational-science workflows where reproducibility matters more than speed. | Claude Code |
See every entry, ranked by composite score, in the Data & Analytics category.
Why these
Pick by pick
- 1xlsx
Anthropic-built. Reads and writes real .xlsx with formulas, pivot tables, and charts, so the agent analyzes tabular data in the format analysts already work in rather than a flattened CSV. Bundled scripts keep the numbers deterministic.
- 2duckdb-skills
DuckDB's own skill. In-process analytical SQL directly over CSV, Parquet, JSON, and Excel — the agent queries and joins raw data files without loading a warehouse, which is the fastest path for datasets too big for a spreadsheet.
- 3valyu
Published by Valyu. Web search plus 36 authoritative sources — SEC filings, PubMed, ClinicalTrials.gov, FRED — with a 79% FreshQA score, so analysis is grounded in primary data instead of blog summaries.
- 4d3js-skill
D3.js patterns — scales, force-directed graphs, choropleths — so the agent produces publication-grade interactive charts instead of stock chart-library output.
- 5scientific-skills
scikit-learn patterns and scientific-dataset APIs with reproducibility helpers — for analysis that has to be re-runnable and defensible.
FAQ
Common questions
What is the best Claude skill for data analysis?
For the common case — analyzing a dataset that is already a spreadsheet — it is xlsx, Anthropic's official Skill. It reads and writes real .xlsx with formulas, pivot tables, and charts, and ships bundled scripts so the numbers stay deterministic instead of being re-derived each prompt. If the files are too big for a spreadsheet, duckdb-skills runs analytical SQL over them in process.
Which skill is best for research-driven analysis?
valyu, for analysis that must cite primary sources like SEC filings, PubMed, or FRED: it is grounded in 36 authoritative data feeds. Claude Code also has a /deep-research command that fans out web searches and returns a cited report, but Claude Code documents it as a bundled workflow, not a Skill, so it is not ranked here.
What is the best skill for data visualization?
d3js-skill. It gives the agent D3.js patterns — scales, force-directed graphs, choropleths — so it produces publication-grade interactive charts rather than stock chart-library output. It is verified on Claude Code and Cursor.
Should I use a skill or an MCP server for data analysis?
A Skill encodes the analysis method — how to build the model, how to structure the research, how to draw the chart. An MCP server connects the agent to a live data source like a warehouse, BigQuery, or a Postgres database. Most real analysis uses both: an MCP pulls the rows, a Skill knows what to do with them. See skills vs subagents vs MCP vs plugins for the distinction.
Other surfaces
Same job, different tooling
- Pull the data with an MCP server →
Top MCPs ranks the database and warehouse MCP servers that give an agent live query access to Postgres, BigQuery, and Snowflake — the source these analysis Skills work on.
Related
More best-skill guides
- Best Claude Code & agent Skills, by use case
The hub — the best Skill for every developer job, in one place.
- Best agent Skills for code review
The best agent Skills for reviewing code before merge — Claude Code's bundled /code-review for correctness, security-first audit passes, and /simplify for cleanup.
- Best agent Skills for security & auditing
The best agent Skills for security review and vulnerability detection — firm-grade static analysis (CodeQL, Semgrep), Kubernetes hardening, and real-exploit validation.
- Best agent Skills for testing & QA
The best agent Skills for writing and running tests — Playwright web-app testing, browser automation patterns, and test-driven-development workflows.
- Best agent Skills for DevOps & infrastructure
The best agent Skills for DevOps work — CI/CD, containers, blue-green and canary deploys, Terraform, and Kubernetes hardening across AWS, GCP, and Azure.
New to Skills? What is a Claude skill · How to install · Skills vs subagents vs MCP vs plugins