Skip to content
Skill

Data analysis

Walks an agent through a full data analysis, from business question to recommendation

Data analysis is an open-source agent skill for analytics and data. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
313
Last commit
License
MIT
Listing updated

Similar skills

About Data analysis

This skill sets the agent up as a working data analyst. It moves through seven phases in order: framing the decision and hypothesis, checking the schema and grain, running a data health check, producing a first cut, digging into segments and confounds, triangulating with qualitative signal, and closing with a headline and next steps. Each phase is meant to produce a visible output such as a chart, table or finding.

The guidance covers loading data with pandas for single CSV, Excel or Parquet files, and with DuckDB for SQL over files or databases. It also covers flattening JSON exports from tools like PostHog or Mixpanel and checking join cardinality before combining tables. Chart conventions are included: finding-led titles, labeled axes with units, annotations on the chart, and saved PNG output.

The skill expects a Python environment with pandas, and DuckDB for SQL work. It also includes rules for interactive HTML reports, using a bundled stylesheet and a preview in the host browser. Responses follow the user's conversation language.

When your agent uses it

Guide a full data-analyst workflow from business question to recommendation. Use when the user says "analyze this data/CSV", wants EDA on a fresh dataset, asks to find patterns in this dataset (segmentation, cohorts, correlations), or wants SQL queries over files or databases via DuckDB.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (22 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the product-discovery plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add superhero-tech/superhero-skills
/plugin install product-discovery@superhero-skills

Or copy only this skill to ~/.claude/skills/data-analysis:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/superhero-tech/superhero-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/data-analysis &&
cp -R "$tmp/plugins/product-discovery/skills/product-discovery/data-analysis" ~/.claude/skills/data-analysis &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/data-analysis inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/data-analysis to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/superhero-tech/superhero-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/data-analysis &&
cp -R "$tmp/plugins/product-discovery/skills/product-discovery/data-analysis" ~/.agents/skills/data-analysis &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/data-analysis inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/data-analysis to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/superhero-tech/superhero-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/data-analysis &&
cp -R "$tmp/plugins/product-discovery/skills/product-discovery/data-analysis" ~/.cursor/skills/data-analysis &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/data-analysis inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/superhero-tech/superhero-skills.git --path plugins/product-discovery/skills/product-discovery/data-analysis

Or copy the folder to ~/.gemini/skills/data-analysis yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/data-analysis:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/superhero-tech/superhero-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/data-analysis &&
cp -R "$tmp/plugins/product-discovery/skills/product-discovery/data-analysis" ~/.copilot/skills/data-analysis &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/data-analysis inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/superhero-tech/superhero-skills.git

Then copy superhero-skills/plugins/product-discovery/skills/product-discovery/data-analysis into your agent's skills folder as data-analysis. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Seven-phase analysis workflow
Guides the agent through brief, schema, health check, first cut, deeper digging, triangulation and so-what steps in order.
Data health checks
Reports nulls, distributions and outliers, then suggests how to fix or flag them before analysis.
Pandas and DuckDB loading
Chooses pandas readers or DuckDB SQL depending on file type, database source and dataset size.
Join cardinality checks
Verifies join relationships before merging tables to avoid inflated row counts.
Finding-led chart standards
Sets rules for titles that state findings, labeled units, on-chart annotations and saved PNG output.
Analyst anti-pattern guardrails
Warns against spreadsheet tourism, unsupported correlations and unexamined percentages.

Good for

  • Analyze this CSV and tell me what drives the numbers
  • Run exploratory analysis on a new dataset
  • Find customer segments or cohort differences in this data
  • Write SQL over my files using DuckDB
  • Test whether my hypothesis holds up against the data

Data analysis FAQ

What does the skill need to run?

A Python environment with pandas, plus DuckDB for SQL work. If an import fails, the skill tells the user to install pandas and duckdb.

When does the skill trigger?

When the user asks to analyze a CSV or data, wants exploratory analysis of a fresh dataset, asks for patterns such as segmentation, cohorts or correlations, or wants SQL over files or databases via DuckDB.

What output does Data analysis produce?

Visible outputs for each phase, including charts, tables and findings, with charts saved as PNG files and optional HTML reports.

How do I install Data analysis in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/data-analysis to use it in all your projects, or to .claude/skills/data-analysis in one project. Or install the product-discovery plugin, which includes it: /plugin marketplace add superhero-tech/superhero-skills, then /plugin install product-discovery@superhero-skills.

Does Data analysis run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Data analysis?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Data analysis?

The closest alternatives to Data analysis are Famou data analysis, Data scientist, Analyze dashboard, Quantitative analysis and Data analysis.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from superhero-tech/superhero-skills

  1. Guides a web app or API team through pre-release checks and builds an offline HTML

    • Open source
    • 313 GitHub stars
    • Developer tools
  2. Builds Figma token and component libraries that another agent can reuse

    • Open source
    • 313 GitHub stars
    • Design and media
  3. Extracts a website's rendered visual style into an evidence-backed DESIGN.md

    • Open source
    • 313 GitHub stars
    • Design and media
  4. Builds screens with poster-style outlines, paper surfaces and hand-drawn people

    • Open source
    • 313 GitHub stars
    • Design and media
  5. Guides an agent through a landing page brief, art direction, and visual build

    • Open source
    • 313 GitHub stars
    • Developer tools