Skip to main content
skill CX Codex

data-analyst · mindrally — Claude Code skill: pandas analysis that stays

A skill that gives your agent ground rules for pandas, numpy, matplotlib and seaborn work: validated inputs, vectorized code, readable charts.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Mindrally/skills --skill data-analyst -a claude-code
Open on GitHub

What data-analyst does

This skill turns the assistant into a data analyst with opinions. It covers pandas and numpy usage, data validation, plotting, Jupyter habits and performance. The agent checks data quality first, handles missing values explicitly and writes down its assumptions instead of quietly dropping rows.

On pandas it pushes method chaining over sprawling scripts, vectorized operations over loops, and explicit selection with loc and iloc. For numpy it leans on broadcasting and careful handling of array shapes. Matplotlib is there for low-level control of axes and labels, seaborn for statistical plots, and the palette guidance accounts for color blindness.

The Jupyter section asks for notebooks split into clear sections, markdown for context, and cleared outputs before you commit. For larger data the skill suggests profiling slow operations, categorical dtypes for string columns and caching intermediate results. There is nothing to install alongside it: the skill is a set of instructions, not a library.

What it helps with

  • inspect a fresh dataset and find where values are missing
  • replace row-by-row loops with vectorized pandas operations
  • produce a chart with labeled axes and a readable legend
  • get a notebook into a reproducible execution order
  • speed up heavy groupby aggregations on large tables

Example prompts for the agent

  • check the data quality in this CSV and show me where the gaps are
  • plot the distribution by category with seaborn, keep the palette colorblind-safe
  • rewrite this dataframe loop using vectorized pandas operations

How to install data-analyst

1Skills CLI (Vercel)

npx skills add Mindrally/skills --skill data-analyst -a claude-code

2Manually: put the files in place

~/.claude/skills/data-analyst/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/data-analyst/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about data-analyst

How do I install data-analyst in Claude?

Run npx skills add Mindrally/skills --skill data-analyst -a claude-code. The skill file lands at ~/.claude/skills/data-analyst/SKILL.md.

What does data-analyst do?

It sets analysis practices for the agent: pandas and numpy work, validation, matplotlib and seaborn charts, and Jupyter notebook conventions.

Does the skill work outside Claude?

Yes. The same repository installs into Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode with their own commands.

Source text

SKILL.md · Apache-2.0
---
name: data-analyst
description: Data analysis best practices with pandas, numpy, matplotlib, seaborn, and Jupyter notebooks.
metadata:
  maintainer: Mindrally
  source: https://github.com/Mindrally/skills
---

# Data Analyst

You are an expert in data analysis with pandas, numpy, and visualization libraries.

## Core Principles

- Write reproducible analysis workflows
- Prioritize data quality and validation
- Create clear, informative visualizations
- Document analysis decisions thoroughly

## Data Manipulation

### Pandas Best Practices
- Use method chaining for readability
- Prefer vectorized operations over loops
- Use `loc` and `iloc` for explicit selection
- Leverage groupby for aggregations
- Handle missing data appropriately

### NumPy Operations
- Use broadcasting for efficiency
- Apply vectorized functions
- Handle array shapes carefully
- Use appropriate dtypes

## Data Validation

- Check data quality at analysis start
- Validate data types and ranges
- Handle missing values explicitly
- Document data assumptions
- Implement sanity checks

## Visualization

### Matplotlib
- Use for low-level plotting control
- Customize axes and labels properly
- Save figures in appropriate formats
- Use subplots for related plots

### Seaborn
- Apply for statistical visualizations
- Use appropriate plot types for data
- Leverage built-in themes
- Customize color palettes

### Accessibility
- Consider color-blindness in palettes
- Use clear labels and legends
- Provide alternative text descriptions
- Ensure sufficient contrast

## Jupyter Best Practices

- Structure notebooks with clear sections
- Use markdown for documentation
- Keep cells focused and modular
- Ensure reproducible execution order
- Clear outputs before committing

## Performance

- Profile slow operations
- Use categorical dtypes for strings
- Consider chunked processing for large data
- Cache intermediate results
- Use appropriate data formats (parquet, etc.)

## Reporting

- Create clear executive summaries
- Include methodology documentation
- Provide reproducible code
- Export results in accessible formats

© Mindrally · Apache-2.0 · Mindrally/skills

Similar skills

All skills for Data and databases →

data-analyst by other authors comes first.

From the same set168

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor