# Data Analysis Mode

> A reproducible five-stage data-analysis workflow, with five hands-on references and a working Excel formula-recalculation script.

Data Analysis Mode is a free AI agent skill on Agensi by 莎利呱, in Data & Databases. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [莎利呱](https://www.agensi.io/creators/kaalia)
- Category: [Data & Databases](https://www.agensi.io/skills/data-databases)
- Uses: 7
- Version: 1.0
- Last updated: 2026-10-14
- Security: scan passed (2026-10-14); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/data-analysis-mode
- Tags: database, python, pandas, excel, data-analysis, statistics, visualization, data-science

## About this skill

A reproducible five-stage workflow for real datasets — scope the question, profile and clean the data, run EDA, model it, then write a conclusion you can defend — plus five hands-on references that do the actual work: pandas 3.x behaviour changes and patterns, Excel workbook I/O with a working formula-recalculation script, safe MySQL/PostgreSQL access through SQLAlchemy, hypothesis testing and scikit-learn modelling with assumption checks, and chart standards for matplotlib/seaborn.

Includes SKILL.md (the workflow plus a delivery checklist), five reference files under references/, a working scripts/recalc_excel.py, and a README.

## Requires

- Python

## Known limitations

- Requires Python 3.10+ with pandas and openpyxl. The Excel formula-recalculation script needs Microsoft Excel or LibreOffice installed, and the Excel COM path is Windows-only.
- The database reference covers MySQL and PostgreSQL only, and you supply your own read-only credentials.
- It structures and audits the analysis; it does not replace domain judgement — conclusions still need your review.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Data Analysis Mode skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What exactly does this skill do?

It makes your agent run data analysis in a fixed, checkable order: confirm the question and metric definitions, profile and clean the data in a script, run EDA, check modelling assumptions, then write a conclusion with stated limitations. Five reference files cover the tooling, and a delivery checklist keeps the result traceable.

### What is included in the package?

Eight files: SKILL.md (five-stage workflow plus a delivery checklist), five references (pandas-3x.md, excel-workbooks.md, database-access.md, statistical-modeling.md, visualization.md), scripts/recalc_excel.py, and a README.md. MIT licensed.

### Do I need Microsoft Excel installed?

No. Only the formula-recalculation script needs a spreadsheet engine: it uses Excel via COM when available and falls back to LibreOffice. That COM path is Windows-only; the rest of the skill is plain Python and platform-independent.

### Can it pull data from my company's database?

Yes, for MySQL and PostgreSQL, through SQLAlchemy with read-only credentials you supply via environment variables — the reference keeps passwords out of code and out of logs. It checks table structure and applies LIMITs before pulling large tables, and it does not write to your database.

### Is there a size limit on the datasets it handles?

No hard limit is built in, but pandas is memory-bound: for very large files the skill will suggest DuckDB, polars or chunked reads rather than pretending it can load everything. For database work it starts with a LIMIT and selects only the columns needed.

### How is this different from just asking my agent to "analyse this data"?

It removes the improvisation: stages run in order, cleaning steps are written into a script rather than applied by hand, statistical assumptions are checked before conclusions, and every analysis ships with a data-quality audit and its limitations. That is what makes the result reproducible instead of a one-off answer.

### Which agents does it work with?

Any agent that loads SKILL.md folders — Claude Code, Codex CLI, Cursor, GitHub Copilot, Gemini CLI and others. No vendor-specific integration and no account to connect.

### Does it update itself when pandas or scikit-learn change?

There is no auto-update mechanism: the reference documents pandas 3.x behaviour explicitly, so a future version that changes those semantics could make it out of date until revised. It is MIT licensed, so you can fork and adjust.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
